/* Genel Stiller */
:root {
    /* Light Mode Renkleri */
    --primary-color: #ffd700;
    --secondary-color: #333;
    --text-color: #333;
    --bg-color: #fff;
    --light-bg: #f9f9f9;
    --dark-bg: #222;
    --card-bg: #fff;
    --border-color: #eee;
    --shadow-color: rgba(0,0,0,0.1);
}

[data-theme="dark"] {
    /* Dark Mode Renkleri */
    --primary-color: #ffd700;
    --secondary-color: #f9f9f9;
    --text-color: #f9f9f9;
    --bg-color: #121212;
    --light-bg: #1e1e1e;
    --dark-bg: #000;
    --card-bg: #1e1e1e;
    --border-color: #333;
    --shadow-color: rgba(0,0,0,0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s, color 0.3s;
}

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

/* Header Stili */
.navbar {
    background: var(--dark-bg);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Bölümü */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/taxi-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.call-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.call-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: #ffe44d;
}

.call-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Hizmetler Bölümü */
.services {
    padding: 5rem 0;
    background: var(--light-bg);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Hakkımızda Bölümü */
.about {
    padding: 5rem 0;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.features {
    list-style: none;
    margin-top: 2rem;
}

.features li {
    margin-bottom: 1rem;
}

.features i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* İletişim Bölümü */
.contact {
    padding: 5rem 0;
    background: var(--light-bg);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
}

/* Slider Styles */
.slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.slider-nav button.active {
    background: #fff;
}

/* Sabit Butonlar */
.floating-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-call a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.call-btn {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.floating-call a:hover {
    transform: scale(1.1);
}

.floating-call i {
    font-size: 1.8rem;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 180px;
    right: 30px;
    z-index: 999;
    background: var(--card-bg);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all 0.3s ease;
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle:hover i {
    transform: rotate(30deg);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

/* Responsive Tasarım */
@media screen and (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--dark-bg);
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links li a:hover {
        background: rgba(255,215,0,0.1);
        color: var(--primary-color);
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }
}
