/* ========================================
   EUROSTEEL - Premium CSS Design System
   ======================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Blue Theme (Original Site) */
    --primary-dark: #0a1420;
    --primary-blue: #0066ff;
    --primary-navy: #001a33;
    --primary-light: #0052cc;

    /* Accent Colors - Blue Gradient */
    --accent-primary: #0066ff;
    --accent-secondary: #00d4ff;
    --accent-tertiary: #4d94ff;

    /* Metallic Steel Colors */
    --metallic-silver: #c0c0c0;
    --metallic-steel: #8a9199;
    --metallic-chrome: #dfe4e8;
    --metallic-dark: #4a5568;

    /* Legacy (for compatibility) */
    --accent-orange: #0066ff;
    --accent-gold: #00d4ff;
    --accent-amber: #4d94ff;

    /* Neutral */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Gradients - Blue Theme */
    --gradient-primary: linear-gradient(135deg, #0a1420 0%, #001a33 50%, #0a1420 100%);
    --gradient-accent: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(180deg, #0a1420 0%, #001a33 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 212, 255, 0.2) 100%);
    --gradient-metallic: linear-gradient(135deg, #c0c0c0 0%, #8a9199 50%, #dfe4e8 100%);
    --gradient-steel: linear-gradient(180deg, rgba(192, 192, 192, 0.1) 0%, rgba(138, 145, 153, 0.05) 100%);

    /* Enhanced Glassmorphism - Metallic Effect */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-strong: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-strong: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --glass-metallic: linear-gradient(135deg, rgba(192, 192, 192, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(192, 192, 192, 0.1) 100%);

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Enhanced Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.4);
    --shadow-glow-strong: 0 0 60px rgba(0, 102, 255, 0.6);
    --shadow-metallic: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-secondary);
    background: var(--primary-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: loaderSpin 1.5s linear infinite;
}

.loader-ring:nth-child(1) {
    border-top-color: var(--accent-orange);
    animation-delay: 0s;
}

.loader-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    border-right-color: var(--accent-gold);
    animation-delay: 0.15s;
    animation-direction: reverse;
}

.loader-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    border-bottom-color: var(--metallic-silver);
    animation-delay: 0.3s;
}

.loader-text {
    margin-top: 100px;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes loaderSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.nav-logo i {
    font-size: 1.8rem;
    color: var(--accent-orange);
}

.nav-logo .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: var(--glass-bg);
}

.nav-link.active {
    color: var(--accent-orange);
}

.nav-link i {
    font-size: 0.85rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 5px;
    margin-left: 20px;
}

.lang-btn {
    padding: 8px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--gray-300);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 20px 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-orange);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-gold);
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-blue);
    top: 50%;
    left: 30%;
    animation-delay: 10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: var(--accent-orange);
    bottom: 20%;
    right: 20%;
    animation-delay: 15s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--accent-orange);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-highlight {
    color: var(--white);
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-300);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-orange);
}

.stat-suffix {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--glass-border);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gray-400);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gradient-glow);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--gradient-dark);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.6s;
}

.service-card:hover::after {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 0.08;
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-metallic);
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    filter: blur(25px);
    opacity: 0.5;
    z-index: -1;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
}

/* Products Section */
.products {
    background: var(--primary-dark);
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--gray-300);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--primary-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-glow);
}

.product-image {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 200, 87, 0.1));
}

.product-image i {
    font-size: 4rem;
    color: var(--accent-orange);
    opacity: 0.8;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-quick-view {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border: none;
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1.2rem;
    cursor: pointer;
    transform: scale(0.8);
    transition: var(--transition-normal);
}

.product-card:hover .product-quick-view {
    transform: scale(1);
}

.product-info {
    padding: 25px;
}

.product-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 107, 53, 0.15);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-orange);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.product-desc {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-300);
}

.product-specs i {
    color: var(--accent-gold);
    font-size: 0.8rem;
}

/* Calculator Section */
.calculator-section {
    background: var(--gradient-dark);
}

.calculator-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.calc-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--glass-border);
}

.calc-tab {
    flex: 1;
    min-width: 120px;
    padding: 18px 15px;
    background: transparent;
    border: none;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
    border-bottom: 3px solid transparent;
}

.calc-tab i {
    font-size: 1.3rem;
}

.calc-tab:hover {
    background: rgba(255, 107, 53, 0.05);
    color: var(--gray-200);
}

.calc-tab.active {
    color: var(--accent-orange);
    border-bottom-color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.1);
}

.calc-content {
    padding: 40px;
}

.calc-panel {
    display: none;
}

