/* ===== PREMIUM THEME & TRANSITIONS ===== */
:root {
    --primary-clay: #7B341E;
    --gold: #D4AF37;
    --gold-bright: #FFD700;
    --cream: #FFF8ED;
    --dark-text: #2D1B12;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --glass: rgba(123, 52, 30, 0.95);
}

/* ===== GLOBAL RE-SYNC ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cream);
    color: var(--dark-text);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Helper to freeze scroll via JS */
body.modal-open {
    overflow: hidden;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MODERN NAVBAR WITH BUTTONS ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 8%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

/* Navbar Action Buttons */
.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-btn {
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.3s;
    border: 1px solid var(--gold);
}

.btn-whatsapp { background: #25D366; color: white; border: none; }
.btn-email { background: var(--white); color: var(--primary-clay); border: none; }
.btn-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; border: none; }

.nav-btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    width: 100%;
    min-height: 40vh;
    padding: 1.5rem 0;
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("images/brand.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    width: 100%;
    max-width: 1200px;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content .hero-image {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
    display: block;
}

.banner-image-section {
    width: 100%;
    overflow: hidden;
}

.banner-image-section .banner-full-width {
    width: 100%;
    height: auto;
    max-height: 600px;
    display: block;
    object-fit: cover;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 5rem 8%;
    text-align: center;
    background: var(--white);
    margin: 3rem 0;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-clay);
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== PRODUCT SHOWCASE ===== */
.product-showcase {
    padding: 4rem 8%;
    text-align: center;
    background: var(--cream);
}

.product-showcase h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-clay);
}

/* ===== CARD STYLES ===== */
.card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    position: relative;
}

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

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: 0.3s;
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(123, 52, 30, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

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

.card-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-clay);
}

.card-content p {
    color: var(--dark-text);
    font-size: 0.95rem;
}

/* ===== YOUTUBE SECTION ===== */
.youtube {
    padding: 4rem 8%;
    text-align: center;
    background: var(--white);
}

.youtube h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-clay);
}

/* ===== HORIZONTAL YOUTUBE GRID ===== */
.youtube .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.video-thumbnail:hover { transform: scale(1.03); }

.video-thumbnail img { width: 100%; display: block; }

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* ===== PRODUCT GRID (Fixed 5-Column Desktop) ===== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px;
    margin-top: 20px;
}

.grid-container img {
    width: 100%;
    height: 180px; 
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    cursor: zoom-in;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    border: 1px solid rgba(123, 52, 30, 0.1);
}

.product-showcase.new-premium .grid-container img {
    height: 260px;
    max-height: 260px;
}

.product-showcase.exclusive-design .grid-container img {
    height: 280px;
    max-height: 280px;
}

.akhand-diya .grid-container img {
    height: 220px;
    max-height: 220px;
}

.grid-container img:hover { transform: translateY(-5px); }

/* ===== HOME COLLECTIONS (2 CARDS) ===== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ===== MAP SECTION ===== */
.map {
    padding: 4rem 8%;
    text-align: center;
    background: var(--cream);
}

.map h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-clay);
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.map-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: left;
}

.address-card h3 {
    color: var(--primary-clay);
    margin-bottom: 1rem;
}

.address-card p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.map-wrapper iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.map-wrapper a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.map-click-note {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--dark-text);
    opacity: 0.8;
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: 4rem 8%;
    background: var(--white);
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-clay);
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(123, 52, 30, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-clay);
    transition: 0.3s;
}

.faq-question:hover {
    background: rgba(123, 52, 30, 0.05);
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: bold;
    transition: 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--cream);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
}

/* ===== VIEW MORE BUTTON ===== */
.view-more-btn {
    display: block;
    margin: 2rem auto;
    padding: 14px 28px;
    background: var(--gold);
    color: var(--primary-clay);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    text-align: center;
    width: fit-content;
}

.view-more-btn:hover {
    transform: translateY(-3px);
    background: var(--gold-bright);
    color: var(--primary-clay);
}

/* ===== BULK NOTE ===== */
.bulk-note {
    background: var(--gold);
    color: var(--primary-clay);
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-clay);
    color: var(--white);
    text-align: center;
    padding: 2rem 8%;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

#modalImg {
    max-width: 90%; max-height: 85vh;
    border-radius: 5px;
    animation: zoomIn 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 20px; right: 30px;
    color: var(--white); font-size: 50px;
    cursor: pointer;
}

@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVENESS ===== */

/* Tablet (3 Columns) */
@media (max-width: 1024px) {
    .grid-container { grid-template-columns: repeat(3, 1fr); }
    .youtube .video-grid { grid-template-columns: repeat(2, 1fr); }
    .map-container { grid-template-columns: 1fr; gap: 1rem; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
}

/* Mobile (2 Columns / Stacked Elements) */
@media (max-width: 768px) {
    .navbar { 
        flex-direction: row; 
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px; 
        padding: 0.85rem 3%; 
        position: relative;
        background: rgba(123, 52, 30, 0.95);
        box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    }
    
    .hamburger { display: none; }
    
    .nav-links { 
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px; 
        justify-content: center;
        text-align: center;
        flex: 1 1 100%;
        padding: 0.15rem 0;
    }
    
    .nav-contact {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        text-align: center;
        flex: 1 1 100%;
        padding: 0.15rem 0;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.45rem 0.65rem;
        background: rgba(255,255,255,0.08);
        border-radius: 8px;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--gold);
        background: rgba(255,255,255,0.18);
    }
    
    .nav-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
        border-radius: 8px;
    }
    
    .nav-buttons,
    .nav-contact {
        justify-content: center;
    }
    
    .hero { 
        height: 40vh; 
    }
    
    .hero-content h1 { 
        font-size: 1.8rem; 
    }
    
    .hero-content p { 
        font-size: 0.9rem; 
    }
    
    .about, .product-showcase, .youtube, .map, .faq {
        padding: 2rem 5%;
    }
    
    .product-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
        padding: 20px 0; 
    }
    
    .grid-container { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }
    
    .youtube .video-grid { 
        grid-template-columns: 1fr; 
    }
    
    .grid-container img { 
        height: 150px; 
    }
    
    .view-more-btn {
        margin: 1.5rem auto;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .address-card {
        text-align: center;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar { padding: 0.5rem; }
    
    .logo { font-size: 1rem; }
    
    .grid-container { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 8px;
    }
    
    .grid-container img { 
        height: 100px; 
    }
    .product-showcase.new-premium .grid-container img {
        height: 150px;
    }
    .product-showcase.exclusive-design .grid-container img {
        height: 145px;
    }
    
    .hero-content h1 { 
        font-size: 1.5rem; 
    }
    
    .hero-content p { 
        font-size: 0.8rem; 
    }
    
    .about h2, .product-showcase h2, .youtube h2, .map h2, .faq h2 {
        font-size: 1.5rem;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
    }
    
    .card-content p {
        font-size: 0.9rem;
    }
    
    footer {
        padding: 1rem 5%;
    }
    
    .bulk-note {
        font-size: 1rem;
        padding: 0.8rem;
    }
}