/* =========================================================================
   ENA GROUP - TURIZM (Premium Sector Theme)
   ========================================================================= */

:root {
  --bg-dark: #070b19; /* Lüks koyu lacivert */
  --bg-darker: #03050c;
  --bg-card: rgba(255, 255, 255, 0.02);
  --gold: #D4AF37;
  --gold-bright: #F5D77A;
  --gold-dim: rgba(212, 175, 55, 0.3);
  --text-main: #F0F2F7;
  --text-muted: rgba(240, 242, 247, 0.6);
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  --glass-bg: rgba(7, 11, 25, 0.65);
  --glass-border: rgba(255, 255, 255, 0.04);
  --glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.py-20 { padding-top: 6rem; padding-bottom: 6rem; }
.py-10 { padding-top: 3rem; padding-bottom: 3rem; }
.mb-12 { margin-bottom: 3.5rem; }
.mt-4 { margin-top: 1rem; }
.text-center { text-align: center; }
.muted { color: var(--text-muted); }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }
.section-heading { font-size: 2.6rem; color: var(--gold); margin-bottom: 1.5rem; position: relative; }
.section-heading.inline-block { display: inline-block; }
.section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 1px;
  background: var(--gold);
}
.text-center .section-heading::after { left: 50%; transform: translateX(-50%); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  transition: var(--transition);
  padding: 24px 0;
}
.site-header.scrolled {
  padding: 16px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }

/* Brand */
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-serif); letter-spacing: 0.14em; text-decoration: none; color: var(--text-main);
}
.brand-mark { color: var(--gold); font-weight: 600; font-size: 1.2rem; }
.brand-divider { width: 28px; height: 1px; background: var(--gold); opacity: 0.7; }
.brand-word { font-weight: 400; font-size: 1.1rem; }

/* Navigation */
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-main); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-btn span { display: block; width: 24px; height: 1px; background: var(--text-main); margin: 6px 0; transition: 0.3s; }

/* Hero Slider */
.hero-section {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
}
.slider-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.5s ease-in-out;
  display: flex; align-items: center;
  z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }
.slide-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transform: scale(1.08); transition: transform 7s ease-out;
  background-color: #03050c;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-bg::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(3,5,12,0.85) 0%, rgba(3,5,12,0.3) 100%);
}

.slide-content {
  position: relative; z-index: 3;
  transform: translateY(40px); opacity: 0; transition: all 1s 0.5s ease-out;
}
.slide.active .slide-content { transform: translateY(0); opacity: 1; }
.slide-title { font-size: 4.5rem; margin-bottom: 12px; text-shadow: 0 4px 30px rgba(0,0,0,0.6); }
.slide-subtitle { font-size: 1.25rem; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 30px; }

.slider-controls {
  position: absolute; bottom: 40px; right: 40px; z-index: 10;
  display: flex; align-items: center; gap: 24px;
}
.slider-btn {
  background: transparent; border: 1px solid var(--glass-border);
  width: 48px; height: 48px; border-radius: 50%;
  color: var(--text-main); cursor: pointer;
  display: flex; justify-content: center; align-items: center;
  backdrop-filter: blur(4px); transition: var(--transition);
}
.slider-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(255,255,255,0.05); }
.slider-dots { display: flex; gap: 12px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer; transition: 0.3s;
}
.dot.active { background: var(--gold); transform: scale(1.5); }

.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10;
}
.mouse {
  width: 24px; height: 36px; border: 1px solid var(--text-muted); border-radius: 12px; position: relative;
}
.mouse::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
  animation: scrollAnim 2s infinite;
}
@keyframes scrollAnim {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Otellerimiz Section */
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.hotel-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.hotel-img-wrapper {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}

.hotel-img-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Dark gradient overlay so the text is highly readable */
.hotel-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(3,5,12,0.95) 0%, rgba(3,5,12,0.6) 40%, rgba(3,5,12,0.1) 100%);
  z-index: 2;
  transition: var(--transition);
}

.hotel-info {
  position: relative;
  z-index: 3;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.hotel-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.hotel-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 4px 16px;
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.05);
  transition: var(--transition);
}

/* Hover Effects */
.hotel-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

.hotel-card:hover .hotel-img-wrapper img {
  transform: scale(1.08);
}

.hotel-card:hover::after {
  background: linear-gradient(to top, rgba(212,175,55,0.2) 0%, rgba(3,5,12,0.95) 100%);
  opacity: 0.9;
}

.hotel-card:hover .hotel-title {
  color: var(--gold-bright);
}

.hotel-card:hover .hotel-badge {
  background: var(--gold);
  color: var(--bg-darker);
  border-color: var(--gold);
}

/* Footer */
.site-footer { background: #010205; padding: 40px 0 20px; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-muted); }
.back-to-portal { color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; font-weight: 500; text-decoration: none; }

/* Responsive styles */
@media (max-width: 992px) {
  .hotels-grid { grid-template-columns: repeat(2, 1fr); }
  .slide-title { font-size: 3.2rem; }
}

@media (max-width: 768px) {
  .hotels-grid { grid-template-columns: 1fr; }
  .slide-title { font-size: 2.5rem; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 250px; height: 100vh;
    background: var(--bg-darker); border-left: 1px solid var(--glass-border);
    flex-direction: column; padding: 80px 30px; transition: 0.4s;
  }
  .nav-links.active { right: 0; }
  .mobile-menu-btn { display: block; position: relative; z-index: 101; }
}
