/* Global Variables & Reset */
:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --primary-color: #D32F2F;
    /* Cinematic Red */
    --secondary-color: #1a1a1a;
    --accent-color: #F1C40F;
    /* Industrial Yellow for subtle highlights */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
}

.highlight {
    color: var(--primary-color);
}

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

h1 {
    font-size: 3.5rem;
    /* Fallback */
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

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

.nav-links li a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

.nav-links li a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    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%;
    /* External Image for Hero */
    background-image: url('assets/home.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: -1;
    transform: scale(1.1);
    /* Slight zoom for parallax */
}

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

.hero-title {
    font-size: 5vw;
    margin-bottom: 20px;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    opacity: 0.7;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0.8;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--primary-color);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn:hover {
    background: var(--primary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
}

.scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 2px;
    height: 50px;
    background: #fff;
}

/* Essence Section */
.essence-section {
    background-color: var(--secondary-color);
}

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

.essence-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.essence-card:hover {
    border-left-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.essence-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--accent-color);
}

.values-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.values-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Positioning Section */
.positioning-section {
    background-color: var(--bg-color);
}

.split-layout {
    display: flex;
    flex-direction: column;
    max-width: 900px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 30px;
}

.lead-text {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: 400;
}

/* Services Sections */
.services-section {
    background-color: #000;
}

.right-align {
    text-align: right;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 20px;
    display: inline-block;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Enforce 2 columns as requested */
    gap: 30px;
    margin-top: 50px;
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.service-card {
    position: relative;
    overflow: hidden;
    height: 450px;
    background: #111;
    border: 1px solid #222;
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.6;
    background-color: #222;
}

/* Specific images for cards */
.service-card:nth-child(1) .card-image {
    background-image: url('https://loremflickr.com/800/600/camera,rig');
}

.service-card:nth-child(2) .card-image {
    background-image: url('https://loremflickr.com/800/600/drift,car');
}

.service-card:nth-child(3) .card-image {
    background-image: url('https://loremflickr.com/800/600/robot,tech');
}

.service-card:nth-child(4) .card-image {
    background-image: url('https://loremflickr.com/800/600/concert,lighting');
}

.service-card:hover .card-image {
    transform: scale(1.1);
    opacity: 0.3;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.service-card:hover .card-content {
    transform: translateY(0);
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

.card-content ul {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.service-card:hover .card-content ul {
    opacity: 1;
    transform: translateY(0);
}

.card-content li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #ccc;
}

/* Contact Section (Improved) */
.contact-section {
    background-color: #080808;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    padding: 100px 0;
}

.contact-container {
    display: flex;
    justify-content: center;
}

.contact-form-wrapper {
    width: 100%;
    max-width: 800px;
    background: #0a0a0a;
    padding: 60px;
    border: 1px solid #222;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
}

.contact-form-wrapper h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    letter-spacing: 3px;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: #0f0f0f;
    border: 1px solid #333;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: #151515;
    outline: none;
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 20px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 3px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    padding: 80px 0 20px;
    background: #080808;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    max-width: 200px;
    /* Adjust size as needed */
    filter: invert(1) brightness(2);
    /* Invert to white for dark theme */
    margin-bottom: 10px;
}

.country {
    font-family: var(--font-heading);
    letter-spacing: 5px;
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.socials {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.socials a {
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
}

.socials a:hover {
    border-bottom-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #111;
    font-size: 0.8rem;
    color: #444;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0px;
        background-color: #000;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        /* Full width */
        padding-top: 100px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
        z-index: 1001;
        /* Above nav links */
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    h1 {
        font-size: 3.5rem;
    }

    .hero-title {
        font-size: 12vw;
    }

    .essence-grid {
        grid-template-columns: 1fr;
    }
}