/* Alâ Otel — site overrides */
header {
  overflow-anchor: none;
}

/* GTranslate (Hann Hotel ile aynı widget) */
.topbar-right-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.gtranslate_wrapper {
  display: inline-flex;
  align-items: center;
  transform: none;
  margin-right: 0;
}

.gtranslate_wrapper img,
.gtranslate_wrapper .gt_switcher .gt_option a img {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  min-width: 14px !important;
  object-fit: cover;
}

.gtranslate_wrapper .gt_switcher .gt_option,
.gtranslate_wrapper .gt_switcher .gt_selected a {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.gtranslate_wrapper .gt_switcher .gt_option {
  display: flex !important;
  align-items: center;
  gap: 4px !important;
}

.gtranslate_wrapper .gt_switcher .gt_option a {
  margin-right: 0 !important;
}

.gtranslate_wrapper[class*="gt_container--"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.gtranslate_wrapper[class*="gt_container--"] .glink {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px;
  color: #ffffff !important;
  text-decoration: none !important;
}

.gtranslate_wrapper[class*="gt_container--"] .glink.gt-current-lang {
  font-weight: 700 !important;
}

.gtranslate_wrapper[class*="gt_container--"] #google_translate_element2,
.gtranslate_wrapper[class*="gt_container--"] .skiptranslate {
  display: none !important;
}

.gtranslate_wrapper .gt_float_switcher {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

body {
  top: 0 !important;
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-spinner-pos {
  display: none !important;
}

.skiptranslate iframe {
  visibility: hidden !important;
}

/* Mobil menü dil seçici */
.mobile-lang-switch .gtranslate_wrapper {
  display: inline-flex !important;
}

.mobile-lang-switch .gtranslate_wrapper[class*="gt_container--"] .glink {
  font-size: 14px !important;
  padding: 6px 8px !important;
}

header.transparent {
  position: fixed !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.25s ease;
}

header .col-center img {
  width: 110px;
  margin-top: 18px;
  margin-bottom: 14px;
  transition: width 0.25s ease, margin 0.25s ease;
}

/* Kaydırınca sticky header — gizlenmez, sadece kompaktlaşır */
header.smaller {
  background: #5f5f5f;
  overflow: visible;
  margin-top: 0 !important;
  transform: none !important;
}

/* scroll-down ile menüyü yukarı kaçırmayı tamamen kapat */
.scroll-down,
header.scroll-down,
header.logo-center.scroll-down,
header.header-center.scroll-down,
header.smaller.scroll-down {
  margin-top: 0 !important;
  transform: none !important;
}

/* Sticky iken topbar yumuşakça gizlensin (display:none scroll sıçratıyordu) */
header #topbar {
  max-height: 60px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
}

header.smaller #topbar {
  max-height: 0;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  pointer-events: none;
}

header.smaller .col-center img {
  width: 72px;
  margin-top: 10px;
  margin-bottom: 10px;
}

header.smaller #mainmenu > li > a,
header.smaller .mainmenu-right > li > a {
  padding-top: 22px;
  padding-bottom: 22px;
}

/* Back-to-top: gizliyken tıklama/scroll engellemesin */
#back-to-top {
  pointer-events: none;
}

#back-to-top.show {
  pointer-events: auto;
}

/* Sağ menü — soldaki #mainmenu ile aynı boşluklar */
.mainmenu-right {
  font-size: 14px;
  margin: 0;
  padding: 0;
  float: none;
  font-family: var(--mainmenu-font);
  list-style: none;
}

.mainmenu-right li {
  margin: 0;
  padding: 0;
  float: left;
  display: inline;
  list-style: none;
  position: relative;
}

.mainmenu-right > li {
  margin-right: 30px;
}

.mainmenu-right > li > a {
  font-size: 17px;
  padding-right: 6px;
  font-weight: var(--mainmenu-font-weight);
}

