:root {
    --primary-color: #ff5100; /* Πιο έντονο Racing Orange */
    --secondary-color: #2c2c2c;
    --bg-dark: #0a0a0a; /* Σχεδόν μαύρο */
    --bg-surface: #141414;
    --text-light: #e0e0e0;
    --text-white: #ffffff;
    --text-muted: #b0b0b0;
    --metal-gradient: linear-gradient(135deg, #444 0%, #888 50%, #444 100%); /* Εφέ Ατσαλιού */
    --carbon-pattern: radial-gradient(black 15%, transparent 16%) 0 0, radial-gradient(black 15%, transparent 16%) 8px 8px, radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px, radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
    --transition: all 0.3s ease;
    --top-bar-height: 36px; /* Reduced height for sleek look */
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Fix for sticky header covering titles */
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-dark);
    /* Carbon Fiber Texture Effect */
    background-image: var(--carbon-pattern);
    background-size: 16px 16px;
    background-color: #111;
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Russo One', sans-serif; /* Racing Font */
    color: var(--text-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar - Integrated Style */
.top-bar {
    background-color: #0d0d0d; /* Matches dark theme perfectly */
    height: var(--top-bar-height);
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif; /* Same as nav links */
    font-size: 0.8rem;
    font-weight: 600;
    color: #bbb;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Subtle divider */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.top-bar .container {
    width: 100%; /* Ensure container takes full width so content can align right */
    display: flex;
    justify-content: flex-end; /* Align content to the right */
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.tb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tb-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.tb-item a:hover {
    color: var(--text-white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95); /* Consistent dark bg */
    padding: 15px 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
    backdrop-filter: blur(5px); /* Modern glass effect */
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Russo One', sans-serif;
    color: var(--text-white);
    font-style: italic;
    text-shadow: 2px 2px 0px var(--primary-color);
}

.logo span {
    color: var(--primary-color);
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: skewX(-20deg);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.highlight {
    background: var(--primary-color);
    color: #000;
    padding: 8px 20px;
    transform: skewX(-20deg); /* Skewed Button Shape */
    display: inline-block;
}

.nav-link.highlight span {
    transform: skewX(20deg); /* Un-skew text */
    display: inline-block;
}

.nav-link.highlight:hover {
    background-color: var(--text-white);
    box-shadow: 0 0 15px var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: calc(60px + var(--top-bar-height));
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient overlay with vignette */
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.9) 90%);
}

.hero::after {
    /* Grid Pattern overlay for tech feel */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    background: -webkit-linear-gradient(#fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 5px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
    transform: skewX(-10deg);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-text {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px black;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    transform: skewX(-20deg); /* Racing shape */
    border: none;
    letter-spacing: 1px;
}

.btn i, .btn span, .btn p {
    transform: skewX(20deg); /* Correct text skew */
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 4px 0 #b33900; /* 3D Button effect */
}

.btn-primary:active {
    transform: skewX(-20deg) translateY(4px);
    box-shadow: none;
}

.btn-primary:hover {
    background-color: #ff6a00;
    color: #000;
    box-shadow: 0 0 20px var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: #000;
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* Sections Common */
.section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid #222;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.section-header h2::after {
    /* Decorator behind text */
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background-color: var(--primary-color);
    bottom: 5px;
    left: 0;
    z-index: -1;
    opacity: 0.6;
    transform: skewX(-20deg);
}

.line {
    width: 0;
    height: 0;
    display: none; /* Replaced by styling above */
}

/* About Section */
.about {
    background: #111;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
    background: rgba(255,255,255,0.03);
    padding: 30px;
    border-left: 4px solid var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: #ccc;
    font-size: 1.05rem;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-family: 'Russo One', sans-serif;
    color: var(--text-white);
    font-size: 1.1rem;
}

.features-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.4rem;
}

.about-image {
    flex: 1;
    height: 350px;
    position: relative;
    border: 2px solid #333;
    padding: 10px; /* Double border effect */
}

.about-image img {
    filter: grayscale(20%) contrast(110%); /* Gritty look */
}

/* Services Section */
.services {
    background-color: var(--bg-surface);
}

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

.service-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    padding: 40px 30px;
    border-radius: 5px;
    transition: var(--transition);
    border-bottom: 4px solid #333;
    position: relative;
    overflow: hidden;
    group: hover;
}

/* Metallic Top Border */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--metal-gradient);
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 81, 0, 0.15);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(255, 81, 0, 0.4);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
    background-color: #0e0e0e;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #333;
    transform: skewX(-5deg); /* Slight skew for speed look */
}

.gallery-item img {
    width: 120%; /* Compensate for skew */
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    transform: skewX(5deg) translateX(-10%); /* Un-skew image */
    filter: grayscale(30%);
}

.gallery-item:hover img {
    transform: skewX(5deg) translateX(-10%) scale(1.1);
    filter: grayscale(0%);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    transition: 0.3s;
    pointer-events: none;
}

.gallery-item:hover::after {
    background: rgba(0,0,0,0);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-surface);
}

.testimonial-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    font-family: 'Open Sans', sans-serif;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255,255,255,0.05);
    font-family: serif;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-style: normal;
    font-size: 1.1rem;
    margin-top: 15px;
    text-transform: uppercase;
}

/* CTA Section */
.cta {
    background: linear-gradient(90deg, #ff5100 0%, #b33900 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--text-white);
    transform: skewY(-2deg); /* Dynamic Section Skew */
    margin-top: -30px;
    padding-bottom: 110px;
    position: relative;
    z-index: 10;
}

.cta > .container {
    transform: skewY(2deg); /* Correct text skew */
}

.cta h2 {
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.btn-light {
    background-color: #fff;
    color: var(--primary-color);
    padding: 15px 40px;
    font-weight: 900;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-light:hover {
    background-color: #000;
    color: #fff;
}

/* Contact Section */
.contact {
    padding-top: 100px; /* Compensate for CTA skew */
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-left: 3px solid #444;
    transition: 0.3s;
}

.info-item:hover {
    border-left-color: var(--primary-color);
    transform: translateX(10px);
}

.info-item i {
    width: 40px;
    height: 40px;
    background: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 350px;
    border: 5px solid #333;
    filter: grayscale(100%) invert(90%) contrast(120%);
}

/* Footer */
footer {
    background-color: #050505;
    padding: 40px 0;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Keep Top Bar on Mobile but simplified if needed, or allow wrap */
    .top-bar {
        font-size: 0.7rem; /* Smaller text */
        height: auto;
        padding: 5px 0;
    }

    .top-bar-content {
        justify-content: center; /* Center on mobile */
        flex-wrap: wrap;
        gap: 15px;
    }

    .navbar {
        top: auto; /* Dynamic positioning based on top bar height if needed, but fixed works */
        top: 30px; /* Approximate height of top bar on mobile */
    }

    .menu-toggle {
        display: block;
    }
    
    .menu-toggle .bar {
        display: block;
        width: 30px;
        height: 4px;
        margin: 6px auto;
        background-color: var(--primary-color);
        transform: skewX(-20deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px; /* Adjust for Top Bar + Navbar height approx */
        gap: 0;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        height: calc(100vh - 65px);
        text-align: center;
        transition: 0.3s;
        padding-top: 40px;
        border-top: 1px solid #333;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.4rem;
        padding: 20px;
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        flex-direction: column;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cta {
        transform: skewY(0);
        margin-top: 0;
    }
    
    .cta > .container {
        transform: skewY(0);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        transform: skewX(0);
        height: 250px;
    }
    
    .gallery-item img {
        transform: skewX(0) translateX(0);
        width: 100%;
    }
}