/* ==========================================================================
   Teesari Aankh Electronic Security Systems - Authentic Dealer Design System
   Inspired by leading Indian Security Distributors (Eagle Eye, CCTVKit, PointBlank)
   ========================================================================== */

:root {
    /* Primary & Brand Color Palette */
    --primary-blue: #0284c7;
    --primary-blue-dark: #0369a1;
    --primary-blue-light: #e0f2fe;
    
    --navy-header: #0f172a;
    --navy-dark: #0b132b;
    --navy-card: #1e293b;
    
    --accent-orange: #c2450f;
    --accent-orange-hover: #9a3412;
    
    --whatsapp-green: #25d366;
    --whatsapp-hover: #1ebd56;
    
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    
    --border-color: #cbd5e1;
    --border-light: #e2e8f0;
    
    --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.12);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --container-max: 1240px;
}

/* Reset & Base Elements */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.5;
    padding-bottom: 70px;
}

@media (min-width: 769px) {
    body { padding-bottom: 0; }
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* TOP EMERGENCY & GST VERIFICATION STRIP */
.top-gst-bar {
    background-color: var(--navy-header);
    color: #e2e8f0;
    font-size: 0.8rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-gst-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gst-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #c2450f;
    color: #ffffff;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: #fffbeb;
    border: 1.5px solid #f59e0b;
    color: #78350f;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.8rem;
}


.top-gst-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-gst-item a:hover {
    color: #ffffff;
}

/* MAIN HEADER (DEALER STYLE HEADER WITH CONTACT & CALLS) */
.main-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 2px solid var(--accent-orange);
}

.header-middle {
    padding: 0.85rem 0;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-logo-block {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.site-logo-img {
    height: 95px;
    width: auto;
    max-width: 340px;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease;
}

.logo-icon-box {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy-header), var(--accent-orange));
    color: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.35rem;
    box-shadow: 0 4px 10px rgba(194, 69, 15, 0.25);
}


.logo-info h1 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-header);
    line-height: 1.1;
}

.logo-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.header-contact-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.phone-badge-box {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.phone-badge-icon {
    color: var(--accent-orange);
    font-size: 1.25rem;
}

.phone-badge-text span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.phone-badge-text a {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy-header);
}

/* NAVBAR NAVIGATION MENU */
.dealer-navbar {
    background-color: var(--navy-header);
    color: #ffffff;
}

.dealer-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dealer-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.dealer-nav-item a {
    display: block;
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #cbd5e1;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dealer-nav-item a:hover, .dealer-nav-item a.active {
    background-color: var(--accent-orange);
    color: #ffffff;
}

.header-price-btn {
    background-color: var(--accent-orange);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.header-price-btn:hover {
    background-color: var(--accent-orange-hover);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy-header);
    cursor: pointer;
}

/* MOBILE DRAWER */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--navy-header);
    color: #ffffff;
    z-index: 2000;
    box-shadow: -5px 0 25px rgba(0,0,0,0.3);
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.mobile-drawer.active { right: 0; }

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-overlay.active { opacity: 1; visibility: visible; }

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.drawer-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.75rem;
    cursor: pointer;
}

.drawer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.drawer-link {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
    padding: 0.4rem 0;
}

.drawer-link.active, .drawer-link:hover {
    color: #ffffff;
    padding-left: 0.5rem;
}

/* HERO SECTION (AUTHORIZED DEALER HERO WITH SPLIT ENQUIRY) */
.hero-dealer-section {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.hero-dealer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-main-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--navy-header);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-sub-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* BRAND LOGOS BADGES STRIP */
.brand-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
    padding: 0.85rem 1rem;
    background: #ffffff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.brand-badge-item {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--navy-header);
    background: var(--bg-alt);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

/* HERO ENQUIRY QUICK CARD (DEALER FORM) */
.hero-enquiry-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--accent-orange);
}

.hero-enquiry-card h3 {
    font-size: 1.25rem;
    color: var(--navy-header);
    margin-bottom: 0.35rem;
}

