/* =============================================
   ÖLÜDENIZ HOSTEL — Mediterranean Editorial
   ============================================= */

:root {
  --white:      #FAFAF8;
  --aegean:     #1A3A4A;
  --sand:       #C8A96E;
  --terra:      #D4704A;
  --fog:        #E8E4DC;
  --ink:        #1A1A1A;
  --gray:       #555555;
  --radius:     8px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body, main, .booking-strip, .wizard-container {
  background-image: none !important;
  background-color: #fdfbf7 !important;
}
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── LANG SWITCHER (DROPDOWN WITH FLAGS) ── */
.lang-switcher {
  position: fixed;
  top: 18px; right: 24px;
  z-index: 9999;
}
.lang-current {
  background: rgba(26,58,74,0.85);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-current img { width: 28px; height: 20px; object-fit: cover; border-radius: 2px; }
.lang-current:hover { background: rgba(26,58,74,1); }

.lang-dropdown {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: rgba(26,58,74,0.95);
  padding: 12px;
  border-radius: 8px;
  margin-top: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.lang-dropdown.show { display: flex; }
.lang-btn {
  cursor: pointer;
  opacity: 0.65;
  transition: opacity var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-btn img { width: 28px; height: 20px; object-fit: cover; border-radius: 2px; }
.lang-btn:hover, .lang-btn.active { opacity: 1; transform: scale(1.15); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: background var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(26,58,74,0.96);
  padding: 14px 48px;
  backdrop-filter: blur(12px);
}
.navbar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.navbar-links {
  display: flex;
  gap: 36px;
  list-style: none;
  padding-right: 60px; /* Prevents overlap with lang switcher */
}
.navbar-links a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color var(--transition);
}
.navbar-links a:hover { color: var(--sand); }
.nav-home-icon img { height: 36px !important; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 65vh;
  background: linear-gradient(150deg, #0e2530 0%, #1a3a4a 45%, #2e6a8a 80%, #7fb4cc 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 48px 80px;
  overflow: hidden;
  gap: 20px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(26,58,74,0.0) 0%, rgba(14,37,48,0.5) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 30; /* High z-index so text stays above the left-most postcard */
  flex: 1;
  max-width: 500px;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
  font-weight: 500;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 1.08;
  color: white;
  margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--sand); }
.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.95);
  font-weight: 400;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--terra);
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.hero-cta:hover { background: #c05e39; transform: translateY(-2px); }

/* ── POSTCARDS (SHIFTED LEFT, SPREAD OUT) ── */
.postcards-area {
  position: relative;
  flex: 1;
  min-height: 550px;
  max-width: 800px;
  z-index: 10;
  transform: translateX(-25%);
}
.postcard {
  position: absolute;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.2);
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.4s ease;
}
.postcard:hover {
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.3);
  z-index: 25 !important; /* Stays under text (z-index 30) even on hover */
}
.postcard img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.postcard-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(to top, rgba(26,58,74,0.9) 0%, transparent 100%);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: white;
  font-weight: 400;
  pointer-events: none;
}

/* Shifted heavily to the left, more padding between them */
.pc1 { width: 280px; height: 350px; top: 160px; left: -280px; transform: rotate(-12deg); z-index: 3; }
.pc2 { width: 300px; height: 370px; top: 30px;  left: -40px;  transform: rotate(6deg);   z-index: 4; }
.pc3 { width: 270px; height: 340px; top: 190px; left: 190px;  transform: rotate(-5deg);  z-index: 5; }
.pc4 { width: 310px; height: 380px; top: 50px;  left: 420px;  transform: rotate(12deg);  z-index: 2; }
.pc5 { width: 290px; height: 360px; top: 150px; left: 620px;  transform: rotate(-8deg);  z-index: 6; }

.pc1:hover { transform: rotate(-2deg) scale(1.08) translateY(-10px); }
.pc2:hover { transform: rotate(2deg)  scale(1.08) translateY(-10px); }
.pc3:hover { transform: rotate(4deg)  scale(1.08) translateY(-10px); }
.pc4:hover { transform: rotate(-1deg) scale(1.08) translateY(-10px); }
.pc5:hover { transform: rotate(1deg)  scale(1.08) translateY(-10px); }

/* ── BOOKING STRIP (SAND BACKGROUND) ── */
.wizard-container, #step-4, #step2, .room-card {
  background-color: transparent !important;
}

.iti__tel-input, #phone {
  padding-left: 90px !important;
}
.iti__country-list {
  max-width: 300px;
  white-space: normal;
}

