/* =========================================
   1. GLOBAL RESET & TYPOGRAPHY
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: #111;
    overflow-x: hidden; /* Prevents horizontal scroll */
}

/* Headings use the premium 'Cinzel' font */
h1, h2, h3, .cat-btn, .brand-tagline, .hero-btn { 
    font-family: 'Cinzel', serif; 
    letter-spacing: 1px; 
}

/* =========================================
   2. NAVBAR & LOGO
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px; /* Slimmer padding for sleek look */
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
    height: 80px; /* Consistent height */
}

.logo {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo img {
    height: 60px; /* Fills the 80px container */
    width: auto;
    object-fit: contain;
    /* transform: scale(1.2);  Uncomment if you need to zoom the logo slightly */
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #111;
    margin-left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.highlight {
    font-weight: 700;
}

/* =========================================
   3. HERO SECTION (Main Home)
   ========================================= */
.hero-section {
    height: 85vh; /* Tall, cinematic height */
    background: url('assets/images/hero.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Dark overlay for text readability */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
}

.hero-content { position: relative; z-index: 1; color: white; }
.hero-content h2 { font-size: 3.5rem; margin-bottom: 15px; font-weight: 400; }
.hero-content p { font-size: 1.2rem; font-weight: 300; letter-spacing: 2px; margin-bottom: 35px; }

.hero-btn {
    padding: 15px 40px;
    background: transparent;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.hero-btn:hover { background: white; color: black; }

/* =========================================
   4. CONTROLS BAR (Search & Filter)
   ========================================= */
#controls-container {
    padding: 40px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
    background: #fff;
}

.control-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
}

/* Search Group */
.search-group { display: flex; align-items: center; border-bottom: 1px solid #ccc; padding-bottom: 5px; }
.search-icon { margin-right: 10px; color: #777; }
#search-input { border: none; outline: none; font-size: 1rem; width: 200px; font-family: 'Montserrat', sans-serif; }

/* Category Buttons */
.filter-group { display: flex; gap: 20px; }
.cat-btn {
    background: none; border: none; cursor: pointer;
    font-size: 0.9rem; color: #888; text-transform: uppercase;
    transition: color 0.3s;
}
.cat-btn.active, .cat-btn:hover { color: #111; font-weight: 700; border-bottom: 1px solid #111; }

/* Sort & Price Tools */
.tools-group { display: flex; gap: 20px; align-items: center; }
#sort-order { border: none; background: transparent; font-family: 'Montserrat', sans-serif; cursor: pointer; font-size: 0.9rem; }
.price-wrapper { font-size: 0.8rem; display: flex; align-items: center; gap: 10px; }
#price-range { cursor: pointer; }

/* =========================================
   5. PRODUCT GRID & CARDS
   ========================================= */
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 60px 40px; /* Spacious gap for luxury feel */
}

.product-card {
    background: white;
    transition: transform 0.3s ease;
}
.product-card:hover { transform: translateY(-5px); }

.image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4; /* Portrait Mode for Fashion */
    background: #f9f9f9;
}

.image-container img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
/* Subtle Zoom Effect */
.product-card:hover img { transform: scale(1.05); }

/* Badges */
.badge {
    position: absolute;
    top: 10px; left: 10px;
    padding: 5px 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.badge.new { background: white; color: black; }
.badge.sold { background: #111; color: white; }

/* Card Info */
.info { padding-top: 20px; text-align: center; }
.info h3 { font-size: 1.1rem; font-weight: 400; margin-bottom: 5px; color: #111; }
.price { font-size: 1rem; color: #555; margin-bottom: 15px; font-weight: 300; }
.desc { display: none; } /* Hidden for cleaner grid */

/* Button */
.buy-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #111;
    color: #111;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.buy-btn:hover { background: #111; color: white; }

/* =========================================
   6. BEDDING PAGE (Coming Soon)
   ========================================= */
.coming-soon-container {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Make sure you upload bedding-bg.jpg! */
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('assets/images/bedding-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px;
}
.coming-soon-title { font-size: 3rem; margin-bottom: 20px; color: #111; font-family: 'Cinzel', serif; }
.coming-soon-text { font-size: 1.2rem; margin-bottom: 40px; color: #555; max-width: 600px; line-height: 1.6; }

.inquiry-btn {
    background: #25D366; /* WhatsApp Green */
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s;
}
.inquiry-btn:hover { transform: translateY(-3px); }

/* =========================================
   7. LUXURY FOOTER
   ========================================= */
footer {
    background-color: #fdfdfd;
    border-top: 1px solid #eaeaea;
    padding: 80px 20px 40px;
    margin-top: 100px;
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Brand Section */
.footer-logo img {
    height: 50px;
    opacity: 0.8;
    filter: grayscale(100%);
    margin-bottom: 10px;
}
.brand-tagline {
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Ribbon Navigation */
.footer-nav {
    display: flex;
    gap: 40px;
    padding: 25px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
    color: #111;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: #111;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.footer-nav a:hover::after { width: 100%; }

/* Bottom Legal */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #999;
    font-size: 0.75rem;
}
.legal-links a { color: #999; text-decoration: none; transition: color 0.3s; }
.legal-links a:hover { color: #111; }

/* =========================================
   8. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    /* Stack Navbar */
    .navbar { padding: 15px; flex-direction: column; gap: 10px; height: auto; }
    .nav-links { margin-top: 10px; width: 100%; justify-content: center; flex-wrap: wrap; gap: 15px; }
    .nav-links a { margin-left: 0; font-size: 0.8rem; }
    
    /* Hero Text Size */
    .hero-content h2 { font-size: 2rem; }
    .hero-section { height: 70vh; }

    /* Control Bar Stacking */
    .control-wrapper { flex-direction: column; align-items: flex-start; gap: 20px; }
    .filter-group { overflow-x: auto; width: 100%; padding-bottom: 10px; white-space: nowrap; }
    .search-group { width: 100%; }
    #search-input { width: 100%; }
    
    /* Footer Stacking */
    .footer-nav { flex-direction: column; gap: 20px; border: none; padding: 0; }
    footer { padding: 60px 20px; }
}