/* ============================================================================
   PERFORMANCES & EVENTS PAGE — Self-contained stylesheet
   Color scheme: greens #3A7046, beiges #F2EDE4, browns #4A4238
   ============================================================================ */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #4A4238;
    overflow-x: hidden;
    background: #F2EDE4;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(74, 66, 56, 0.03) 1px, transparent 0);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

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

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 20px rgba(74, 66, 56, 0.08);
    z-index: 2000;
    padding: 0.25rem 0;
    transition: top 0.4s cubic-bezier(.4,0,.2,1), background 0.3s, box-shadow 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 70px;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: auto;
    flex-shrink: 0;
}

.nav-logo img {
    height: 94px;
    width: auto;
    display: block;
}

@media (min-width: 769px) {
    .nav-container {
        justify-content: flex-start;
    }
    .nav-logo {
        margin-right: auto;
        margin-left: 0;
    }
    .nav-links {
        margin-left: auto;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #4A4238;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #E6C300;
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: -2px;
}

.nav-link:hover,
.nav-link:focus {
    color: #E6C300;
}

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

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 2100;
    position: relative;
}

.bar {
    width: 25px;
    height: 3px;
    background: #4A4238;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
}

.nav-toggle, .nav-links, .nav-links-backdrop {
    z-index: 2100;
}

@media (min-width: 769px) {
    .nav-toggle {
        display: none;
    }
    .nav-links {
        display: flex;
    }
}

@media (max-width: 900px) {
    .nav-links {
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 64px;
        padding: 0 6px;
        justify-content: space-between;
    }
    .nav-logo img {
        height: 67px;
    }
    .nav-logo {
        margin-right: auto;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1001;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        pointer-events: auto;
        display: flex;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-link {
        margin: 15px 0;
        font-size: 1.1rem;
        pointer-events: auto;
        cursor: pointer;
    }
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    .nav-links-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .nav-links-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
    .nav-toggle {
        display: block;
        cursor: pointer;
        z-index: 1002;
    }
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
    position: relative;
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #E8DCC0;
    padding-top: 90px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #fff;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9) contrast(1.05) saturate(1.1);
}

@media (max-width: 768px) {
    .hero {
        padding-top: 70px;
        height: 60vh;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #3A7046;
    color: white;
    box-shadow: 0 4px 15px rgba(58, 112, 70, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(58, 112, 70, 0.35);
    background: #2d5a38;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.btn-large i {
    font-size: 1.25rem;
}

/* ============================================================================
   SECTION STYLES
   ============================================================================ */

section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d2a1f;
    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

.section-header p {
    font-size: 1.1rem;
    color: #5a5650;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ============================================================================
   CONTENT SECTIONS
   ============================================================================ */

.content-section {
    background: #F2EDE4;
    padding: 80px 0;
}

.content-section-alt {
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(74, 66, 56, 0.06);
    border: 1px solid rgba(74, 66, 56, 0.06);
    transition: all 0.3s ease;
}

.content-section-alt .feature-card {
    background: #F8F6F2;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(74, 66, 56, 0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(58, 112, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon i {
    font-size: 1.6rem;
    color: #3A7046;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d2a1f;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #5a5650;
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feature-card {
        padding: 30px 24px;
    }
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */

.cta-section {
    background: #fff;
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d2a1f;
    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

.cta-content p {
    font-size: 1.1rem;
    color: #5a5650;
    line-height: 1.75;
    margin-bottom: 2rem;
}

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

.footer {
    background: linear-gradient(180deg, #3A7046 0%, #2d5a38 100%);
    color: #F2EDE4;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    color: #E6C300;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #E6C300;
}

.footer-brand {
    padding-right: 30px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1.1);
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(242, 237, 228, 0.85);
    max-width: 280px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: rgba(242, 237, 228, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding-left: 0;
}

.footer-nav a:hover {
    color: #E6C300;
    padding-left: 8px;
}

.footer-address-link {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(242, 237, 228, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-address-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #E6C300;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: #F2EDE4;
}

.footer-address-link i {
    color: #E6C300;
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #F2EDE4;
    font-size: 1.3rem;
}

.social-icon:hover {
    background: #E6C300;
    border-color: #E6C300;
    color: #3A7046;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 195, 0, 0.4);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 195, 0, 0.5), transparent);
    margin-bottom: 25px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-legal,
.footer-copyright {
    color: rgba(242, 237, 228, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-right: 0;
    }
    .footer-tagline {
        max-width: 100%;
        margin: 0 auto;
    }
    .footer-logo {
        margin: 0 auto 1rem auto;
        display: block;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 50px 0 25px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-nav {
        align-items: center;
    }
    .footer-nav a:hover {
        padding-left: 0;
    }
    .footer-address-link {
        justify-content: center;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

.section-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.section-fade.fade-in {
    opacity: 1;
    transform: none;
}

.hero-content.section-fade {
    opacity: 0;
    transform: translateY(40px);
}

.hero-content.section-fade.fade-in {
    opacity: 1;
    transform: none;
}

@media (max-width: 768px) {
    .section-fade {
        transform: translateY(20px);
        transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    }
}

/* ============================================================================
   GLOBAL RESPONSIVE OVERRIDES
   ============================================================================ */

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    .section-header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 8px;
    }
    .section-header h2 {
        font-size: 1.6rem;
    }
    .section-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
}
