/* MAIN CSS (moved from style.css) */
/* =========================================================
   LOCAL FONT: Google Sans (place files in /assets/fonts/)
   - You said you will upload font files. Keep names as below.
   ========================================================= */
@font-face{
  font-family:"Google Sans";
  src:
    url("../fonts/GoogleSans-Regular.woff2") format("woff2"),
    url("../fonts/GoogleSans-Regular.woff") format("woff");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Google Sans";
  src:
    url("../fonts/GoogleSans-Medium.woff2") format("woff2"),
    url("../fonts/GoogleSans-Medium.woff") format("woff");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Google Sans";
  src:
    url("../fonts/GoogleSans-Bold.woff2") format("woff2"),
    url("../fonts/GoogleSans-Bold.woff") format("woff");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

/* Global font override */
:root{ --avro-font:"Google Sans", system-ui, -apple-system, "Segoe UI", "Google Sans", Arial, sans-serif; }
html, body{ font-family: var(--avro-font); }

/* --- ORİJİNAL CSS (BİREBİR) --- */
:root {
    --avro-blue: #003366; 
    --avro-orange: #003366; 
    --dark-blue: #2c3e50;
    --light-gray: #f9f9f9;
    --whatsapp-green: #25d366;
    --fb-color: #1877F2;
    --ig-color: #E4405F;
    --tk-color: #000000;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--avro-font); }
body { background-color: #ffffff; }

/* --- TOP BAR (FINAL / TEK PARÇA) --- */
.top-bar{
  background:#0b1b42; /* her cihaz koyu mavi */
  border-bottom:1px solid rgba(255,255,255,.12);
  padding:6px 8%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:13px;
  color:rgba(255,255,255,.92);

  flex-wrap:nowrap;         /* 2 sıraya düşmesin */
  white-space:nowrap;       /* kırılmasın */
  overflow:hidden;          /* taşanı kes */
}

.top-bar .contact-info{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:nowrap;         /* wrap kapalı */
  min-width:0;
}

.top-bar .contact-info span{
  margin:0;                 /* margin-right yok */
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  color:rgba(255,255,255,.92);
}

/* İKONLAR SVG */
.top-bar .contact-info svg{
  color:#fff;
  margin-right:6px;
  width:16px;
  height:16px;
  vertical-align:middle;
  fill: currentColor;
  flex-shrink:0;
}

.social-icons{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}

.social-icons a{
  width:28px;
  height:28px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:14px;
  transition:.3s;
  text-decoration:none;
}

.social-icons a svg{
  width:14px;
  height:14px;
  fill: currentColor;
  display:block;
}

.social-icons a.fb{ background: var(--fb-color); }
.social-icons a.ig{ background: var(--ig-color); }
.social-icons a.tk{ background: var(--tk-color); }

.social-icons a:hover{ transform: translateY(-3px); opacity:.85; }

/* MOBİLDE KESİNLİKLE GÖRÜNSÜN (başka yerde display:none olsa da) */
@media (max-width: 992px){
  .top-bar{
    display:flex !important;
    padding:8px 5%;
    font-size:12.5px;
  }
}

/* MOBİL: gmail gizle (ekrandaki gibi genelde ilk span e-posta) */
@media (max-width: 768px){
  .top-bar .contact-info span:first-child{ display:none; }
}
/* --- Main Header --- */
header {
    background: #fff;
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 5000;
}
.logo img { height: 55px; width: auto; display: block; }
.main-nav { display: flex; list-style: none; }
.main-nav li a {
    text-decoration: none; color: var(--dark-blue);
    padding: 10px 15px; font-weight: 600; font-size: 15px; transition: 0.3s;
}
.main-nav li:last-child a { padding-right: 0; }
.main-nav li a:hover { color: var(--avro-orange); }

/* --- Hamburger / X İkonu --- */
.mobile-toggle {
    display: none;
    width: 30px; height: 25px;
    position: relative;
    cursor: pointer;
    z-index: 4000;
}
.mobile-toggle span {
    display: block; position: absolute;
    height: 3px; width: 100%;
    background: var(--avro-blue);
    transition: .25s ease-in-out;
}
.mobile-toggle span:nth-child(1) { top: 0px; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { top: 18px; }

.mobile-toggle.open { 
    position: fixed !important; 
    right: 20px; 
    top: 20px; 
    z-index: 99999 !important; 
}
.mobile-toggle.open span { 
    background: #003366 !important;
}
.mobile-toggle.open span:nth-child(1) { top: 10px; transform: rotate(135deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; left: -60px; }
.mobile-toggle.open span:nth-child(3) { top: 10px; transform: rotate(-135deg); }

/* --- Mobil Menü Overlay --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: -100%;
    width: 300px; height: 100%;
    background: #fff;
    z-index: 3500;
    transition: 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
}
.mobile-menu-overlay.active { left: 0; }

.mobile-nav-links { list-style: none; margin-bottom: 25px; }
.mobile-nav-links li { border-bottom: 1px solid #f1f1f1; display: flex; align-items: center; }
.mobile-nav-links li svg { width: 20px; height: 20px; margin-right: 15px; fill: var(--avro-orange); }
.mobile-nav-links li a {
    display: block; padding: 15px 0;
    text-decoration: none; color: var(--avro-blue);
    font-weight: 600; flex: 1;
}

.mobile-social { 
    display: flex; gap: 12px; 
    padding-top: 10px;
    justify-content: flex-start; 
}
.mobile-social a { 
    width: 35px; height: 35px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    color: white; font-size: 18px; text-decoration: none; 
}
/* Mobil sosyal ikonlar SVG ise */
.mobile-social a svg{
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}
.mobile-social a.fb { background: var(--fb-color); }
.mobile-social a.ig { background: var(--ig-color); }
.mobile-social a.tk { background: var(--tk-color); }

.overlay-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    display: none;
    z-index: 3000;
}
.overlay-bg.active { display: block; }

/* --- Hareketli İletişim Butonları --- */
.fixed-contact {
    position: fixed;
    bottom: 20px; right: 20px;
    display: flex; flex-direction: column;
    gap: 12px; z-index: 9999;
    transition: transform 0.3s ease, bottom 0.3s ease;
}
.btn-call, .btn-whatsapp {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 24px; text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: var(--whatsapp-green);
    animation: pulse 2s infinite;
}
/* Buton ikonları SVG ise */
.btn-call svg, .btn-whatsapp svg{
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: block;
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Footer --- */
footer {
    background-color: #0b1b42;
    color: #fff;
    padding: 40px 10% 5px;
    position: relative;
}
footer::before {
    content: ""; position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: #ffffff;
    opacity: 0.8;
}
.footer-content {
    display: grid; 
    grid-template-columns: repeat(4, 1fr);
    gap: 30px; 
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

/* Footer başlıkları artık H2 */
.footer-section h2 { 
    margin-bottom: 10px;
    font-size: 18px; 
    color: #fff; 
    position: relative; 
    padding-bottom: 6px;
    white-space: nowrap;
    line-height: 1.15;
}

/* Kırmızı vurgu çizgisi */
.footer-section h2::after { 
    content: ""; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 34px; 
    height: 2px; 
    background: #B22222;
}

.footer-section p { font-size: 14px; line-height: 1.6; color: #f0f0f0; }
.footer-links { list-style: none; }
.footer-links li a { color: #f0f0f0; text-decoration: none; font-size: 14px; transition: 0.3s; display: flex; align-items: center; margin-bottom: 10px; }
.footer-links li a:hover { color: #fff; transform: translateX(5px); }

.contact-item { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 12px; 
}
/* İKONLAR SVG */
.contact-item svg { 
    margin-right: 12px; 
    color: #fff; 
    width: 18px;
    height: 18px;
    margin-top: 4px;
    flex-shrink: 0; 
    transform: scaleX(-1); 
    display: inline-block;
    fill: currentColor;
}
.contact-item p { margin: 0; font-size: 14px; color: #f0f0f0; }

.footer-bottom { 
    text-align: center; 
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 13px; 
    color: #f0f0f0; 
    margin-top: 0px;
}
.footer-bottom a { color: #ffffff; text-decoration: none; font-weight: bold; }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 992px) {
    .main-nav, .top-bar { display: none; }
    header { padding: 5px 5%; }
    .mobile-toggle { display: block; }
    .logo img { height: 35px; }
    .fixed-contact { bottom: 20px; right: 15px; }
    .footer-content { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
}

/* Mobil menüdeki (overlay içindeki) logo alanını kapat */
.mobile-menu-overlay .logo,
.mobile-menu-overlay .mobile-logo,
.mobile-menu-overlay .menu-logo,
.mobile-menu-overlay .mobile-menu-logo,
.mobile-menu-overlay .site-logo,
.mobile-menu-overlay img[alt*="logo" i] {
    display: none !important;
}

/* Logo gidince üstte boşluk kalmasın */
.mobile-menu-overlay {
    padding-top: 50px !important;
}

/* =========================================================
   MOBİL HEADER + MENÜ GÜZELLEŞTİRME (SADECE OVERRIDE)
========================================================= */

@media (max-width: 992px) {

    /* Header daha dengeli */
    header { 
        padding: 10px 16px !important; 
        gap: 10px;
    }

    /* Hamburger butonu modern */
    .mobile-toggle{
        width: 44px !important;
        height: 44px !important;
        background: rgba(0, 51, 102, 0.06);
        border: 1px solid rgba(0,0,0,0.06);
        display: block;
        position: relative;
    }

    /* çizgileri ortala */
    .mobile-toggle span{
        width: 22px;
        left: 11px;
        transition: all 0.3s ease-in-out;
    }
    .mobile-toggle span:nth-child(1) { top: 14px; }
    .mobile-toggle span:nth-child(2) { top: 20px; }
    .mobile-toggle span:nth-child(3) { top: 26px; }

    /* Open iken sabit ve şık */
    .mobile-toggle.open{
        right: 14px !important;
        top: 14px !important;
        background: #fff;
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        border: 1px solid rgba(0,0,0,0.08);
    }

    /* X dönüşümü */
    .mobile-toggle.open span:nth-child(1){
        top: 20px !important;
        transform: rotate(135deg);
    }

    /* Orta çubuğun kalıntısını yok eden kesin çözüm */
    .mobile-toggle.open span:nth-child(2){
        opacity: 0 !important;
        transform: translateX(-60px) !important;
        visibility: hidden !important;
    }

    .mobile-toggle.open span:nth-child(3){
        top: 20px !important;
        transform: rotate(-135deg);
    }

    /* Menü SAĞDAN gelsin*/
    .mobile-menu-overlay{
        left: auto !important;
        right: -110%;
        width: min(88vw, 360px);
        height: 100%;
        z-index: 6000;
        padding: 18px 16px !important;
        padding-top: 70px !important; 
        border-top-left-radius: 18px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.12);
        border-left: 1px solid rgba(0,0,0,0.06);
        transition: 0.35s cubic-bezier(0.77,0.2,0.05,1.0);
    }

    .mobile-menu-overlay.active{
        right: 0;
    }

    /* Overlay önde, toggle en önde */
    .overlay-bg{ z-index: 5500; }

    /* Menü linklerini kartlaştır */
    .mobile-nav-links{
        margin-bottom: 14px;
    }

    .mobile-nav-links li{
        border-bottom: none !important;
        background: #fff;
        border: 1px solid rgba(0,0,0,0.06);
        padding: 0 12px;
        margin-bottom: 10px;
        box-shadow: 0 8px 18px rgba(0,0,0,0.04);
    }

    .mobile-nav-links li svg{
        margin-right: 12px;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        opacity: 0.9;
    }

    .mobile-nav-links li a{
        padding: 14px 0 !important;
        font-weight: 700;
        letter-spacing: 0.2px;
    }

    /* Sosyal ikonlar biraz daha dolgun */
    .mobile-social a{
        box-shadow: 0 10px 18px rgba(0,0,0,0.08);
    }

    /* Menü açıkken scroll kilidi (JS body class ekliyor) */
    body.menu-open{
        overflow: hidden;
    }
}

#fixedContact { will-change: transform; }

/* =========================================================
   DESKTOP OVERRIDE (SADECE İSTENEN)
   - Üst bar tema mavisi
   - Masaüstü header'ı dikeyde daralt
========================================================= */
@media (min-width: 993px){

  /* Üst barı tema mavisi yap */
  .top-bar{
      background: #021930e4 !important;
      border-bottom-color: rgba(255,255,255,0.12) !important;
      color: rgba(255,255,255,0.92) !important;
  }
  .top-bar .contact-info span{ color: rgba(255,255,255,0.92) !important; }
  .top-bar .contact-info svg{ color: #ffffff !important; }
  .social-icons a{ box-shadow: 0 6px 14px rgba(0,0,0,0.12); }

  /* Header'ı aşağıdan-yukarı daralt (yüksekliği azalt) */
  header{
      padding-top: 6px !important;
      padding-bottom: 6px !important;
  }
  .logo img{ height: 42px; } /* biraz küçült */
  .main-nav li a{ padding-top: 8px; padding-bottom: 8px; }
}


/* ===== CTA ===== */
.avro-cta{
  position: relative;
  padding: 20px 0; /* <=20 */
  color:#fff;
  text-align:center;
  overflow:hidden;
}
.avro-cta__bg{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(26,43,86,.88), rgba(26,43,86,.88)),
    url('https://www.avronakliyat.com/wp-content/uploads/2026/02/nakliyat-kamyonu.webp');
  background-size: cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment: fixed;
}
.avro-cta .avro-container{ position:relative; z-index: 1; padding: 0 20px; }
.avro-cta h2{
  margin: 0 0 10px 0;
  font-size: 34px;
  font-weight: 800; /* 1000 -> 800 */
  text-transform: uppercase;
  letter-spacing: .3px;
}
.avro-cta p{
  margin: 0 auto 14px auto;
  max-width: 900px;
  line-height: 1.7;
  font-weight: 650;
  color: rgba(255,255,255,.92);
}
.avro-cta__btns{ display:flex; gap: 12px; flex-wrap: wrap; justify-content:center; }

/* CTA içindeki butonları her sayfada garanti et */
.avro-cta .avro-cta__btns a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 18px;
  min-width:240px;
  text-decoration:none !important;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.3px;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.12); /* şeffaf buton */
}

/* HERO'DAKİ MAVİ BUTON AYNI */
.avro-cta .avro-cta__btns a.avro-btn--primary{
  background:#3b82f6; /* hero buton rengi */
  border-color:#3b82f6;
}

/* hover */
.avro-cta .avro-cta__btns a.avro-btn--primary{
  background:#2F6EA5;
  border-color:#2F6EA5;
}

.avro-cta .avro-cta__btns a:hover{
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.avro-cta__btns svg{
  width:18px;
  height:18px;
  flex-shrink:0;
}

.avro-cta__btns a{
  align-items:center;
}

.avro-cta__btns svg{
  fill: currentColor;
}