/* Root Variables - Premium Theme */
:root {
    --primary-color: #004D2C;
    /* Darker Emerald Green */
    --primary-light: #004D2C;
    --accent-color: #c5a059;
    /* Muted Gold/Bronze */
    --accent-hover: #debb75;
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --bg-light: #FBFCF8;
    /* Pearl White */
    --bg-off-white: #f9fafb;
    --glass-bg: rgba(251, 252, 248, 0.95);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none !important;
    border: none;
}

*:focus {
    outline: none !important;
}

html,
body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-light);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-block;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--bg-light);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    margin-left: 10px;
    text-transform: uppercase;
}

.btn-secondary:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--bg-light);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.nav-cta {
    background: var(--primary-color);
    color: var(--bg-light) !important;
    /* Force override for contrast */
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background: var(--primary-light);
    color: var(--bg-light) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    /* Prevent content from being hidden behind navbar */
    background: url('assets/images/crowd_bidding.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--bg-light);
    /* margin-top: -80px; Removed to prevent cutoff */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 1;
    color: var(--accent-color);
}

.hero .btn-primary,
.hero .btn-secondary {
    background: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--bg-light);
}

.hero .btn-primary:hover,
.hero .btn-secondary:hover {
    background: #e6e6e6;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.underline {
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto;
}

/* Mission Section */
.mission-section {
    background: var(--bg-off-white);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #4a4a4a;
}

.mission-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

/* Impact Section */
.impact-section {
    background: var(--bg-light);
}

.impact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.impact-img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.impact-text-col .eyebrow {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.impact-text-col h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin-bottom: 25px;
    line-height: 1.4;
}

cite {
    display: block;
    margin-top: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Banner */
.banner-section {
    background: var(--primary-color);
    color: var(--bg-light);
    text-align: center;
    padding: 40px 0;
}

.banner-section p {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* Gallery */
.gallery-section {
    background: var(--bg-off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--bg-light);
    padding: 80px 0 20px;
}

.footer .btn-primary {
    background: var(--bg-light);
    color: var(--primary-color);
}

.footer .btn-primary:hover {
    background: #e6e6e6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--bg-light);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(251, 252, 248, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--bg-light);
}

/* Mobile Navigation & Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.toggle .line2 {
    opacity: 0;
}

.hamburger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: fixed;
        right: 0;
        height: 92vh;
        top: 8vh;
        background: var(--bg-light);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        /* Full width for better UX on mobile */
        transform: translateX(100%);
        transition: transform 0.4s ease-in;
        z-index: 999;
        padding-top: 50px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        opacity: 0;
        /* Animated in JS */
        margin: 20px 0;
    }

    .hamburger {
        display: block;
    }

    /* Hero Text Adjustments */
    .logo {
        font-size: 1.5rem;
    }

    .hero {
        margin-top: 0;
        /* Reset negative margin on mobile */
        padding-top: 80px;
        /* Add padding to account for navbar */
    }

    .hero h1 {
        font-size: 2.5rem;
        padding: 0 15px;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    /* Section Spacing */
    .section {
        padding: 60px 0;
    }

    .mission-content,
    .impact-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .mission-text,
    .impact-text-col,
    .footer-col {
        text-align: center;
        /* Center text on mobile */
    }

    .mission-image,
    .impact-image-col {
        order: -1;
        /* Image first on mobile usually looks better */
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    blockquote {
        margin-right: 0;
        padding-right: 0;
        font-size: 1.2rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

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

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

/* Event Section */
.event-section {
    background: var(--bg-light);
    /* Removed light blue gradient */
    position: relative;
    padding: 40px 0;
    /* Reduced from 80px */
}

.event-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 40px 30px;
    /* Reduced from 60px 40px */
    box-shadow: 0 15px 40px rgba(0, 77, 44, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 77, 44, 0.05);
    margin-bottom: 30px;
}

/* Decorative background element */
.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.event-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.event-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    /* Reduced from 30px */
    margin: 30px 0;
    /* Reduced from 50px */
}

.event-item {
    padding: 20px;
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--bg-off-white);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
}

.event-item h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.event-item p {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .event-card {
        padding: 40px 20px;
    }

    .event-header h2 {
        font-size: 2rem;
    }
}

/* Hero Announcement */
.hero-announcement {
    color: var(--bg-light);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    border-left: 3px solid var(--accent-color);
}