/* ================================================================
   GEZIBILET — PREMIUM HOMEPAGE STYLES
   Hero, City Slider, Tour Cards, Categories, Tabs, Trust, Testimonials
   ================================================================ */

/* === HOMEPAGE DESIGN TOKENS === */
:root {
  --hz-primary: #e3291c;
  --hz-primary-hover: #c41e14;
  --hz-bg-dark: #0a0f0c;
  --hz-bg-dark-2: #0f1a14;
  --hz-surface: rgba(255,255,255,0.06);
  --hz-surface-border: rgba(255,255,255,0.12);
  --hz-text-white: #ffffff;
  --hz-text-secondary: rgba(255,255,255,0.75);
  --hz-text-muted: rgba(255,255,255,0.5);
  --hz-gold: #d4a853;
  --hz-card-bg: #ffffff;
  --hz-card-text: #1a1a1a;
  --hz-light-bg: #f5f6f8;
  --hz-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --hz-font-hero: 'Poppins', 'Inter', sans-serif;
}
body { background-color: #f8fafc; }

/* ================================================================
   SECTION 1: HERO — Full Viewport Dark Premium
   ================================================================ */
.hero-section {
  position: relative; width: 100%; min-height: 0; height: 72vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; background: var(--hz-bg-dark);
}
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(0.60) saturate(1.1); }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,15,12,0.35) 0%, rgba(10,15,12,0.6) 50%, rgba(10,15,12,0.92) 100%);
  z-index: 2;
}
.hero-agent-badge {
  display: none;
}
.hero-content {
  position: relative; z-index: 5; text-align: center; width: 100%;
  max-width: 780px; padding: 0 24px; margin-top: -20px;
}
.hero-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--hz-gold);
  margin-bottom: 20px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: inline-block; width: 28px; height: 1px;
  background: var(--hz-gold); vertical-align: middle; margin: 0 14px; opacity: 0.5;
}
.hero-title {
  font-family: var(--hz-font-hero); font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 700; color: var(--hz-text-white); margin-bottom: 14px;
  letter-spacing: -0.02em; line-height: 1.15;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: 0.95rem; color: var(--hz-text-secondary); max-width: 460px;
  margin: 0 auto 22px; line-height: 1.6; font-weight: 400;
}

/* City Selector Button (Glassmorphism) */
.city-select-wrapper { position: relative; display: inline-block; margin-bottom: 0; }
.city-select-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 36px; border-radius: 9999px; border: 1px solid var(--hz-surface-border);
  background: var(--hz-surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: var(--hz-text-white); font-size: 1.05rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s var(--hz-ease);
  font-family: var(--hz-font-hero);
}
.city-select-btn i.fa-location-dot { color: var(--hz-primary); font-size: 1.1rem; }
.city-select-btn .chevron { font-size: 0.7rem; opacity: 0.6; transition: transform 0.3s var(--hz-ease); }
.city-select-btn:hover {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.city-select-wrapper.is-open .city-select-btn {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.35);
}
.city-select-wrapper.is-open .chevron { transform: rotate(180deg); }

/* City Dropdown */
.city-dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  min-width: 300px; background: rgba(15,26,20,0.95); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 8px; opacity: 0; visibility: hidden;
  transition: all 0.3s var(--hz-ease); z-index: 100;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5); max-height: 360px; overflow-y: auto;
}
.city-select-wrapper.is-open .city-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.city-dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px;
  border-radius: 12px; color: rgba(255,255,255,0.8); font-size: 0.95rem;
  font-weight: 500; transition: all 0.2s var(--hz-ease); text-decoration: none;
}
.city-dropdown a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.city-dropdown a i { color: var(--hz-primary); font-size: 0.85rem; width: 20px; text-align: center; }

/* Hero Bottom: City Pill Slider */
.hero-city-slider {
  position: absolute; bottom: 50px; left: 0; width: 100%; z-index: 5;
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  overflow: hidden;
}
.hero-city-track {
  display: flex; gap: 12px; width: max-content;
  animation: heroMarquee 30s linear infinite; will-change: transform;
}
.hero-city-slider:hover .hero-city-track { animation-play-state: paused; }
.hero-city-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 9999px; font-size: 0.88rem; font-weight: 600;
  white-space: nowrap; transition: all 0.3s var(--hz-ease); cursor: pointer;
  text-decoration: none; flex-shrink: 0;
  background: transparent; border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.85);
}
.hero-city-pill:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); color: #fff;
}
.hero-city-pill.is-active {
  background: var(--hz-primary); border-color: var(--hz-primary); color: #fff;
  box-shadow: 0 4px 20px rgba(227,41,28,0.45);
}
.hero-city-pill .pill-dot {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.6;
}
@keyframes heroMarquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* Hero Curve Transition — removed for flat edge */
.hero-curve { display: none; }
.hero-curve svg { display: none; }

