/* Shared polish for all web themes (NOT loaded for `original`).
 * Resets TemplateMonster main.css rules that break sticky/sidebar theme headers. */

/* ---- Neutralize global .header from assets/css/main.css ---- */
body[class*="theme-"] .header {
  --background-color: transparent;
  --default-color: inherit;
  --heading-color: inherit;
  --surface-color: transparent;
  color: inherit;
  background-color: transparent;
  padding: 0;
  transition: none;
  z-index: 1040;
}
body[class*="theme-"] .header .header-container {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin: 0;
}
body.scrolled[class*="theme-"] .header,
body[class*="theme-"].scrolled .header {
  --surface-color: transparent;
  background-color: transparent;
}
@media (max-width: 1200px) {
  body[class*="theme-"] .header {
    padding-top: 0;
  }
  body[class*="theme-"] .header .header-container {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }
}

/* Defaults themes can override on body.theme-* */
body[class*="theme-"] {
  --theme-surface: #fff;
  --theme-radius: 12px;
  overflow-x: clip;
}

.theme-room-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--theme-surface, #fff);
  border-radius: var(--theme-radius, 12px);
  transition: transform .35s ease, box-shadow .35s ease;
}
.theme-room-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.theme-room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.theme-room-card:hover .theme-room-media img {
  transform: scale(1.04);
}
.theme-room-body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
}
.theme-room-body h3 {
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.3;
}
.theme-room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: center;
  margin: 0;
  font-size: .9rem;
  opacity: .85;
}
.theme-room-price {
  font-weight: 600;
  margin-left: auto;
}
.theme-room-price small {
  font-weight: 400;
  opacity: .7;
  margin-left: .2rem;
}
.theme-room-desc {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  opacity: .8;
  flex: 1;
}
.theme-gallery-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
}
.theme-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.theme-gallery-item:hover img {
  transform: scale(1.05);
}
.theme-booking-form .form-label {
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .35rem;
  opacity: .8;
}
.theme-booking-form .form-control,
.theme-booking-form .form-select {
  border-radius: .35rem;
  min-height: 2.65rem;
}
.theme-booking-bar-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  align-items: end;
}
.theme-booking-bar-submit {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .theme-booking-bar-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .theme-booking-bar-submit {
    grid-column: auto;
  }
}
.theme-reservation-panel {
  max-width: 720px;
  margin-inline: auto;
}
.theme-contact-strip a {
  text-decoration: none;
}
.theme-user-tools {
  flex-shrink: 0;
}
.theme-lang-dd {
  position: relative;
}
.theme-lang-btn {
  list-style: none;
  cursor: pointer;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .28rem .85rem .28rem .7rem;
  border-radius: 999px;
  opacity: .88;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  line-height: 1.2;
  user-select: none;
}
.theme-lang-btn::-webkit-details-marker {
  display: none;
}
.theme-lang-btn::after {
  content: "";
  width: .45em;
  height: .45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-.12em);
  opacity: .7;
}
.theme-lang-dd[open] .theme-lang-btn,
.theme-lang-btn:hover {
  opacity: 1;
}
.theme-lang-dd:not([open]) .theme-lang-menu {
  display: none !important;
}
.theme-lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  z-index: 1080;
  min-width: 7.5rem;
  margin: 0;
  padding: .35rem 0;
  list-style: none;
  background: #fff;
  color: #1f2a1a;
  border-radius: .65rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
  border: 1px solid rgba(31, 42, 26, .08);
}
.theme-lang-dd[open] .theme-lang-menu {
  display: block;
}
.theme-lang-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.theme-lang-menu a {
  display: block;
  padding: .4rem .9rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
}
.theme-lang-menu a:hover,
.theme-lang-menu a.is-active {
  background: rgba(95, 111, 62, .12);
  color: #4a5830;
}

/* main.css sets h1 { color: Mystone teal }. Photo-hero titles must stay white. */
.classic-hero h1,
.classic-hero .classic-brand-mark,
.classic-hero .classic-hero-sub,
.venus-hero h1,
.mars-hero h1,
.natura-hero h1,
.saturn-hero h1,
.lithos-hero h1,
.ls-hero h1,
.newstar-hero h1,
.gh-facade h1,
.luxora-cinema-hero h1,
.azure-hero-mobile-copy h1,
.marella-hero h1,
.aurelia-hero h1,
.aurelia-hero .aurelia-serif {
  color: #fff !important;
}

/* Inner pages: don't inherit template "white on transparent header" leftovers */
body.inner-page[class*="theme-"] h1.inner-page-heading,
body.inner-page[class*="theme-"] .inner-page-heading {
  color: var(--heading-color, inherit);
}

@media (max-width: 575.98px) {
  .theme-room-body {
    padding: 1rem;
  }
}

/* Aurelia — menü asla şeffaf olmasın (yukarıdaki .header reset’ini ezer) */
body.theme-aurelia .header.aurelia-header,
body.scrolled.theme-aurelia .header.aurelia-header,
body.theme-aurelia.scrolled .header.aurelia-header {
  --background-color: #0B0F17;
  --surface-color: #0B0F17;
  background: #0B0F17 !important;
  background-color: #0B0F17 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
