/* Temel Ayarlar ve Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #A98467;
    --secondary-color: #555555;
    --accent-color: #C7A78A;
    --dark-color: #222222;
    --bg-color: #F8F8F8;
    --text-color-main: #333333;
    --text-color-secondary: #666666;
    --header-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --light-section-bg: #F0F0F0;
    --border-color: #DDDDDD;
    --input-bg: #FFFFFF;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --link-hover-color: var(--dark-color);
    --transition-speed: 0.4s;
    --mobile-menu-bg: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
}

body.dark-theme {
    --primary-color: #D4BBAA;
    --secondary-color: #B0B0B0;
    --accent-color: #A38A6F;
    --dark-color: #EAEAEA;
    --bg-color: #1A1A1A;
    --text-color-main: #E0E0E0;
    --text-color-secondary: #B5B5B5;
    --header-bg: #222222;
    --card-bg: #282828;
    --light-section-bg: #333333;
    --border-color: #4F4F4F;
    --input-bg: #2A2A2A;
    --shadow-light: rgba(0, 0, 0, 0.25);
    --shadow-medium: rgba(0, 0, 0, 0.35);
    --link-hover-color: var(--primary-color);
    --mobile-menu-bg: linear-gradient(180deg, #2D2D2D 0%, #1F1F1F 100%);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color-main);
    background-color: var(--bg-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: var(--primary-color); transition: color var(--transition-speed); }
a:hover { color: var(--link-hover-color); }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--dark-color); margin-bottom: 15px; line-height: 1.2; transition: color var(--transition-speed); }
h1 { font-size: 3.5em; font-weight: 700; }
h2 { font-size: 2.5em; text-align: center; margin-bottom: 40px; position: relative; padding-bottom: 15px; }
h2::after { content: ''; position: absolute; left: 50%; bottom: 0px; transform: translateX(-50%); width: 0px; height: 3px; background-color: var(--primary-color); border-radius: 5px; transition: width 0.7s ease-in-out, background-color var(--transition-speed); }
h2[data-aos="fade-up"].aos-animate::after {
    width: 60px;
}
p.section-description { text-align: center; max-width: 700px; margin: -30px auto 60px auto; font-size: 1.1em; color: var(--text-color-secondary); transition: color var(--transition-speed); }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light-section-bg); transition: background-color var(--transition-speed); }
.btn { display: inline-block; padding: 12px 25px; border-radius: 5px; font-weight: 600; border: none; cursor: pointer; font-size: 1em; transition: all var(--transition-speed); }
.btn-primary { background-color: var(--primary-color); color: #FFFFFF; position: relative; overflow: hidden; }
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}
.btn-primary:hover::before {
    width: 200%;
    height: 200%;
}
.btn-primary:hover { background-color: var(--link-hover-color); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px var(--shadow-medium); }
.btn-secondary { background-color: var(--dark-color); color: var(--header-bg); padding: 8px 15px; font-size: 0.9em; }
.btn-secondary:hover { background-color: var(--primary-color); color: #FFFFFF; transform: translateY(-2px); }

header {
    background-color: transparent;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
}
header.scrolled {
    background-color: var(--header-bg);
    padding: 15px 0;
    box-shadow: 0 2px 10px var(--shadow-light);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--dark-color);
    white-space: nowrap;
    line-height: 1;
}
.logo .logo-subtitle {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.4em;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-top: 2px;
}

.header-controls { display: flex; align-items: center; gap: 20px; }
.lang-selector { position: relative; }
.current-lang-display { background: none; border: none; cursor: pointer; font-size: 1.6em; }
.lang-options { position: absolute; top: 110%; right: 0; background-color: var(--card-bg); box-shadow: 0 5px 15px var(--shadow-medium); border-radius: 8px; overflow: hidden; display: none; padding: 5px; z-index: 1010; }
.lang-selector.open .lang-options { display: block; }
.lang-btn { background: none; border: none; padding: 8px 12px; cursor: pointer; font-size: 1.4em; transition: background-color 0.2s; border-radius: 5px; width: 100%; }
.lang-btn:hover { background-color: var(--light-section-bg); }
.theme-toggle { background: none; border: none; font-size: 1.4em; cursor: pointer; color: var(--text-color-secondary); transition: color var(--transition-speed), transform var(--transition-speed); padding: 5px; display: flex; align-items: center; justify-content: center; }
.theme-toggle:hover { color: var(--primary-color); transform: rotate(15deg); }

/* MASAÜSTÜ MENÜ */
@media (min-width: 993px) {
    nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
    nav li { margin-left: 30px; }
    nav a {
        color: var(--text-color-secondary);
        font-weight: 600;
        position: relative;
        padding-bottom: 5px;
        text-transform: uppercase;
        font-size: 0.9em;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    nav a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0%;
        height: 2px;
        background-color: var(--primary-color);
        transition: width var(--transition-speed);
    }
    nav a:hover, nav a.active { color: var(--primary-color); }
    nav a:hover::after, nav a.active::after { width: 100%; }
    .mobile-menu-footer, .nav-toggle, .burger-menu { display: none; }
}

