/*
 * KUMSEL - Modern Website Design
 * Premium Industrial Aesthetic
 * ================================
 */

/* ========================================
   1. CSS VARIABLES & FONTS
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --deep-navy: #0a1628;
    --navy-light: #132038;
    --navy-lighter: #1a2d4a;
    --electric-blue: #00d4ff;
    --electric-blue-dark: #00a8cc;
    --warm-orange: #f58220;
    --warm-orange-dark: #d97019;
    --pure-white: #ffffff;
    --soft-gray: #8892a0;
    --light-gray: #c5ccd6;
    --success: #00c853;
    --error: #ff5252;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0a1628 100%);
    --gradient-blue: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    --gradient-orange: linear-gradient(135deg, #ff6b35 0%, #ff9f1c 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 5%;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow-blue: 0 0 30px rgba(0, 212, 255, 0.3);
    --shadow-glow-orange: 0 0 30px rgba(255, 107, 53, 0.3);
}

/* ========================================
   2. RESET & BASE
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--deep-navy);
    color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
}

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

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

ul,
ol {
    list-style: none;
}

/* ========================================
   3. UTILITIES
   ======================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.text-gradient {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-orange {
    color: var(--warm-orange);
}

.text-gray {
    color: var(--soft-gray);
}

/* ========================================
   4. TYPOGRAPHY
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--soft-gray);
    font-size: 1.1rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--electric-blue);
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--electric-blue);
}

/* ========================================
   5. BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--deep-navy);
    box-shadow: var(--shadow-glow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}

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

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--electric-blue);
}

.btn-orange {
    background: var(--gradient-orange);
    color: var(--pure-white);
    box-shadow: var(--shadow-glow-orange);
}

.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(255, 107, 53, 0.5);
}

/* ========================================
   6. NAVBAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
    padding: 15px 5%;
}

.navbar-logo img {
    height: 45px;
    filter: brightness(0) invert(1);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navbar-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--light-gray);
    position: relative;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-blue);
    transition: var(--transition-normal);
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--pure-white);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-cta .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* Mobile Menu */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.navbar-toggle span {
    width: 28px;
    height: 2px;
    background: var(--pure-white);
    transition: var(--transition-normal);
}

/* ========================================
   7. HERO SECTION
   ======================================== */

/* ========================================
   7. HERO SECTION (REDESIGNED - GRID)
   ======================================== */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    /* Text 1.1, Image 1 */
    align-items: center;
    gap: 60px;
    /* Space between text and image */
    position: relative;
    padding: 120px 5% 80px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    /* Allow it to fill its grid cell */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: var(--glass-blur);
}

.hero-badge span {
    color: var(--electric-blue);
}

.hero h1 {
    margin-bottom: 25px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    /* Responsive font size */
}

.hero h1 span {
    display: block;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 90%;
    /* Slight constraint for readability */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--pure-white);
    line-height: 1;
}

.hero-stat-number span {
    color: var(--electric-blue);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--soft-gray);
    margin-top: 5px;
}

/* Hero Image/Visual (New Grid Position) */
.hero-visual {
    position: relative;
    /* No longer absolute */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hero-visual img {
    width: 100%;
    height: auto;
    max-height: 650px;
    /* Limit height on very large screens */
    object-fit: cover;
    border-radius: 30px;
    /* Softer corners */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
    transform: perspective(1000px) rotateY(-5deg);
    /* Subtle 3D effect */
    transition: transform 0.5s ease;
}

.hero-visual:hover img {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        /* Stack on smaller laptops */
        padding-top: 140px;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
        /* Center text */
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 800px;
        margin: 0 auto;
    }

    .hero-visual img {
        transform: none;
        /* Disable 3D effect on mobile for simplicity */
        max-height: 400px;
    }
}

/* ========================================
   8. GLASS CARDS
   ======================================== */

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-normal);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   9. PRODUCTS SECTION
   ======================================== */

.products {
    background: var(--navy-light);
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.product-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px;
    transition: var(--transition-slow);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.9) 100%);
    z-index: 1;
}

