/* ============================================
   ISARA Dark Theme - Main Stylesheet
   Bootstrap 5 Based
   ============================================ */

:root {
    /* Primary Dark Colors */
    --dark-primary: #181818;
    --dark-secondary: #1f1f1f;
    --dark-tertiary: #2a2a2a;
    
    /* Accent Colors */
    --accent-red: #EC1C24;
    --accent-light: #ffffff;
    --accent-gray: #8E8C8D;
    
    /* Gradients */
    --gradient-dark: linear-gradient(135deg, #181818 0%, #1f1f1f 100%);
    --gradient-accent: linear-gradient(135deg, #EC1C24 0%, #ff4444 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

html, body {
    background-color: var(--dark-primary);
    color: var(--accent-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

a {
    color: var(--accent-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff4444;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #ff4444;
    border-color: #ff4444;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 28, 36, 0.3);
}

.btn-outline-light {
    color: white;
    border-color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark-primary);
    transform: translateY(-2px);
}

.btn-cta {
    background: var(--accent-red);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
}

.btn-cta:hover {
    background: #ff4444;
}

/* ============================================
   NAVBAR / HEADER
   ============================================ */

/* Large Logo Layer (Above Nav) */
.logo-layer {
    position: fixed;
    top: 20px;
    left: 0;
    height: auto;
    display: flex;
    align-items: center;
    background: transparent;
    z-index: 999;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.logo-layer.logo-hidden {
    display: none;
}

.logo-layer.positioned {
    display: flex;
    opacity: 1;
}

@media (max-width: 768px) {
    .logo-layer {
        display: none !important;
    }
}

.logo-layer.scrolled {
    opacity: 0;
    pointer-events: none;
}

.logo-link {
    display: flex;
    align-items: center;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.logo-large {
    height: 190px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.8));
}

.logo-layer.scrolled .logo-large {
    height: 0;
    opacity: 0;
}

/* Navigation Bar */
.navbar-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.navbar-section.scrolled {
    background: var(--dark-primary);
    border-bottom: 1px solid var(--dark-tertiary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar-main {
    background: transparent !important;
    border-bottom: none;
    box-shadow: none;
}

.bg-dark-primary {
    background-color: var(--dark-primary) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.navbar-section.scrolled .navbar-brand {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .navbar-brand {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

.logo-main {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 24, 24, 0.6);
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 28, 36, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}



.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ============================================
   MESSAGING SECTION
   ============================================ */

.messaging-section {
    background: var(--dark-secondary);
    border-top: 1px solid var(--dark-tertiary);
    border-bottom: 1px solid var(--dark-tertiary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-card {
    background: var(--dark-primary);
    padding: var(--spacing-lg);
    border-radius: 0.75rem;
    border: 1px solid var(--dark-tertiary);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(236, 28, 36, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */

.solutions-section {
    background: var(--gradient-dark);
    position: relative;
}

.solution-card {
    background: var(--dark-secondary);
    padding: var(--spacing-lg);
    border-radius: 0.75rem;
    border: 1px solid var(--dark-tertiary);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.solution-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(236, 28, 36, 0.25);
}

.solution-icon {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon .material-icons {
    font-size: 75px;
    color: white;
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.solution-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   FOOTER
   ============================================ */

.footer-section {
    background: var(--dark-primary);
    border-top: 1px solid var(--dark-tertiary);
    color: rgba(255, 255, 255, 0.8);
}

.footer-section h5 {
    color: white;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent-red);
}

.footer-bottom {
    border-top: 1px solid var(--dark-tertiary);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