/* ================================================================
   SECTION 2 & 3: TOUR CAROUSELS
   ================================================================ */
.tour-showcase {
  padding: 40px 0 36px; background: #fff; position: relative;
}
.tour-showcase + .tour-showcase { padding-top: 16px; }
.tour-showcase--alt { background: var(--hz-light-bg); }
.tour-showcase__container {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
}
.tour-showcase__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.tour-showcase__title {
  font-family: var(--hz-font-hero); font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700; color: #0f172a; letter-spacing: -0.02em;
}
.tour-showcase__see-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 600; color: var(--hz-primary);
  text-decoration: none; transition: all 0.3s var(--hz-ease);
}
.tour-showcase__see-all:hover { gap: 10px; }
.tour-showcase__see-all i { font-size: 0.75rem; transition: transform 0.3s; }
.tour-showcase__see-all:hover i { transform: translateX(3px); }

/* Tour Carousel Wrapper */
.tour-carousel { position: relative; }
.tour-carousel__track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}

/* Tour Card — Premium redesign for homepage */
.tour-showcase .tl-card {
  border-radius: 18px; border: 1px solid #eef1f6;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.tour-showcase .tl-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: #dde3ed;
}
.tour-showcase .tl-card-img { border-radius: 18px 18px 0 0; aspect-ratio: 4/3; }
.tour-showcase .tl-card:hover .tl-card-img img { transform: scale(1.06); }

/* ================================================================
   SECTION 4: CATEGORIES — PREMIUM PORTRAIT CARDS
   ================================================================ */
.category-grid-section {
  padding: 80px 0; background: var(--hz-light-bg);
}
.category-grid-header {
  text-align: center; margin-bottom: 48px;
}
.category-grid-header h2 {
  font-family: var(--hz-font-hero); font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; color: #0f172a; letter-spacing: -0.02em;
}
.category-grid-header p {
  font-size: 1rem; color: #64748b; margin-top: 10px; font-weight: 400;
}
.category-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
}
.category-card {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 3/4; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.category-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--hz-ease);
}
.category-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
  z-index: 2; transition: background 0.4s var(--hz-ease);
}
.category-card:hover img { transform: scale(1.08); }
.category-card:hover::after {
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.85) 100%);
}
.category-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.2); transform: translateY(-6px); }
.category-card-label {
  position: absolute; bottom: 24px; left: 24px; right: 60px; z-index: 3;
  font-family: var(--hz-font-hero); font-size: 1.25rem; font-weight: 700;
  color: #fff; line-height: 1.3;
}
.category-card-arrow {
  position: absolute; bottom: 24px; right: 24px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.85rem; opacity: 0; transform: translateX(-8px);
  transition: all 0.4s var(--hz-ease);
}
.category-card:hover .category-card-arrow { opacity: 1; transform: translateX(0); }
.category-card-gold-border {
  position: absolute; inset: 0; z-index: 4; border-radius: 24px;
  border: 2px solid transparent; transition: border-color 0.4s var(--hz-ease); pointer-events: none;
}
.category-card:hover .category-card-gold-border { border-color: var(--hz-gold); }

/* ================================================================
   SECTION 5: TABBED SHOWCASE (Gezibilet Öneriyor)
   ================================================================ */
