/* InfernoGuard Custom Styles - Tech Theme */

/* CSS Variables for consistent tech theme colors */
:root {
    --primary-blue: #00d4ff;
    --secondary-blue: #0099cc;
    --accent-cyan: #00ffff;
    --tech-dark: #0a0f1c;
    --tech-darker: #051015;
    --tech-light: #1a2332;
    --text-light: #e0f4ff;
    --text-muted: #8cc8e8;
    --glow-blue: rgba(0, 212, 255, 0.5);
    --glow-cyan: rgba(0, 255, 255, 0.3);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Persistent sticky header - Tech Theme */
.main-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 15, 28, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px var(--glow-blue);
    border-bottom: 1px solid var(--primary-blue);
}

.main-header.scrolled {
    background: rgba(10, 15, 28, 0.98) !important;
    box-shadow: 0 2px 30px var(--glow-blue);
}

/* Hide the duplicate/shadow sticky header */
.main-header .sticky-header {
    display: none !important;
}

.main-header .header-top,
.main-header .header-lower {
    background: transparent !important;
}

/* Offset content for fixed header - Tech Theme */
body {
    padding-top: 140px;
    background: var(--tech-darker);
    color: var(--text-light);
}

/* Smooth anchor offset to account for fixed header */
section[id] {
    scroll-margin-top: 140px;
}

/* Video section - full width */
.video-section {
    padding: 100px 20px;
    margin: 0;
    min-height: 70vh;
}

.video-section .auto-container {
    max-width: 100%;
    padding: 0;
}

.video-section .inner-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Feature blocks - Tech Theme */
.custom-about-block {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--tech-dark) 0%, var(--tech-light) 100%);
    border-bottom: 1px solid var(--primary-blue);
    position: relative;
}

.custom-about-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.custom-about-block:nth-child(even) {
    background: linear-gradient(135deg, var(--tech-light) 0%, var(--tech-dark) 100%);
    box-shadow: inset 0 0 50px var(--glow-cyan);
}

.custom-about-block .content-column {
    padding-left: 50px;
}

.custom-about-block img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--glow-blue);
    border: 1px solid var(--primary-blue);
}

/* Video Hero Background */
.video-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.video-hero .auto-container {
    position: relative;
    z-index: 3;
}

.video-hero .content-box {
    max-width: 600px;
    text-align: left;
    color: white;
}

.video-hero .content-box h1 {
    color: white !important;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.video-hero .content-box p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.video-hero .btn-box {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.theme-btn-two {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-cyan));
    border: 2px solid var(--primary-blue);
    color: var(--tech-dark) !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px var(--glow-blue);
    text-shadow: none;
}

.theme-btn-two::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.theme-btn-two:hover {
    background: linear-gradient(45deg, var(--accent-cyan), var(--primary-blue));
    box-shadow: 0 0 30px var(--glow-cyan);
    transform: translateY(-2px);
    color: var(--tech-darker) !important;
}

.theme-btn-two:hover::before {
    left: 100%;
}

/* Additional button styles for other buttons */
.theme-btn, .btn-style-one, .btn-style-two {
    background: linear-gradient(45deg, var(--secondary-blue), var(--primary-blue)) !important;
    border: 2px solid var(--primary-blue) !important;
    color: white !important;
    box-shadow: 0 5px 15px var(--glow-blue) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.theme-btn:hover, .btn-style-one:hover, .btn-style-two:hover {
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-cyan)) !important;
    box-shadow: 0 8px 25px var(--glow-cyan) !important;
    transform: translateY(-2px) !important;
}

/* Tech Theme Global Styling */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-light) !important;
    text-shadow: 0 0 10px var(--glow-blue);
}

p, span, div {
    color: var(--text-muted) !important;
}

.sec-title h2 {
    color: var(--primary-blue) !important;
    font-weight: 700;
    position: relative;
}

.sec-title h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--primary-blue));
    box-shadow: 0 0 10px var(--glow-cyan);
}

/* Navigation styling */
.main-menu .navigation li a {
    color: var(--text-light) !important;
    transition: all 0.3s ease;
    position: relative;
}

.main-menu .navigation li a:hover {
    color: var(--accent-cyan) !important;
    text-shadow: 0 0 8px var(--glow-cyan);
}

.main-menu .navigation li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px var(--glow-cyan);
}

.main-menu .navigation li a:hover::before {
    width: 100%;
}

/* Tech-inspired section backgrounds */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Tech-enhanced cards and blocks */
.service-block, .feature-block, .testimonial-block, .news-block {
    background: linear-gradient(135deg, var(--tech-dark), var(--tech-light)) !important;
    border: 1px solid var(--primary-blue) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px var(--glow-blue) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.service-block::before, .feature-block::before, .testimonial-block::before, .news-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--primary-blue), var(--accent-cyan));
    opacity: 0.8;
}

.service-block:hover, .feature-block:hover, .testimonial-block:hover, .news-block:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px var(--glow-cyan) !important;
}

/* Contact form styling */
.form-group input, .form-group textarea, .form-group select {
    background: var(--tech-dark) !important;
    border: 2px solid var(--primary-blue) !important;
    color: var(--text-light) !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 15px var(--glow-cyan) !important;
    outline: none !important;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-muted) !important;
}

/* Statistics/counter blocks */
.counter-block, .fact-counter {
    background: linear-gradient(135deg, var(--tech-light), var(--primary-blue)) !important;
    border-radius: 10px !important;
    border: 1px solid var(--accent-cyan) !important;
    box-shadow: 0 5px 20px var(--glow-blue) !important;
}

.counter-block .count-outer, .fact-counter .count-outer {
    color: white !important;
    text-shadow: 0 0 10px var(--glow-cyan) !important;
}

/* Footer styling */
.main-footer {
    background: linear-gradient(135deg, var(--tech-darker), var(--tech-dark)) !important;
    border-top: 2px solid var(--primary-blue) !important;
    position: relative !important;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--primary-blue), var(--accent-cyan), transparent);
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }

    section[id] {
        scroll-margin-top: 100px;
    }

    .custom-about-block .content-column {
        padding-left: 15px;
        margin-top: 30px;
    }

    .video-hero .content-box h1 {
        font-size: 2.5rem;
    }

    .video-hero .content-box p {
        font-size: 1rem;
    }

    .video-hero .btn-box {
        flex-direction: column;
        align-items: flex-start;
    }
}