/* ==========================================================================
   Life Style Tour — Layout Styles (Topbar, Header, Nav, Footer, WhatsApp FAB)
   ========================================================================== */

/* ==========================================================================
   Ege Tur Transfer — Unified Floating Glass Navigation (Identical to Homepage)
   ========================================================================== */

/* Floating pill navigation */
.nav-wrap {
  position: fixed;
  z-index: 80;
  inset: calc(14px + env(safe-area-inset-top, 0px)) 0 auto;
  padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  max-width: 1220px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px;
  border-radius: 999px;
  transition: background .3s, box-shadow .3s;
}
[dir="rtl"] .nav-pill { padding: 8px; }

.glass {
  background: rgba(8, 37, 42, 0.94);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(217, 184, 134, 0.32);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.glass-dark {
  background: rgba(6, 26, 30, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(217, 184, 134, 0.25);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(150deg, #0E3B43, #08252A);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.brand img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav ul a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  transition: background .2s, color .2s;
}
.nav ul a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.nav ul a[aria-current="page"] {
  background: rgba(184, 137, 74, 0.22);
  color: var(--bronze-l, #DAB98F);
}

/* Dropdown */
.nav .has-dd { position: relative; }
.nav .has-dd > a { display: inline-flex; align-items: center; gap: 5px; }
.nav .caret { width: 9px; height: 9px; transition: transform .25s ease; }
.nav .has-dd:hover .caret,
.nav .has-dd.is-open .caret { transform: rotate(180deg); }

.nav .dropdown {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  min-width: 290px;
  padding: 8px;
  margin: 0;
  list-style: none;
  border-radius: 18px;
  background: rgba(8, 37, 42, 0.96);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(217, 184, 134, 0.32);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  pointer-events: none;
  z-index: 100;
}
.nav .dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  inset-inline: -12px;
  height: 20px;
  background: transparent;
}
.nav .has-dd:hover .dropdown,
.nav .has-dd.is-open .dropdown,
.nav .has-dd:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav .dropdown li { margin: 0; padding: 0; }
.nav .dropdown a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  text-decoration: none;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  background: transparent !important;
  transition: background .2s, color .2s, transform .2s ease !important;
  white-space: nowrap;
}
.nav .dropdown a:hover {
  background: rgba(184, 137, 74, 0.20) !important;
  color: #DAB98F !important;
  transform: translateX(4px);
}
.nav .dropdown svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: #DAB98F;
  transition: transform .2s ease;
}
.nav .dropdown a:hover svg { transform: scale(1.15); }

/* Topbar */
.topbar {
  pointer-events: auto;
  max-width: 1220px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 6px 5px 20px;
  border-radius: 999px;
  font-size: 12.5px;
  max-height: 60px;
  overflow: hidden;
  transition: max-height .35s ease, opacity .3s, margin .35s ease, padding .35s ease;
}
[dir="rtl"] .topbar { padding: 5px 20px 5px 6px; }
.tb-contacts { display: flex; align-items: center; gap: 20px; }
.tb-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
}
.tb-contacts a:hover { color: #DAB98F; }
.tb-contacts svg { width: 14px; height: 14px; }
.fx-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  white-space: nowrap;
}
.fx-item b { font-weight: 800; color: #DAB98F; margin-inline-end: 4px; }
.fx-item em { font: 700 12.5px/1 monospace; font-style: normal; color: #fff; }
.fx-item { color: rgba(255, 255, 255, .75); }
.fx-sep { color: rgba(255, 255, 255, .35); }

/* Language Selector */
.langs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.langs button {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  font: 800 11px/1 var(--f-body, inherit);
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .72);
}
.langs button img { width: 16px; height: 12px; border-radius: 2px; object-fit: cover; }
.langs button[aria-pressed="true"] { background: #fff; color: #08252A; box-shadow: 0 2px 8px -2px rgba(8, 37, 42, .25); }
.langs button:focus-visible { outline: 2px solid #C99C5F; }
.nav-langs { display: none; }

/* Bronze Pill Button */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 700 14px/1 var(--f-body, inherit);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s ease, background .25s, box-shadow .25s, color .25s;
}
.pill:hover { transform: translateY(-1px); }
.pill-bronze {
  color: #fff !important;
  background: linear-gradient(180deg, #C99C5F, #A97A3E);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 30px -14px rgba(169, 122, 62, .8);
}
.pill-bronze:hover { background: linear-gradient(180deg, #D3A86B, #B0813F); }

/* Menu button (Burger) */
.menu-btn {
  all: unset;
  box-sizing: border-box;
  display: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  position: relative;
}
.menu-btn span:not(.sr) {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s;
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 25px; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.scrolled .topbar { max-height: 0; opacity: 0; margin-bottom: 0; padding-block: 0; border-width: 0; }

/* Subpage Hero and first section adjustment for floating navbar */
.page-hero,
main > .section:first-child {
  padding-top: 154px !important;
}

@media (max-width: 1100px) {
  .nav-langs { display: flex; }
  .tb-langs { display: none; }
  .topbar { justify-content: center; padding: 5px; }
  .menu-btn { display: block; }
  .nav > ul {
    position: fixed;
    inset: calc(14px + 52px + 12px + env(safe-area-inset-top, 0px)) 12px auto 12px;
    background: rgba(8, 37, 42, 0.98);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(217, 184, 134, 0.3);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    flex-direction: column;
    padding: 16px;
    display: none;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  .nav-open .nav > ul { display: flex; }
  .nav > ul a { font-size: 16px; padding: 12px 14px; }
  .nav .has-dd .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid rgba(217, 184, 134, 0.2);
    background: rgba(14, 59, 67, 0.4);
    padding: 6px;
    margin-top: 4px;
  }
}

/* Footer */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-block: 64px 28px;
  font-size: 14px;
  border-top: 2px solid rgba(174, 135, 85, 0.75);
  box-shadow: 0 -1px 0 rgba(237, 221, 201, 0.35), 0 -8px 24px -6px rgba(174, 135, 85, 0.22);
}

.footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent 0%, #886231 15%, #DFC39F 50%, #886231 85%, transparent 100%);
  pointer-events: none;
}

.f-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer img {
  height: 64px;
  width: auto;
}

.footer h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

:root[lang="ar"] .footer h4 {
  letter-spacing: 0;
  font-size: 14px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--white);
}

.f-tag {
  margin-top: 16px;
  max-width: 300px;
}

.f-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.f-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(244, 242, 237, 0.18);
  color: var(--on-dark);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.f-social svg {
  width: 17px;
  height: 17px;
}

.f-social a:hover,
.f-social a:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.f-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding-top: 22px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .f-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .f-grid {
    grid-template-columns: 1fr;
  }
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  inset-inline-end: calc(20px + env(safe-area-inset-right, 0px));
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1FAF55;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 0 20px 0 16px;
  height: 56px;
  border-radius: 999px;
  box-shadow: 0 16px 34px -10px rgba(31, 175, 85, 0.6);
}

[dir="rtl"] .wa-float {
  inset-inline-end: calc(20px + env(safe-area-inset-left, 0px));
}

.wa-float svg {
  width: 26px;
  height: 32px;
}

.wa-float:hover {
  background: #1A9B4B;
}

@media (max-width: 560px) {
  .wa-float span {
    display: none;
  }
  .wa-float {
    padding: 0;
    width: 58px;
    justify-content: center;
  }
}


/* Live Currency Ticker in Topbar */
.fx-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-board);
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 14px;
  border-radius: 999px;
  color: var(--on-dark);
  direction: ltr;
  unicode-bidi: isolate;
}

.fx-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.fx-item b {
  color: #D0A772;
  font-weight: 700;
  font-family: var(--f-body);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.fx-item em {
  font-style: normal;
  font-weight: 600;
  color: var(--white);
}

.fx-sep {
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 780px) {
  .topbar .wrap {
    justify-content: center;
    padding-block: 6px;
  }
  .fx-bar {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}

.pm-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}

.pm-credit:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer .pm-credit img {
  height: 32px;
  width: auto;
}

.pm-label {
  font-size: 13px;
  color: var(--on-dark-muted);
  letter-spacing: 0.02em;
  font-weight: 500;
  transition: color 0.2s;
}

.pm-credit:hover .pm-label {
  color: var(--white);
}

/* Ege Tur: bakır logo petrol oval zeminde (ege-logo-copper) */
.header .brand { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 999px; background: linear-gradient(150deg, #0E3B43, #08252A); }
.header .brand img { height: 46px; }
@media (max-width: 1020px) { .header .brand img { height: 38px; } }