.mainmenu-right a {
  position: relative;
  display: inline-block;
  padding-top: 25px;
  padding-bottom: 25px;
  text-decoration: none;
  color: #ffffff;
  text-align: center;
  outline: none;
}

header.smaller .mainmenu-right > li > a {
  padding-top: 22px;
  padding-bottom: 22px;
}

/* Türkçe karakterler bozulmasın (i→İ, ı→I) */
.subtitle {
  text-transform: none;
}

/* Facilities görselleri eşit yükseklik */
.facilities-equal .facility-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.facilities-equal .facility-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
}

/* Cafe & kahvaltı görselleri */
.cafe-blocks .cafe-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.cafe-blocks .cafe-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
}

/* Footer logolar */
.footer-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.footer-logo-ala {
  width: 100px;
  height: auto;
}

.footer-logo-same {
  width: 140px;
  height: auto;
}

/* Hero başlık ortalama */
section.jarallax.vertical-center {
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

section.jarallax.vertical-center > .sw-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

section.jarallax.vertical-center > .container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-title {
  text-align: center !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-title .deco-text {
  display: block;
  text-align: center;
}

/* Mobil menü düzeltmesi */
@media (max-width: 992px) {
  header.header-mobile .de-flex {
    flex-wrap: wrap;
    align-items: center;
    position: relative;
  }

  header.header-mobile .col-center {
    order: 1;
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  header.header-mobile .col-end {
    order: 2;
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  header.header-mobile .col-start {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    justify-content: stretch;
  }

  header.header-mobile #mainmenu {
    display: none !important;
    float: none;
    width: 100%;
    margin: 10px 0 0;
    padding: 0;
    position: static !important;
  }

  header.header-mobile.menu-open #mainmenu {
    display: block !important;
  }

  header.header-mobile #mainmenu > li {
    float: none;
    display: block;
    width: 100%;
    margin: 0;
    border-bottom: solid 1px rgba(255, 255, 255, .15);
  }

  header.header-mobile #mainmenu > li > a {
    display: block;
    text-align: left;
    padding: 14px 0;
    font-size: 16px;
  }

  /* Mobil menüde aktif link rengi */
  header.header-mobile #mainmenu > li > a.menu-item.active {
    color: var(--primary-color) !important;
  }

  header.header-mobile #mainmenu > li.mobile-lang-switch {
    margin-top: 12px;
    padding-top: 24px !important;
    padding-bottom: 18px !important;
    border-bottom: 0;
  }

  header.header-mobile .mainmenu-right {
    display: none !important;
  }

  header.header-mobile .menu_side_area {
    margin-left: 0;
    width: auto;
    text-align: right;
  }

  header.header-mobile .col-center img {
    width: 64px;
    margin-top: 6px;
    margin-bottom: 6px;
  }

  header.header-mobile #menu-btn {
    display: block;
    float: none;
    margin: 0;
  }
}

/* Logo-center sayfalarda subheader — başlık logonun altında kalsın */
header.logo-center ~ #content #subheader,
body:has(header.logo-center) #subheader {
  padding-top: 220px;
  padding-bottom: 56px;
}

@media (max-width: 992px) {
  header.logo-center ~ #content #subheader,
  body:has(header.logo-center) #subheader {
    padding-top: 180px;
    padding-bottom: 40px;
  }
}

#subheader h1 {
  font-size: 42px;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  #subheader h1 {
    font-size: 32px;
  }
}

/* Oda detay rezervasyon — başlığı örtmeden header’a hafif biner */
body:has(.room-book-box) #subheader {
  padding-bottom: 72px;
}

.room-book-section {
  padding-top: 0;
  padding-bottom: 8px;
  position: relative;
  z-index: 4;
}

.room-book-section .container {
  margin-top: -24px;
}

.room-book-box {
  background: #606060 !important;
  border-radius: 12px;
  padding: 18px 24px !important;
  margin: 0;
}

.room-book-btn.btn-line {
  border-color: #ffffff !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.room-book-btn.btn-line:hover {
  background: #ffffff !important;
  color: #606060 !important;
}