.hero-enquiry-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--navy-header);
}

.form-control {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(194, 69, 15, 0.15);
}

.btn-price-submit {
    width: 100%;
    background-color: var(--accent-orange);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    padding: 0.85rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-price-submit:hover {
    background-color: var(--accent-orange-hover);
}

/* SECTION TITLES */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-orange);
    margin-bottom: 0.4rem;
    display: block;
}

.section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    color: var(--navy-header);
    margin-bottom: 0.75rem;
}

/* FEATURED CATEGORIES GRID (CIRCULAR / BOXED DEALER CATEGORIES) */
.categories-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.category-card-item {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-orange);
}

.category-thumb-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid #ffffff;
    box-shadow: var(--shadow-sm);
    background: #ffffff;
}

.category-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-item h4 {
    font-size: 1rem;
    color: var(--navy-header);
    margin-bottom: 0.25rem;
}

.category-card-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* PRODUCT DEALER CARDS GRID */
.products-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.dealer-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.dealer-product-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.dealer-product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-orange);
}

.dealer-product-img {
    position: relative;
    height: 220px;
    background: #f1f5f9;
    overflow: hidden;
}

.dealer-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dealer-brand-tag {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: var(--navy-header);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
}

.dealer-gst-tag {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}

.dealer-product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dealer-product-title {
    font-size: 1.15rem;
    color: var(--navy-header);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.dealer-product-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.dealer-specs-list {
    list-style: none;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.dealer-specs-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dealer-specs-list li svg {
    color: var(--accent-orange);
}

.btn-get-price {
    background-color: var(--accent-orange);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem;
    text-align: center;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    width: 100%;
    transition: background 0.2s ease;
}

.btn-get-price:hover {
    background-color: var(--accent-orange-hover);
}

/* WHY BUY FROM US DEALER TRUST BAR */
.trust-features-strip {
    background-color: var(--navy-header);
    color: #ffffff;
    padding: 3.5rem 0;
}

.trust-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.trust-feature-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trust-icon {
    width: 46px;
    height: 46px;
    background: rgba(194, 69, 15, 0.25);
    color: #fdba74;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.trust-info h4 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.trust-info p {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ABOUT DEALERSHIP PROFILE SECTION */
.about-dealer-section {
    padding: 4.5rem 0;
    background-color: #ffffff;
}

.about-dealer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-dealer-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-dealer-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* FAQ ACCORDION */
.faq-section {
    padding: 4.5rem 0;
    background-color: var(--bg-alt);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
    overflow: hidden;
}

.faq-header {
    width: 100%;
    padding: 1.1rem 1.35rem;
    background: #ffffff;
    border: none;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy-header);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    color: var(--accent-orange);
    font-size: 1.2rem;
    transition: transform 0.25s ease;
}

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

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 1.35rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: var(--bg-light);
}

.faq-item.active .faq-content {
    padding: 1rem 1.35rem 1.25rem 1.35rem;
}

/* FOOTER */
.dealer-footer {
    background-color: var(--navy-header);
    color: #cbd5e1;
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: #ffffff; }

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* MOBILE FIXED BOTTOM BAR */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1500;
    padding: 0.6rem 0.75rem;
}

.mobile-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 0.5rem;
}

.mobile-bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.45rem 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-align: center;
    border: none;
}

.mobile-bar-btn.call { background-color: var(--navy-header); color: #ffffff; }
.mobile-bar-btn.whatsapp { background-color: var(--whatsapp-green); color: #ffffff; }
.mobile-bar-btn.quote { background-color: var(--accent-orange); color: #ffffff; }

/* MODAL ENQUIRY POPUP */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--accent-orange);
}

.modal-close {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-muted);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .hero-dealer-grid, .about-dealer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .site-logo-img {
        height: 65px;
        max-width: 250px;
    }
    .top-gst-bar { display: none; }
    .header-contact-actions { display: none; }
    .dealer-navbar { display: none; }
    .hamburger { display: block; }
    .mobile-bottom-bar { display: block; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