.product-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.product-card.euro-kabin .product-card-bg {
    background: linear-gradient(135deg, #1d6bad 0%, #0a4a7a 100%);
}

.product-card.europan .product-card-bg {
    background: linear-gradient(135deg, #ff6b35 0%, #cc4a1a 100%);
}

.product-card:hover .product-card-bg {
    transform: scale(1.1);
}

.product-card-content {
    position: relative;
    z-index: 2;
}

.product-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-card p {
    color: var(--light-gray);
    margin-bottom: 25px;
}

.product-card .btn {
    width: fit-content;
}

/* ========================================
   10. STATS SECTION
   ======================================== */

.stats {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 40px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1rem;
    color: var(--soft-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   11. PROJECTS SECTION
   ======================================== */

.projects {
    background: var(--deep-navy);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-overlay h4 {
    margin-bottom: 8px;
}

.project-card-overlay p {
    font-size: 0.9rem;
    color: var(--soft-gray);
}

/* ========================================
   12. CONTACT SECTION
   ======================================== */

.contact {
    background: var(--navy-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    padding-right: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    font-size: 1.5rem;
    color: var(--electric-blue);
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 8px;
    color: var(--pure-white);
}

.contact-text p {
    font-size: 1rem;
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: var(--glass-blur);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--pure-white);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--soft-gray);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Select Dropdown Styling */
.form-group select option {
    background: var(--deep-navy);
    color: var(--pure-white);
    padding: 10px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300d4ff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ========================================
   13. FOOTER
   ======================================== */

.footer {
    background: #050d18;
    padding: 80px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin: 20px 0;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--light-gray);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--electric-blue);
    border-color: var(--electric-blue);
    color: var(--deep-navy);
}

.footer-column h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: var(--soft-gray);
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--electric-blue);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--soft-gray);
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--electric-blue);
    width: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* ========================================
   14. RESPONSIVE & MOBILE OPTIMIZATION
   ======================================== */

/* Navbar Animation Keyframes */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET & SMALL LAPTOPS (Max Width: 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero-visual {
        width: 40%;
        right: 2%;
    }

    .products-grid {
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* TABLET PORTRAIT (Max Width: 992px) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    /* Mobile Logo - %15 smaller */
    .navbar-logo img {
        height: 38px;
    }

    /* Navbar Mobile Styles (Moved from JS) */
    .navbar-menu {
        display: none;
        /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        z-index: 999;
        backdrop-filter: blur(10px);
    }

    .navbar-menu.active {
        display: flex;
        /* Show when active */
        animation: fadeIn 0.3s ease;
    }

    .navbar-menu a {
        font-size: 1.5rem;
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.4s ease forwards;
    }

    /* Stagger animation for menu items */
    .navbar-menu a:nth-child(1) {
        animation-delay: 0.1s;
    }

    .navbar-menu a:nth-child(2) {
        animation-delay: 0.15s;
    }

    .navbar-menu a:nth-child(3) {
        animation-delay: 0.2s;
    }

    .navbar-menu a:nth-child(4) {
        animation-delay: 0.25s;
    }

    .navbar-menu a:nth-child(5) {
        animation-delay: 0.3s;
    }

    .navbar-menu a:nth-child(6) {
        animation-delay: 0.35s;
    }

    .navbar-menu a:nth-child(7) {
        animation-delay: 0.4s;
    }

    .navbar-toggle {
        display: flex;
    }

    /* Hamburger Animation Classes (Toggled by JS) */
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
        justify-content: center;
    }

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

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

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 40px;
        margin-top: 50px;
    }

    .hero-visual {
        position: relative;
        width: 60%;
        transform: none;
        top: 0;
        right: 0;
        margin-top: 50px;
    }

    /* Layout Grids */
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* MOBILE LANDSCAPE (Max Width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
        /* Keep left aligned for readability */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* MOBILE PORTRAIT (Max Width: 480px) */
@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
        border-top: none;
        margin-top: 40px;
    }

    .stat-number,
    .hero-stat-number {
        font-size: 2.5rem;
    }

    .hero-visual {
        width: 80%;
    }

    .glass-card {
        padding: 25px;
    }

    .product-card {
        padding: 30px;
        min-height: 350px;
    }

    .product-card h3 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 25px;
    }

    .footer {
        padding: 60px 20px 30px;
    }
}

/* Keyframes for new animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ========================================
   15. ANIMATIONS (Restored)
   ======================================== */

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   16. MOBILE FIXES (FINAL OVERRIDES)
   ======================================== */

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

@media (max-width: 992px) {

    /* Fix Mobile Menu Scroll Glitch */
    .navbar-menu {
        position: fixed !important;
        height: 100vh !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 50px;
    }

    /* Fix Big 'Teklif Al' Button - ICON ONLY MODE for Mobile */
    .navbar-cta .btn {
        padding: 0 !important;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0 !important;
        /* Hide text */
        gap: 0;
    }

    .navbar-cta .btn i {
        font-size: 1.1rem !important;
        /* Show icon */
        margin: 0;
    }

    /* Fix Corporate Image Sizing */
    .glass-card img {
        height: auto !important;
        max-height: 300px;
        object-fit: cover;
    }
}

