:root {
    --primary-color: #f3c212; 
    --primary-dark: #cc9900;  
    --dark-bg: #22221f;       
    --light-bg: #fbf9f0;      
    --text-color: #3e3a30;    
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* --- NAVBAR --- */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent; 
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease-in-out;
}

#navbar.scrolled {
    background-color: var(--dark-bg);
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center; 
    padding: 0 20px;
    position: relative; 
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    margin-right: auto; 
    display: flex;
    align-items: center;
}

.logo span span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin-right: 15px; 
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- DİL SEÇİCİ (DROPDOWN) --- */
.lang-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1001;
}

.lang-dropdown .dropbtn {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    transition: color 0.3s;
    cursor: pointer;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-dropdown:hover .dropbtn {
    color: var(--primary-dark) !important; 
}

.lang-content {
    display: none;
    position: absolute;
    background-color: var(--dark-bg);
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    border-radius: 8px;
    overflow: hidden;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5px;
}

.lang-content a {
    color: var(--white) !important;
    padding: 10px 14px;
    text-decoration: none !important;
    display: block;
    text-shadow: none !important;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.lang-content a:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg) !important;
}

.lang-dropdown:hover .lang-content {
    display: block;
}

/* --- BUTONLAR VE İKONLAR --- */
.nav-cta {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s;
    text-shadow: none; 
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-cta:hover {
    background-color: var(--primary-dark);
}

.hamburger {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* --- HERO (AÇILIŞ) BÖLÜMÜ --- */
.hero {
    height: 100vh;
    min-height: 650px;
    background: url('sefo-taxi.jpg') no-repeat center bottom/cover;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 22vh;
    padding-left: 8%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34,34,31,0.85) 0%, rgba(34,34,31,0.5) 40%, rgba(34,34,31,0) 80%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    text-align: left;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: none;
}

.btn-primary {
    background-color: #25D366; 
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--white);
    background-color: rgba(34, 34, 31, 0.4);
    backdrop-filter: blur(2px);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* --- ORTAK HİZMETLER (SERVICES) BÖLÜMÜ --- */
.services {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-color);
    margin-bottom: 50px;
    opacity: 0.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(62, 58, 48, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(62, 58, 48, 0.1);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* --- GEZİLECEK YERLER SAYFASI ÖZEL KART TASARIMI --- */
.place-card {
    padding: 0;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

.place-card .place-image {
    width: 100%;
    height: 180px; 
    overflow: hidden;
    border-bottom: 3px solid var(--primary-color); 
}

.place-card .place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s ease; 
}

.place-card:hover .place-image img {
    transform: scale(1.08); 
}

.place-card .place-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.place-card .place-content h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--dark-bg);
}

.place-card .place-content p {
    color: var(--text-color);
    font-size: 0.95rem; 
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- İLETİŞİM SAYFASI ÖZEL TASARIMI --- */
.contact-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(62, 58, 48, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(62, 58, 48, 0.15);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.contact-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 220px;
}

.btn-call {
    background-color: var(--dark-bg);
    color: var(--primary-color);
    border: 2px solid var(--dark-bg);
}

.btn-call:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.btn-wa {
    background-color: #25D366;
    color: var(--white);
    border: 2px solid #25D366;
}

.btn-wa:hover {
    background-color: transparent;
    color: #25D366;
}

.qr-code {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border: 3px solid var(--light-bg);
    border-radius: 12px;
    padding: 5px;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    cursor: pointer; 
}

.contact-card:hover .qr-code {
    transform: scale(1.05); 
}

.qr-id {
    font-size: 0.85rem !important;
    color: #888 !important;
    margin-bottom: 0 !important;
    font-family: monospace;
    background: var(--light-bg);
    padding: 4px 10px;
    border-radius: 20px;
}

/* --- ARAÇ (VEHICLE) BÖLÜMÜ --- */
.vehicle {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 80px 20px;
}

.vehicle-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.vehicle-content {
    flex: 1.5;
}

.vehicle-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.vehicle-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.vehicle-features {
    list-style: none;
    margin-top: 20px;
}

.vehicle-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.vehicle-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

.vehicle-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    background-color: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(243, 194, 18, 0.2);
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* --- GALERİ VE LIGHTBOX TASARIMI --- */
.gallery-section {
    padding: 50px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-tile {
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1 / 1; 
    box-shadow: 0 5px 15px rgba(34, 34, 31, 0.1);
    position: relative;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.4s ease;
}

.gallery-tile:hover img {
    transform: scale(1.08); 
}

/* Lightbox (Popup) */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 20, 0.95); 
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border: 3px solid var(--primary-color);
    object-fit: contain; 
    animation: zoomIn 0.3s ease;
    background-color: var(--white); 
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--primary-color);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2001;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--white);
    text-decoration: none;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- FOOTER --- */
footer {
    background-color: #1a1a14; 
    color: var(--white);
    padding: 50px 20px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-info h3, .footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid #3e3e34;
    padding-top: 20px;
    color: #a0a09a;
}

/* --- RESPONSIVE (TABLET UYUMLULUK) --- */
@media (max-width: 991px) {
    .vehicle-container {
        flex-direction: column;
    }
    
    .vehicle-stats {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-box {
        flex: 1;
        min-width: 120px;
    }
}

/* --- RESPONSIVE (MOBİL UYUMLULUK) --- */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        gap: 8px;
        padding: 0 15px;
    }

    /* Mobilde sadece taksi ikonu kalsın, 'SefoTaxi' yazısı gizlensin */
    .logo {
        margin-right: 0;
        font-size: 26px;
    }

    .logo .logo-text {
        display: none !important;
    }

    /* Dil Seçici: Ortada, ferah bir alanda */
    .lang-dropdown {
        position: static;
        transform: none;
        margin: 0;
    }

    .lang-dropdown .dropbtn {
        padding: 6px 8px;
        font-size: 0.9rem;
    }

    .lang-content {
        top: 100%; 
        left: 50%;
        transform: translateX(-50%);
    }

    /* Arama Tuşu: Dil seçicinin sağına, hamburgerin soluna ferahça yerleşir */
    .nav-cta {
        display: inline-flex !important;
        padding: 7px 12px;
        font-size: 0.82rem;
        margin: 0;
    }

    .hamburger {
        display: block;
        margin-left: 0;
        padding: 5px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--dark-bg);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
        margin-right: 0;
    }
    
    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .hero {
        padding-top: 130px;
        padding-left: 5%;
        padding-right: 5%;
        background-size: 180% auto !important; 
        background-position: center bottom !important; 
        background-color: var(--dark-bg); 
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(34,34,31,1) 0%, rgba(34,34,31,0.9) 40%, rgba(34,34,31,0) 75%);
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
}

/* --- ANİMASYON --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}