:root {
    --primary: #000000;
    --accent: #E8FF8E;
    --bg: #FAFAFA;
    --text-main: #121212;
    --text-muted: #666;
    --nav-height: 100px;
}

/* 1. GLOBAL FIX: Total protection against horizontal sliding */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    scroll-behavior: smooth;
}

/* 2. NAVIGATION: Responsive for both Desktop and Mobile */
.glass-nav {
    position: fixed; 
    top: 0; 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 10px 8%; 
    backdrop-filter: blur(12px); 
    background: rgba(250, 250, 250, 0.85); 
    z-index: 1000;
    height: 80px;
}

.nav-logo-img {
    height: 40px; 
    width: auto;
    display: block;
}

.links { 
    display: flex; 
    list-style: none; 
    align-items: center; 
    gap: 2.5rem; 
}

.links a { 
    text-decoration: none; 
    color: var(--text-main); 
    font-weight: 600; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
}

/* 3. INTRO SECTION FIX */
.header-intro-grid {
    display: flex; 
    align-items: center; 
    gap: 30px; 
    margin: 20px 0;
}

.intro-image { flex: 0 1 auto; }

.intro-image img { 
    width: 100%; 
    max-width: 320px; 
    height: auto; 
    display: block;
}

/* 4. HERO SLIDER - Fix for mobile zoom */
.hero-fade-slider { 
    height: min(55vh, 76vw); 
    width: 100%; 
    margin-top: 80px; 
    position: relative; 
    overflow: hidden;
    background-color: var(--bg);
}

.fade-slide { 
    position: absolute; 
    inset: 0;
    opacity: 0; 
    transition: opacity 1.5s ease; 
}

.fade-slide.active { opacity: 1; }

.fade-slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

@media (max-width: 767px) {
    .fade-slide img {
        object-fit: contain;
    }
}

/* 5. CONTENT CONTAINERS & GRIDS */
.container { padding: 4rem 8%; width: 100%; }

.section-header { margin-bottom: 3.5rem; }

.badge { 
    background: var(--accent); 
    padding: 6px 14px; 
    border-radius: 20px; 
    font-size: 0.7rem; 
    font-weight: 800; 
    text-transform: uppercase; 
}

h2 { font-size: 2.8rem; font-weight: 800; letter-spacing: -1px; }

.bento-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    grid-auto-rows: 320px; 
    gap: 1.5rem; 
}

.grid-item { 
    position: relative; 
    border-radius: 24px; 
    overflow: hidden; 
    padding: 2.5rem; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
}

.bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: 0.6s; }

.item-content { position: relative; z-index: 2; color: white; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }

.tall { grid-row: span 2; }

.wide { grid-column: span 2; }

.manual-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }

.ig-card { position: relative; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; }

.ig-card img { width: 100%; height: 100%; object-fit: cover; }

/* 6. WHATSAPP & LIGHTBOX - Fix for Close Button */
.whatsapp-float { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: #25D366; 
    color: white; 
    padding: 12px 24px; 
    border-radius: 50px; 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    font-weight: 700; 
    z-index: 2000; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); 
}

.lightbox {
    display: none; 
    position: fixed; 
    z-index: 3000; 
    inset: 0;
    background: rgba(0,0,0,0.9); 
    justify-content: center; 
    align-items: center;
}

.lightbox-content { 
    width: auto; 
    max-width: 90%; 
    max-height: 80vh; 
    object-fit: contain; 
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3001;
    line-height: 1;
}

.close-lightbox:hover {
    color: var(--accent);
}

/* 7. FOOTER */
footer { 
    background: #000; 
    color: #fff; 
    padding: 6rem 0 0 0; 
    width: 100%;
}

.footer-content { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 4rem; 
    padding-bottom: 4rem; 
}

.footer-links ul { list-style: none; }

.footer-links a { 
    color: #777; 
    text-decoration: none; 
    line-height: 2.2; 
    transition: 0.3s; 
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom { 
    border-top: 1px solid #1a1a1a; 
    padding: 2.5rem; 
    text-align: center; 
    color: #444; 
    font-size: 0.8rem; 
}

/* 8. RESPONSIVE QUERIES */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 280px; }
    .manual-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .header-intro-grid { flex-direction: column; text-align: center; }
    .intro-image img { max-width: 250px; margin: 0 auto; }
    .footer-content { grid-template-columns: 1fr; padding: 0 8% 4rem 8%; }
    .manual-grid { grid-template-columns: repeat(3, 1fr); }
    .container { padding: 3rem 5%; }
}

@media (max-width: 480px) {
    .glass-nav { padding: 0 5%; }
    .nav-logo-img { height: 35px; }
    .links { gap: 1rem; }
    .links a { font-size: 0.75rem; }
    .manual-grid { grid-template-columns: repeat(2, 1fr); }
    h2 { font-size: 2rem; }
}

/* 9. QUICK LINKS STYLING */
.quick-links-container a {
    text-decoration: none !important;
    color: #666;
    font-size: 0.75rem;
    transition: 0.2s;
}

.quick-links-container a:hover {
    color: #007bff;
    font-weight: bold;
}

.main-category-link {
    text-decoration: none !important;
    background: #fff;
    color: #121212;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #c8d9e9;
    transition: 0.3s;
    display: inline-block;
}

.main-category-link:hover {
    background: #f0f7ff;
    border-color: #007bff;
}