/**
 * HOTEL 4 — SCOPED COMPONENT STYLESHEET (.hotel04-*)
 * Immersive Heritage & Boutique Artistry / Grand Luxury
 */

/* ==========================================================================
   1. Reset & Global Scoped Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html.hotel04-scope {
  background-color: var(--hotel-background);
  color: var(--hotel-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body.hotel04-scope {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--hotel-background);
  color: var(--hotel-text);
  font-family: var(--hotel-font-family-body);
  padding-bottom: 0;
}

body.hotel04-scope.hotel04-has-sticky-bar {
  padding-bottom: 76px;
}

@media (min-width: 768px) {
  body.hotel04-scope.hotel04-has-sticky-bar {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--hotel-transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* ==========================================================================
   2. Layout & Typography Utilities
   ========================================================================== */
.hotel04-container {
  width: 100%;
  max-width: var(--hotel-container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--hotel-gutter);
  padding-right: var(--hotel-gutter);
}

@media (max-width: 600px) {
  .hotel04-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.hotel04-container--narrow {
  max-width: var(--hotel-container-narrow);
}

.hotel04-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 1024px) {
  .hotel04-section {
    padding-top: var(--hotel-space-section);
    padding-bottom: var(--hotel-space-section);
  }
}

.hotel04-section--dark {
  background-color: var(--hotel-primary);
  color: var(--hotel-text-inverse);
}

.hotel04-section--alt {
  background-color: #EFECE3;
}

.hotel04-eyebrow {
  display: inline-block;
  font-size: var(--hotel-font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--hotel-accent);
  margin-bottom: var(--hotel-space-xs);
}

.hotel04-title {
  font-family: var(--hotel-font-family-heading);
  font-size: var(--hotel-font-size-2xl);
  font-weight: 400;
  line-height: 1.25;
  color: var(--hotel-primary);
  margin-bottom: var(--hotel-space-md);
}

.hotel04-section--dark .hotel04-title {
  color: var(--hotel-text-inverse);
}

@media (min-width: 768px) {
  .hotel04-title {
    font-size: var(--hotel-font-size-3xl);
  }
}

.hotel04-subtitle {
  font-size: var(--hotel-font-size-base);
  color: var(--hotel-text-muted);
  max-width: 660px;
  line-height: 1.75;
}

.hotel04-section--dark .hotel04-subtitle {
  color: #C3BFB6;
}

/* Buttons */
.hotel04-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: var(--hotel-font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--hotel-radius-xs);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--hotel-transition-fast);
  text-align: center;
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

.hotel04-btn--primary {
  background-color: var(--hotel-accent);
  color: #161B18;
  border-color: var(--hotel-accent);
}

.hotel04-btn--primary:hover {
  background-color: var(--hotel-accent-hover);
  border-color: var(--hotel-accent-hover);
  color: #FFFFFF;
}

.hotel04-btn--secondary {
  background-color: transparent;
  color: var(--hotel-primary);
  border-color: var(--hotel-primary);
}

.hotel04-btn--secondary:hover {
  background-color: var(--hotel-primary);
  color: #FFFFFF;
}

.hotel04-section--dark .hotel04-btn--secondary {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.hotel04-section--dark .hotel04-btn--secondary:hover {
  background-color: #FFFFFF;
  color: var(--hotel-primary);
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
.hotel04-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(22, 27, 24, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(191, 161, 95, 0.2);
  transition: all var(--hotel-transition-normal);
}

.hotel04-scope a:focus-visible,
.hotel04-scope button:focus-visible,
.hotel04-scope input:focus-visible,
.hotel04-scope select:focus-visible,
.hotel04-scope textarea:focus-visible {
  outline: 2px solid var(--hotel-accent);
  outline-offset: 2px;
}

.hotel04-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.hotel04-brand {
  display: flex;
  flex-direction: column;
}

.hotel04-brand__name {
  font-family: var(--hotel-font-family-heading);
  font-size: 1.25rem;
  color: #FFFFFF;
  letter-spacing: 0.08em;
}

.hotel04-brand__tag {
  font-size: 0.65rem;
  color: var(--hotel-accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.hotel04-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 992px) {
  .hotel04-nav {
    display: flex;
  }
}

.hotel04-nav__link {
  font-size: var(--hotel-font-size-sm);
  font-weight: 500;
  color: #DDD8CD;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
}

.hotel04-nav__link:hover,
.hotel04-nav__link--active {
  color: var(--hotel-accent);
}

.hotel04-nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--hotel-accent);
}

.hotel04-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hotel04-header .hotel04-btn {
  display: none;
}

@media (min-width: 640px) {
  .hotel04-header .hotel04-btn {
    display: inline-flex;
  }
}

.hotel04-header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: var(--hotel-font-size-sm);
  color: #FFFFFF;
  font-weight: 500;
}

