/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --safety-yellow: #FFC107; /* The Main Industrial Color */
    --industrial-black: #111111; /* Deep Black for Contrast */
    --dark-grey: #1e1e1e; /* For Cards/Sections */
    --text-white: #ffffff;
    --glass-panel: rgba(30, 30, 30, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Zaroori hai alignment ke liye */
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    
    /* NEW BACKGROUND: Yellow aur Black ka perfect mix */
    /* Upar Dark (text padhne ke liye), Niche Yellow Glow */
    background: linear-gradient(180deg, #000000 0%, #1a1a1a 70%, #4a3b00 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* =========================================
   2. HEADER & NAVIGATION (FIXED ALIGNMENT)
   ========================================= */
.header {
    background: rgba(0, 0, 0, 0.95); /* Solid Dark Background */
    height: 75px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    
    /* YELLOW BORDER - Thoda Mota (Thicker) */
    border-bottom: 4px solid var(--safety-yellow);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2); /* Yellow Glow */
    
    /* ALIGNMENT MAGIC */
    display: flex;
    justify-content: space-between; /* Logo Left, Menu Right */
    align-items: center; /* Vertical Center */
    padding: 0 20px; /* Side Spacing */
}

/* Logo Fix */
.logo img {
    height: 50px; /* Fixed Height */
    width: auto;
    display: block;
    /* Agar logo dark hai to filter lagayein, agar pehle se yellow/white hai to ye line hata dein */
    /* filter: drop-shadow(0 0 2px var(--safety-yellow)); */
}

/* Right Side Group (Lang + Menu) */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px; /* Gap between Lang button and Menu Icon */
}

/* Desktop Menu Links */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--safety-yellow);
    text-shadow: 0 0 10px var(--safety-yellow);
}

/* --- LANGUAGE SWITCHER (Compact & Yellow) --- */
.lang-switcher {
    border: 2px solid var(--safety-yellow);
    border-radius: 50px;
    padding: 2px;
    display: flex;
    background: #000;
}

.lang-btn {
    padding: 4px 10px;
    font-size: 0.75rem; /* Thoda chota text */
    font-weight: 800;
    cursor: pointer;
    border-radius: 50px;
    color: var(--safety-yellow); /* Default Text Yellow */
    text-decoration: none;
    transition: 0.3s;
}

.lang-btn.active {
    background: var(--safety-yellow);
    color: #000; /* Active Text Black */
}

/* --- MENU ICON (HAMBURGER) --- */
.menu-toggle {
    display: none; /* Desktop par hidden */
    font-size: 32px; /* Bada Icon */
    cursor: pointer;
    color: var(--safety-yellow); /* Pure Yellow Icon */
    line-height: 1;
}
.menu-toggle::before { content: '\2630'; } /* Force Icon Show */

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    padding: 120px 20px 80px;
    text-align: center;
    /* Yellow Tint Overlay */
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.6)), url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid var(--safety-yellow);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
}
.hero h1 span { color: var(--safety-yellow); }

.hero p {
    color: #ccc;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* YELLOW CTA BUTTON */
.cta-button {
    background: var(--safety-yellow);
    color: #000;
    padding: 14px 30px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px; /* Industrial Square Look */
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
    transition: 0.3s;
    /* Optional: Cut Corner Effect */
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%, 0% 20%);
}
.cta-button:hover {
    background: #fff;
    box-shadow: 0 0 25px var(--safety-yellow);
    transform: translateY(-3px);
}

/* =========================================
   4. SECTIONS & TITLES
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }

.section-title {
    text-align: center;
    font-size: 2.2rem;
    text-transform: uppercase;
    color: var(--safety-yellow); /* Yellow Titles */
    margin-bottom: 10px;
}
/* Hazard Strip Underline */
.section-title::after {
    content: ''; display: block; width: 80px; height: 6px; margin: 10px auto;
    background: repeating-linear-gradient(45deg, var(--safety-yellow), var(--safety-yellow) 10px, #000 10px, #000 20px);
}
.section-subtitle { text-align: center; color: #aaa; margin-bottom: 40px; }

/* =========================================
   5. PRODUCTS GRID (More Yellow)
   ========================================= */
.guards-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px;
}

.guard-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
    transition: 0.3s;
}
.guard-card:hover {
    border-color: var(--safety-yellow); /* Yellow Border on Hover */
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.15);
}

