/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -80px; /* Offset for fixed header */
    padding-top: 80px;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transform: scale(1.04);
    transition: transform 2500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.slide.active img {
    transform: scale(1);
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2:after {
    display: none;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* About Preview Section */
.about-preview {
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2:after {
    left: 0;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--secondary-color);
    margin-right: 1rem;
}

.rating-text {
    font-weight: 500;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    transition: transform 0.5s ease;
}

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

/* Featured Gallery Section */
.featured-gallery {
    text-align: center;
}

.featured-gallery h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    text-align: left;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
    text-align: center;
}

.testimonials h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 2rem;
    overflow: hidden;
    height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.client-info h4 {
    margin-bottom: 0.2rem;
    color: var(--secondary-color);
}

.client-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.prev-btn,
.next-btn {
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    color: var(--secondary-color);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary-color);
}

/* CTA Section */
.cta {
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
}

.cta h2 {
    color: var(--white);
}

.cta h2:after {
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
}

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        height: 80vh;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .testimonial-carousel {
        height: 300px;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-carousel {
        height: 350px;
    }
}