/* MASTER STYLESHEET: Best Blinds & Curtains
   Updated: 2026-02-17 | Includes: Navigation, Hero, Cards, Tables, and Category Portals
*/

:root {
    --primary: #061cc5;
    --accent: #e58022;
    --whatsapp-green: #25D366;
    --dark: #333333;
    --light: #f4f4f4;
    --white: #ffffff;
    --shadow: 0 10px 20px rgba(0,0,0,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6; 
    color: var(--dark); 
    background-color: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

/* --- Navigation & Top Bar --- */
.top-bar {
    background: #f4f4f4;
    padding: 8px 5%;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}
.top-link { color: var(--primary); text-decoration: none; font-size: 0.85rem; font-weight: bold; }
.whatsapp-color { color: var(--whatsapp-green) !important; }

header.main-header {
    background: var(--primary);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.main-logo { height: 60px; margin-right: 15px; }
.company-name { color: var(--white); font-size: 1.2rem; margin: 0; text-transform: uppercase; }
.location-tag { color: var(--accent); font-size: 0.8rem; display: block; letter-spacing: 2px; }

.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--accent); }
.hamburger { display: none; color: white; font-size: 1.8rem; cursor: pointer; }

/* --- Hero Section --- */
.hero, .page-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
}
.hero h1 { font-size: 3.5rem; text-transform: uppercase; margin-bottom: 10px; z-index: 2; }
.hero p { z-index: 2; }

/* --- Utility Classes --- */
.container { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.padding-80 { padding: 80px 0; }
.light-bg { background-color: var(--light); }
.text-center { text-align: center; }
.divider { width: 60px; height: 4px; background: var(--primary); margin: 20px auto; border-radius: 2px; }
.brand-blue { color: var(--primary); font-weight: 700; }
.brand-orange { color: var(--accent); }
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 40px; }

/* --- Buttons --- */
.btn-primary, .btn-accent, .btn-sm {
    display: inline-block;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    text-align: center;
}
.btn-primary { background: var(--primary); color: white; padding: 12px 35px; }
.btn-accent { background: var(--accent); color: white; padding: 12px 35px; }
.btn-sm { background: var(--primary); color: white; padding: 8px 20px; font-size: 0.75rem; }

.btn-primary:hover, .btn-accent:hover, .btn-sm:hover { 
    transform: translateY(-3px); 
    box-shadow: var(--shadow); 
}

/* --- Cards & Grids --- */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.info-card:hover { transform: translateY(-10px); }

/* --- Category Portal Tiles (For Products Page) --- */
.category-grid-master {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-tile {
    position: relative;
    display: block;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-tile::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 20%, rgba(6, 28, 197, 0.8) 90%);
    z-index: 1;
}

.tile-text {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px;
    color: var(--white);
    z-index: 2;
}

.category-tile:hover img { transform: scale(1.1); }
.category-tile:hover::after { background: linear-gradient(to bottom, transparent 10%, rgba(229, 128, 34, 0.8) 95%); }

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #04148a 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}
.btn-cta {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 25px;
    transition: 0.3s;
}

/* --- Footer --- */
footer { background: #222; color: #999; padding: 40px 20px; text-align: center; }

/* --- Mobile --- */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--primary);
        position: absolute;
        top: 80px; left: 0;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    .nav-links.active { display: flex; }
    .hero h1 { font-size: 2.2rem; }
    .company-name { font-size: 1rem; }
    .top-bar { justify-content: center; }
}
/* --- GALLERY SPECIFIC STYLES --- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 300px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 28, 197, 0.85); /* Your Primary Blue with transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
    z-index: 2;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay span {
    color: white;
    font-weight: 700;
    border: 2px solid white;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
/* --- CONTACT PAGE SPECIFIC --- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
}

.info-item h4 {
    margin: 0;
    color: var(--primary);
}

.whatsapp-card {
    background: #e9f7ef;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px dashed var(--whatsapp-green);
}

.modern-form input, 
.modern-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.modern-form input:focus, 
.modern-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(6, 28, 197, 0.2);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
.vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-card i {
    margin-right: 10px;
}

/* Make sure the buttons look good on mobile */
@media (max-width: 768px) {
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
}
/* --- SHUTTERS PAGE SPECIAL STYLES --- */

.shutter-row {
    display: block;
}

.product-specs {
    list-style: none;
    padding: 0;
}

.product-specs li {
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-specs i {
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.shutter-image img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.shutter-image img:hover {
    transform: scale(1.02);
}

/* Zebra layout for desktop, single column for mobile */
@media (max-width: 768px) {
    .content-grid {
        display: flex;
        flex-direction: column !important; /* Forces image then text on mobile */
        gap: 20px;
    }
    
    .shutter-text {
        text-align: center;
    }
    
    .product-specs li {
        justify-content: center;
    }
}
.info-card i {
    transition: transform 0.3s ease;
}
.info-card:hover i {
    transform: scale(1.2);
    color: var(--accent);
}
/* --- RAILS PAGE SPECIFIC --- */
.rail-mini-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    transition: color 0.3s ease;
}

.rail-mini-card:hover i {
    color: var(--primary);
}

.detail-info {
    padding: 20px;
}

.lead-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
}
/* --- NEW SHOWROOM SPOTLIGHT --- */
.showroom-spotlight {
    background: linear-gradient(135deg, var(--primary) 0%, #03117a 100%); /* Deep brand blue */
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Add a subtle texture or pattern if desired, but keep it clean */
.showroom-spotlight::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'); /* Subtle cube overlay */
    opacity: 0.1;
}

.spotlight-badge {
    display: inline-block;
    background-color: var(--accent); /* Brand Orange */
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: pulse 2s infinite; /* Subtle pulse to grab eye */
}

.highlight-text {
    color: var(--accent); /* Orange for the main point */
    font-size: 1.2em;
    display: block;
    margin-top: 10px;
}

.divider-white {
    width: 80px;
    height: 4px;
    background: var(--white);
    margin: 30px auto 0;
    border-radius: 2px;
}

/* Lead text style for the showroom description */
.lead-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 20px auto 0;
    opacity: 0.9;
}

/* Animation to draw the eye */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .showroom-spotlight h1 { font-size: 1.8rem; }
    .lead-text { font-size: 1rem; }
}
/* --- SHOWROOM BOXED DESIGN --- */

/* The thick orange outer frame */
.showroom-outer-border {
    background-color: var(--accent); /* Your Brand Orange */
    padding: 15px; /* This creates the orange border thickness */
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 1000px;
    margin: 0 auto;
}

/* The deep blue inner container */
.showroom-inner-box {
    background: linear-gradient(135deg, #061cc5 0%, #03117a 100%);
    padding: 60px 40px;
    border-radius: 5px;
    text-align: center;
    color: var(--white);
    position: relative;
}

/* Subtle pattern overlay (optional) */
.showroom-inner-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
    pointer-events: none;
}

.showroom-title {
    font-size: 1.8rem;
    margin-top: 20px;
    font-weight: 700;
    color: var(--white);
}

.showroom-highlight {
    font-size: 2.8rem;
    color: var(--accent); /* Orange text */
    text-transform: none;
    margin-bottom: 20px;
    font-weight: 700;
}

.showroom-p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
}

.showroom-divider {
    width: 60px;
    height: 3px;
    background-color: var(--white);
    margin: 30px auto 0;
    border-radius: 2px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .showroom-outer-border { padding: 8px; }
    .showroom-inner-box { padding: 40px 20px; }
    .showroom-highlight { font-size: 1.8rem; }
    .showroom-title { font-size: 1.4rem; }
}