/* ===================================
   HERO SECTIONS
   =================================== */

/* Hero Section Styles - Homepage */
.hero-section {
    background-image: url('../images/gland.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 700px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 48px 0 20px 0;
    overflow: hidden;
}

.hero-right-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 500px;
}

.hero-swing {
    margin-bottom: 2rem;
    transform-origin: 53% 8%;
    animation: swingAnimation 3s ease-in-out;
}

.hero-swing img {
    width: 180px;
    height: auto;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    width: 340px;
    height: auto;
    max-width: 100%;
}

.herosauce-mobile {
    display: none;
    margin-top: 2rem;
    max-width: 200px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

/* Sauce bottles on the left side */
.hero-section::before {
    content: '';
    position: absolute;
    left: 35%;
    bottom: 20px;
    transform: translateX(-50%);
    width: 320px;
    height: 500px;
    background-image: url('../images/herosauce.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Shop page hero */
.shop-hero {
    background-image: url('../images/texture.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.shop-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Proxima Nova', sans-serif;
    color: var(--yellow);
}

.shop-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About page hero */
.about-hero {
    background-image: url('../images/texture.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    font-family: 'Proxima Nova', sans-serif;
    color: var(--yellow);
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact page hero */
.contact-hero {
    background-image: url('../images/texture.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Proxima Nova', sans-serif;
    color: var(--yellow);
    letter-spacing: -0.5px;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: var(--white);
}

/* New Contact Hero */
.new-contact-hero {
    background-image: url('../images/texture.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.new-contact-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 20px;
    font-family: 'Proxima Nova', sans-serif;
}

.new-contact-hero p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 500;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Policy hero */
.policy-hero {
    background-image: url('../images/texture.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.policy-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Proxima Nova', sans-serif;
    letter-spacing: -0.5px;
    color: var(--yellow);
}

.policy-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.policy-date {
    font-size: 1rem;
    opacity: 0.8;
}

/* Testimonials hero */
.testimonials-hero {
    background: linear-gradient(135deg, var(--cream), var(--light-cream));
    padding: 60px 0;
    text-align: center;
}

.testimonials-hero h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.4px;
}

/* Desktop-specific styles */
@media (min-width: 1025px) {
    .hero-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        justify-content: center;
    }
    
    .hero-section::before {
        position: absolute;
        left: 35%;
        bottom: 20px;
        right: auto;
        transform: translateX(-50%);
        grid-column: 1;
    }
    
    .hero-right-content {
        position: relative;
        grid-column: 2;
        margin: 0 auto;
        margin-left: 5%;
        transform: none;
    }
    
    .hero-logo img {
        width: 340px;
    }
    
    .hero-swing {
        animation: swingAnimation 3s ease-in-out;
    }
    
    .hero-swing img {
        width: 180px;
    }
}

/* Mobile styles - under 1024px */
@media (max-width: 1024px) {
    .hero-section::after {
        background-image: url('../images/herosauce-mobile.webp');
    }

    .hero-section {
        height: 800px;
        justify-content: center;
        text-align: center;
        padding: 6rem 1rem 2rem 1rem;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .hero-right-content {
        margin-right: 0;
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .hero-logo img {
        width: 285px;
    }
    
    .hero-swing {
        animation: swingAnimation 3s ease-in-out;
    }
    
    .hero-swing img {
        width: 135px;
    }
    
    .herosauce-mobile {
        display: block;
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .shop-hero h1 {
        font-size: 2rem;
        color: var(--yellow);
    }
    
    .about-hero h1 {
        font-size: 2rem;
        color: var(--yellow);
    }
    
    .contact-hero {
        padding: 100px 0 40px;
        margin-top: 0;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
        color: var(--yellow);
    }
    
    .contact-hero p {
        font-size: 1rem;
        padding: 0 20px;
        color: var(--white);
    }
    
    .new-contact-hero {
        padding: 100px 0 40px 0;
        margin-top: 0;
    }
    
    .new-contact-hero h1 {
        font-size: 2.2rem;
        color: var(--yellow);
    }
    
    .policy-hero {
        padding: 100px 0 40px;
        margin-top: 0;
    }
    
    .policy-hero h1 {
        font-size: 2rem;
        color: var(--yellow);
    }
    
    .policy-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .new-contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .new-contact-hero p {
        font-size: 1rem;
        padding: 0 15px;
    }
}