/* ==========================================
   RED OBSIDIAN SECURITY - CUSTOM STYLES
   Marine Corps Inspired Design
   ========================================== */

:root {
    --primary-red: #C41E3A;
    --marine-scarlet: #C41E3A;
    --marine-gold: #FFD700;
    --dark-bg: #000000;
    --darker-bg: #0a0a0a;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --text-white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.3);
}

/* ==========================================
   GLOBAL STYLES
   ========================================== */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--dark-bg);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
}

/* ==========================================
   TOP BAR
   ========================================== */
.top-bar {
    background: var(--darker-bg);
    color: var(--text-white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.veteran-badge-small {
    color: var(--marine-gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.veteran-badge-small i {
    margin-right: 8px;
    color: var(--marine-gold);
}

.top-bar-phone,
.top-bar-emergency {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-phone:hover {
    color: var(--primary-red);
}

.top-bar-emergency {
    color: var(--primary-red);
    font-weight: 600;
}

.top-bar-emergency:hover {
    color: #ff1744;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    background: var(--dark-bg) !important;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid var(--marine-scarlet);
}

.logo-img {
    height: 60px;
    width: auto;
    background: white;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.brand-text .company-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--text-white);
    letter-spacing: 1px;
}

.brand-text .tagline {
    font-size: 0.85rem;
    color: var(--primary-red);
    font-style: italic;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-red) !important;
}

.dropdown-menu {
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item {
    color: var(--text-white);
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: var(--primary-red);
    color: var(--text-white);
}

.dropdown-item i {
    margin-right: 8px;
    width: 20px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(220, 20, 60, 0.03) 10px,
            rgba(220, 20, 60, 0.03) 20px
        );
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-white);
}

.veteran-badge-large {
    display: inline-block;
    background: var(--marine-gold);
    border: 3px solid var(--marine-scarlet);
    padding: 12px 35px;
    border-radius: 5px;
    color: var(--marine-scarlet);
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.veteran-badge-large i {
    margin-right: 10px;
}

.hero-section h1 {
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 1.8rem;
    color: var(--primary-red);
    font-weight: 700;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons .btn {
    padding: 15px 40px;
    font-weight: 900;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.hero-buttons .btn-danger {
    background: var(--marine-gold);
    color: var(--marine-scarlet);
    border-color: var(--marine-scarlet);
}

.hero-buttons .btn-danger:hover {
    background: var(--marine-scarlet);
    color: var(--marine-gold);
    border-color: var(--marine-gold);
}

.hero-buttons .btn-outline-light {
    border-color: var(--marine-gold);
    color: var(--marine-gold);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--marine-gold);
    color: var(--marine-scarlet);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4);
}

.hero-phone .btn {
    background: var(--marine-gold);
    color: var(--marine-scarlet);
    border: 3px solid var(--marine-scarlet);
    font-size: 1.5rem;
    font-weight: 900;
    padding: 15px 40px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-phone .btn:hover {
    background: var(--marine-scarlet);
    color: var(--marine-gold);
    border-color: var(--marine-gold);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.min-vh-75 {
    min-height: 75vh;
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.why-choose-us {
    padding: 80px 0;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.why-choose-us h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

/* ==========================================
   SERVICES OVERVIEW
   ========================================== */
.services-overview {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, var(--light-gray) 100%);
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-card.featured {
    border: 3px solid var(--primary-red);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

.service-icon {
    font-size: 4rem;
    color: var(--primary-red);
    margin-bottom: 25px;
}

.service-card h3 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-bg);
}

.service-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 25px 0;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list i {
    color: var(--primary-red);
    margin-right: 10px;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--marine-scarlet) 0%, #8B0000 100%);
    padding: 60px 0;
    border-top: 4px solid var(--marine-gold);
    border-bottom: 4px solid var(--marine-gold);
}

.cta-section h2 {
    font-weight: 900;
}

.cta-section .btn-light {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
}

.cta-section .btn-light:hover {
    background: var(--dark-bg);
    color: white;
    transform: scale(1.05);
}

/* ==========================================
   SERVICE AREAS
   ========================================== */
.service-areas {
    padding: 80px 0;
}

.office-info {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-top: 30px;
}

.office-info h5 {
    color: var(--dark-bg);
    font-weight: 700;
    margin-bottom: 20px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--dark-bg);
    color: #ccc;
    padding: 60px 0 20px;
    border-top: 4px solid var(--marine-gold);
}

.footer-heading {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-tagline {
    color: var(--primary-red);
    font-style: italic;
    font-weight: 600;
    margin-bottom: 15px;
}

.veteran-footer-badge {
    display: inline-block;
    background: var(--marine-gold);
    border: 3px solid var(--marine-scarlet);
    padding: 10px 25px;
    border-radius: 5px;
    color: var(--marine-scarlet);
    font-weight: 900;
    font-size: 1rem;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.veteran-footer-badge i {
    margin-right: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-links i {
    margin-right: 8px;
    font-size: 0.8rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-red);
    margin-right: 15px;
    margin-top: 3px;
    font-size: 1.1rem;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--primary-red);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

.footer-copyright,
.footer-legal {
    color: #888;
    font-size: 0.9rem;
}

.emergency-footer .btn {
    font-weight: 700;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991px) {
    .logo-img {
        height: 50px;
    }
    
    .brand-text .company-name {
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
}