.hero-section { position: relative; height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; color: #FFFFFF; background: url('assets/images/hero-background.jpg') no-repeat center center/cover; background-attachment: fixed; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 20px; }
.hero-content h1 { color: #FFFFFF; font-size: 4em; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.7); }
.hero-content p { font-size: 1.5em; margin-bottom: 40px; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); }
.features-grid, .service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; text-align: center; }
.feature-item, .service-item { background-color: var(--card-bg); padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px var(--shadow-light); transition: transform var(--transition-speed), box-shadow var(--transition-speed), background-color var(--transition-speed); display: flex; flex-direction: column; align-items: center; }
.feature-item:hover, .service-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px var(--shadow-medium); }
.feature-item i, .service-item i { font-size: 3em; color: var(--primary-color); margin-bottom: 20px; transition: transform 0.3s ease-in-out; }
.feature-item:hover i, .service-item:hover i {
    transform: translateY(-5px);
}
.feature-item h3, .service-item h3 { font-size: 1.5em; color: var(--dark-color); }
.feature-item p, .service-item p { color: var(--text-color-secondary); }
.car-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.car-card { background-color: var(--card-bg); border-radius: 8px; box-shadow: 0 4px 15px var(--shadow-light); overflow: hidden; transition: transform var(--transition-speed), box-shadow var(--transition-speed), background-color var(--transition-speed); display: flex; flex-direction: column; }
.car-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px var(--shadow-medium); }
.car-card img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.5s ease; }
.car-card:hover img {
    transform: scale(1.05);
}
.car-info { padding: 25px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; }
.car-info h3 { font-size: 1.8em; color: var(--dark-color); margin-top: 0; }
.car-info p { color: var(--text-color-secondary); margin-bottom: 20px; flex-grow: 1; }
.car-features { list-style: none; display: flex; justify-content: center; gap: 20px; margin: 0 0 25px 0; padding: 0; flex-wrap: wrap; }
.car-features li { font-size: 0.9em; color: var(--text-color-secondary); }
.car-features i { color: var(--primary-color); margin-right: 5px; }
.car-info .btn-secondary { margin-top: auto; }
.testimonial-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 30px; padding: 10px 30px; margin: 0 -30px 20px -30px; scroll-behavior: smooth; }
.testimonial-slider::-webkit-scrollbar { display: none; }
.testimonial-card { flex: 0 0 calc(100% - 40px); max-width: calc(100% - 40px); background-color: var(--card-bg); padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px var(--shadow-light); text-align: center; scroll-snap-align: center; }
.testimonial-card p { font-style: italic; margin-bottom: 20px; font-size: 1.1em; color: var(--text-color-main); }
.testimonial-card h4 { color: var(--primary-color); margin-bottom: 5px; font-size: 1.3em; }
.testimonial-card span { font-size: 0.9em; color: var(--text-color-secondary); }
.testimonial-card .stars { margin: 0 auto 15px auto; color: #ffc107; }
.testimonial-card .stars i { margin: 0 2px; font-size: 1.2em; }
.slider-controls { text-align: center; margin-top: 20px; }
.slider-controls button { background-color: var(--primary-color); color: #FFFFFF; border: none; padding: 10px; margin: 0 10px; border-radius: 50%; cursor: pointer; font-size: 1.2em; width: 45px; height: 45px; transition: all var(--transition-speed); }
.slider-controls button:hover { background-color: var(--dark-color); transform: scale(1.1); }
.contact-content { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.contact-form-wrapper { background-color: var(--card-bg); padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px var(--shadow-light); }
.contact-form-wrapper h3, .contact-info h3 { text-align: left; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid var(--border-color); border-radius: 5px; font-family: 'Poppins', sans-serif; font-size: 1em; color: var(--text-color-main); background-color: var(--input-bg); transition: all var(--transition-speed); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-color-secondary); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(169, 132, 103, 0.2); }
.contact-form .btn { width: 100%; padding: 15px; font-size: 1.1em; }
.form-note, .map-note { font-size: 0.9em; color: var(--text-color-secondary); margin-top: 15px; text-align: center; }
.contact-info p { margin-bottom: 20px; display: flex; align-items: center; color: var(--text-color-main); font-size: 1.1em; }
.contact-info i { color: var(--primary-color); margin-right: 15px; font-size: 1.2em; width: 25px; text-align: center; }
.social-links { margin-top: 30px; display: flex; gap: 20px; }
.social-links a { font-size: 1.5em; color: var(--text-color-secondary); transition: color var(--transition-speed), transform var(--transition-speed); }
.social-links a:hover { color: var(--primary-color); transform: translateY(-3px); }
.map-container { margin-top: 50px; }
.map-container h3 { text-align: center; }
.map-container iframe { border-radius: 8px; }
footer { background-color: var(--dark-color); color: rgba(255, 255, 255, 0.8); padding: 30px 0; text-align: center; }
footer a { color: #FFFFFF; font-weight: bold; }
footer a:hover { color: var(--primary-color); }
body.dark-theme footer { color: var(--text-color-secondary); }
body.dark-theme footer a { color: var(--primary-color); }
body.dark-theme footer a:hover { color: #FFFFFF; }
.fixed-social-buttons { position: fixed; bottom: 30px; right: 30px; z-index: 999; display: flex; flex-direction: column; gap: 15px; }
.fixed-social-buttons a { display: flex; justify-content: center; align-items: center; width: 55px; height: 55px; border-radius: 50%; color: #FFFFFF; font-size: 1.8em; box-shadow: 0 5px 15px var(--shadow-medium); transition: transform 0.3s, box-shadow 0.3s; }
.fixed-social-buttons a:hover { transform: scale(1.1); box-shadow: 0 8px 20px var(--shadow-medium); }
.fixed-social-buttons .whatsapp { background-color: #25D366; }
.fixed-social-buttons .phone { background-color: #007bff; }
.fixed-social-buttons .instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* ---- MOBİL GÖRÜNÜM VE MENÜ ---- */
@media (max-width: 992px) {
    .header-controls { margin-left: 0; }
    
    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 28px;
        height: 22px;
        cursor: pointer;
        z-index: 1002;
    }
    .burger-menu span {
        width: 100%;
        height: 3px;
        background-color: var(--dark-color);
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
        transform-origin: center;
    }

    .nav-toggle { display: none; }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 80%;
        height: 100vh;
        background-image: var(--mobile-menu-bg);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
        z-index: 1001;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding-top: 80px; 
        display: flex;
        flex-direction: column;
    }
    nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    nav li a {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 18px 30px;
        font-size: 1.1em;
        font-weight: 500;
        color: var(--text-color-main);
        transition: color 0.3s, background-color 0.3s;
    }
    nav li a i {
        font-size: 1.2em;
        width: 25px;
        text-align: center;
        color: var(--primary-color);
    }
    nav li a:hover,
    nav li a.active {
        background-color: rgba(0, 0, 0, 0.05);
        color: var(--primary-color);
    }
    body.dark-theme nav li a:hover,
    body.dark-theme nav li a.active {
        background-color: rgba(255, 255, 255, 0.05);
    }
    .mobile-menu-footer {
        display: block;
        margin-top: auto;
        padding: 25px;
        border-top: 1px solid var(--border-color);
    }
    .mobile-menu-footer .btn {
        width: 100%;
        text-align: center;
    }

    .nav-toggle:checked ~ nav {
        transform: translateX(0);
    }
    .nav-toggle:checked ~ .header-controls .burger-menu span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }
    .nav-toggle:checked ~ .header-controls .burger-menu span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle:checked ~ .header-controls .burger-menu span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }

    h1, .hero-content h1 { font-size: 3em; }
    h2 { font-size: 2em; }
    .hero-content p { font-size: 1.2em; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .hero-content h1 { font-size: 2.5em; }
    .car-features { flex-direction: column; gap: 10px; align-items: center; }
    .testimonial-slider { gap: 20px; padding: 10px 5%; margin: 0; }
    .testimonial-card { flex-basis: 90%; max-width: 90%; }
    
    .contact-info {
        margin-top: 40px; 
        text-align: center;
    }
    .contact-form-wrapper h3, .contact-info h3 {
        text-align: center;
    }
    html[dir="rtl"] .contact-form-wrapper h3,
    html[dir="rtl"] .contact-info h3 {
        text-align: center;
    }
    .contact-info p {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .logo a { font-size: 1.5em; }
    .hero-content h1 { font-size: 2.2em; }
    .hero-content p { font-size: 1em; }
    .section-description { font-size: 1em; }
    .fixed-social-buttons { right: 20px; bottom: 20px; }
    .fixed-social-buttons a { width: 50px; height: 50px; font-size: 1.6em; }
}

/* ARAPÇA (RTL) STİLLERİ */
html[dir="rtl"] { 
    font-family: 'Poppins', sans-serif; 
}
html[dir="rtl"] h1, 
html[dir="rtl"] h2, 
html[dir="rtl"] h3, 
html[dir="rtl"] h4 { 
    font-family: 'Playfair Display', serif; 
}
html[dir="rtl"] .header-controls { 
    margin-left: 0; 
    margin-right: 20px; 
}
html[dir="rtl"] .contact-info i { 
    margin-right: 0; 
    margin-left: 15px; 
}
html[dir="rtl"] .car-features i { 
    margin-right: 0; 
    margin-left: 5px; 
}
html[dir="rtl"] .fixed-social-buttons { 
    right: auto; 
    left: 30px; 
}

@media (min-width: 993px) {
    html[dir="rtl"] nav li { 
        margin-left: 0; 
        margin-right: 30px; 
    }
    html[dir="rtl"] nav a::after { 
        left: auto; 
        right: 0; 
    }
}

@media (max-width: 992px) {
    html[dir="rtl"] nav { 
        right: auto; 
        left: 0; 
        transform: translateX(-100%); 
    }
    html[dir="rtl"] .nav-toggle:checked ~ nav { 
        transform: translateX(0); 
    }
}

@media (max-width: 480px) {
    html[dir="rtl"] .fixed-social-buttons {
        left: 20px;
    }
}
