/* ==========================================================================
   Studio Page Specific Styles (studio_styles.css)
   This file inherits from styles.css for base styles
   ========================================================================== */

/* Fixed Hero with Scrolling Content Over It */
#studio-hero-main {
    position: relative;
    min-height: 100vh;
}

#studio-hero-main .hero__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

#studio-hero-main .hero__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#studio-hero-main .hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#studio-hero-main .hero__content {
    position: relative;
    z-index: 1;
}

/* Gallery Section */
.gallery {
    position: relative;
    z-index: 2;
    background-color: #121212;
}
.gallery {
    background-color: #121212;
    padding: 4rem 1.5rem;
}

.gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #FF6F00;
    text-align: center;
    margin-bottom: 2rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.3);
}

.image-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

/* Content Sections */
.content-section {
    padding: 4rem 1.5rem;
    color: #E0E0E0;
}

.features-section {
    background-color: #1a1a1a;
}

.testimonials-section {
    background-color: #121212;
}

.booking-section {
    background-color: #1a1a1a;
}

.content-box,
.content-box-light {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title,
.section-title-alt {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #FF6F00;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section-title-alt {
    color: #FFA040;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    color: #ddd;
}

/* Icon List (Features) */
.icon-list {
    list-style: none;
    padding-left: 0;
    max-width: 900px;
    margin: 2rem auto;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.icon-list .icon {
    font-size: 1.8rem;
    color: #FF6F00;
    margin-right: 1.5rem;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background-color: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 111, 0, 0.2);
}

.quote-icon {
    font-size: 2rem;
    color: #FF6F00;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.testimonial p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 1rem;
}

.client-name {
    font-style: italic;
    color: #FFA040;
    font-size: 0.95rem;
}

/* CTA Container */
.cta-container {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #FF6F00;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    background-color: #e66300;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #FF6F00;
    color: #FF6F00;
}

.btn-secondary:hover {
    background-color: #FF6F00;
    color: #fff;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #FF6F00;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    #studio-hero.hero-section {
        min-height: 90vh;
        padding-top: 10rem;
    }

    #studio-hero .hero-content h1 {
        font-size: 3.5rem;
    }

    #studio-hero .hero-intro {
        font-size: 1.2rem;
    }

    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    #studio-hero.hero-section {
        background-size: 100% auto;
        background-attachment: scroll;
        min-height: 60vh;
        padding: 6rem 1.5rem 3rem;
    }

    #studio-hero .hero-content h1 {
        font-size: 2rem;
    }

    #studio-hero .hero-intro {
        font-size: 1rem;
    }

    .section-title,
    .section-title-alt {
        font-size: 2rem;
    }

    .icon-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .icon-list .icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure all content sections and footer scroll over hero */
.content-section,
footer {
    position: relative;
    z-index: 2;
    background-color: #121212;
}

/* Footer Grid Layout */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.footer-column h3 {
    color: #FF6F00;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid #333;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    #studio-hero.hero-section {
        transition: none;
        background-attachment: scroll;
    }

    .image-item,
    .testimonial,
    .btn {
        transition: none;
    }
}