.calc-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Profile Preview */
.calc-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-preview {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-shape {
    background: var(--gradient-accent);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
}

.kare-preview .preview-shape {
    width: 100px;
    height: 100px;
    border: 15px solid var(--accent-orange);
    background: transparent;
}

.dikdortgen-preview .preview-shape {
    width: 120px;
    height: 80px;
    border: 12px solid var(--accent-orange);
    background: transparent;
}

.boru-preview .preview-shape {
    width: 100px;
    height: 100px;
    border: 15px solid var(--accent-orange);
    border-radius: 50%;
    background: transparent;
}

.kosebent-preview .preview-shape {
    width: 80px;
    height: 80px;
    border-left: 15px solid var(--accent-orange);
    border-bottom: 15px solid var(--accent-orange);
    background: transparent;
}

.lama-preview .preview-shape {
    width: 120px;
    height: 25px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.preview-labels span {
    position: absolute;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    background: var(--primary-blue);
    padding: 4px 8px;
    border-radius: 4px;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-300);
}

.form-group label i {
    color: var(--accent-orange);
    width: 16px;
}

.form-group input,
.form-group select {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input::placeholder {
    color: var(--gray-500);
}

.calc-btn {
    padding: 16px;
    background: var(--gradient-accent);
    border: none;
    border-radius: var(--radius-md);
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-normal);
    margin-top: 10px;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Calculator Result */
.calc-result {
    margin: 0 40px 40px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 25px;
    background: rgba(255, 107, 53, 0.15);
    color: var(--accent-orange);
    font-weight: 600;
}

.result-header i {
    font-size: 1.3rem;
}

.result-body {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.result-item {
    text-align: center;
}

.result-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.result-value {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.result-item.highlight .result-value {
    color: var(--accent-orange);
    font-size: 1.8rem;
}

/* About Section */
.about {
    background: var(--primary-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-badge {
    margin-bottom: 15px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-description {
    color: var(--gray-400);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-sm);
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* About Visual */
.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent-orange), transparent 30%);
    animation: rotate 10s linear infinite;
    opacity: 0.1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.visual-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    font-size: 3rem;
    color: var(--primary-dark);
    position: relative;
}

.visual-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.v-stat {
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.v-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-orange);
}

.v-label {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* Contact Section */
.contact {
    background: var(--gradient-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.info-card:hover {
    border-color: var(--accent-orange);
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.info-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-content p {
    color: var(--gray-400);
    font-size: 0.95rem;
}

.map-placeholder {
    flex: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--glass-bg);
    border: 2px dashed var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--gray-500);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--gray-600);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group label {
    margin-bottom: 5px;
}

.contact-form textarea {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    transition: var(--transition-normal);
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.contact-form select option {
    background: var(--primary-dark);
    color: var(--white);
}

.submit-btn {
    padding: 18px 32px;
    background: var(--gradient-accent);
    border: none;
    border-radius: var(--radius-md);
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading span,
.submit-btn.loading i {
    visibility: hidden;
}

.btn-loader {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid transparent;
    border-top-color: var(--primary-dark);
    border-radius: 50%;
    display: none;
    animation: spin 0.8s linear infinite;
}

.submit-btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.form-status {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    display: none;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.form-status.success {
    display: flex;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-status.error {
    display: flex;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Footer */
.footer {
    background: var(--gray-900);
    position: relative;
    padding-top: 0;
}

.footer-wave {
    margin-top: -1px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 120px;
    fill: var(--gray-900);
}

.footer-content {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand .footer-logo i {
    color: var(--accent-orange);
}

.footer-brand .footer-logo .highlight {
    color: var(--accent-orange);
}

.footer-brand>p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--gray-300);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--gray-400);
    font-size: 0.95rem;
}

.footer-contact .contact-item i {
    color: var(--accent-orange);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(255, 107, 53, 0.4);
    transition: var(--transition-normal);
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-toggle i {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 500px;
    background: var(--primary-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

.chatbot-window.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--gradient-accent);
    color: var(--primary-dark);
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.chat-info h4 {
    font-size: 1rem;
    font-weight: 600;
}

.chat-info .status {
    font-size: 0.8rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-info .status.online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.chat-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.bot {
    align-self: flex-start;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--white);
}

.chat-message.user {
    align-self: flex-end;
    background: var(--gradient-accent);
    color: var(--primary-dark);
}

.chat-suggestions {
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--glass-border);
}

.suggestion-btn {
    padding: 8px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--gray-300);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.suggestion-btn:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--primary-dark);
}

.chat-input {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--glass-border);
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9rem;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.chat-input button {
    width: 45px;
    height: 45px;
    background: var(--gradient-accent);
    border: none;
    border-radius: var(--radius-md);
    color: var(--primary-dark);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.chat-input button:hover {
    transform: scale(1.05);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-orange);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Hide elements by language */
[data-lang-tr] {
    display: none;
}

[data-lang-fr] {
    display: none;
}

body.lang-tr [data-lang-tr] {
    display: block;
}

body.lang-fr [data-lang-fr] {
    display: block;
}

body.lang-tr [data-lang-fr] {
    display: none !important;
}

body.lang-fr [data-lang-tr] {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .calc-panel.active {
        grid-template-columns: 1fr;
    }

    .calc-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 100px 30px 30px;
        transition: var(--transition-normal);
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .result-body {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact .contact-item {
        justify-content: center;
    }

    .chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 15px 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .calc-content {
        padding: 25px;
    }

    .calc-result {
        margin: 0 20px 20px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}