.tab-section { padding: 80px 0; background: #fff; }
.tab-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px; border-bottom: 2px solid #f1f5f9; padding-bottom: 12px;
}
.tab-title-area { display: flex; flex-direction: column; gap: 4px; }
.tab-main-title {
  font-family: var(--hz-font-hero); font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700; color: #0f172a;
}
.tab-sub-title {
  font-size: 0.8rem; font-weight: 700; color: var(--hz-primary);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.tab-nav { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.tab-item {
  padding: 10px 0; font-size: 0.92rem; font-weight: 600; color: #94a3b8;
  cursor: pointer; position: relative; transition: all 0.3s;
}
.tab-item::after {
  content: ''; position: absolute; bottom: -14px; left: 0;
  width: 0; height: 3px; background: var(--hz-primary);
  border-radius: 2px; transition: width 0.3s var(--hz-ease);
}
.tab-item.active { color: #0f172a; }
.tab-item.active::after { width: 100%; }
.tab-item:hover { color: #475569; }
.tab-content-wrapper { min-height: 380px; }
.tab-pane { display: none; animation: hzFadeIn 0.4s ease; }
.tab-pane.active { display: block; }
.no-tab-results {
  grid-column: 1/-1; text-align: center; padding: 80px 0;
  color: #94a3b8; font-size: 1rem;
}
.tab-footer { margin-top: 48px; text-align: center; }
@keyframes hzFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   TRUST SECTION
   ================================================================ */
.trust-section { padding: 60px 0 80px; background: var(--hz-light-bg); position: relative; }
.trust-header { text-align: center; margin-bottom: var(--space-12); }
.trust-badge {
  display: inline-flex; align-items: center; padding: 6px 16px;
  background: var(--red-50); color: var(--red-600); font-size: 12px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: var(--radius-full); margin-bottom: var(--space-4);
}
.trust-title {
  font-family: var(--hz-font-hero); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; color: var(--gray-900); letter-spacing: -0.02em; margin-bottom: var(--space-3);
}
.trust-subtitle { font-size: 15px; color: var(--gray-500); max-width: 500px; margin: 0 auto; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6);
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
}
.trust-card {
  background: var(--white); border-radius: 16px; padding: var(--space-8) var(--space-6);
  text-align: center; border: 1px solid var(--gray-200);
  transition: all var(--transition); position: relative; overflow: hidden;
}
.trust-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--hz-primary); transform: scaleX(0); transition: transform var(--transition);
}
.trust-card:hover::before { transform: scaleX(1); }
.trust-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.trust-card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  background: var(--red-50); color: var(--hz-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin: 0 auto var(--space-5);
}
.trust-card h3 {
  font-family: var(--hz-font-hero); font-size: 16px; font-weight: 700;
  color: var(--gray-900); margin-bottom: var(--space-2);
}
.trust-card p { font-size: 13.5px; color: var(--gray-500); line-height: 1.6; }
.middle-divider {
  position: absolute; bottom: -1px; left: 0; width: 100%;
  overflow: hidden; line-height: 0; z-index: 10;
}
.middle-divider svg { position: relative; display: block; width: 100%; height: 40px; }
.middle-divider .shape-fill { fill: #fff; }

/* ================================================================
   TESTIMONIALS SLIDER
   ================================================================ */
.testimonials-section { padding: 60px 0; background: #fff; overflow: hidden; }
.testimonials-header { text-align: center; margin-bottom: var(--space-10); }
.testimonials-slider-wrapper {
  width: 100%; margin-top: 0;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.testimonials-track {
  display: flex; gap: 24px; width: max-content;
  animation: scrollTestimonials 55s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes scrollTestimonials { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.testimonial-card {
  width: 370px; background: #fff; padding: 28px; border-radius: 20px;
  border: 1px solid #f1f5f9; box-shadow: 0 6px 20px rgba(0,0,0,0.03);
  flex-shrink: 0; display: flex; flex-direction: column; gap: 14px;
  transition: all 0.3s ease;
}
.testimonial-card:hover { border-color: var(--hz-primary); box-shadow: 0 16px 40px rgba(227,41,28,0.08); }
.testimonial-stars { color: #f59e0b; font-size: 14px; display: flex; gap: 2px; }
.testimonial-text {
  font-size: 14px; line-height: 1.65; color: #475569;
  font-style: italic; min-height: 60px; flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid #f1f5f9; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.testimonial-author-info h4 { font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 2px; }
.testimonial-author-info p { font-size: 12px; color: #64748b; }

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.hz-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--hz-ease), transform 0.7s var(--hz-ease);
}
.hz-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
  .tour-carousel__track { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero-section { height: 65vh; }
  .hero-city-slider { bottom: 44px; }
  .tour-carousel__track { grid-template-columns: repeat(2, 1fr); }
  .tab-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tab-nav { width: 100%; overflow-x: auto; padding-bottom: 8px; gap: 20px; }
  .tab-item { white-space: nowrap; }
}
@media (max-width: 768px) {
  .hero-section { height: 58vh; }
  .hero-content { margin-top: -10px; }
  .hero-title { font-size: clamp(1.6rem, 5.5vw, 2.2rem); }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-agent-badge { display: none; }
  .hero-city-slider { bottom: 32px; }
  .city-select-btn { padding: 12px 24px; font-size: 0.9rem; }
  .city-dropdown { min-width: 260px; }
  .tour-showcase { padding: 36px 0 24px; }
  .tour-showcase__title { font-size: 1.3rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .category-card-label { font-size: 1.05rem; bottom: 18px; left: 18px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-title { font-size: 1.4rem; }
  .testimonial-card { width: 300px; padding: 22px; }
}
@media (max-width: 480px) {
  .hero-section { height: 52vh; }
  .hero-eyebrow { font-size: 0.7rem; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 16px; margin: 0 8px; }
  .tour-carousel__track { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tour-showcase__container { padding: 0 16px; }
  .category-grid { padding: 0 16px; }
  .category-card-label { font-size: 0.95rem; }
  .category-card-arrow { width: 34px; height: 34px; }
}
@media (max-width: 380px) {
  .tour-carousel__track { grid-template-columns: 1fr; }
}