/* ============================================================
   AVK Aydın Vinç Kiralama — Global Stylesheet v2.0
   Tüm sayfalarda ortak stil tanımları — bu dosyayı değiştirin,
   değişiklik tüm 64 sayfaya otomatik yansır.
   ============================================================ */

/* ─── 1. CSS Değişkenleri ─────────────────────────────────── */
:root {
    --primary-yellow: #FEF100;
    --dark-yellow:    #E5D800;
    --black:          #000000;
    --white:          #FFFFFF;
    --gray-light:     #F5F5F7;
    --gray:           #666666;
    --gray-dark:      #333333;
    --blue-accent:    #0066CC;
    --max-width:      1400px;
    --transition:     all 0.3s ease;
    --shadow-sm:      0 2px 10px rgba(0,0,0,0.07);
    --shadow:         0 5px 20px rgba(0,0,0,0.09);
    --shadow-lg:      0 10px 40px rgba(0,0,0,0.13);
    --radius:         12px;
    --radius-lg:      20px;
}

/* ─── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global image constraint */
img { max-width: 100%; height: auto; }

/* ─── 3. Temel ─────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ─── 4. Top Bar ───────────────────────────────────────────── */
.top-bar {
    background: var(--black);
    color: var(--white);
    padding: 11px 0;
    font-size: 13.5px;
}
.top-bar-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.top-bar-left {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}
.top-bar-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.82);
}
.top-bar-item i { color: var(--primary-yellow); }
.phone-highlight {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    color: var(--black);
    padding: 9px 22px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(254,241,0,0.28);
}
.phone-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254,241,0,0.42);
}

/* ─── 5. Header & Nav ──────────────────────────────────────── */
header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.logo img {
    height: 64px;
    width: auto;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text .main {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--black);
    line-height: 1.2;
}
.logo-text .sub {
    font-size: 0.72rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Nav Linkleri */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 34px;
}
.nav-links > li > a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}
.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { width: 100%; }
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--black); }

/* Mobil Menü Butonu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--gray-dark);
    padding: 5px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}
.mobile-menu-btn:hover { background: var(--gray-light); }

/* ─── 6. Dropdown Menü ─────────────────────────────────────── */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a {
    display: flex !important;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.nav-item-dropdown > a::after { display: none !important; }
.dropdown-caret {
    font-size: 9px;
    opacity: 0.6;
    display: inline-block;
    transition: transform 0.25s ease;
    line-height: 1;
}
.nav-item-dropdown:hover .dropdown-caret,
.nav-item-dropdown:focus-within .dropdown-caret { transform: rotate(180deg); }

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 200px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary-yellow);
    z-index: 9999;
    overflow: hidden;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: var(--primary-yellow);
    border-top: none;
}
.dropdown-menu a {
    display: flex !important;
    align-items: center;
    gap: 9px;
    padding: 12px 18px !important;
    color: #222 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.18s !important;
    opacity: 1 !important;
    white-space: nowrap;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--primary-yellow) !important; color: #000 !important; }
.dropdown-menu a::after { display: none !important; width: 0 !important; }
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu { display: block; }

/* ─── 7. Sayfa Hero (İç Sayfalar) ─────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1c1c1c 100%);
    color: var(--white);
    padding: 72px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(254,241,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 18px;
    line-height: 1.2;
    position: relative;
}
.page-hero p {
    font-size: 1.15rem;
    opacity: 0.82;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}
.page-hero .highlight,
.highlight { color: var(--primary-yellow); }

/* ─── 8. Bölüm Başlığı ─────────────────────────────────────── */
.section-header { margin-bottom: 50px; }
.section-header h2 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 14px;
    color: var(--gray-dark);
}
.section-header p { color: var(--gray); font-size: 1.05rem; line-height: 1.7; }

/* ─── 9. CTA Butonlar ──────────────────────────────────────── */
.cta-btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.cta-primary {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    color: var(--black);
    box-shadow: 0 8px 25px rgba(254,241,0,0.28);
}
.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(254,241,0,0.42);
}
.cta-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}
.cta-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}

/* ─── 10. Ekmek Kırıntısı (Breadcrumb) ────────────────────── */
.breadcrumb {
    max-width: var(--max-width);
    margin: 22px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    flex-wrap: wrap;
    color: var(--gray);
}
.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--primary-yellow); }
.breadcrumb span.sep { opacity: 0.45; font-size: 11px; }

