:root {
    /* Refined Color Palette */
    --pink: #ff4081;
    --pink-bright: #ff6090;
    --gold: #a38240;
    --gold-light: #c5a059;
    --gold-orange: #d4af37;
    --charcoal: #343433;
    --white-10: rgba(255, 255, 255, 0.1);
    --white-5: rgba(255, 255, 255, 0.05);
    
    /* RGB Variants for opacity control */
    --pink-rgb: 255, 64, 129;
    --gold-rgb: 163, 130, 64;
    --gold-orange-rgb: 212, 175, 55;
}

/* Utility Classes */
.text-gold { color: var(--gold) !important; }
.text-pink { color: var(--pink) !important; }
.text-white-80 { color: rgba(255, 255, 255, 0.8) !important; }
.text-white-60 { color: rgba(255, 255, 255, 0.6) !important; }
.bg-white-5 { background: var(--white-5) !important; }
.border-white-10 { border-color: var(--white-10) !important; }
.placeholder-white::placeholder { color: rgba(255, 255, 255, 0.85) !important; opacity: 1; }
.max-w-lg { max-width: 540px; }
.text-success { color: #4ade80 !important; }
.hover-lift { transition: transform 0.3s ease, shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important; }


/* Buttons */
.btn-pink {
    background-color: var(--pink);
    color: white !important;
    border: none;
}
.btn-pink:hover {
    background-color: var(--pink-bright);
    transform: translateY(-2px);
}
.btn-outline-gold {
    border: 2px solid var(--gold);
    color: white !important;
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    transform: translateY(-2px);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

/* Utilities */
.text-pink {
    color: var(--pink);
}

.text-pink-bright {
    color: var(--pink-bright);
}

.text-gold {
    color: var(--gold);
}

.text-gold-orange {
    color: var(--gold-orange);
}

.text-charcoal {
    color: var(--charcoal);
}

.bg-pink {
    background-color: var(--pink);
}

.bg-cream {
    background-color: var(--cream);
}

.bg-gold {
    background-color: var(--gold);
}

.bg-neutral-50 {
    background-color: var(--neutral-50);
}

.bg-pink-subtle {
    background-color: rgba(242, 107, 77, 0.1);
}

.text-pink-light {
    color: var(--pink-light);
}

.bg-pink-light {
    background-color: var(--pink-light);
}

.bg-gold-orange {
    background-color: var(--gold-orange);
}

.bg-pink-bright {
    background-color: var(--pink-bright);
}

.btn-primary {
    background: linear-gradient(to right, var(--pink), var(--pink-bright));
    color: white;
    border: none;
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

/* Gradients and Overlays */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #333333 0%, rgba(51, 51, 51, 0.7) 40%, rgba(51, 51, 51, 0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Ensure Carousel Fills Dynamic Parent Height */
.carousel,
.carousel-inner,
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(51, 51, 51, 0.8) 0%, rgba(51, 51, 51, 0.5) 50%, rgba(51, 51, 51, 0.8) 100%);
    }
}

.bg-gradient-to-t-dark {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Text Gradients */
.text-transparent {
    color: transparent;
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

 /* Navbar Tweaks to match design */
        .navbar {
            background-color: #c63583;
            /* Hardcoded from original Navbar.tsx */
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.8) !important;
            font-weight: 400;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-link:hover,
        .nav-link.active,
        .current-menu-item > a,
        .current-page-ancestor > a {
            color: white !important;
            font-weight: 600 !important;
            opacity: 1 !important;
        }

        .current-menu-item > a::after,
        .current-page-ancestor > a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 2px;
            background-color: white;
            border-radius: 2px;
        }


        .navbar-brand {
            color: white !important;
        }

        .dropdown-menu {
            border: 1px solid #f5f5f5;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        .dropdown-menu .nav-link {
            color: rgb(0 0 0 / 90%) !important;
        }

        .dropdown-item:hover {
            background-color: rgba(242, 107, 77, 0.05);
            /* pink/5 */
            color: var(--pink);
        }

        /* Footer Tweaks */
        footer {
            background: linear-gradient(to bottom, var(--charcoal), #2a2a2a);
        }

        footer a {
            text-decoration: none;
        }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.hover-scale {
    transition: transform 0.5s ease;
}

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

.calendar-container .react-calendar__tile--active {
    background: var(--pink) !important;
    color: white !important;
}

/* Category Filter Tabs */
.filter-tabs-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.btn-filter {
    background: white;
    color: var(--charcoal);
    border: 1px solid var(--neutral-100);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-filter:hover {
    border-color: var(--pink);
    color: var(--pink);
    transform: translateY(-2px);
}

.btn-filter.active {
    background: linear-gradient(to right, var(--pink), var(--pink-bright));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(242, 107, 77, 0.3);
}

/* Filtering Animations */
.filter-item {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    display: block; /* Ensure display block for transition */
}

.filter-item.hide {
    transform: scale(0.8) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

#membersGrid {
    transition: min-height 0.4s ease;
}

/* New Hero Styles */
.hero-split-section {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #343433 0%, #a38240 100%) !important;
    z-index: 1;
}

.hero-people-slider {
    width: 100%;
    max-width: 400px; /* More compact for better fit */
    margin: 0 auto;
    overflow: visible;
    position: relative;
}

.hero-people-slider .swiper-wrapper {
    display: flex;
}

.hero-slider-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 133%; /* 3:4 aspect ratio for more height */
    overflow: hidden;
    border-radius: 40px;
    background: transparent;
    border: none;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.hero-slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
}

/* Adjust heading for better readability on gradient */
.hero-split-section h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991.98px) {
    .hero-split-section {
        text-align: left;
        padding-top: 100px;
    }
    
    .hero-people-slider {
        margin-top: 30px;
        max-width: 100%;
    }
    
    .hero-split-section .d-flex {
        justify-content: flex-start !important;
    }

    .hero-split-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Mobile Menu Improvements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #c63583;
        margin: 0 -1.5rem;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        align-items: flex-start !important;
        gap: 0 !important;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem 0 !important;
        font-size: 1.1rem;
        font-weight: 500 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-menu {
        background: rgba(0, 0, 0, 0.1) !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0.5rem 0 0.5rem 1.5rem !important;
        border-radius: 0 !important;
    }
    
    .dropdown-item {
        color: white !important;
        padding: 0.8rem 0 !important;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }

    .nav-item.ms-lg-3 {
        margin-left: 0 !important;
        margin-top: 1.5rem;
    }

    .nav-item.ms-lg-3 .btn {
        width: 100%;
        padding: 1rem !important;
    }
}

/* Event Info Section Modern Styles */
.event-info-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.event-info-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.event-icon-wrapper {
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.event-info-card:hover .event-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.lh-sm {
    line-height: 1.25;
}
/* Newsletter Form Refinements */
.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.focus-within-ring:focus-within {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.hover-scale:hover {
    transform: scale(1.02);
}

.hover-scale:active {
    transform: scale(0.98);
}

/* Footer Social Link Hover */
.social-link:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: var(--pink) !important;
}

/* Premium Social Buttons */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-btn:hover {
    background: rgba(255, 64, 129, 0.15);
    border-color: rgba(255, 64, 129, 0.4);
    color: var(--pink) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-btn svg {
    transition: transform 0.3s ease;
}

.social-btn:hover svg {
    transform: scale(1.1);
}
