/* CSS Variables for Theme */
:root {
    --primary-color: #2b2b2b;
    --secondary-color: #9C6F44; /* Warm earthy tone for carpets/rugs */
    --background-color: #FAFAFA;
    --text-color: #333333;
    --light-gray: #F0EBE6;
    --border-color: #E6E0D8;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: #F0EBE6;
    text-align: center;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Header */
.main-header {
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.search-bar {
    flex: 0 1 40%;
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
    background: #fbfbfb;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-family: var(--font-body);
    background: transparent;
}

.search-bar button {
    padding: 0 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.search-bar button:hover {
    color: var(--secondary-color);
}

.header-actions {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 20px;
}

.header-actions a {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.header-actions a:hover {
    color: var(--secondary-color);
}

.header-actions span {
    font-size: 15px;
    font-weight: 500;
}

/* Navigation */
.main-nav {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 45px;
    padding: 18px 0;
}

.main-nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    color: #555;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--secondary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3)), url('hero_carpet_1785346544800.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 68px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 35px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.shop-now-btn {
    padding: 18px 45px;
    background-color: white;
    color: var(--primary-color);
    border: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-now-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Sections Common */
.categories-section, .featured-products, .shop-by-room, .testimonials-section {
    padding: 90px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 18px;
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    cursor: pointer;
    text-align: center;
    overflow: hidden;
}

.img-container {
    width: 100%;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: transform 0.6s ease;
}

.category-card:hover .img-container {
    transform: scale(1.05);
}

.category-card h4 {
    font-size: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* Products */
.product-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    cursor: pointer;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    width: 100%;
    aspect-ratio: 3/4;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 4px;
    margin-bottom: 18px;
    overflow: hidden;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 16px;
}

.wishlist-btn:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.product-info {
    text-align: left;
}

.brand {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.price {
    font-weight: 600;
    font-size: 18px;
    color: var(--secondary-color);
}

/* Shop by Room */
.room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.room-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.room-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.room-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.room-overlay h4 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 10px;
}

.room-overlay a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: color 0.3s;
}

.room-overlay a:hover {
    color: var(--secondary-color);
}

/* Heritage Section */
.heritage-section {
    display: flex;
    background-color: var(--light-gray);
    margin: 60px 0;
}

.heritage-content {
    flex: 1;
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.heritage-content .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.heritage-content p {
    font-size: 17px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.explore-link {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s;
    margin-top: 20px;
}

.explore-link:hover {
    gap: 15px;
}

.heritage-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

/* Testimonials */
.testimonials-section {
    background-color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    background: var(--background-color);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.stars {
    color: #D4AF37; /* Gold */
    margin-bottom: 20px;
    font-size: 18px;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.customer-name {
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

/* Value Proposition */
.value-prop-section {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 40px;
}

.value-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.value-item i {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.value-item h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 10px;
}

.value-item p {
    color: #ccc;
    font-size: 14px;
}

/* Inspiration & Care */
.inspiration-section {
    padding: 90px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    background: white;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.blog-content h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 40px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #bbb;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-col p {
    color: #bbb;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    margin-bottom: 30px;
}

.subscribe-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.subscribe-form input::placeholder {
    color: #aaa;
}

.subscribe-form button {
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.subscribe-form button:hover {
    background-color: #835C37;
}

.social-icons {
    display: flex;
    gap: 20px;
}

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

.social-icons a:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .category-grid, .product-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .heritage-section {
        flex-direction: column-reverse;
    }
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .search-bar, .header-actions span {
        display: none;
    }
    .menu-icon {
        display: block;
    }
    .main-nav {
        display: none; 
    }
    .hero-content h2 {
        font-size: 42px;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .room-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
}
