/* Main Styles for domain.com */
:root {
    --bg-color: #161B21;
    --accent-coral: #F45B69;
    --accent-amber: #FFD166;
    --accent-mint: #06D6A0;
    --text-white: #FFFFFF;
    --text-silver: #CBD3DC;
    --border-radius: 1rem;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-white);
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

.section h2 {
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-silver);
}

a {
    color: var(--accent-amber);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-coral);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: linear-gradient(to right, var(--accent-amber), var(--accent-coral));
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: var(--bg-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(22, 27, 33, 0.95);
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(203, 211, 220, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-amber);
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-list li {
    margin-left: 2rem;
}

/* Mobile Menu (CSS-only) */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 27, 33, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Cards */
.card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: calc(var(--border-radius) - 0.5rem);
    margin-bottom: 1.5rem;
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-mint);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Testimonials */
.testimonials {
    background-color: rgba(255, 255, 255, 0.02);
}

.testimonial-card {
    position: relative;
    padding: 2rem 2rem 2rem 4rem;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 5rem;
    color: var(--accent-amber);
    opacity: 0.3;
    line-height: 1;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* CSS-only accordion using details/summary */
details.faq-details {
    background-color: rgba(255, 255, 255, 0.05);
}

details.faq-details summary {
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    list-style: none;
}

details.faq-details summary::-webkit-details-marker {
    display: none;
}

details.faq-details summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

details.faq-details[open] summary::after {
    content: '−';
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
}

/* Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--text-white);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-amber);
    box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.25);
}

select.form-control option {
    color: black;
    background-color: white;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-silver);
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-silver);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    max-width: 400px;
    background-color: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Policy pages */
.policy-container {
    max-width: 800px;
    margin: 8rem auto 5rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.policy-title {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h3 {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Mobile navigation */
    .nav-list {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: var(--transition);
        box-shadow: 5px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-list li {
        margin: 1rem 0;
    }

    .mobile-menu-btn {
        display: block;
        position: relative;
        width: 30px;
        height: 22px;
        z-index: 1000;
    }

    .mobile-menu-btn span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background-color: var(--text-white);
        border-radius: 3px;
        transition: var(--transition);
    }

    .mobile-menu-btn span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-btn span:nth-child(2) {
        top: 9px;
    }

    .mobile-menu-btn span:nth-child(3) {
        top: 18px;
    }

    /* CSS-only mobile menu using checkbox hack */
    .mobile-menu-toggle:checked ~ .nav-list {
        left: 0;
    }

    .mobile-menu-toggle:checked ~ .mobile-menu-btn span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .mobile-menu-toggle:checked ~ .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle:checked ~ .mobile-menu-btn span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 3rem 0;
    }

    .card {
        padding: 1.5rem;
    }
}
