/* ============================================
   ROOT & TYPOGRAPHY
   ============================================ */

:root {
    /* Updated to pastel color palette */
    /* Primary Pastel Colors */
    --primary-color: #e94465;
    --primary-dark: #ff9fa0;
    --primary-light: #daadaf; /*#e5e5e5;*/
    /* Secondary Pastel Colors */
    --secondary-color: #bf5a5a;
    --tertiary-color: #bbded6;
    --accent-color: #8ac6d1;
    --accent-dark: #53a9ba;
    /* Pastel Neutrals */
    --neutral-light: #f9f7f4;
    --neutral-medium: #e8dfd5;
    --neutral-gray: #a98b8d;
    /* Neutrals (kept for compatibility) */
    --dark: 7f1032;
    --dark-secondary: #7a6f6d;
    --gray-light: #faf9f8;
    --gray-medium: #e2e8f0;
    --gray-text: #a98b8d;
    --text-primary: 7f1032;
    --text-secondary: #7a6f6d;
    /* Pastel Accents */
    --success: #c3df96;
    --warning: #ffcd64;
    --danger: #fae3d9;
    /* Shadows (softened for pastel aesthetic) */
    --shadow-sm: 0 1px 2px 0 rgba(255, 182, 185, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(255, 182, 185, 0.12);
    --shadow-lg: 0 10px 25px -5px rgba(255, 182, 185, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(255, 182, 185, 0.2);
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-primary);
    background-color: #faf9f8;
    line-height: 1.6;
    /* Added background watermark pattern */
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 182, 185, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(138, 198, 209, 0.08) 0%, transparent 50%), radial-gradient(circle at 40% 20%, rgba(187, 222, 214, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

/* ============================================
   NAVBAR STYLING
   ============================================ */

.navbar-custom {
    background-color: rgba(250, 249, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-light);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

    .navbar-custom.scrolled {
        background-color: rgba(250, 249, 248, 0.98);
        box-shadow: var(--shadow-md);
        border-bottom-color: var(--secondary-color);
    }

.navbar-brand {
    font-size: 1.5rem;
    color: var(--dark) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent-dark) !important;
    }

    .nav-link::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width var(--transition-fast);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

/* Mega Dropdown */
.dropdown-menu-mega {
    width: 100vw;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    border: none;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 250, 248, 0.98) 0%, rgba(240, 250, 248, 0.95) 100%);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    transition: all var(--transition-fast);
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(255, 182, 185, 0.3);
    }

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    transition: all var(--transition-fast);
}

    .btn-outline-primary:hover {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer-custom {
    background: linear-gradient(135deg, var(--neutral-gray) 0%, var(--dark) 100%);
    color: white;
    margin-top: 5rem;
}

    .footer-custom a {
        color: var(--primary-light);
        text-decoration: none;
        transition: color var(--transition-fast);
    }

        .footer-custom a:hover {
            color: var(--primary-color);
        }

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
}

    .social-link:hover {
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        transform: translateY(-3px);
    }

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container-xl {
    max-width: 1400px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-content {
    min-height: calc(100vh - 200px);
}

/* Added pastel section backgrounds */
.section-light {
    background-color: var(--neutral-light);
    background-image: radial-gradient(circle at 15% 60%, rgba(255, 182, 185, 0.06) 0%, transparent 40%), radial-gradient(circle at 85% 20%, rgba(138, 198, 209, 0.06) 0%, transparent 40%);
}

.section-accent {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--tertiary-color) 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-custom {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .dropdown-menu-mega {
        width: 100%;
        left: 0 !important;
        transform: none;
    }
}