.card-image { width: 100%; height: 220px; object-fit: cover; border-bottom: 2px solid var(--safety-yellow); }
.guard-card-content { padding: 20px; }
.guard-card h3 { color: var(--safety-yellow); margin-bottom: 10px; font-size: 1.3rem; }
.guard-card p { color: #ddd; font-size: 0.95rem; }

/* =========================================
   6. GALLERY SLIDER (FIXED)
   ========================================= */
.gallery-wrapper { position: relative; padding: 0 10px; }
.gallery-grid {
    display: flex; overflow-x: auto; gap: 15px; padding: 10px 0;
    scrollbar-width: none; scroll-behavior: smooth;
}
.gallery-grid::-webkit-scrollbar { display: none; }

.gallery-item {
    flex: 0 0 auto;
    width: calc(33.333% - 10px); /* Desktop: 3 items */
    height: 300px;
    border: 1px solid #444;
    border-radius: 6px;
    overflow: hidden;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery Arrows */
.scroll-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.8); color: var(--safety-yellow);
    border: 1px solid var(--safety-yellow);
    width: 40px; height: 40px; border-radius: 50%;
    cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center;
}
.scroll-btn:hover { background: var(--safety-yellow); color: #000; }
.scroll-left { left: -5px; } .scroll-right { right: -5px; }

/* =========================================
   7. CONTACT FORM
   ========================================= */
.glass-section {
    background: #111;
    border: 1px solid var(--safety-yellow); /* Yellow Border */
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.1);
}
.form-group label { color: var(--safety-yellow); font-weight: bold; margin-bottom: 5px; display: block; }
input, textarea {
    width: 100%; padding: 12px; background: #222; border: 1px solid #444; color: #fff; border-radius: 4px;
}
input:focus, textarea:focus { outline: none; border-color: var(--safety-yellow); background: #000; }

.submit-btn {
    background: var(--safety-yellow); color: #000; width: 100%; padding: 15px; border: none; font-weight: bold; text-transform: uppercase; cursor: pointer; transition: 0.3s;
}
.submit-btn:hover { background: #fff; box-shadow: 0 0 15px var(--safety-yellow); }

/* =========================================
   8. FOOTER
   ========================================= */
.footer {
    background: #050505; border-top: 5px solid var(--safety-yellow);
    padding: 50px 20px; text-align: center; margin-top: 50px;
}
.footer-logo { color: var(--safety-yellow); font-size: 1.8rem; font-weight: bold; text-decoration: none; display: block; margin-bottom: 10px; }
.footer p { color: #888; }
.footer-contact a { color: #ccc; text-decoration: none; }
.footer-contact a:hover { color: var(--safety-yellow); }

/* =========================================
   9. MOBILE RESPONSIVE FIXES
   ========================================= */
@media (max-width: 768px) {
    .header { padding: 0 15px; height: 70px; }
    
    .logo img { height: 40px; /* Thoda chota mobile par */ }

    .menu-toggle { display: block; }

    /* Mobile Menu Dropdown */
    .nav-menu {
        display: none; flex-direction: column;
        position: absolute; top: 70px; left: 0; width: 100%;
        background: #000; border-bottom: 3px solid var(--safety-yellow);
        padding: 0; gap: 0;
    }
    .nav-menu.active { display: flex; }
    .nav-menu a {
        display: block; padding: 15px; border-bottom: 1px solid #222; text-align: center;
    }

    .gallery-item { width: 100%; /* Mobile: 1 Photo */ height: 260px; }
    
    .hero h1 { font-size: 2rem; }
}
