/* theme-furniture.css
   Furniture shop theme with black and white palette
*/

:root {
    /* Black and White Palette */
    --white: #ffffff;
    --off-white: #f8f8f8;
    --light-gray: #f0f0f0;
    --gray-200: #e8e8e8;
    --gray-300: #d8d8d8;
    --gray-400: #c8c8c8;
    --gray-500: #888888;
    --gray-600: #666666;
    --gray-700: #555555;
    --dark-gray: #2d2d2d;
    --charcoal: #1a1a1a;
    --black: #000000;
    
    /* Primary Colors */
    --primary: #000000;
    --primary-dark: #1a1a1a;
    --accent-light: #f8f8f8;
    --accent-medium: #555555;
    --accent-nature: #666666;
    --text-dark: #000000;
    --border-color: #e8e8e8;
    --muted-text: #666666;
    
    /* Typography */
    --font-serif: 'Georgia', serif;
    --font-sans: 'Poppins', -apple-system, sans-serif;
}

/* ===== GLOBAL STYLES ===== */
body {
    background-color: #ffffff;
    color: var(--text-dark);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings with Serif Font */
h1, h2, h3, .furniture-title {
    font-family: var(--font-serif);
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border: none;
    color: #fff;
    padding: 0.75rem 1.8rem;
    border-radius: 0.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* ===== NAVBAR STYLING ===== */
.desktop-navbar {
    background: linear-gradient(90deg, #000000, rgba(26, 26, 26, 0.98));
    border-bottom: 2px solid #555555;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.desktop-navbar .navbar-brand img {
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.desktop-navbar .nav-link {
    color: var(--furniture-cream) !important;
    font-weight: 500;
    padding: 0.7rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.desktop-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--furniture-walnut);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.desktop-navbar .nav-link:hover::after {
    width: 70%;
}

.desktop-navbar .nav-link:hover {
    color: #ffffff !important;
}

.desktop-navbar .search-input {
    width: 420px;
    max-width: 40vw;
    background: rgba(250, 248, 245, 0.98);
    border-radius: 25px;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--furniture-sand);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.desktop-navbar .search-input:focus {
    border-color: var(--furniture-walnut);
    box-shadow: 0 4px 25px rgba(139, 111, 71, 0.2);
}

.desktop-navbar .search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--furniture-walnut), var(--furniture-oak));
    color: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(139, 111, 71, 0.3);
    transition: all 0.3s ease;
}

.desktop-navbar .search-btn:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 3px 15px rgba(139, 111, 71, 0.4);
}

.desktop-navbar .cart-badge {
    background: var(--furniture-terracotta) !important;
    color: #fff !important;
}

.desktop-navbar .account-text {
    color: var(--furniture-cream);
    margin-left: 0.5rem;
}

.desktop-navbar .cart-icon-container i,
.desktop-navbar .header-controls a i {
    color: #ffffff !important;
}

.desktop-navbar .cart-icon-container:hover i,
.desktop-navbar .header-controls a:hover i {
    color: #ffffff !important;
}

/* Mobile Navbar */
.mobile-navbar {
    background: var(--furniture-charcoal);
    color: var(--furniture-cream);
    padding: 0.7rem 0;
    border-bottom: 2px solid var(--furniture-walnut);
}

.mobile-navbar .nav-link {
    color: var(--furniture-cream) !important;
}

/* ===== FURNITURE HERO SECTION ===== */
.furniture-hero {
    background: linear-gradient(135deg, var(--furniture-cream) 0%, var(--furniture-beige) 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.furniture-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23d4c4b0" opacity="0.1"/></svg>');
    background-size: 200px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--furniture-walnut);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--furniture-charcoal);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--muted-text);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--furniture-walnut), var(--furniture-oak));
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 0.3rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(139, 111, 71, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 111, 71, 0.4);
    color: #fff;
}

.btn-hero-secondary {
    background: transparent;
    color: var(--furniture-walnut);
    padding: 1rem 2.5rem;
    border: 2px solid var(--furniture-walnut);
    border-radius: 0.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: var(--furniture-walnut);
    color: #fff;
}

/* ===== CATEGORY CARDS ===== */
.furniture-categories {
    background: linear-gradient(180deg, #fff 0%, var(--furniture-cream) 100%);
    padding: 5rem 0;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--furniture-walnut);
    margin-bottom: 1rem;
    background: rgba(139, 111, 71, 0.08);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
}