@media (min-width: 768px) {
  .hotel04-header__phone {
    display: flex;
  }
}

.hotel04-menu-trigger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(191, 161, 95, 0.4);
  border-radius: var(--hotel-radius-xs);
  cursor: pointer;
  padding: 10px;
}

@media (min-width: 992px) {
  .hotel04-menu-trigger {
    display: none;
  }
}

.hotel04-menu-trigger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--hotel-accent);
  transition: all var(--hotel-transition-fast);
}

/* ==========================================================================
   4. Mobile Drawer
   ========================================================================== */
.hotel04-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--hotel-z-drawer);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: all var(--hotel-transition-normal);
}

.hotel04-drawer--open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.hotel04-drawer__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(22, 27, 24, 0.7);
  backdrop-filter: blur(4px);
}

.hotel04-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: min(340px, 100vw);
  background-color: var(--hotel-primary);
  color: #FFFFFF;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--hotel-transition-normal);
  overflow-y: auto;
  border-left: 1px solid rgba(191, 161, 95, 0.3);
}

.hotel04-drawer--open .hotel04-drawer__panel {
  transform: translateX(0);
}

.hotel04-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(191, 161, 95, 0.2);
}

.hotel04-drawer__close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}

.hotel04-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.hotel04-drawer__link {
  font-size: 1.1rem;
  font-weight: 500;
  color: #DDD8CD;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hotel04-drawer__link--active,
.hotel04-drawer__link:hover {
  color: var(--hotel-accent);
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hotel04-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: 72px;
  color: #FFFFFF;
  overflow: hidden;
  background-color: var(--hotel-primary);
}

@media (min-width: 768px) {
  .hotel04-hero {
    min-height: 640px;
  }
}

.hotel04-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hotel04-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 27, 24, 0.35) 0%, rgba(22, 27, 24, 0.88) 100%);
  z-index: 2;
}

.hotel04-hero__content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hotel04-hero__title {
  font-family: var(--hotel-font-family-heading);
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .hotel04-hero__title {
    font-size: var(--hotel-font-size-hero);
  }
}

.hotel04-hero__desc {
  font-size: 1.1rem;
  color: #DDD8CD;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 640px;
}

/* ==========================================================================
   6. Booking Console
   ========================================================================== */
.hotel04-booking-wrap {
  position: relative;
  z-index: 4;
  margin-top: -36px;
  padding-bottom: 24px;
}

.hotel04-booking-bar {
  background-color: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-xs);
  padding: 22px 26px;
  box-shadow: var(--hotel-shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .hotel04-booking-bar {
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: flex-end;
  }
}

.hotel04-booking-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hotel04-booking-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hotel-text-muted);
}

.hotel04-booking-input {
  width: 100%;
  height: 46px;
  padding: 8px 14px;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-xs);
  background-color: var(--hotel-background);
  color: var(--hotel-text);
  font-size: var(--hotel-font-size-sm);
  outline: none;
  transition: border-color var(--hotel-transition-fast);
}

.hotel04-booking-input:focus {
  border-color: var(--hotel-accent);
}

/* ==========================================================================
   7. Magazine Spread Suite Cards (.hotel04-room-item & .hotel04-suite-card)
   ========================================================================== */
.hotel04-room-item {
  display: grid;
  grid-template-columns: 1fr;
  background-color: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-xs);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--hotel-shadow-sm);
  transition: box-shadow var(--hotel-transition-fast), border-color var(--hotel-transition-fast);
}

.hotel04-room-item:hover {
  box-shadow: var(--hotel-shadow-md);
  border-color: var(--hotel-accent);
}

@media (min-width: 900px) {
  .hotel04-room-item {
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
  }

  .hotel04-room-item--reverse .hotel04-room-item__media {
    order: 2;
  }

  .hotel04-room-item--reverse .hotel04-room-item__info {
    order: 1;
  }
}

.hotel04-room-item__media {
  position: relative;
  min-height: 280px;
  background-color: var(--hotel-primary);
  overflow: hidden;
}

.hotel04-room-item__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.hotel04-room-item:hover .hotel04-room-item__img {
  transform: scale(1.03);
}

