/* Global Variables */
:root {
    --primary-black: #0a0a0a;
    --secondary-grey: #1c1c1c;
    --concrete-grey: #2e2e2e;
    --accent-white: #e0e0e0;
    --blood-red: #8a0c0c;
    --caution-yellow: #d4af37;
    /* Metallic Gold/Yellow for slight industrial feel */
    --font-heading: 'Black Ops One', cursive;
    --font-body: 'Oswald', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

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

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

p {
    font-size: 1.1rem;
    font-weight: 300;
}

/* Animations */
@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

@keyframes glitch {
    0% {
        text-shadow: 2px 2px 0px var(--blood-red), -2px -2px 0px blue;
    }

    100% {
        text-shadow: -2px -2px 0px var(--blood-red), 2px 2px 0px blue;
    }
}

/* Navigation */
#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(10, 10, 10, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--concrete-grey);
}

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

.nav-logo {
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-white);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--accent-white);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--blood-red);
    text-shadow: 0 0 10px var(--blood-red);
}

/* Hero Section */
#hero {
    height: 100vh;
    background: url('assets/images/hero-bg.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Ensure background logo doesn't spill out */
}

/* Faint Punisher Background Overlay */
#hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vh;
    /* Massive size */
    height: 80vh;
    background: url('assets/images/logo.png') no-repeat center center/contain;
    opacity: 0.1;
    /* Faint and ominous */
    pointer-events: none;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--accent-white);
}

.glitch-text:hover {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

.tagline {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #ccc;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    display: inline-block;
}

.cta-button {
    display: inline-block;
    /* Ensure it takes width */
    padding: 20px 60px;
    /* More horizontal padding */
    background-color: var(--blood-red);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-decoration: none;
    border: 2px solid transparent;
    text-transform: uppercase;
    transition: all 0.3s ease;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    /* Fixed pixel clip-path instead of percentage to avoid cutting text on small widths */
    white-space: nowrap;
    /* Prevent wrapping */
}

.cta-button:hover {
    background-color: transparent;
    border-color: var(--blood-red);
    color: var(--blood-red);
    box-shadow: 0 0 20px rgba(138, 12, 12, 0.5);
}

/* Sections Common */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--concrete-grey);
    text-shadow: 1px 1px 0 #fff;
    /* Inset look or highlight */
}

/* Services */
#services {
    background-color: var(--secondary-grey);
    background-image: repeating-linear-gradient(45deg, #1c1c1c 0, #1c1c1c 10px, #222 10px, #222 20px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--primary-black);
    border: 1px solid #333;
    padding: 10px;
    /* Double border effect */
    transition: transform 0.3s ease;
    cursor: crosshair;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--blood-red);
}

.card-inner {
    border: 1px dashed #444;
    padding: 40px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--accent-white);
}

.service-card p {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #888;
}

/* About */
#about {
    background-color: var(--primary-black);
    text-align: center;
}

.about-content {
    border-left: 5px solid var(--blood-red);
    padding-left: 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-content h2 {
    color: var(--blood-red);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.signature {
    margin-top: 30px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: right;
    color: #555;
}

/* Contact */
#contact {
    background: url('assets/images/hero-bg.png') no-repeat center center/cover;
    /* Reusing bg for consistency but dark */
    position: relative;
    color: white;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
}

#contact .container {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

#contact h2 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid #444;
    color: white;
    font-family: var(--font-mono);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--blood-red);
    background: rgba(138, 12, 12, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: var(--blood-red);
    color: white;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #a00;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background: var(--primary-black);
    border-top: 1px solid #222;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        /* Simple mobile hide for now */
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .cta-button {
        padding: 20px 30px;
        /* Reduce side padding on mobile */
        width: 80%;
        /* Ensure it fits within container */
        max-width: 300px;
        font-size: 1.2rem;
        /* Slightly smaller text */
        clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
        /* Less aggressive clip on mobile */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
        /* Even smaller for very small screens */
    }

    .cta-button {
        width: 90%;
        padding: 15px 20px;
    }

    .submit-btn {
        padding: 15px;
        /* Reduce padding for contact button */
        font-size: 1.2rem;
        line-height: 1.4;
        /* Ensure text doesn't touch edges */
    }
}