:root {
    /* Brand Colors - New Palette (Industrial Construction) */
    --primary-color: #1A1A1B;
    /* Antrasit Gece - Background */
    --secondary-color: #FFB400;
    /* İnşaat Sarısı - Buttons, Icons, Highlights */
    --tertiary-color: #4A4E54;
    /* Çelik Grisi - Borders, Components */
    --accent-color: #121212;
    /* Soft black for cards */
    --text-color: #F4F4F9;
    /* Bulut Beyazı - Main Text */
    --text-muted: #b0b3b8;
    /* Soft Light Gray */

    /* Gradients & Effects */
    --glass-bg: rgba(26, 26, 27, 0.7);
    /* Antrasit tint */
    --glass-border: 1px solid rgba(74, 78, 84, 0.3);
    /* Steel Gray border */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 180, 0, 0.4);
    /* Yellow Glow */
    --transition: all 0.3s ease;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #050505;
    /* Deep technical black */
    /* Technical Blueprint Grid */
    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),
        radial-gradient(circle at 50% 50%, rgba(165, 0, 33, 0.15), transparent 70%);
    /* Subtle Bordo glow center */
    background-size: 50px 50px, 50px 50px, 100% 100%;
    background-attachment: fixed;
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    /* Let clicks pass through */
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1300px;
    /* Wider for premium feel */
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* More breathing room */

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin-top: 20px;
    box-shadow: var(--shadow-glow);
}

.highlight-text {
    color: var(--secondary-color);
}

/* Navbar - Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(5, 5, 5, 0.3);
    /* 30% Opacity as requested */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: var(--glass-border);
    transition: var(--transition);
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(44, 151, 222, 0.5);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background: var(--tertiary-color);
    transition: var(--transition);
}

.nav-links li a:hover {
    color: white;
}

.nav-links li a:hover::after {
    width: 100%;
}

.btn-theme {
    padding: 10px 25px !important;
    border: 1px solid rgba(196, 30, 58, 0.5);
    background: rgba(196, 30, 58, 0.1);
    border-radius: 50px;
    /* Pill shape */
    color: white !important;
}

.btn-theme:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-glow);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Updated Hero Image */
    background: url('images/hero_bridge.jpg') no-repeat center center/cover;
    animation: zoomIn 20s infinite alternate;
    /* Slow zoom effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--secondary-color);
    color: var(--primary-color);
    /* Dark text on Yellow bg for contrast */
    font-weight: 700;
    /* Bolder for industrial look */
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 2px;
    /* Sharp professional corners */
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.cta-button:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 180, 0, 0.5);
}

/* About Section */
.about-content {
    background: var(--glass-bg);
    padding: 60px;
    border-radius: 20px;
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.safety-box {
    background: linear-gradient(90deg, rgba(44, 151, 222, 0.1), transparent);
    padding: 30px;
    border-left: 5px solid var(--tertiary-color);
    margin-top: 40px;
    border-radius: 0 10px 10px 0;
}

/* Services & Activities */
.dark-bg {
    background: #080808;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.activities-grid ul li {
    background: var(--glass-bg);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: var(--glass-border);
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.activities-grid ul li:hover {
    transform: translateX(10px);
    border-color: var(--tertiary-color);
    background: rgba(44, 151, 222, 0.1);
}

.activities-grid ul li i {
    color: var(--tertiary-color);
    margin-right: 20px;
    font-size: 1.2rem;
}

/* Advantages Cards */
.advantages-grid {
    gap: 30px;
}

.advantage-card {
    background: var(--glass-bg);
    padding: 50px 30px;
    border-radius: 12px;
    border: var(--glass-border);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
    background: rgba(25, 25, 25, 0.8);
}

.advantage-card i {
    font-size: 3rem;
    color: white;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--secondary-color), #ff4d4d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Fleet Cards */
/* Fleet Horizontal Slider */
.fleet-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 30px;
    padding-bottom: 40px;
    /* Space for hover effects and scrollbar */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    /* Hide scrollbar for cleaner look, or style it? styling is better for desktop usability */
}

/* Custom Horizontal Scrollbar */
.fleet-grid::-webkit-scrollbar {
    height: 8px;
}

.fleet-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.fleet-grid::-webkit-scrollbar-thumb {
    background: var(--tertiary-color);
    border-radius: 4px;
}

.fleet-grid::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.fleet-card {
    min-width: 350px;
    /* Fixed width for slider items */
    scroll-snap-align: center;
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    border: var(--glass-border);
    transition: var(--transition);
}

.fleet-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--text-muted);
    transition: transform 0.5s ease;
    padding: 10px;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.card-info {
    padding: 30px;
}

