/* about.html fade-in effect */
main {
    animation: contentFadeIn 1s ease-out forwards;
    opacity: 0;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Page Specific Styles */
.about-hero {
    position: relative;
    height: 130vh;
    min-height: 1100px;
    width: 100%;
    background: url('../images/about/About_Background.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 2rem;
    animation: heroFade 0.9s ease-out both;
}

.about-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-shadow: 0 6px 30px rgba(0,0,0,0.35);
}

.about-hero-content p {
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 3px 18px rgba(0,0,0,0.4);
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .about-hero-content h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
    .about-hero-content p { font-size: 1.05rem; }
}

@media (max-width: 480px) {
    .about-hero { min-height: 520px; }
    .about-hero-content h1 { font-size: 2rem; }
    .about-hero-content p { font-size: 0.95rem; }
}

.about-header {
    background: var(--bg-light);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 82px;
}

.about-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-weight: 300;
}

.about-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Our Story Section */
.our-story {
    padding: 100px 0;
    background: white;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.story-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Customer Reviews Section */
.customer-reviews {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.customer-reviews .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.customer-reviews h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.customer-reviews .section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Reviews Container */
.reviews-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.reviews-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

/* Review Cards */
.review-card {
    flex: 0 0 100%;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Review Stars */
.review-stars {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.star {
    color: #c8a47e;
    display: inline-block;
    margin: 0 2px;
    animation: starGlow 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

.star:nth-child(1) { --i: 0; }
.star:nth-child(2) { --i: 1; }
.star:nth-child(3) { --i: 2; }
.star:nth-child(4) { --i: 3; }
.star:nth-child(5) { --i: 4; }

@keyframes starGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Review Text */
.review-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    padding: 0 2rem;
}

.review-text::before,
.review-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--accent-gold);
    opacity: 0.3;
    position: absolute;
    font-family: serif;
}

.review-text::before {
    top: -10px;
    left: 0;
}

.review-text::after {
    bottom: -30px;
    right: 0;
}

/* Review Author */
.review-author h4 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.review-source {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Navigation Buttons */
.review-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.review-nav:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.review-nav-prev {
    left: 0;
}

.review-nav-next {
    right: 0;
}

/* Review Dots */
.review-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 3rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(45, 90, 61, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 30px;
    border-radius: 15px;
    background: var(--primary-green);
}

.dot:hover {
    background: rgba(45, 90, 61, 0.5);
}

/* Team Section - Removed, keeping for reference if needed */

/* Responsive Design */
@media (max-width: 768px) {
    .about-header h1 {
        font-size: 2.5rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .story-text h2 {
        font-size: 2rem;
    }
    
    .customer-reviews h2 {
        font-size: 2rem;
    }
    
    .reviews-container {
        padding: 0 40px;
    }
    
    .review-card {
        padding: 2rem;
    }
    
    .review-text {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .review-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .about-header {
        padding: 100px 0 60px;
    }
    
    .about-header h1 {
        font-size: 2rem;
    }
    
    .our-story,
    .customer-reviews {
        padding: 60px 0;
    }
    
    .story-text h2 {
        font-size: 1.8rem;
    }
    
    .customer-reviews h2 {
        font-size: 1.8rem;
    }
    
    .reviews-container {
        padding: 0 30px;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .review-text::before,
    .review-text::after {
        font-size: 2rem;
    }
    
    .review-nav {
        width: 35px;
        height: 35px;
    }
}