/* ================================================
   LASTİK OTELİ - YUMUŞAK & PROFESYONEL
   Soft Colors + Dark Mode Support
   ================================================ */

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

:root {
    /* Light Mode - Yumuşak Renkler */
    --primary-color: #5e72e4;
    --primary-dark: #4c63d2;
    --secondary-color: #8965e0;
    --accent-color: #11cdef;
    --dark-bg: #2d3748;
    --darker-bg: #1a202c;
    --light-bg: #f7fafc;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Diğer değişkenler */
    --font-primary: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* DARK MODE DEĞİŞKENLERİ */
body.dark-mode {
    --light-bg: #1a202c;
    --white: #2d3748;
    --text-dark: #f7fafc;
    --text-light: #cbd5e0;
    --border-color: #4a5568;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --dark-bg: #f7fafc;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: var(--white);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* ================================================
   BUTONLAR - YUMUŞAK GRADIENTS
   ================================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 114, 228, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2dce89 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 205, 239, 0.4);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

body.dark-mode .btn-light {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--border-color);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-color);
}

/* ================================================
   SECTION HEADER
   ================================================ */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ================================================
   NAVBAR - GLASSMORPHISM
   ================================================ */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

body.dark-mode .header {
    background: rgba(45, 55, 72, 0.95);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo-image {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px var(--shadow-color));
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    flex: 1;
    margin: 0 50px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: transform 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* THEME & LANGUAGE TOGGLES */
.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.theme-toggle,
.lang-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
}

.theme-toggle:hover,
.lang-toggle:hover {
    transform: scale(1.1);
    background: var(--light-bg);
    border-color: var(--primary-color);
}

body.dark-mode .theme-toggle,
body.dark-mode .lang-toggle {
    background: var(--white);
    border-color: var(--border-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ================================================
   HERO - SOFT GRADIENT
   ================================================ */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: backgroundMove 20s linear infinite;
    opacity: 0.5;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* ================================================
   SECTIONS
   ================================================ */
.how-it-works,
.services,
.why-us,
.cta {
    padding: var(--section-padding);
}

.how-it-works {
    background: var(--light-bg);
}

.services {
    background: var(--white);
}

body.dark-mode .services {
    background: var(--white);
}

.steps-grid,
.services-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

/* STEP CARDS */
.step-card {
    background: var(--white);
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 12px var(--shadow-color);
    border: 1px solid var(--border-color);
}

body.dark-mode .step-card {
    background: var(--white);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.step-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.15;
    margin-bottom: -35px;
    line-height: 1;
}

.step-icon {
    font-size: 52px;
    margin-bottom: 24px;
    display: block;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* SERVICE CARDS */
.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border-left: 4px solid transparent;
    box-shadow: 0 2px 12px var(--shadow-color);
    border: 1px solid var(--border-color);
}

body.dark-mode .service-card {
    background: var(--white);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px var(--shadow-color);
    border-left-color: var(--primary-color);
}

.service-icon {
    font-size: 52px;
    margin-bottom: 24px;
    display: block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* WHY US SECTION */
.why-us {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

body.dark-mode .why-us {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

.why-us .section-title,
.why-us .section-subtitle {
    color: white;
}

.feature-card {
    text-align: center;
    padding: 36px 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    color: white;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 20px;
}

.feature-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* CTA SECTION */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* ================================================
   FLOATING SOCIAL BUTTONS
   ================================================ */
.floating-social {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
    z-index: 9999;
}

.floating-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: all 0.3s ease;
}

.floating-social-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 28px var(--shadow-color);
}

.floating-social-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-social-btn.instagram {
    background: linear-gradient(135deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.floating-social-btn.facebook {
    background: linear-gradient(135deg, #1877F2, #29487d);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.9);
    padding: 80px 0 30px;
    position: relative;
}

body.dark-mode .footer {
    background: #1a202c;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 14px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ================================================
   RESPONSIVE (MOBİL NAVBAR DÜZELTMESİ YAPILDI)
   ================================================ */
@media (max-width: 768px) {
    /* Navbar Düzeni */
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Logo solda, diğerleri sağda */
        padding: 15px 0;
        position: relative;
    }

    .logo {
        flex: 0 0 auto; /* Logoyu sıkıştırma */
        margin-right: auto; /* Sağdaki alanı boş bırakarak diğerlerini it */
        z-index: 1002;
    }

    .logo-image {
        height: 40px;
        width: auto;
    }

    /* İkonlar ve Butonlar */
    .auth-buttons {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-right: 15px;
        z-index: 1002;
    }

    .auth-buttons .btn {
        display: none; /* Mobilde buton gizli */
    }

    .theme-toggle,
    .lang-toggle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    /* Hamburger Menü Butonu */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 1002;
    }

    /* Açılır Menü (Tam Ekran) */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s ease-in-out;
        z-index: 1001;
        padding: 0;
        margin: 0;
    }

    body.dark-mode .nav-menu {
        background: rgba(30, 30, 40, 0.98);
    }

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

    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 100%;
    }

    .nav-link {
        font-size: 20px;
        display: block;
        padding: 10px;
        border: none;
    }

    /* Diğer Mobil Ayarlar */
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .section-title { font-size: 28px; }
    .steps-grid, .services-grid, .features-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   CUSTOM SCROLLBAR
   ================================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}