.hotel04-room-item__info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.hotel04-room-item__title {
  font-family: var(--hotel-font-family-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--hotel-primary);
  margin: 0;
  line-height: 1.25;
}

.hotel04-room-item__desc {
  color: var(--hotel-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

.hotel04-room-item__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hotel04-room-item__feature {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background-color: var(--hotel-surface-card, #FAF8F2);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-xs);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--hotel-primary);
}

.hotel04-room-item__price-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--hotel-border);
}

.hotel04-room-item__price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--hotel-primary);
}

.hotel04-suite-card {
  display: grid;
  grid-template-columns: 1fr;
  background-color: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-xs);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--hotel-shadow-sm);
  transition: transform var(--hotel-transition-fast);
  min-width: 0;
}

.hotel04-suite-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hotel-shadow-md);
}

@media (min-width: 900px) {
  .hotel04-suite-card {
    grid-template-columns: 1.15fr 1fr;
  }

  .hotel04-suite-card--reverse {
    grid-template-columns: 1fr 1.15fr;
  }

  .hotel04-suite-card--reverse .hotel04-suite-card__media {
    order: 2;
  }

  .hotel04-suite-card--reverse .hotel04-suite-card__body {
    order: 1;
  }
}

.hotel04-suite-card__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hotel04-suite-card__media {
    min-height: 400px;
  }
}

.hotel04-suite-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hotel04-suite-card:hover .hotel04-suite-card__img {
  transform: scale(1.03);
}

.hotel04-suite-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(22, 27, 24, 0.9);
  color: var(--hotel-accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: var(--hotel-radius-xs);
  border: 1px solid rgba(191, 161, 95, 0.3);
}

.hotel04-suite-card__body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

@media (max-width: 480px) {
  .hotel04-suite-card__body {
    padding: 20px 14px;
  }
  .hotel04-btn {
    padding: 10px 16px;
    letter-spacing: 0.04em;
  }
}

@media (min-width: 768px) {
  .hotel04-suite-card__body {
    padding: 40px 36px;
  }
}


.hotel04-suite-card__title {
  font-family: var(--hotel-font-family-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--hotel-primary);
  margin-bottom: 10px;
}

.hotel04-suite-card__desc {
  font-size: 0.95rem;
  color: var(--hotel-text-muted);
  margin-bottom: 24px;
  line-height: 1.75;
}

.hotel04-suite-card__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--hotel-border);
  border-bottom: 1px solid var(--hotel-border);
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--hotel-text);
}

.hotel04-suite-card__price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.hotel04-suite-card__price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--hotel-primary);
}

/* ==========================================================================
   8. Heritage Timeline
   ========================================================================== */
.hotel04-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .hotel04-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hotel04-timeline-item {
  background: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  padding: 32px 24px;
  border-radius: var(--hotel-radius-xs);
  position: relative;
}

.hotel04-timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--hotel-accent);
}

.hotel04-timeline-year {
  font-family: var(--hotel-font-family-heading);
  font-size: 1.8rem;
  color: var(--hotel-accent);
  margin-bottom: 8px;
  display: block;
}

.hotel04-timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--hotel-primary);
  margin-bottom: 8px;
}

.hotel04-timeline-desc {
  font-size: 0.88rem;
  color: var(--hotel-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   9. Gallery Grid & Tabs
   ========================================================================== */
.hotel04-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hotel04-filter-tab {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: var(--hotel-radius-xs);
  background-color: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  color: var(--hotel-text);
  cursor: pointer;
  transition: all var(--hotel-transition-fast);
}

.hotel04-filter-tab--active,
.hotel04-filter-tab:hover {
  background-color: var(--hotel-primary);
  color: var(--hotel-accent);
  border-color: var(--hotel-accent);
}

.hotel04-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 600px) {
  .hotel04-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .hotel04-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hotel04-gallery-item {
  position: relative;
  border-radius: var(--hotel-radius-xs);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hotel-border);
}

.hotel04-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hotel04-gallery-item:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   10. Contact & Form
   ========================================================================== */
.hotel04-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 900px) {
  .hotel04-contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.hotel04-contact-card {
  background-color: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  padding: 32px;
  border-radius: var(--hotel-radius-xs);
  margin-bottom: 24px;
}

.hotel04-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hotel04-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hotel04-form__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hotel-text);
}

.hotel04-form,
.hotel04-form__group {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.hotel04-form__input,
.hotel04-form__textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-xs);
  background-color: var(--hotel-background);
  color: var(--hotel-text);
  font-size: var(--hotel-font-size-sm);
  outline: none;
  transition: border-color var(--hotel-transition-fast);
}

