/* ================================================
   FURNITURE PAGE - HERO SECTION
   ================================================ */

#furniture-hero {
    height: calc(100vh - var(--header-height));
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    overflow: hidden;
}
.hero-image-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; 
}
.hero-image-background img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-image-background::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.3);
}
#furniture-hero .container {
    position: relative; z-index: 2;
}
#furniture-hero .hero-content {
    text-align: left;
}
#furniture-hero .hero-content h1 {
    font-family: 'Cormorant', serif; font-size: clamp(3.5rem, 8vw, 8rem); font-weight: 400; color: var(--cream-color); line-height: 1.2; text-transform: uppercase; margin-bottom: 2.5rem;
}
#furniture-hero .contact-button {
    background-color: transparent; border: 2px solid var(--cream-color); color: var(--cream-color); padding: 1rem 2.5rem; font-weight: 600; text-decoration: none; display: inline-block; transition: all 0.3s ease;
}
#furniture-hero .contact-button:hover {
    background-color: var(--cream-color); color: var(--primary-color);
}

/* ================================================
   FURNITURE PAGE - PRODUCT FEATURE SECTIONS
   ================================================ */

.product-section {
    padding: 0;
    background-color: var(--gold-color);
    color: var(--cream-color);
}
.product-split-container {
    display: flex;
    align-items: center;
    width: 100%;
}
/* New style to reverse the layout */
.product-split-container.reverse {
    flex-direction: row-reverse;
}

.product-text-column {
    width: 50%;
    padding: 5rem 6%;
}
.product-text-column h2 {
    font-family: 'Cormorant', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; text-transform: uppercase; line-height: 1.2; margin-bottom: 2rem;
}
.product-details-list {
    margin-bottom: 2.5rem; line-height: 1.8;
}
.product-details-list p, .product-details-list ul {
    margin-bottom: 1rem;
}
.product-details-list ul {
    list-style-position: inside; padding-left: 0;
}
.product-details-list li {
    margin-bottom: 0.5rem;
}
.product-text-column .contact-button {
    background-color: transparent; border: 2px solid var(--cream-color); color: var(--cream-color); padding: 1rem 2.5rem; font-weight: 600; text-decoration: none; display: inline-block; transition: all 0.3s ease;
}
.product-text-column .contact-button:hover {
    background-color: var(--cream-color); color: var(--primary-color);
}
.product-image-column {
    width: 50%;
    height: 700px;
}
.product-image-column img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

/* --- Sofa Feature Specific Styles --- */
#sofa-feature .product-image-column {
    display: flex; flex-direction: column; gap: 1rem; height: auto; padding: 5rem 6%;
}
.color-options { list-style: none; padding-left: 20px; margin-top: 0.5rem; }
.color-options li { display: inline-flex; align-items: center; margin-right: 1.5rem; }

.emoji-box-pastelgreen { display: inline-block; width: 1em; height: 1em; background-color: #b1eeaf; border: 1px solid #fffaeb; margin-right: 8px; }
.emoji-box-beige { display: inline-block; width: 1em; height: 1em; background-color: #f5f5dc; border: 1px solid #fffaeb; margin-right: 8px; }
.emoji-box-peach { display: inline-block; width: 1em; height: 1em; background-color: #ffdab9; border: 1px solid #fffaeb; margin-right: 8px; }
.emoji-box-grey { display: inline-block; width: 1em; height: 1em; background-color: #808080; border: 1px solid #fffaeb; margin-right: 8px; }
.main-image-wrapper img { width: 100%; height: auto; display: block; }
.thumbnail-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.thumbnail-gallery img { width: 100%; height: 120px; object-fit: cover; display: block; cursor: pointer; transition: opacity 0.3s, transform 0.3s; border: 2px solid transparent; }
.thumbnail-gallery img:hover { opacity: 0.8; transform: scale(1.05); }
.thumbnail-gallery img.active { border-color: var(--cream-color); }


/* --- Responsive Styles --- */
@media (max-width: 900px) {
    .product-split-container,
    .product-split-container.reverse {
        flex-direction: column-reverse;
    }
    .product-text-column, .product-image-column {
        width: 100%;
    }
    .product-image-column {
        height: 400px;
    }
    #sofa-feature .product-split-container {
        flex-direction: column;
    }
}

/* ================================================
   SCROLL ANIMATION STYLES
   ================================================ */

.animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-item:nth-child(1) { transition-delay: 0.1s; }
.animate-item:nth-child(2) { transition-delay: 0.2s; }
.animate-item:nth-child(3) { transition-delay: 0.3s; }
.animate-item.visible {
    opacity: 1;
    transform: translateY(0);
}