.card-info h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.card-btn {
    display: inline-block;
    margin-top: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--tertiary-color);
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Reservation Form */
.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    padding: 60px;
    border-radius: 20px;
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.form-group label {
    display: block;
    /* Force label to own line */
    margin-bottom: 10px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: #ccc;
    text-transform: uppercase;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    /* Force full width */
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px;
    font-size: 1rem;
    color: white;
    border-radius: 8px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--tertiary-color);
    box-shadow: 0 0 15px rgba(44, 151, 222, 0.2);
}

/* Fix for Select Options */
.form-group select option {
    background-color: #0a0a0a;
    color: white;
    padding: 10px;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, var(--secondary-color), #8e001c);
    border-radius: 8px;
    box-shadow: var(--shadow-glow);
    border: none;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(196, 30, 58, 0.4);
}

/* Map */
/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        gap: 25px;
    }

    .nav-links.active {
        display: flex;
        animation: fadeInUp 0.5s ease;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .fleet-grid,
    .activities-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns on Mobile */
        gap: 15px;
        /* Smaller gap for mobile */
    }

    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Specifically for Fleet */
    }

    /* Adjust font size for 2-column mobile layout */
    .card-info h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .card-info p {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .card-btn {
        padding: 8px 12px;
        font-size: 0.95rem;
    }

    .card-image {
        height: auto;
    }

    .booking-form {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
}

/* Map - Standard Colors */
.map-frame {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) invert(92%) contrast(83%);
    /* Softer, professional grey-scale map */
}
/* Engineering Background Theme - Appended Fix */
.engineering-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #1a1e24 0%, #0d1014 100%); /* Deep Anthracite/Navy Gradient */
}

/* 1. Grain/Noise Texture */
.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,%3Csvg viewBox=\'0 0 200 200\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cfilter id=\'noiseFilter\'%3E%3CfeTurbulence type=\'fractalNoise\' baseFrequency=\'0.65\' numOctaves=\'3\' stitchTiles=\'stitch\'/%3E%3C/filter%3E%3Crect width=\'100%25\' height=\'100%25\' filter=\'url(%23noiseFilter)\'/%3E%3C/svg%3E');
    pointer-events: none;
}

/* 2. Technical Grid (Moving slightly) */
.technical-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    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: 60px 60px;
    transform: perspective(500px) rotateX(20deg) translateY(-100px) translateZ(-50px);
    animation: gridMove 60s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(20deg) translateY(0) translateZ(-50px); }
    100% { transform: perspective(500px) rotateX(20deg) translateY(-60px) translateZ(-50px); }
}

/* 3. Ghost Crane Truss Animation */
.crane-ghost {
    position: absolute;
    top: 10%;
    left: -20%;
    width: 50vw;
    height: 80vh;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 180, 0, 0.02) 0px,
        rgba(255, 180, 0, 0.02) 2px,
        transparent 2px,
        transparent 40px
    ),
    repeating-linear-gradient(
        -45deg,
        rgba(255, 180, 0, 0.02) 0px,
        rgba(255, 180, 0, 0.02) 2px,
        transparent 2px,
        transparent 40px
    );
    border: 1px solid rgba(255, 180, 0, 0.05);
    transform-origin: top left;
    animation: craneSwing 20s ease-in-out infinite alternate;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); /* Tapered boom shape */
}

@keyframes craneSwing {
    0% { transform: rotate(-5deg) translateX(0); }
    100% { transform: rotate(5deg) translateX(50px); }
}

/* 4. Tension Lines (Cables) */
.tension-lines .line {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    height: 1px;
    width: 150%;
    transform-origin: 0 0;
}

.tension-lines .line-1 {
    top: 0;
    left: 0;
    animation: tensionScan1 8s ease-in-out infinite;
}

.tension-lines .line-2 {
    bottom: 0;
    right: 0;
    animation: tensionScan2 12s ease-in-out infinite;
}

@keyframes tensionScan1 {
    0% { transform: rotate(15deg) translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotate(45deg) translateY(100vh); opacity: 0; }
}

@keyframes tensionScan2 {
    0% { transform: rotate(-15deg) translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotate(-45deg) translateY(-100vh); opacity: 0; }
}

/* 5. Coordinate Rain */
#coordinate-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0; /* Ensure it stays in bg relative to content */
}

.coordinate-drop {
    position: absolute;
    color: rgba(255, 180, 0, 0.4);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 14px;
    white-space: nowrap;
    opacity: 0;
    animation: dropFall linear forwards;
}

@keyframes dropFall {
    0% { transform: translateY(-50px); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(100vh); opacity: 0; }
}

