:root {
    --primary-red: #ff0000;
    --dark-red: #990000;
    --black: #050505;
    --dark-grey: #121212;
    --light-grey: #222222;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

.glass-panel {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
    padding: 1.5rem 0;
}

#navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--dark-red);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 15px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--primary-red);
    text-shadow: 0 0 5px rgba(255,0,0,0.5);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: zoomInBg 20s infinite alternate;
}

@keyframes zoomInBg {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.2); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 2rem;
}

.glitch {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-main);
    position: relative;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(255,0,0,0.8);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    animation: fadeIn 2s ease 0.5s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-main);
    background: transparent;
    border: 2px solid var(--primary-red);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    animation: slideUp 1s ease 1s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-red);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-btn:hover::before {
    left: 0;
}

.cta-btn:hover {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

/* Services */
.services {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--light-grey) 100%);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--primary-red);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.2);
}

.service-img-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img-container img {
    transform: scale(1.1);
}

.service-img-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
}

.service-card:hover .overlay {
    background: rgba(255, 0, 0, 0.1);
}

.service-info {
    padding: 2rem;
}

.service-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    background: none;
    border: none;
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 3px;
}

.learn-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-red);
    transition: width 0.3s;
}

.learn-more:hover::after {
    width: 100%;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: url('images/hero_banner.png') center/cover fixed;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(5,5,5,0.85);
}

.about-content {
    position: relative;
    padding: 4rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.about-text strong {
    color: var(--text-main);
}

/* Footer */
.footer {
    background: var(--black);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--light-grey);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 80px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--light-grey);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5,5,5,0.95);
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid var(--primary-red);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .glitch {
        font-size: 2.5rem;
    }

    .about-content {
        padding: 2rem;
    }
}