.room-card img {
  width: 35%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.booking-strip label,
.booking-strip select,
.booking-strip input {
  font-weight: bold !important;
  font-size: 1.2em !important;
}

.booking-strip {
  background-image: none !important;
  background-color: #fdfbf7 !important;
  max-width: 1100px;
  margin: -60px auto 40px auto;
  position: relative;
  z-index: 100;
}
.booking-strip-inner {
  background-image: url('assets/images/booking_panel/sand.jpg') !important;
  background-size: cover;
  background-position: center;
  padding: 30px 48px !important;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 40px 0 #fff;
  margin-bottom: 40px;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.booking-field { flex: 1; min-width: 130px; }
.booking-field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aegean);
  font-weight: 600;
  margin-bottom: 8px;
}
.booking-field input,
.booking-field select {
  background: var(--white);
  border: 2px solid rgba(26,58,74,0.1);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  transition: border var(--transition);
}
.booking-field input:focus,
.booking-field select:focus { outline: none; border-color: var(--terra); }
.booking-btn {
  padding: 14px 32px;
  background: var(--terra);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition);
}
.booking-btn:hover { background: #c05e39; }

.wizard-buttons button.secondary-btn {
  padding: 14px 32px;
  font-size: 1.1rem;
  height: auto;
}

/* ── SECTIONS ── */
.section { padding: 80px 48px; max-width: 1200px; margin: 0 auto; }
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
  display: block;
  font-weight: 600;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--aegean);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-body {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 520px;
  line-height: 1.85;
  font-weight: 400;
}
.hairline { border: none; border-top: 1px solid #ddd; margin: 0 48px; }

/* ── ABOUT SPLIT ── */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-stack { position: relative; height: 500px; }
.about-image-stack img:first-child {
  width: 78%; height: 400px; object-fit: cover; border-radius: var(--radius);
}
.about-image-stack img:last-child {
  position: absolute; bottom: 0; right: 0;
  width: 52%; height: 250px;
  object-fit: cover; border-radius: var(--radius);
  border: 6px solid var(--white);
}
.about-stat { display: flex; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid #ddd; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 400; color: var(--aegean); line-height: 1; }
.stat-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-top: 4px; }

/* ── PULL QUOTE ── */
.pull-quote-section { background: var(--fog); padding: 80px 48px; text-align: center; }
.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--aegean);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}
.pull-quote-attr { margin-top: 18px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); }

/* ── EXPLORE GRID (2 ROWS, 3 COLUMNS) ── */
.explore-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  grid-template-rows: repeat(2, 240px); 
  gap: 20px; 
  max-width: 1000px; 
  margin: 0 auto 100px auto; 
}
.explore-card { position: relative; overflow: hidden; border-radius: 12px; cursor: default; }
.explore-card:first-child { 
  grid-column: span 1; 
  grid-row: span 2; 
}
.explore-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.explore-card:hover img { transform: scale(1.05); }
.explore-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,58,74,0.8) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 24px;
}
.explore-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: white;
  font-weight: 400;
}

/* ── EXPLORE PAGE FEATURES ── */
.explore-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; margin-bottom: 80px;
}
.explore-feature.reverse { direction: rtl; }
.explore-feature.reverse > * { direction: ltr; }
.explore-feature img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); }
.explore-feature-text .section-title { font-size: 2.2rem; margin-bottom: 14px; }
.explore-feature-text p { color: var(--gray); line-height: 1.85; font-size: 1.1rem; }

/* ── TRANSPORT CARDS ── */
.transport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.transport-card {
  padding: 36px; background: var(--fog);
  border-radius: var(--radius); border-left: 4px solid var(--sand);
}
.transport-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.8rem;
  color: var(--aegean); margin-bottom: 12px;
}
.transport-card p { color: var(--gray); font-size: 1.1rem; line-height: 1.8; }
.map-frame { border-radius: var(--radius); overflow: hidden; height: 420px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ── HAKKIMIZDA ── */
.scattered-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.scattered-gallery img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); }
.scattered-gallery img:first-child { grid-column: span 2; height: 450px; }

/* ── SUBPAGE HERO ── */
.hero-sub-page {
  position: relative; min-height: 50vh; 
  overflow: hidden; display: flex; align-items: flex-end; padding-bottom: 80px;
}
.hero-sub-page .hero-bg { position: absolute; inset: 0; }
.hero-sub-page .hero-bg img { 
  width: 100%; height: 100%; object-fit: cover; 
  object-position: center 30%; 
}
.hero-sub-page .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,58,74,0.2) 0%, rgba(26,58,74,0.75) 100%);
}
.hero-sub-page .hero-content { position: relative; z-index: 2; padding: 0 48px; max-width: 900px; }
.hero-sub-page .hero-title { font-size: clamp(2.8rem, 5vw, 4.5rem); }

