/* =========================================
   ALTURA – PRO NEON UI SYSTEM
   Block Theme / Bit Theme Compatible
   ========================================= */

/* ---------- RENK DEĞİŞKENLERİ ---------- */
:root {
    --neon-blue: #3b82f6;
    --neon-blue-glow: rgba(59, 130, 246, 0.55);
    --neon-beige: #f5f0e6;
    --neon-dark: #0f172a;
}

/* ======================================
   ÜST MENÜ – ANA LİNKLER
   ====================================== */

.wp-block-navigation-item__content {
    position: relative;
    font-weight: 600;
    color: var(--neon-dark) !important;
    padding: 10px 18px;
    border-radius: 12px;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

/* Hover – neon hissi */
.wp-block-navigation-item__content:hover {
    background: linear-gradient(
        135deg,
        var(--neon-blue),
        #60a5fa
    );
    color: #ffffff !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.2) inset,
        0 10px 30px var(--neon-blue-glow);
}

/* ======================================
   DROPDOWN – ALT MENÜLER
   ====================================== */

.wp-block-navigation__submenu-container {
    background: linear-gradient(
        180deg,
        #ffffff,
        var(--neon-beige)
    ) !important;
    border-radius: 16px;
    padding: 12px 0;
    min-width: 260px;
    box-shadow:
        0 25px 60px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Dropdown item */
.wp-block-navigation__submenu-container
.wp-block-navigation-item__content {
    background: transparent !important;
    color: var(--neon-dark) !important;
    padding: 14px 22px;
    margin: 6px 10px;
    border-radius: 12px;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* 🔥 Dropdown hover – NEON */
.wp-block-navigation__submenu-container
.wp-block-navigation-item__content:hover {
    background: linear-gradient(
        135deg,
        var(--neon-blue),
        #2563eb
    ) !important;
    color: #ffffff !important;
    transform: translateX(6px);
    box-shadow:
        0 10px 30px var(--neon-blue-glow);
}

/* ======================================
   BUTONLAR – TÜM ANASAYFA
   ====================================== */

.wp-block-button__link,
.wp-element-button {
    background: linear-gradient(
        135deg,
        var(--neon-blue),
        #1d4ed8
    ) !important;
    color: #ffffff !important;
    border-radius: 18px;
    padding: 14px 28px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: none !important;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
    box-shadow:
        0 12px 30px var(--neon-blue-glow);
}

/* 🔥 Buton hover – ışık efekti */
.wp-block-button__link:hover,
.wp-element-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(
        135deg,
        #60a5fa,
        var(--neon-blue)
    ) !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.3) inset,
        0 20px 50px var(--neon-blue-glow);
}

/* ======================================
   OUTLINE BUTONLAR (varsa)
   ====================================== */

.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--neon-blue) !important;
    border: 2px solid var(--neon-blue) !important;
    box-shadow: none;
}

.is-style-outline .wp-block-button__link:hover {
    background: var(--neon-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 15px 40px var(--neon-blue-glow);
}

/* ======================================
   MOBİL OPTİMİZASYON (GENEL)
   ====================================== */

@media (max-width: 768px) {
    .wp-block-navigation-item__content {
        padding: 10px 14px;
    }

    .wp-block-button__link {
        padding: 12px 22px;
        border-radius: 16px;
    }
}

/* =========================================
   ALTURA – TOP MENU BUTTON STYLE
   (üst seviye menü başlıkları)
   ========================================= */

/* Sadece üst seviye menü başlıkları */
.wp-block-navigation__container
> .wp-block-navigation-item.has-child
> .wp-block-navigation-item__content {

    background: linear-gradient(
        135deg,
        rgba(56, 189, 248, 0.18),
        rgba(56, 189, 248, 0.08)
    );
    border: 1.5px solid rgba(56, 189, 248, 0.45);
    border-radius: 999px;

    color: #0ea5e9 !important;
    font-weight: 700;
    letter-spacing: 0.4px;

    padding: 10px 22px;
    font-size: inherit;

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.15) inset,
        0 0 18px rgba(56, 189, 248, 0.35);

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

/* Hover'da ışık biraz artsın */
.wp-block-navigation__container
> .wp-block-navigation-item.has-child
> .wp-block-navigation-item__content:hover {

    background: linear-gradient(
        135deg,
        rgba(56, 189, 248, 0.28),
        rgba(56, 189, 248, 0.12)
    );

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.25) inset,
        0 0 28px rgba(56, 189, 248, 0.55);
}

/* Menü açıkken (aktif durumda) */
.wp-block-navigation-item.is-open
> .wp-block-navigation-item__content {

    background: linear-gradient(
        135deg,
        rgba(56, 189, 248, 0.32),
        rgba(56, 189, 248, 0.14)
    );

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.3) inset,
        0 0 32px rgba(56, 189, 248, 0.6);
}