/* ─── 11. Footer ───────────────────────────────────────────── */
footer {
    background: var(--black);
    color: var(--white);
    padding: 75px 20px 30px;
    margin-top: 0;
}
.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 55px;
    margin-bottom: 50px;
}
.footer-section h3 {
    color: var(--primary-yellow);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(254,241,0,0.2);
}
.footer-section p {
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 14px;
}
.footer-section ul { list-style: none; }
.footer-section ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.72);
}
.footer-section ul li i {
    color: var(--primary-yellow);
    width: 16px;
    flex-shrink: 0;
    margin-right: 6px;
}
.footer-section a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.footer-section a:hover {
    color: var(--primary-yellow);
    padding-left: 4px;
}
.social-link {
    width: 42px !important;
    height: 42px !important;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
    flex-shrink: 0;
    padding: 0 !important;
    gap: 0 !important;
}
.social-link:hover {
    background: var(--primary-yellow) !important;
    color: var(--black) !important;
    transform: translateY(-3px);
    padding-left: 0 !important;
}
.social-link i { pointer-events: none; }
.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.48);
    font-size: 13.5px;
    line-height: 1.9;
}

/* ─── 12. Yüzen Butonlar ───────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 80px;
    right: 22px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(37,211,102,0.45);
    transition: transform 0.25s, box-shadow 0.25s;
}
.wa-float:hover {
    transform: scale(1.12);
    color: #fff;
    box-shadow: 0 6px 24px rgba(37,211,102,0.58);
}
#backToTop {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 9998;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-yellow);
    color: var(--black);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.22);
    transition: transform 0.25s, opacity 0.25s;
}
#backToTop.visible { display: flex; }
#backToTop:hover { transform: translateY(-3px); }

/* ─── 13. Mobil Alt Aksiyon Barı ───────────────────────────── */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9997;
    background: var(--black);
    border-top: 2px solid var(--primary-yellow);
    padding: 10px 16px;
    gap: 10px;
}
.mobile-action-bar a {
    flex: 1;
    padding: 11px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.mobile-action-bar .bar-call {
    background: var(--primary-yellow);
    color: var(--black);
}
.mobile-action-bar .bar-wa {
    background: #25D366;
    color: #fff;
}

/* ─── 14. Responsive ───────────────────────────────────────── */
@media (max-width: 1200px) {
    .nav-links { gap: 24px; }
    .footer-content { gap: 40px; }
}
@media (max-width: 1024px) {
    .footer-content { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
    /* ── Mobil menü (dropdown aşağı açılır) ── */
    header { position: sticky; top: 0; z-index: 1000; }
    nav { position: relative; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #fff;
        padding: 12px 16px 18px;
        box-shadow: 0 12px 35px rgba(0,0,0,0.13);
        z-index: 10000;
        gap: 4px;
        border-top: 2px solid var(--primary-yellow);
    }
    .nav-links.active { display: flex; }
    .nav-links > li { width: 100%; }
    .nav-links > li > a {
        display: block !important;
        padding: 10px 12px !important;
        font-size: 15px !important;
        border-radius: 8px !important;
        border-bottom: none !important;
        width: 100%;
    }
    .nav-links > li > a:hover { background: #f5f5f5 !important; }
    .nav-links > li > a::after { display: none !important; }
    .mobile-menu-btn { display: block !important; }
    /* Dropdown içinde */
    .nav-item-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border-top: none !important;
        border-left: 3px solid var(--primary-yellow) !important;
        margin: 0 0 4px 14px !important;
        background: #f8f8f8 !important;
        padding-top: 0 !important;
        display: none;
    }
    .nav-item-dropdown.open .dropdown-menu { display: block !important; }
    .dropdown-menu::before, .dropdown-menu::after { display: none !important; }
    .dropdown-menu a {
        padding: 9px 14px !important;
        font-size: 13.5px !important;
        border-bottom: 1px solid #e8e8e8 !important;
    }
}
@media (max-width: 768px) {
    .top-bar-content { flex-direction: column; text-align: center; gap: 8px; }
    .top-bar-left { justify-content: center; gap: 14px; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .mobile-action-bar { display: flex; }
    body { padding-bottom: 62px; }
    .page-hero { padding: 55px 18px; }
    .page-hero h1 { font-size: 2rem; }
    .page-hero p { font-size: 1.02rem; }
    .section-header h2 { font-size: 1.9rem; }
    .logo img { height: 54px; }
    .logo-text .main { font-size: 1.25rem; }
}
@media (max-width: 480px) {
    nav { padding: 12px 14px; }
    .logo img { height: 46px; }
    .logo-text .main { font-size: 1.1rem; }
    .logo-text .sub { font-size: 0.65rem; }
    .page-hero { padding: 46px 14px; }
    .page-hero h1 { font-size: 1.7rem; }
    .footer-content { gap: 26px; }
}