/* ── FOOTER ── */
.footer-section { background: var(--aegean); padding: 80px 48px; }
.footer-content {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 2.2rem; font-weight: 400;
  color: white; margin-bottom: 24px;
}
.footer-info p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 12px; }
.footer-info a { text-decoration: none; }
.footer-info a p:hover { color: var(--sand); }
.footer-copy {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em;
}
.footer-image img { width: 100%; height: 350px; object-fit: cover; border-radius: var(--radius); opacity: 0.9; }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .pc1 { width: 240px; height: 300px; top: 160px; left: -180px; }
  .pc2 { width: 260px; height: 320px; top: 40px;  left: 20px; }
  .pc3 { width: 230px; height: 290px; top: 180px; left: 200px; }
  .pc4 { width: 270px; height: 330px; top: 50px;  left: 380px; }
  .pc5 { width: 250px; height: 310px; top: 150px; left: 560px; }
}
@media (max-width: 1000px) {
  .postcards-area { min-height: 400px; }
  .pc1 { width: 200px; height: 250px; top: 120px; left: -120px; }
  .pc2 { width: 220px; height: 270px; top: 20px;  left: 40px; }
  .pc3 { width: 190px; height: 240px; top: 140px; left: 180px; }
  .pc4 { width: 230px; height: 280px; top: 30px;  left: 320px; }
  .pc5 { width: 210px; height: 260px; top: 110px; left: 480px; }
}
@media (max-width: 860px) {
  .hero { flex-direction: column; padding: 120px 24px 60px; align-items: flex-start; }
  .postcards-area { width: 100%; min-height: 350px; margin-top: 20px; }
  .pc1 { width: 160px; height: 200px; top: 80px; left: -10px; }
  .pc2 { width: 180px; height: 220px; top: 0px;  left: 90px; }
  .pc3 { width: 150px; height: 190px; top: 100px; left: 200px; }
  .pc4 { width: 190px; height: 230px; top: 10px;  left: 300px; }
  .pc5 { width: 170px; height: 210px; top: 90px; left: 430px; }
  
  .navbar { padding: 16px 24px; }
  .navbar.scrolled { padding: 12px 24px; }
  .booking-strip { padding: 24px; margin: -40px 24px 40px 24px; }
  .section { padding: 64px 24px; }
  .hairline { margin: 0 24px; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-image-stack { height: 320px; }
  .explore-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .explore-card:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; }
  .explore-feature { grid-template-columns: 1fr; gap: 32px; }
  .explore-feature.reverse { direction: ltr; }
  .transport-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 40px; }
  .footer-image { display: none; }
  .pull-quote-section { padding: 60px 24px; }
}
@media (max-width: 600px) {
  .navbar-links { display: none; }
  .hero-title { font-size: 3rem; }
  .booking-strip-inner { flex-direction: column; }
  .booking-field { min-width: 100%; max-width: 100% !important; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-card:first-child { grid-column: span 1; }
  .scattered-gallery img:first-child { height: 220px; }
  
  .pc1 { width: 130px; height: 160px; top: 60px; left: -10px; }
  .pc2 { width: 140px; height: 170px; top: 0px;  left: 60px; }
  .pc3 { width: 120px; height: 150px; top: 80px; left: 140px; }
  .pc4 { width: 150px; height: 180px; top: 10px; left: 210px; }
  .pc5 { width: 130px; height: 160px; top: 70px; left: 300px; }
}

.iti { width: 100%; display: block; }

/* BRUTE FORCE PHONE DROPDOWN OVERRIDES */
.iti { width: 100% !important; display: block !important; }
.iti__flag-container {
    width: 140px !important;
}
.iti__selected-flag {
    padding: 0 30px !important;
    width: 140px !important;
    justify-content: center !important;
    background-color: #f0f0f0 !important;
    border-right: 2px solid #ccc !important;
}
.iti__flag {
    transform: scale(1.8) !important;
    margin-right: 15px !important;
}
.iti__arrow {
    transform: scale(3) !important;
    margin-left: 20px !important;
    border-top-color: #000 !important;
}
.iti__tel-input, #phone {
    padding-left: 160px !important;
}