/* --- 1. COLOR VARIABLES & BASE RESET --- */
:root {
    /* Suggested Light Theme Palette */
    --color-bg-light: #F4F8F9;      /* Near-White Background (Soft Breathing Room) */
    --color-bg-dark: #FFFFFF;       /* Card/Header Background (Pure White) */
    --color-text-dark: #253237;     /* Jet Black / Dark Slate (Main Text & Dark Elements) */
    --color-accent-primary: #74A57F;  /* Muted Green/Teal (Headers, Accents, Links) */
    --color-accent-cta: #EA9010;    /* Carrot Orange (Buttons, High-Impact CTAs) */
    --color-border: #E0E0E0;        /* Light Border/Divider */
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    background-color: var(--color-bg-light); 
    color: var(--color-text-dark); /* Dark text on light background */
}

a {
    text-decoration: none;
}

/* --- 2. LAYOUT UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 6rem 0; 
}

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

.section-dark { 
    background-color: var(--color-text-dark); 
    color: var(--color-bg-light); 
}

.margin-top-lg {
    margin-top: 2rem;
}

/* --- 3. TYPOGRAPHY & BUTTONS --- */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-accent-primary); 
}

.section-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #666; 
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.section-dark .section-subtitle { 
    color: #ccc;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-accent-cta); 
    color: var(--color-bg-dark) !important; 
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none; 
}

.cta-button:hover {
    background-color: #D67A0F; 
}


/* --- 4. HEADER & NAVIGATION STYLES --- */
.header {
    background: var(--color-bg-dark); 
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-primary); 
}

.nav a {
    color: var(--color-text-dark); 
    margin-left: 1.5rem;
    transition: color 0.3s;
}

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

.nav-cta {
    background-color: var(--color-accent-cta); 
    color: var(--color-bg-dark) !important; 
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 2rem;
}

/* --- 5. HERO SECTION STYLES --- */
.hero-section {
    background: url('../img/hero-festival-scene.webp') no-repeat center center/cover;
    height: 65vh; 
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(116, 165, 127, 0.85); 
    z-index: 1; 
}

.hero-content {
    position: relative; 
    z-index: 5;
    max-width: 800px;
    padding-top: 0; 
    color: white; 
}

.tagline-sub {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-bg-dark); /* White for max contrast */
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.headline-primary {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.tagline-main {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #eee;
}

/* --- 6. SERVICE SECTION STYLES --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--color-bg-dark); 
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    text-align: left;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    color: var(--color-text-dark); 
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.card-description {
    color: #666;
    line-height: 1.7;
}

/* --- 7. TEAM SECTION STYLES (Dark Background) --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem;
    margin-top: 4rem;
}

.team-card {
    background-color: #333; 
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #444;
}

.team-photo {
    width: 150px;
    height: 150px;
    background-color: #555; 
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background-size: cover;
    background-position: center;
    border: 4px solid var(--color-accent-primary); 
}

.team-photo-sean {
    background-image: url('../img/Sean-Kerrigan-EONSixLive-Music-Event-Management.webp');
}

.team-photo-ellian {
    background-image: url('../img/Ellian-Bell-EONSixLive-Music-Event-Management.webp');
}

.team-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-bg-dark); 
}

.team-role {
    font-size: 1.1rem;
    color: var(--color-accent-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-summary {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 2rem;
    border-bottom: 1px dashed #444;
    padding-bottom: 1.5rem;
}

.team-credentials {
    list-style: none;
    padding-left: 0;
    text-align: left;
    color: #aaa;
    font-size: 0.95rem;
    padding-top: 1rem; 
}

.team-credentials li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem; 
    position: relative;
}

.team-credentials li:before {
    content: "\25B6"; 
    position: absolute;
    left: 0;
    color: var(--color-accent-primary); 
    font-size: 0.9rem;
    line-height: 1;
    top: 4px; 
}

.team-credentials li strong {
    color: #fff;
    font-weight: 600;
}

/* --- 8. EVENTS GRID STYLES (Light Background) --- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem;
    margin-top: 4rem;
}

.event-card {
    background-color: var(--color-bg-dark); 
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: box-shadow 0.3s;
}

.event-card:hover {
    box-shadow: 0 0 15px rgba(116, 165, 127, 0.3); 
}

.event-logo {
    width: 80px;
    height: 80px;
    background-color: #efefef; 
    margin: 0 auto 1rem;
    border-radius: 4px; 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.event-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.event-location {
    font-size: 0.9rem;
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-involvement {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

/* --- Logo URL definitions --- */
.event-rifflandia { background-image: url('../img/Rifflandia-Logo.webp'); }
.event-pachena { background-image: url('../img/Pachena-Bay-Music-Festival-Logo.webp'); }
.event-atmosphere { background-image: url('../img/Atmosphere-Gathering-Music-Festival-Logo.webp'); }
.event-saltyhearts { background-image: url('../img/Salty-Hearts-Music-Festival-Logo.webp'); }
.event-woodstove { background-image: url('../img/woodstove-festival.webp'); }
.event-philips { background-image: url('../img/Phillips-Backyard-Logo.webp'); }


/* --- 9. SOCIAL PROOF STYLES (Dark Section) --- */
.proof-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* This splits the testimonials and partners */
    gap: 4rem;
    margin-top: 3rem;
    text-align: left;
}

