/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
    --primary: #9099ff;
    --primary-hover: #757df0;
    --text-main: #2D3748;
    --text-light: #F7FAFC;
    --bg-light: rgba(255, 255, 255, 0.9);
    --bg-dark: rgba(15, 23, 42, 0.95);
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
}

/* Material Symbols Adjustments */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Header & Navigation Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: var(--bg-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 1);
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    height: 110px;
    /* Increased mobile header height */
}

html.dark .site-header {
    background-color: var(--bg-dark);
    border-color: rgba(31, 41, 55, 1);
    color: var(--text-light);
}

@media (min-width: 768px) {
    .site-header {
        height: 180px;
        /* Increased massive header height */
    }
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    /* Fallback */
    align-items: center;
    justify-content: space-between;
    /* Fallback */
    position: relative;
}

@media (min-width: 768px) {
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        /* Left (Logo), Center (Nav), Right (Actions) */
        gap: 1rem;
    }
}

@media (min-width: 640px) {
    .header-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .header-container {
        padding: 0 2rem;
    }
}

/* Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    width: auto;
    /* Allow width to be determined by content */
    margin-right: auto;
    /* Pushes everything else to the right */
    justify-self: start;
    /* Explicitly align to start in Grid */
}

.logo-img {
    height: 90px;
    /* Increased mobile size */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@media (min-width: 768px) {
    .logo-link {
        width: auto;
    }

    .logo-img {
        height: 160px;
        /* Maximized for 180px header */
    }

    .logo-img:hover {
        transform: scale(1.05);
    }
}

/* Navigation Menu */
.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 0.75rem 2.5rem;
        border-radius: 9999px;
        border: 1px solid rgba(229, 231, 235, 0.5);
        justify-self: center;
        /* Center in grid */
    }

    html.dark .main-nav {
        background-color: rgba(31, 41, 55, 0.8);
        border-color: rgba(75, 85, 99, 0.5);
    }
}

/* Mobile Menu Active State */
.main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(229, 231, 235, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out forwards;
    gap: 1.5rem;
}

html.dark .main-nav.active {
    background-color: var(--bg-dark);
    border-color: rgba(31, 41, 55, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
    white-space: nowrap;
}

html.dark .nav-link {
    color: #E2E8F0;
}

.nav-link:hover {
    color: var(--primary);
}

/* Header Actions (Button + Mobile Menu) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: end;
    /* Align to right */
}

.cta-button {
    display: none;
    /* Hidden on very small screens if needed, or flex */
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.15s ease;
    box-shadow: 0 4px 6px -1px rgba(159, 122, 234, 0.2);
    text-decoration: none;
}

@media (min-width: 768px) {
    .cta-button {
        display: inline-flex;
    }
}

.cta-button:hover {
    background-color: var(--primary-hover);
}

.menu-toggle {
    display: block;
    padding: 0.5rem;
    color: var(--text-main);
    background: none;
    border: none;
    cursor: pointer;
}

html.dark .menu-toggle {
    color: white;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

/* Social Media Icons */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: white;
    color: var(--text-main);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

html.dark .social-btn {
    background-color: rgba(30, 41, 59, 1);
    color: #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    color: white;
}

.social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-btn.whatsapp:hover {
    background-color: #25D366;
}