/* ========================================
   LANGUAGE SWITCH
   ======================================== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.lang-switch a {
    color: var(--soft-gray);
    padding: 5px 8px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--pure-white);
    background: rgba(255, 255, 255, 0.1);
}

.lang-switch span {
    color: var(--soft-gray);
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .lang-switch {
        margin-right: 10px;
        font-size: 0.75rem;
    }

    .lang-switch a {
        padding: 4px 6px;
    }
}

/* ========================================
   KVKK / COOKIE BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    border-top: 1px solid var(--glass-border);
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9999;
    backdrop-filter: blur(10px);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--soft-gray);
    margin: 0;
}

.cookie-banner a {
    color: var(--electric-blue);
    text-decoration: underline;
}

.cookie-banner button {
    background: var(--electric-blue);
    color: var(--deep-navy);
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.cookie-banner button:hover {
    background: var(--electric-blue-dark);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px 5%;
    }

    .cookie-banner p {
        font-size: 0.8rem;
    }
}

/* ========================================
   EMBEDDED FLIPBOOK (CATALOG)
   ======================================== */
.flipbook-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
}

.flipbook-container iframe {
    width: 100%;
    height: 600px;
    border: none;
}


@media (max-width: 768px) {
    .flipbook-container iframe {
        height: 450px;
    }
}

/* =========================================
   13. REDESIGNED SECTIONS (Full Width, etc.)
   ========================================= */

/* Full Width About Section */
.section-full-width {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.about-hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 600px;
    /* Adjust as needed */
    display: flex;
    align-items: center;
}

.about-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay for better text readability if needed */
.about-hero-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.4) 100%);
    z-index: 2;
}

.about-overlay-container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    /* Align card to left */
    padding: 60px 0;
}

.about-content-card {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle white tint */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-content-card h2,
.about-content-card p,
.about-content-card h3 {
    color: #fff;
    /* Ensure text is white on dark overlay */
}

.about-content-card .section-label {
    color: var(--electric-blue);
    background: rgba(0, 51, 153, 0.2);
}

.stats-mini {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.stats-mini h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--electric-blue);
}

.stats-mini p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Improved Hero Visual (Handled in Grid Layout now - removing conflicting duplicate rule if any) */
/* The main rules are now in Section 7 above. */
@media (max-width: 992px) {
    .hero-visual {
        /* Reset margins handled by grid */
        margin: 0;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 51, 153, 0.2);
    border-radius: 50%;
    border-top-color: var(--electric-blue);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.preloader-logo {
    width: 150px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Scroll to Top Button (Centered) */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    /* Center horizontally */
    transform: translateX(-50%) translateY(20px);
    /* Center align + offset for animation */
    width: 50px;
    height: 50px;
    background: var(--electric-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 51, 153, 0.3);
    cursor: pointer;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.scroll-top-btn:hover {
    background: var(--deep-navy);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 51, 153, 0.4);
}

/* Floating Action Buttons (Bottom Right) */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Call Button (Active) */
.float-btn.call {
    background: #25d366;
    /* Green */
    animation: bounce 2s infinite;
}

.float-btn.call:hover {
    background: #128c7e;
}

/* WhatsApp Button (Active) */
.float-btn.whatsapp {
    background: #25d366;
    /* WhatsApp Green */
    cursor: pointer;
}

.float-btn.whatsapp:hover {
    background: #128c7e;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .scroll-top-btn {
        bottom: 20px;
    }
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Remove padding from contact-info as it's now in sidebar with grid gap */
.contact-info {
    padding-right: 0;
}

/* Speedy Contact Card */
.speedy-contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.speedy-contact-card .btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.speedy-contact-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background: #25d366 !important;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

/* Responsive adjustments for Contact Page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-sidebar {
        order: 1;
        /* Contact info first */
    }
}


/* Updated Side-by-Side Layout */
@media (min-width: 1200px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr 1.5fr;
        /* Info | Speedy | Form */
        gap: 30px;
        align-items: start;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        /* Info | Speedy */
        /* Form will wrap to next row automatically or via explicit placement */
    }

    /* Make form span full width on medium screens if it wraps */
    .contact-form:last-child {
        grid-column: 1 / -1;
    }
}


/* Fix: Balanced 2-Column Layout for Contact Info + Speedy Card */
@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 1100px;
        margin: 0 auto;
        gap: 60px;
        align-items: center;
        /* Center vertically if one is shorter */
    }
}