/* =========================================
   ALTURA – MOBILE MENU SPACING FIX
   Sadece mobil | Block Navigation
   ========================================= */

@media (max-width: 768px) {

    /* ÜST SEVİYE MENÜ (HİZMETLER / PAKETLER) */
    .wp-block-navigation__responsive-container
    .wp-block-navigation-item.has-child
    > .wp-block-navigation-item__content {
        margin-bottom: 12px;
    }

    /* ALT MENÜ KAPSAYICI */
    .wp-block-navigation__responsive-container
    .wp-block-navigation__submenu-container {
        margin-top: 10px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    /* ALT MENÜ ÖĞELERİ */
    .wp-block-navigation__responsive-container
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content {
        margin: 6px 0;
        padding: 12px 18px;
        border-radius: 14px;
        background: rgba(56, 189, 248, 0.08);
    }

    /* ALT MENÜLER ARASI NET AYRIM */
    .wp-block-navigation__responsive-container
    .wp-block-navigation-item.has-child {
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        margin-bottom: 16px;
    }
}

/* =========================================
   ALTURA – MOBILE TYPOGRAPHY & SCALE SYSTEM
   Profesyonel mobil görünüm
   ========================================= */

@media (max-width: 768px) {

  body {
    font-size: 15px;
    line-height: 1.55;
  }

  h1, .wp-block-heading.has-x-large-font-size {
    font-size: clamp(1.6rem, 6vw, 2rem);
    line-height: 1.25;
  }

  h2, .wp-block-heading.has-large-font-size {
    font-size: clamp(1.35rem, 5vw, 1.7rem);
    line-height: 1.3;
  }

  h3 {
    font-size: clamp(1.15rem, 4.5vw, 1.4rem);
    line-height: 1.35;
  }

  p,
  .wp-block-paragraph {
    font-size: 0.95rem;
    line-height: 1.6;
    word-break: normal;
    hyphens: auto;
  }

  .wp-block-columns {
    gap: 20px;
  }

  .wp-block-column {
    flex-basis: 100% !important;
  }

  .wp-block-cover,
  .wp-block-group.has-background {
    padding: 24px !important;
    border-radius: 20px;
  }

  .wp-block-button__link,
  .wp-element-button {
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 16px;
  }

  ul.wp-block-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
  }

  .wp-block-image img,
  .wp-block-cover img,
  .wp-block-cover video {
    max-height: 60vh;
    object-fit: cover;
  }

  .wp-block-group,
  .wp-block-columns,
  section {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
  }
}
/* =========================================
   ALTURA – PRO NEON UI SYSTEM
   Block Theme / Bit Theme Compatible
   ========================================= */

/* ---------- RENK DEĞİŞKENLERİ ---------- */
:root {
    --neon-blue: #3b82f6;
    --neon-blue-glow: rgba(59, 130, 246, 0.55);
    --neon-beige: #f5f0e6;
    --neon-dark: #0f172a;
}

/* ======================================
   ÜST MENÜ – ANA LİNKLER
   ====================================== */

.wp-block-navigation-item__content {
    position: relative;
    font-weight: 600;
    color: var(--neon-dark) !important;
    padding: 10px 18px;
    border-radius: 12px;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

/* Hover – neon hissi */
.wp-block-navigation-item__content:hover {
    background: linear-gradient(
        135deg,
        var(--neon-blue),
        #60a5fa
    );
    color: #ffffff !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.2) inset,
        0 10px 30px var(--neon-blue-glow);
}

/* ======================================
   DROPDOWN – ALT MENÜLER
   ====================================== */

.wp-block-navigation__submenu-container {
    background: linear-gradient(
        180deg,
        #ffffff,
        var(--neon-beige)
    ) !important;
    border-radius: 16px;
    padding: 12px 0;
    min-width: 260px;
    box-shadow:
        0 25px 60px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Dropdown item */
.wp-block-navigation__submenu-container
.wp-block-navigation-item__content {
    background: transparent !important;
    color: var(--neon-dark) !important;
    padding: 14px 22px;
    margin: 6px 10px;
    border-radius: 12px;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* 🔥 Dropdown hover – NEON */
.wp-block-navigation__submenu-container
.wp-block-navigation-item__content:hover {
    background: linear-gradient(
        135deg,
        var(--neon-blue),
        #2563eb
    ) !important;
    color: #ffffff !important;
    transform: translateX(6px);
    box-shadow:
        0 10px 30px var(--neon-blue-glow);
}

/* ======================================
   BUTONLAR – TÜM ANASAYFA
   ====================================== */

.wp-block-button__link,
.wp-element-button {
    background: linear-gradient(
        135deg,
        var(--neon-blue),
        #1d4ed8
    ) !important;
    color: #ffffff !important;
    border-radius: 18px;
    padding: 14px 28px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: none !important;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
    box-shadow:
        0 12px 30px var(--neon-blue-glow);
}

/* 🔥 Buton hover – ışık efekti */
.wp-block-button__link:hover,
.wp-element-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(
        135deg,
        #60a5fa,
        var(--neon-blue)
    ) !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.3) inset,
        0 20px 50px var(--neon-blue-glow);
}

/* ======================================
   OUTLINE BUTONLAR (varsa)
   ====================================== */

.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--neon-blue) !important;
    border: 2px solid var(--neon-blue) !important;
    box-shadow: none;
}

