/* 
  BSS SHIELD SECURITY SERVICES 
  Main Stylesheet - Light Theme
*/

:root {
    --primary-red: #D32F2F;
    --gold: #FFD700;
    --dark-gold: #B8860B;
    --black: #0F0F0F;
    --surface: #F9F9F9; /* Light Surface */
    --light-grey: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #222222;
    --text-muted: #555555;
    --transition: all 0.3s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    padding: 0.8rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-links li a:hover {
    color: var(--primary-red);
}

.nav-links li a.active {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-red);
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    border: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #B71C1C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--black);
}

.btn-gold:hover {
    background-color: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Sections */
section {
    padding: 100px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gold);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section - Keep Impactful Contrast */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 35px;
    color: #EEE;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Features/Services Cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft shadow for premium feel */
}

.card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 25px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.card p {
    color: var(--text-muted);
}

.service-item {
    padding: 15px 25px;
    background: var(--white);
    border-left: 5px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    color: var(--text-dark);
    font-weight: 600;
}

.service-item:hover {
    background: var(--light-grey);
    transform: scale(1.02);
}

.service-item i {
    color: var(--primary-red);
}

/* Background Sections */
section[style*="background: var(--surface);"] {
    background-color: var(--surface) !important;
}

/* Footer - Locked to Black as requested */
footer {
    background: #000;
    color: var(--white);
    padding: 80px 8% 20px;
    border-top: 4px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #AAA;
    margin-bottom: 15px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #AAA;
}

.contact-info li i {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* Reusable Inner Pages */
.inner-hero {
    height: 40vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.inner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.inner-hero h1 {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.inner-hero h1 span {
    color: var(--gold);
}

.service-category {
    padding: 80px 8%;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Clients Section */
.client-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

.client-logo {
    max-width: 150px;
    height: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Certifications Header & Badges */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cert-badge {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cert-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.2);
}

.cert-badge i {
    font-size: 3rem;
    color: var(--dark-gold);
}

.cert-badge h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.cert-badge p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-call {
    background-color: var(--primary-red);
}

/* Media Queries - Responsive Design */
@media (max-width: 1024px) {
    header {
        padding: 0.8rem 2%;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

/* Sidebar Navigation - Mobile/Tablet */
@media (max-width: 1024px) {
    header {
        padding: 0.5rem 5%;
    }

    .logo-container img {
        height: 50px;
    }

    .hero {
        padding-top: 110px;
        justify-content: flex-start;
        height: auto;
        min-height: 80vh;
    }

    .inner-hero {
        padding-top: 120px;
        height: auto;
        min-height: 35vh;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px;
        gap: 25px;
        z-index: 2000;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 25px rgba(0,0,0,0.1);
        display: flex !important;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.1rem;
        width: 100%;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 2001;
    }

    /* Menu Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 1999;
        display: none;
        backdrop-filter: blur(3px);
    }

    .menu-overlay.active {
        display: block;
    }

    .no-scroll {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .logo-container img {
        height: 45px;
    }
    
    .brand-name {
        font-size: 1.2rem !important;
    }

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .brand-name {
        font-size: 1.1rem !important;
    }
    
    .logo-container img {
        height: 40px;
    }

    .floating-actions {
        bottom: 15px;
        right: 15px;
    }
}
