/* ============================================================
   YILDIZ GYO - Header Styles
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--header-height);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
}

/* Åeffaf header (hero üstünde) */
.header--transparent {
  background: transparent;
}

/* Scroll sonrası glassmorphism efekti */
.header--scrolled {
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  height: calc(var(--header-height) - 40px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
  gap: var(--space-8);
  height: calc(var(--header-height) - 40px);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   TOP BAR (ÃœST BÄ°LGÄ° Ã‡UBUÄžU)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.header__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding-inline: var(--space-6);
  max-width: var(--container-max);
  margin-inline: auto;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-base);
}

.header--scrolled .header__topbar {
  display: none; /* Scroll yapÄ±nca topbar gizlensin, sadece ana menÃ¼ kalsÄ±n */
}

.header__topbar-left, .header__topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header__topbar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
}

.header__topbar-link:hover {
  color: var(--color-gold);
}

.header__topbar-social {
  display: flex;
  gap: 6px;
  align-items: center;
}

.header__topbar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
}

.header__topbar-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-primary);
  transform: translateY(-3px);
}

.header__topbar-icon {
  width: 14px;
  height: 14px;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   LOGO
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.header__logo-img {
  height: 68px;
  width: auto;
  transition: all var(--transition-base);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.header__logo-tagline {
  font-size: var(--text-xs);
  color: var(--color-gold);
  letter-spacing: var(--tracking-luxury);
  text-transform: uppercase;
  font-weight: var(--weight-medium);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   ANA NAVİGASYON
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-gold);
  background: rgba(201,168,76,0.08);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-gold);
  border-radius: var(--radius-pill);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: calc(100% - 32px);
}

/* Dropdown chevron */
.nav__link .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-base);
}

.nav__item:hover .chevron {
  transform: rotate(180deg);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   DROPDOWN MENÜ
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 240px;
  background: rgba(13, 27, 42, 0.94);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-top: 3px solid var(--color-gold);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: var(--space-3) var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.35s;
  z-index: var(--z-dropdown);
}

.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #0d1b2a;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
  border-left: 1px solid rgba(201, 168, 76, 0.25);
  z-index: 1;
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.8);
  border-left: 3px solid transparent;
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: 2px;
  position: relative;
  z-index: 2;
}

.nav__dropdown-link:last-child {
  margin-bottom: 0;
}

.nav__dropdown-link:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--color-gold-light);
  border-left-color: var(--color-gold);
  padding-left: 20px;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   HEADER ACTIONS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-gold);
  transition: all var(--transition-base);
}

.header__phone:hover {
  color: var(--color-gold-light);
  transform: translateY(-1px);
}

.header__phone-icon {
  width: 16px;
  height: 16px;
}

.header__cta {
  padding: var(--space-2) var(--space-6);
  background: var(--gradient-gold);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   HAMBURGER BUTONU
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.header__hamburger:hover {
  background: rgba(201,168,76,0.1);
}

.hamburger__line {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  transform-origin: center;
}

/* Hamburger â†’ X animasyonu */
.header__hamburger.open .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__hamburger.open .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__hamburger.open .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