/* Oda açıklama metni — eşit üst/alt boşluk */
.room-desc {
  padding-top: 70px;
  padding-bottom: 70px;
}

/* Oda özellikler alanı — eşit üst/alt boşluk */
.room-amenities-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.room-amenities {
  padding-top: 0;
  padding-bottom: 0;
}

.room-amenity {
  min-height: 48px;
  margin-bottom: 8px;
}

.section-rooms-more {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Sabit iç sayfa hero — jarallax yok (scroll takılmasını önler) */
.page-inner header.transparent,
.page-gallery header.transparent {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.page-hero,
.page-gallery .gallery-hero {
  position: relative;
  overflow: hidden;
}

.page-hero-bg,
.page-gallery .gallery-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: none !important;
  will-change: auto;
}

/* Ana sayfa cafe bloğu — düz mavi zemin */
.page-hero--solid .page-hero-bg {
  background-image: none !important;
  background-color: #1e6f8f;
}

.page-gallery .gallery-thumb-wrap {
  aspect-ratio: 4 / 3;
  background: #e8e8e8;
}

.page-gallery .gallery-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-gallery .gallery-item {
  text-decoration: none;
}

.page-gallery .pb-40 {
  padding-bottom: 40px;
}

/* İletişim */
.contact-map {
  display: block;
  border-radius: 12px;
  background: #f3f3f3;
}

.contact-map-link {
  text-decoration: none;
}

.contact-info-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-info-label {
  flex: 0 0 90px;
  font-weight: 600;
  color: #333;
}

.contact-info-value {
  flex: 1;
}

.contact-info-value a {
  color: inherit;
  text-decoration: none;
}

.contact-info-value a:hover {
  color: var(--primary-color);
}

@media (max-width: 575px) {
  .contact-info-row {
    flex-direction: column;
    gap: 4px;
  }

  .contact-info-label {
    flex: none;
  }
}

/* Alaçatı sayfası */
.alacati-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.alacati-section + .alacati-section {
  padding-top: 0;
}

.alacati-title {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.alacati-section p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.alacati-media {
  overflow: hidden;
  border-radius: 12px;
}

.alacati-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Yeme & İçme */
.yeme-list-img {
  display: block;
  border-radius: 12px;
  width: 100%;
  height: auto;
}

.yeme-list-item a.btn-line {
  display: inline-block;
  margin-top: 4px;
  color: var(--primary-color) !important;
  border: solid 1px var(--primary-color) !important;
  background: transparent !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.yeme-detail-hero {
  display: block;
  border-radius: 12px;
}

.yeme-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.yeme-gallery-item img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.yeme-gallery-item:hover img {
  transform: scale(1.04);
}

.yeme-info-table {
  margin-bottom: 0;
}

.yeme-info-table th {
  width: 34%;
  font-weight: 600;
  vertical-align: top;
  border-color: rgba(0, 0, 0, 0.08);
}

.yeme-info-table td {
  border-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
  .yeme-gallery-item img {
    height: 140px;
  }

  .yeme-info-table th,
  .yeme-info-table td {
    display: block;
    width: 100%;
  }

  .yeme-info-table th {
    border-bottom: 0;
    padding-bottom: 4px;
  }
}

/* Footer legal links */
.footer-legal-links {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.9;
}

.footer-legal-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.footer-legal-sep {
  margin: 0 10px;
  opacity: 0.5;
}

/* Sürdürülebilirlik dokümanları */
.surdur-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.surdur-doc-list li {
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.surdur-doc-list li:last-child {
  border-bottom: 0;
}

.surdur-doc-list a {
  display: block;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.surdur-doc-list a:hover {
  color: var(--primary-color);
}

.surdur-doc-list a::before {
  content: "PDF";
  display: inline-block;
  margin-right: 10px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  vertical-align: middle;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 3px;
}

/* Odalar kartı — tüm çerçeve tıklanabilir */
a.room-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.room-card-link .btn-line {
  pointer-events: none;
}
