/* Global Styles */
:root {
    /* Modern, Warm & Luxurious Palette */
    --primary-color: #2C2C2C;
    /* Deep Charcoal - Text & Headings */
    --secondary-color: #A08B73;
    /* Articulate Bronze - Main Accent */
    --accent-color: #A08B73;
    --text-color: #555;
    --bg-color: #F9F7F2;
    /* Warm Off-White Background */
    --white: #fff;
    --dark-bg: #1A1A1A;
    --header-height: 80px;
    --transition-speed: 0.4s;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    width: 100%;
}

/* Elegant Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Common Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    /* Shorter for elegance */
    height: 2px;
    /* Thinner */
    background: var(--secondary-color);
    margin: 15px auto 0;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    color: #777;
}

/* Header & Navigation */
/* Header & Navigation */
header {
    background-color: transparent;
    /* Initially transparent */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 90px;
    /* Slightly taller for elegance */
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    /* No border initially */
    transition: all 0.4s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    /* White on scroll */
    backdrop-filter: blur(10px);
    /* Glassmorphism */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    height: 70px;
    /* Shrink slightly on scroll */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    /* Prevent it from being too wide on large screens */
    margin: 0 auto;
    padding: 0 40px;
    /* Add horizontal padding */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: auto;
    width: 300px;
    max-width: 100%;
    /* Added for safety */
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
    /* Adds subtle depth */
}

header.scrolled .logo-img {
    width: 240px;
    /* Slightly smaller on scroll but still readable */
}

.nav-links {
    display: flex;
    gap: 50px;
    /* Spacious spacing */
    align-items: center;
    list-style: none;
}

.nav-link {
    font-weight: 400;
    /* Thinner font */
    font-size: 0.9rem;
    /* Clean size */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* Wider spacing */
    color: var(--primary-color);
    position: relative;
    padding-bottom: 5px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    /* Thinner line */
    bottom: 0;
    left: 0;
    /* Align left for typical modern style, or keep center */
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after {
    width: 100%;
    background-color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
}

/* Hero Section - Modern & Clean */
.hero {
    height: 100vh;
    /* Placeholder for a furniture image background */
    background: url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?ixlib=rb-4.0.3&auto=format&fit=crop&w=1932&q=80') no-repeat center center/cover;
    position: relative;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 0;
    /* Sharp edges for modern look */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all var(--transition-speed);
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Features Strip */
.features-strip {
    background-color: var(--white);
    padding: 40px 0;
    /* Removed border-bottom as requested */
}

.features-strip .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
    font-weight: 500;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* About Section */
.about-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 60px;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    z-index: 1;
}

.image-placeholder {
    width: 100%;
    height: 450px;
    background-color: #e0e0e0;
    background-image: url('https://images.unsplash.com/photo-1567016432779-094069958ea5?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder i {
    display: none;
    /* Hiding icon since we have bg image */
}

.about-content .sub-title {
    color: var(--secondary-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.section-title-left {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 25px;
    color: #666;
    font-weight: 300;
}

.about-list {
    margin-bottom: 35px;
}

.about-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.about-list i {
    color: var(--secondary-color);
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-color);
    padding: 50px 30px;
    text-align: center;
    transition: all var(--transition-speed);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
    border-color: #eee;
}

.service-img-holder {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
}

.service-card:hover .service-img-holder {
    background: var(--secondary-color);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Collections Grid (New) */
.collections {
    padding-bottom: 50px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px 0;
    /* Removed fixed height so it adapts to content */
}

.collection-item {
    position: relative;
    overflow: hidden;
    height: 500px;
    /* Fixed height as requested */
    border-radius: 15px;
    /* Modern rounded corners */
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.collection-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.collection-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers the area fully */
    object-position: center;
    /* Centers the image */
    transition: transform 0.6s ease;
}

.collection-item:hover .collection-img {
    transform: scale(1.08);
    /* Zoom effect */
}

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.collection-item:hover .collection-content {
    transform: translateY(0);
}

.collection-content h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.collection-content a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    /* Hidden by default */
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
    display: inline-block;
}

.collection-item:hover .collection-content a {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .collection-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .collection-item {
        height: 300px;
    }
}




/* Footer Section */
footer {
    background-color: #151515;
    color: #999;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 60px;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand h2 span {
    color: var(--secondary-color);
}

.footer-brand p {
    margin-bottom: 30px;
    max-width: 300px;
    font-weight: 300;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s;
}

.footer-socials a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .nav-links {
        gap: 30px;
    }

    .logo-img {
        width: 200px;
    }
}

@media (max-width: 768px) {
    header {
        height: 70px;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .header-container {
        padding: 0 20px;
    }

    .logo-img {
        width: 180px;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 40px;
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .nav-link {
        font-size: 1.1rem;
        color: var(--primary-color) !important;
    }

    /* Hamburger Animation to X */
    .toggle .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .bar:nth-child(2) {
        opacity: 0;
    }

    .toggle .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .about-container {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 30px;
    }

    .footer-socials {
        justify-content: center;
    }

    .features-strip .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .collection-item {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title-left {
        font-size: 2rem;
        text-align: center;
    }

    .about-list li {
        font-size: 0.95rem;
    }

    .logo-img {
        width: 150px;
    }

    .nav-links {
        width: 85%;
    }
}

.is-hidden {
    display: none !important;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Collections Page Specifics */
.page-header {
    background: url('https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: var(--header-height);
    color: var(--white);
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--secondary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 1px solid #eee;
    transition: all var(--transition-speed);
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-image .overlay {
    opacity: 1;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.product-info .price {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
}

/* Services Page Styles */
.services-header {
    background-image: url('https://images.unsplash.com/photo-1617806118233-18e1de247200?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
}

.service-details {
    padding-bottom: 50px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
}

.service-image {
    flex: 1;
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

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

.service-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    margin-bottom: -20px;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: -1;
}

.icon-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.icon-header i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.icon-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.service-content p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--primary-color);
}

.service-list i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Process Section */
.process-section {
    background-color: var(--bg-color);
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    font-family: 'Playfair Display', serif;
}

.process-step h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.process-step p {
    font-size: 0.9rem;
    color: #777;
}

@media (max-width: 900px) {

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .service-image {
        height: 300px;
        width: 100%;
    }

}

/* Back to Top Button Styling */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    /* Hidden by default, script shows it */
    z-index: 1000;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

#back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#back-to-top.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}