.is-style-outline .wp-block-button__link:hover {
    background: var(--neon-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 15px 40px var(--neon-blue-glow);
}

/* ======================================
   MOBİL OPTİMİZASYON (GENEL)
   ====================================== */

@media (max-width: 768px) {
    .wp-block-navigation-item__content {
        padding: 10px 14px;
    }

    .wp-block-button__link {
        padding: 12px 22px;
        border-radius: 16px;
    }
}

/* =========================================
   ALTURA – TOP MENU BUTTON STYLE
   (üst seviye menü başlıkları)
   ========================================= */

/* Sadece üst seviye menü başlıkları */
.wp-block-navigation__container
> .wp-block-navigation-item.has-child
> .wp-block-navigation-item__content {

    background: linear-gradient(
        135deg,
        rgba(56, 189, 248, 0.18),
        rgba(56, 189, 248, 0.08)
    );
    border: 1.5px solid rgba(56, 189, 248, 0.45);
    border-radius: 999px;

    color: #0ea5e9 !important;
    font-weight: 700;
    letter-spacing: 0.4px;

    padding: 10px 22px;
    font-size: inherit;

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.15) inset,
        0 0 18px rgba(56, 189, 248, 0.35);

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

/* Hover'da ışık biraz artsın */
.wp-block-navigation__container
> .wp-block-navigation-item.has-child
> .wp-block-navigation-item__content:hover {

    background: linear-gradient(
        135deg,
        rgba(56, 189, 248, 0.28),
        rgba(56, 189, 248, 0.12)
    );

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.25) inset,
        0 0 28px rgba(56, 189, 248, 0.55);
}

/* Menü açıkken (aktif durumda) */
.wp-block-navigation-item.is-open
> .wp-block-navigation-item__content {

    background: linear-gradient(
        135deg,
        rgba(56, 189, 248, 0.32),
        rgba(56, 189, 248, 0.14)
    );

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.3) inset,
        0 0 32px rgba(56, 189, 248, 0.6);
}

/* =========================================
   ALTURA – MOBILE MENU SPACING FIX
   Sadece mobil | Block Navigation
   ========================================= */

@media (max-width: 768px) {

    /* ÜST SEVİYE MENÜ (HİZMETLER / PAKETLER) */
    .wp-block-navigation__responsive-container
    .wp-block-navigation-item.has-child
    > .wp-block-navigation-item__content {
        margin-bottom: 12px;
    }

    /* ALT MENÜ KAPSAYICI */
    .wp-block-navigation__responsive-container
    .wp-block-navigation__submenu-container {
        margin-top: 10px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    /* ALT MENÜ ÖĞELERİ */
    .wp-block-navigation__responsive-container
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content {
        margin: 6px 0;
        padding: 12px 18px;
        border-radius: 14px;
        background: rgba(56, 189, 248, 0.08);
    }

    /* ALT MENÜLER ARASI NET AYRIM */
    .wp-block-navigation__responsive-container
    .wp-block-navigation-item.has-child {
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        margin-bottom: 16px;
    }
}

/* =========================================
   ALTURA – MOBILE TYPOGRAPHY & SCALE SYSTEM
   Profesyonel mobil görünüm
   ========================================= */

@media (max-width: 768px) {

  body {
    font-size: 15px;
    line-height: 1.55;
  }

  h1, .wp-block-heading.has-x-large-font-size {
    font-size: clamp(1.6rem, 6vw, 2rem);
    line-height: 1.25;
  }

  h2, .wp-block-heading.has-large-font-size {
    font-size: clamp(1.35rem, 5vw, 1.7rem);
    line-height: 1.3;
  }

  h3 {
    font-size: clamp(1.15rem, 4.5vw, 1.4rem);
    line-height: 1.35;
  }

  p,
  .wp-block-paragraph {
    font-size: 0.95rem;
    line-height: 1.6;
    word-break: normal;
    hyphens: auto;
  }

  .wp-block-columns {
    gap: 20px;
  }

  .wp-block-column {
    flex-basis: 100% !important;
  }

  .wp-block-cover,
  .wp-block-group.has-background {
    padding: 24px !important;
    border-radius: 20px;
  }

  .wp-block-button__link,
  .wp-element-button {
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 16px;
  }

  ul.wp-block-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
  }

  .wp-block-image img,
  .wp-block-cover img,
  .wp-block-cover video {
    max-height: 60vh;
    object-fit: cover;
  }

  .wp-block-group,
  .wp-block-columns,
  section {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
  }
}

