/*
 * Hotel Europa Flatsome Child v3.5
 * Amaç: Flatsome Theme Options renk/font/buton ayarlarını ezmeden Hotel Europa
 * kısa kodlarına hafif yerleşim desteği vermek.
 */
:root {
  --he-primary: var(--primary-color, #d6ad63);
  --he-soft-bg: var(--light-color, #f7f2ea);
  --he-card-bg: #fff;
  --he-muted: #6d7684;
  --he-radius: 22px;
  --he-shadow: 0 18px 50px rgba(0, 0, 0, .10);
}

/* v3.5: Header, logo ve menü stiline dokunmuyoruz.
 * Menü fontu, renkleri, spacing, underline/button gibi ayarlar artık Flatsome > Theme Options tarafından yönetilir.
 * E-ticaret sepet/hesap/top bar alanlarını CSS ile gizlemek yerine Flatsome Header Builder'dan kaldırın.
 */

.he-flatsome-note {
  padding: 18px 20px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--he-primary) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--he-primary) 30%, transparent);
}

/* Başlık bileşeni: font ve renkleri Flatsome/global ayarlardan miras alır. */
.he-europa-title {
  margin: 0 auto 32px;
  max-width: 900px;
}
.he-europa-title--center { text-align: center; }
.he-europa-title--left { text-align: left; margin-left: 0; }
.he-europa-title--right { text-align: right; margin-right: 0; }
.he-europa-title__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--he-primary);
  font-family: inherit;
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}
.he-europa-title h2,
.he-europa-title .he-europa-title__main {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.he-europa-title p {
  margin: 16px auto 0;
  max-width: 760px;
  color: var(--he-muted);
  font-size: clamp(16px, 1.5vw, 20px);
}
.he-europa-title--left p { margin-left: 0; }
.he-europa-title--right p { margin-right: 0; }

/* Butonlar Flatsome primary rengini kullanır; Flatsome butonları değişince bunlar da yaklaşır. */
.he-europa-button,
.he-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.he-europa-button:hover,
.he-btn:hover { transform: translateY(-1px); }
.he-europa-button--primary,
.he-btn--primary {
  background: var(--he-primary);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--he-primary) 28%, transparent);
}
.he-europa-button--dark { background: currentColor; color: #fff; }
.he-europa-button--outline {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

/* Görsel kart */
.he-europa-card,
.he-room-card,
.he-gallery-card,
.he-guestbook-form,
.he-map-embed,
.he-guestbook-card {
  border-radius: var(--he-radius);
  background: var(--he-card-bg);
  box-shadow: var(--he-shadow);
  overflow: hidden;
}
.he-europa-card__image,
.he-room-card__image,
.he-gallery-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.he-europa-card__body,
.he-room-card__body { padding: 22px; }
.he-europa-card__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--he-primary);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.he-europa-card h3,
.he-room-card h3 {
  margin: 0 0 10px;
  color: inherit;
  font-family: inherit;
}
.he-europa-card p,
.he-room-card p { margin: 0 0 14px; color: var(--he-muted); }

/* Rezervasyon alanı: HotelRunner iç CSS'ine karışmaz. */
.he-booking-card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 20px;
  border-radius: var(--he-radius);
  background: rgba(255,255,255,.95);
  box-shadow: var(--he-shadow);
  overflow: visible;
}
.he-booking-card--none,
.he-ux-booking-section .he-booking-card--none {
  width: fit-content;
  max-width: min(100%, 760px);
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.he-booking-card--compact { padding: 10px; border-radius: 18px; }
.he-booking-card .he-hotelrunner-embed,
.he-booking-card .he-hotelrunner-frame-wrap,
.he-booking-card #hr_search_widget,
.he-booking-raw-shell {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Demo form yalnızca HotelRunner kodu yokken görünür. */
.he-booking-demo {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
}
.he-booking-demo label {
  display: block;
  margin-bottom: 6px;
  color: var(--he-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.he-booking-demo input,
.he-booking-demo select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
}
.he-booking-demo .he-booking-field { padding: 14px 16px; border-right: 1px solid rgba(0,0,0,.08); background:#fff; }
.he-booking-note { margin: 12px 0 0; text-align:center; color: var(--he-muted); font-size: 13px; }

/* Oda, galeri, konuk defteri gridleri */
.he-room-grid,
.he-gallery-grid { display: grid; gap: 24px; }
.he-room-grid--2,
.he-gallery-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.he-room-grid--3,
.he-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.he-room-grid--4,
.he-gallery-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.he-gallery-grid--mobile-2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.he-room-card { display: flex; flex-direction: column; height: 100%; }
.he-room-card__body { display: flex; flex-direction: column; flex: 1; }
.he-room-card__meta { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.he-room-card__meta span { border-radius:999px; background:var(--he-soft-bg); padding:7px 10px; font-size:13px; }
.he-room-card__actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; }
.he-gallery-card { position: relative; display:block; }
.he-gallery-card__caption { position:absolute; left:0; right:0; bottom:0; padding:42px 18px 16px; color:#fff; background:linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0)); }
.he-gallery-card__caption h3 { margin:0 0 4px; color:#fff; font-size:20px; }
.he-gallery-card__caption p { margin:0; color:rgba(255,255,255,.86); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.he-map-embed iframe,
.he-map-embed img { width:100%; min-height:380px; object-fit:cover; border:0; display:block; }
.he-guestbook-form { padding:28px; }
.he-guestbook-form label { display:block; margin-bottom:7px; font-weight:700; }
.he-guestbook-form input,
.he-guestbook-form select,
.he-guestbook-form textarea { width:100%; border:1px solid rgba(0,0,0,.14); border-radius:12px; padding:12px 14px; margin-bottom:14px; background:#fff; }
.he-guestbook-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.he-guestbook-card { padding:24px; }
.he-stars { color:var(--he-primary); letter-spacing:2px; }

/* Hotel Europa kurulumuyla gelen eski hazır ana sayfa blokları için hafif layout. */
.he-ux-hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
  background-image: linear-gradient(90deg, rgba(7,27,50,.55), rgba(7,27,50,.25)), url('../img/hero-europa-beach.jpg');
  background-size: cover;
  background-position: center;
}
.he-ux-hero .section-content,
.he-ux-hero .row { width: 100%; }
.he-ux-hero .he-hero-content {
  max-width: 1020px;
  margin: 0 auto;
  padding: 140px 16px 110px;
  text-align: center;
  color: #fff;
}
.he-hero-eyebrow { margin:0 0 18px; font-family:inherit; font-style:italic; font-size:clamp(24px,3vw,40px); color:rgba(255,255,255,.92); }
.he-hero-title { margin:0; font-family:inherit; font-size:clamp(44px,5.2vw,84px); line-height:1.05; color:#fff; letter-spacing:-.02em; text-shadow:0 8px 30px rgba(0,0,0,.26); }
.he-hero-text { margin:22px auto 28px; max-width:780px; color:rgba(255,255,255,.94); font-size:clamp(18px,1.8vw,24px); }
.he-hero-actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.he-ux-booking-section { position:relative; z-index:5; margin-top:-80px; margin-bottom:60px; background:transparent; }
.he-ux-booking-section .he-booking-card { width:fit-content; max-width:min(92vw,720px); padding:18px; }
.he-ux-section { padding: 80px 0; }
.he-ux-feature-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin-top:30px; }
.he-ux-feature { padding:28px; border-radius:var(--he-radius); background:#fff; box-shadow:var(--he-shadow); }
.he-ux-split-image img { border-radius:28px; box-shadow:var(--he-shadow); }

@media (max-width: 849px) {
  .he-room-grid,
  .he-room-grid--2,
  .he-room-grid--3,
  .he-room-grid--4,
  .he-gallery-grid,
  .he-gallery-grid--2,
  .he-gallery-grid--3,
  .he-gallery-grid--4,
  .he-guestbook-grid,
  .he-ux-feature-list { grid-template-columns: 1fr; }
  .he-gallery-grid--mobile-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .he-booking-card { width: min(100%, 92vw); padding: 16px; border-radius: 20px; }
  .he-booking-card--none { max-width: 96vw; }
  .he-booking-demo { grid-template-columns: 1fr; }
  .he-booking-demo .he-booking-field { border-right:0; border-bottom:1px solid rgba(0,0,0,.08); }
  .he-ux-hero { min-height: 600px; }
  .he-ux-hero .he-hero-content { padding: 100px 18px 76px; }
  .he-hero-title { font-size: clamp(36px, 9vw, 54px); }
  .he-hero-text { font-size: 18px; }
  .he-ux-booking-section { margin-top:-60px; margin-bottom:42px; }
}