.column-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-bg-dark);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--color-accent-primary);
    padding-bottom: 0.5rem;
}

.testimonial-card {
    background-color: #333; 
    padding: 2rem;
    border-left: 4px solid var(--color-accent-cta); 
    margin-bottom: 1.5rem;
    font-style: italic;
    border-radius: 4px;
}

.quote-text {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.quote-source {
    color: var(--color-accent-primary);
    font-style: normal;
    font-weight: 600;
}

.logo-grid-placeholder {
    grid-template-columns: repeat(4, 1fr); 
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo-box {
    height: 60px;
    background-color: #444; 
    border-radius: 4px;
    transition: background-color 0.3s;
    
    /* 💥 CRITICAL IMAGE CONSTRAINTS: */
    background-size: contain; /* Shrinks image to fit box */
    background-repeat: no-repeat;
    background-position: center; /* Centers the image */
    
    /* 💥 ADDED PADDING (Spacing Fix): */
    margin: 10px; /* Add margin around the box itself for spacing */
}


.partner-note {
    color: #aaa;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1rem;
}

/* --- 10. CONTACT FORM STYLES (Light Section) --- */
.contact-form {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 3rem;
    background-color: var(--color-bg-dark); 
    border-radius: 8px;
    text-align: left;
}

.form-group-flex {
    display: flex;
    gap: 20px;
    margin-bottom: 20px; 
}

/* All form groups in a flex row must share space equally */
.form-group {
    flex: 1 1 50%; 
}

/* Specific full-width container styles */
.form-group-full {
    margin-bottom: 20px;
    width: 100%;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%; /* Fill 100% of the container (50% or 100% width) */
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background-color: #fff;
    color: var(--color-text-dark);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--color-accent-primary);
    outline: none;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text-dark);
    font-size: 0.95rem;
}

.form-submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
    cursor: pointer;
}

/* --- 11. FOOTER STYLES --- */
.footer {
    background-color: var(--color-text-dark);
    padding: 2rem 0;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #ccc;
}

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

.footer-links a {
    color: #aaa;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

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


/* --- 12. MOBILE RESPONSIVENESS (Cleaned & Consolidated) --- */

/* Tablet & Large Mobile (<= 1024px) */
@media (max-width: 1024px) {
    /* Services: Switch from 3 columns to 2 columns */
    .service-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* Tablet & Medium Mobile (<= 900px) */
@media (max-width: 900px) {
    /* Team & Proof: Stack columns vertically */
    .team-grid,
    .proof-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem;
    }
    .testimonial-column {
        margin-bottom: 2rem; /* Add space between stacked columns */
    }
}

/* Primary Mobile Layout (<= 768px) - Targets most phones/tablets */
@media (max-width: 768px) {
    /* Padding/Spacing Adjustments */
    .section-padding { 
        padding: 4rem 0; 
    }
    .footer-flex { 
        flex-direction: column; 
        text-align: center; 
    }
    .footer-links { 
        margin-top: 1rem; 
    }

    /* Hero & Text Scaling */
    .hero-section { 
        height: 70vh; 
    }
    .headline-primary { 
        font-size: 2rem; 
    }
    .tagline-main { 
        font-size: 1.2rem; 
    }
    
    /* Services: Switch to single column */
    .service-grid { 
        grid-template-columns: 1fr; 
    }
    
    /* Contact Form: Stack fields vertically */
    .contact-form { 
        padding: 2rem 1rem; 
    }
    .form-group-flex { 
        flex-direction: column; 
        gap: 0; 
    }
    
    /* Navigation: Horizontal squeeze fix for menu/CTA */
    .nav a {
        margin-left: 0.25rem; /* Tighter link spacing */
        margin-right: 0.25rem;
        font-size: 0.9rem;
    }
    .nav-cta {
        font-size: 0.8rem; /* Smaller button font */
        padding: 0.4rem 0.8rem; /* Smaller button padding */
    }
    
    /* Logo Grid: 3 columns on tablet size */
    .logo-grid-placeholder {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Smallest Mobile Layout (<= 480px) - Targets compact phones like iPhone SE/tightest viewports */
@media (max-width: 480px) {
    /* Navigation: Stack logo and menu vertically to prevent any wrapping issues */
    .nav-flex { 
        flex-direction: column; 
        align-items: center; 
    }
    .nav {
        margin-top: 1rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .nav-cta {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    
    /* Logo Grid: 2 columns on small mobile */
    .logo-grid-placeholder {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Partner Logo Definitions --- */

.logo-rifflandia-partner {
    background-image: url('../img/RIFF25_Wordmark-Black-Horizonal.webp');
    background-color: white;
    }

.logo-cumberland-village-works {
    background-image: url('../img/Cumberland-Village-Works-Logo-Text.webp');
    background-color: white;
    }

.logo-long-shot-events {
    background-image: url('../img/long-shot-events-logo.webp');
    background-color: black;
    }

.logo-midnight {
    background-image: url('../img/Midnight-Talent-Agency-Logo.webp');
    background-color: black;
    }