.categories-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--furniture-charcoal);
    margin-bottom: 1rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--furniture-walnut), var(--furniture-terracotta));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(139, 111, 71, 0.15);
    border-color: var(--furniture-sand);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--furniture-walnut) 0%, var(--furniture-oak) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.category-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--furniture-terracotta), var(--furniture-sage));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(-5deg);
}

.category-card:hover .category-icon::after {
    opacity: 0.3;
}

.category-icon i {
    font-size: 2.2rem;
    color: #fff;
}

.category-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    transition: color 0.3s ease;
}

.category-card:hover .category-card-title {
    color: var(--furniture-walnut);
}

.category-card-text {
    font-size: 0.95rem;
    color: var(--muted-text);
    font-weight: 400;
    margin: 0;
    text-align: center;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(139, 111, 71, 0.15);
    border-color: var(--furniture-sand);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card .price {
    color: var(--furniture-walnut);
    font-weight: 700;
    font-size: 1.3rem;
}

/* ===== FEATURED SECTION ===== */
#featured {
    background: var(--furniture-cream);
    padding: 5rem 0;
}

#featured .section-subtitle {
    color: var(--furniture-walnut);
}

.featured-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--furniture-charcoal);
    margin-bottom: 1rem;
}

.featured-description {
    font-size: 1.05rem;
    color: var(--muted-text);
    margin-bottom: 0;
}

#featured .product {
    background: #fff;
    border: 2px solid var(--furniture-beige);
    border-radius: 12px;
    transition: all 0.3s ease;
}

#featured .product:hover {
    border-color: var(--furniture-walnut);
    box-shadow: 0 8px 30px rgba(139, 111, 71, 0.12);
}

.discount-sticker {
    background: linear-gradient(135deg, var(--furniture-terracotta), var(--furniture-walnut)) !important;
    color: #fff !important;
}

/* ===== LOOKBOOK SECTION ===== */
.lookbook-section {
    background: linear-gradient(180deg, #fff, var(--furniture-beige));
    padding: 5rem 0;
}

.lookbook-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    background: #fff;
}

.lookbook-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(139, 111, 71, 0.15);
}

.lookbook-card img {
    height: 380px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lookbook-card:hover img {
    transform: scale(1.06);
}

.lookbook-card .card-body {
    padding: 2.5rem;
    background: #fff;
}

.lookbook-card .card-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--furniture-charcoal);
    margin-bottom: 1rem;
}

.lookbook-card .card-text {
    font-size: 1rem;
    color: var(--muted-text);
    line-height: 1.7;
}

.lookbook-card .btn {
    background: linear-gradient(135deg, var(--furniture-walnut), var(--furniture-oak));
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 0.3rem;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 111, 71, 0.25);
    transition: all 0.3s ease;
}

.lookbook-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 111, 71, 0.35);
}

/* ===== TEXT UTILITIES ===== */
.text-muted {
    color: var(--muted-text) !important;
}

a {
    color: var(--furniture-walnut) !important;
    text-decoration: none;
}

a:hover {
    color: var(--furniture-oak) !important;
    text-decoration: underline;
}

/* ===== SELLER SHOPS SECTION ===== */
.seller-shops {
    background: #fff;
    padding: 5rem 0;
}

.seller-shop-card {
    background: #fff;
    border: 2px solid var(--furniture-beige);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.seller-shop-card:hover {
    border-color: var(--furniture-walnut) !important;
    box-shadow: 0 8px 30px rgba(139, 111, 71, 0.12);
    transform: translateY(-5px);
}

/* ===== FOOTER ===== */
.footer {
    background: #c0c0c0;
    color: #000000;
    padding: 3rem 0 1rem;
}

.footer-one h5 {
    color: #000000;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-one p,
.footer-one li a {
    color: #000000;
}

.footer-one li a:hover {
    color: #333333 !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .desktop-navbar .search-input {
        width: 100%;
        max-width: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .categories-title,
    .featured-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .furniture-hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .category-card {
        padding: 2rem 1.5rem;
        min-height: 200px;
    }
    
    .category-icon {
        width: 70px;
        height: 70px;
    }
    
    .category-icon i {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .desktop-navbar .header-controls {
        white-space: normal;
        gap: 0.5rem;
    }
    
    .desktop-navbar .search-input {
        display: none;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .category-card-title {
        font-size: 1.1rem;
    }
}
