:root {
    /* Colors from Tailwind Config & index.css */
    --pink: #f26b4d;
    --pink-bright: #F93D9B;
    --pink-light: #ffa07a;
    --gold: #d4af37;
    --gold-light: #f4e5c3;
    --gold-orange: #e8a87c;
    --cream: #f5f2eb;
    --charcoal: #333333;
    --neutral-50: #F5F5F4;
    --neutral-100: #EBEAE8;
    --neutral-600: #504D48;
}

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 {
    background: linear-gradient(to right, #333333 0%, rgba(51, 51, 51, 0.6) 50%, transparent 100%);
    z-index: 2;
    /* Ensure it is above the carousel items */
    pointer-events: none;
    /* Allow clicks to pass through if needed, though usually not for overlay */
}

.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: 1rem;
            padding-bottom: 1rem;
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.9) !important;
            font-weight: 400;
        }

        .nav-link:hover,
        .nav-link.active {
            color: white !important;
            font-weight: 500;
        }

        .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;
}