select.hotel04-form__input {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

code {
  font-family: var(--hotel-font-family-mono, monospace);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hotel04-form__input:focus,
.hotel04-form__textarea:focus {
  border-color: var(--hotel-accent);
}

/* ==========================================================================
   11. Sticky Mobile Bar & Floating Actions
   ========================================================================== */
.hotel04-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--hotel-z-sticky);
  background-color: rgba(22, 27, 24, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(191, 161, 95, 0.3);
  padding: 12px var(--hotel-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .hotel04-sticky-bar {
    display: none;
  }
}

.hotel04-sticky-bar__price {
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.hotel04-sticky-bar__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--hotel-accent);
  letter-spacing: 0.08em;
}

.hotel04-sticky-bar__val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.hotel04-floating-actions {
  position: fixed;
  bottom: 84px;
  right: 16px;
  z-index: var(--hotel-z-sticky);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .hotel04-floating-actions {
    bottom: 24px;
    right: 24px;
  }
}

.hotel04-fab {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--hotel-primary);
  color: var(--hotel-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--hotel-shadow-md);
  border: 1px solid rgba(191, 161, 95, 0.4);
  transition: transform var(--hotel-transition-fast);
}

.hotel04-fab:hover {
  transform: scale(1.08);
}

.hotel04-fab--whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.hotel04-footer {
  background-color: var(--hotel-primary);
  color: #FFFFFF;
  padding-top: 64px;
  padding-bottom: 32px;
  margin-top: auto;
  border-top: 1px solid rgba(191, 161, 95, 0.2);
}

.hotel04-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .hotel04-footer__grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.hotel04-footer__title {
  font-family: var(--hotel-font-family-heading);
  font-size: 1rem;
  color: var(--hotel-accent);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.hotel04-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hotel04-footer__link {
  font-size: 0.85rem;
  color: #DDD8CD;
}

.hotel04-footer__link:hover {
  color: var(--hotel-accent);
}

.hotel04-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: #8C877D;
}

@media (min-width: 768px) {
  .hotel04-footer__bottom {
    flex-direction: row;
  }
}

/* 12.1 Footer Payment Methods Band (iyzico ile Öde, Visa, Mastercard, Troy, Amex) */
.hotel04-footer__payment {
  padding: 20px 0;
  margin-bottom: 20px;
}
.hotel04-footer__payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}
.hotel04-footer__payment-band {
  display: block;
  max-width: 100%;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hotel04-footer__payment-band:hover {
  opacity: 1;
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  .hotel04-footer__payment-band {
    max-height: 24px;
  }
}

/* ==========================================================================
   13. Reservation Stepper & Summary Card
   ========================================================================== */
.hotel04-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hotel-border);
  position: relative;
}

.hotel04-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hotel-text-muted);
}

.hotel04-step--active {
  color: var(--hotel-primary);
}

.hotel04-step__num {
  width: 28px;
  height: 28px;
  border-radius: var(--hotel-radius-xs);
  background-color: var(--hotel-border);
  color: var(--hotel-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.hotel04-step--active .hotel04-step__num {
  background-color: var(--hotel-accent);
  color: #161B18;
}

.hotel04-res-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .hotel04-res-layout {
    grid-template-columns: 1.6fr 1fr;
  }
}

.hotel04-summary-card {
  background-color: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-xs);
  padding: 28px;
  position: sticky;
  top: 100px;
  box-shadow: var(--hotel-shadow-sm);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 360px) {
  .hotel04-summary-card {
    padding: 16px 12px;
  }
}

.hotel04-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--hotel-border);
}

.hotel04-summary-row--total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hotel-primary);
  border-bottom: none;
  padding-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   14. Editorial Refinements, Subpage Hero, Galleries, Lightbox & Cookie Banner
   ========================================================================== */
.hotel04-subpage-hero {
  min-height: 360px;
  padding: 132px 0 56px;
}

.hotel04-breadcrumb {
  margin-top: 18px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.hotel04-breadcrumb__link {
  color: rgba(255, 255, 255, 0.9);
}

.hotel04-breadcrumb__link:hover {
  color: var(--hotel-accent);
}

.hotel04-breadcrumb__current {
  color: #FFFFFF;
  font-weight: 600;
}

.hotel04-kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px;
  border-top: 1px solid var(--hotel-border);
  border-bottom: 1px solid var(--hotel-border);
  padding: 24px 0;
  margin-top: 24px;
}

.hotel04-kpi-strip__item {
  text-align: center;
  padding: 6px 12px;
}

