/* --- ABOUT PAGE LAYOUT --- */
.about-page {
    padding-top: 100px;
    padding-bottom: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    opacity: 0;
    animation: pageFadeIn 1s ease-out forwards;
}

.top-row {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.gallery-section, .about-section {
    flex: 1;
    min-height: 500px;
}

/* --- GALLERY SECTION STYLES --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    height: 100%;
    min-height: 500px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- ABOUT SLIDESHOW STYLES --- */
.about-slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slideshow-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: rgba(247, 246, 242, 0.85);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.slide {
    display: none;
    flex-direction: column;
    justify-content: center;
    animation: fadeInSlide 0.6s ease-in-out;
    max-width: 100%;
    width: 100%;
}

.slide.active {
    display: flex;
}

.slide h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.slide p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.cta-button:hover {
    background-color: var(--text-color);
}

/* --- SLIDESHOW CONTROLS --- */
.slideshow-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 20px;
}

.prev-btn, .next-btn {
    background: none;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.dots-container {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(152, 130, 100, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--accent-color);
}

/* --- FAQ SECTION STYLES --- */
.faq-section {
    margin-top: 60px;
    padding: 50px 40px;
    background-color: rgba(152, 130, 100, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(152, 130, 100, 0.1);
}

.faq-title {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-color);
    font-style: italic;
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(152, 130, 100, 0.2);
}

.faq-item:first-child {
    border-top: 1px solid rgba(152, 130, 100, 0.2);
}

.faq-question {
    width: 100%;
    padding: 25px 10px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-family: var(--font-main);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-question.active {
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

/* Increased bottom padding to 45px for better spacing */
.faq-answer.active {
    padding: 0 10px 45px 10px; 
}

.faq-answer p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 10px 0 15px 20px;
    padding: 0;
    list-style-type: disc;
}

.faq-answer ul li {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-left: 5px;
}

/* --- ANIMATIONS --- */
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .top-row {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        min-height: auto;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }
    
    .about-slideshow-container {
        min-height: 650px;
    }
    
    .slideshow-content {
        min-height: 650px;
        padding: 80px 30px;
        background: rgba(247, 246, 242, 0.9);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .slide h2 {
        font-size: 1.5rem;
    }

    .slide p {
        font-size: 0.95rem;
    }
    
    .slideshow-controls {
        bottom: 25px;
    }

    .faq-section {
        padding: 30px 20px;
    }
    
    .faq-title {
        font-size: 1.6rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 20px 5px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 10px;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .about-slideshow-container {
        min-height: 700px;
    }
    
    .slideshow-content {
        min-height: 700px;
        padding: 100px 25px;
        background: rgba(247, 246, 242, 0.92);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
    
    .slideshow-controls {
        bottom: 20px;
        gap: 15px;
    }
    
    .prev-btn, .next-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .slide h2 {
        font-size: 1.3rem;
    }
    
    .slide p {
        font-size: 0.9rem;
    }
}