/* =========================================
   ALTURA – MOBILE HEADER + MENU (MERGED)
   Değerler DEĞİŞMEDİ | Çakışmalar giderildi
   + Android text fix
   + Gerçek fullscreen height
   ========================================= */

@media (max-width: 768px) {

  /* ======================================
     HEADER – MODERN CAM + GÖLGE (NORMAL)
     ====================================== */

  header,
  .wp-site-blocks > .wp-block-group:first-child {
    position: sticky;
    top: 0;
    z-index: 999;

    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88),
      rgba(255, 255, 255, 0.62)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(15, 23, 42, 0.10);

    box-shadow:
      0 10px 28px rgba(15, 23, 42, 0.18),
      0 2px 8px rgba(15, 23, 42, 0.08);
  }

  /* LOGO ARKASI PANEL */
  .wp-block-site-logo {
    padding: 6px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.35);
    box-shadow:
      0 6px 18px rgba(15, 23, 42, 0.10);
  }

  /* ======================================
     MENÜ BUTONU (ANDROID FIX)
     ====================================== */

  .wp-block-navigation__responsive-container-open {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: 999px;

    padding: 6px 8px; /* ✅ SADECE BURASI DARALTILDI */

    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.35px;
    text-transform: uppercase;

    color: #1d4ed8;

    box-shadow:
      0 0 0 1px rgba(255,255,255,0.6) inset,
      0 6px 16px rgba(59, 130, 246, 0.22);

    transition:
      background 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.15s ease;
  }

  .wp-block-navigation__responsive-container-open svg {
    display: none !important;
  }

  .wp-block-navigation__responsive-container-open::after {
    content: "MENÜ";
    display: block;
    line-height: 1;
  }

  .wp-block-navigation__responsive-container-open:active {
    background: #f8fafc;
    box-shadow:
      0 4px 12px rgba(59, 130, 246, 0.28);
    transform: translateY(1px);
  }

  /* ======================================
     🔧 ANDROID ÖZEL: MENÜ YAZISI KÜÇÜLT
     (iOS ETKİLENMEZ)
     ====================================== */

  @supports not (-webkit-touch-callout: none) {
    .wp-block-navigation__responsive-container-open {
      font-size: 0.75rem;
    }
  }

  /* ======================================
     MENÜ AÇIK DURUMU (OVERRIDE)
     ====================================== */

  body:has(.wp-block-navigation__responsive-container.is-menu-open)
  header,
  body:has(.wp-block-navigation__responsive-container.is-menu-open)
  .wp-site-blocks > .wp-block-group:first-child {
    position: static !important;
    top: auto !important;

    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    box-shadow: none !important;
    border-bottom: none !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    inset: 0 !important;

    width: 100vw;
    height: 100vh !important;
    height: 100dvh !important;

    background: #ffffff;
    z-index: 10000;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content {
    min-height: 100%;
    padding-bottom: 32px;
    padding-top: env(safe-area-inset-top);
  }
}

/* =========================================
   ALTURA – MOBILE MENU CLOSE BUTTON (MODERN)
   Sadece X butonu | Menü davranışı değişmez
   ========================================= */

@media (max-width: 768px) {

  /* Kapatma butonunun kendisi */
  .wp-block-navigation__responsive-container-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.25);

    box-shadow:
      0 6px 18px rgba(15, 23, 42, 0.18),
      0 0 0 1px rgba(255,255,255,0.6) inset;

    transition:
      background 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.15s ease;
  }

  /* X ikonunun kendisi (SVG) */
  .wp-block-navigation__responsive-container-close svg {
    width: 18px;
    height: 18px;
  }

  .wp-block-navigation__responsive-container-close svg path {
    stroke: #1d4ed8;
    stroke-width: 2;
  }

  /* Dokunma / hover hissi */
  .wp-block-navigation__responsive-container-close:active {
    background: #f8fafc;
    transform: scale(0.95);
    box-shadow:
      0 4px 12px rgba(15, 23, 42, 0.22);
  }
}

/* =========================================
   ALTURA – MOBILE MENU CLOSE BUTTON
   Sağ üst | 12px üst – 16px sağ boşluk
   ========================================= */

@media (max-width: 768px) {

  /* Menü AÇIKKEN X butonu */
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-close {

    position: fixed !important;

    top: 12px !important;      /* üst panel mesafesi */
    right: 16px !important;   /* yan panel mesafesi */
    left: auto !important;
    bottom: auto !important;

    margin: 0 !important;
    z-index: 10001;            /* menünün üstünde */
  }
}