.hotel04-kpi-strip__val {
  display: block;
  font-family: var(--hotel-font-family-heading);
  font-size: 1.35rem;
  color: var(--hotel-primary);
  margin-bottom: 4px;
}

.hotel04-kpi-strip__label {
  font-size: 0.82rem;
  color: var(--hotel-text-muted);
}

.hotel04-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
}

.hotel04-feature-card {
  background: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-xs);
  padding: 28px 24px;
  box-shadow: var(--hotel-shadow-sm);
}

.hotel04-feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(191, 161, 95, 0.14);
  color: var(--hotel-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.hotel04-feature-card__title {
  font-family: var(--hotel-font-family-heading);
  font-size: 1.15rem;
  color: var(--hotel-primary);
  margin-bottom: 8px;
}

.hotel04-feature-card__desc {
  font-size: 0.9rem;
  color: var(--hotel-text-muted);
  line-height: 1.65;
  margin: 0;
}

.hotel04-cta-banner {
  background: var(--hotel-primary);
  color: #FFFFFF;
  padding: 64px 0;
  border-top: 1px solid rgba(191, 161, 95, 0.25);
  border-bottom: 1px solid rgba(191, 161, 95, 0.25);
  text-align: center;
}

.hotel04-cta-banner .hotel04-title {
  color: #FFFFFF;
}

.hotel04-btn--block {
  width: 100%;
  display: inline-flex;
}

.hotel04-btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.hotel04-btn--outline:hover {
  border-color: var(--hotel-accent);
  color: var(--hotel-accent);
}

.hotel04-room-detail-grid,
.hotel04-res-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

@media (min-width: 960px) {
  .hotel04-room-detail-grid,
  .hotel04-res-grid {
    grid-template-columns: minmax(0, 1.85fr) minmax(min(100%, 300px), 1fr);
  }
}

.hotel04-form-row--2,
.hotel04-form-row--3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .hotel04-form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
  .hotel04-form-row--3 {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.hotel04-room-gallery__main {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--hotel-radius-xs);
  border: 1px solid var(--hotel-border);
  margin-bottom: 16px;
}

.hotel04-room-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.hotel04-room-gallery__thumb {
  padding: 0;
  border: 2px solid var(--hotel-border);
  border-radius: var(--hotel-radius-xs);
  overflow: hidden;
  background: var(--hotel-surface);
  cursor: pointer;
  transition: border-color var(--hotel-transition-fast);
}

.hotel04-room-gallery__thumb.is-active,
.hotel04-room-gallery__thumb:hover {
  border-color: var(--hotel-accent);
}

.hotel04-room-gallery__thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hotel04-notice {
  background: var(--hotel-surface-card, #FAF8F2);
  border: 1px solid var(--hotel-border);
  border-left: 4px solid var(--hotel-accent);
  border-radius: var(--hotel-radius-xs);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--hotel-text);
  line-height: 1.65;
}

.hotel04-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(16, 20, 18, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hotel04-lightbox.is-open {
  display: flex;
}

.hotel04-lightbox__dialog {
  position: relative;
  max-width: min(960px, 95vw);
  max-height: 90vh;
  text-align: center;
}

.hotel04-lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--hotel-radius-xs);
  margin: 0 auto 12px;
}

.hotel04-lightbox__caption {
  color: #E7E3DA;
  font-size: 0.92rem;
}

.hotel04-lightbox__close,
.hotel04-lightbox__prev,
.hotel04-lightbox__next {
  position: fixed;
  background: rgba(22, 27, 24, 0.85);
  color: #FFFFFF;
  border: 1px solid rgba(191, 161, 95, 0.45);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hotel04-lightbox__close { top: 20px; right: 20px; }
.hotel04-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.hotel04-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

.hotel04-footer__link--accent {
  color: var(--hotel-accent);
  font-weight: 600;
}

.hotel04-cookie-banner {
  display: none;
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: 16px;
  max-width: 560px;
  margin-left: auto;
  background: #161B18;
  color: #FFFFFF;
  z-index: 99999;
  border: 1px solid rgba(191, 161, 95, 0.35);
  border-radius: 6px;
  padding: 16px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.hotel04-cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hotel04-cookie-banner__text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.hotel04-cookie-banner__text a {
  color: var(--hotel-accent);
  text-decoration: underline;
}

.hotel04-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 600px) {
  .hotel04-cookie-banner {
    bottom: 84px;
    left: 12px;
    right: 12px;
    padding: 14px;
  }
}
