/* ================= RESET & BASE ================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f5f5;
  background: #111317;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

/* ================= THEME ================= */

:root {
  --color-bg: #111317;
  --color-bg-elevated: #171b21;
  --color-bg-soft: #202531;
  --color-accent: #d8b15b;      /* warm gold */
  --color-accent-soft: #b89246;
  --color-text-main: #f5f5f5;
  --color-text-muted: #b9beca;
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.35);
  --radius-lg: 18px;
  --radius-xl: 28px;
  --header-height: 64px;
}

/* ================= LIGHT THEME ================= */

body[data-theme="light"] {
  background: #ffffff;
  color: #111317;
}

body[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .menu-toggle {
  background: rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .menu-line {
  background: #111317;
}

body[data-theme="light"] .header-cta {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.06);
}

body[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.12);
}

body[data-theme="light"] .lang-selector {
  background: rgba(0, 0, 0, 0.06);
}

body[data-theme="light"] .lang-btn {
  color: #666666;
}

body[data-theme="light"] .lang-btn:hover {
  color: #1a1a1a;
}

body[data-theme="light"] .lang-btn.active {
  background: linear-gradient(135deg, #d8b15b, #b38227);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body[data-theme="light"] .main-nav {
  background: #f5f5f5;
}

body[data-theme="light"] .main-nav a {
  color: #111317;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .main-nav .nav-close {
  background: rgba(0, 0, 0, 0.08);
  color: #111317;
}

body[data-theme="light"] .section {
  background: #ffffff;
}

body[data-theme="light"] .section-dark {
  background: #f5f5f5;
}

body[data-theme="light"] .section-header h2 {
  color: #111317;
}

body[data-theme="light"] .section-header p {
  color: #4a4a4a;
}

body[data-theme="light"] .booking {
  background: #f0f0f0;
}

body[data-theme="light"] .booking-copy h2 {
  color: #111317;
}

body[data-theme="light"] .booking-copy p {
  color: #4a4a4a;
}

body[data-theme="light"] .booking-widget {
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

body[data-theme="light"] label {
  color: #666666;
}

body[data-theme="light"] .ibe-col input[type="date"],
body[data-theme="light"] .ibe-col select {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #111317;
}

body[data-theme="light"] .ibe-col select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

body[data-theme="light"] .ibe-col input[type="date"]::-webkit-calendar-picker-indicator {
  filter: none;
}

body[data-theme="light"] .card {
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .card-clickable:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body[data-theme="light"] .card-clickable .card-media::after {
  background: linear-gradient(to bottom, transparent 50%, rgba(216, 177, 91, 0.2));
}

body[data-theme="light"] .card h3 {
  color: #111317;
}

body[data-theme="light"] .card-clickable:hover h3 {
  color: #b28129;
}

body[data-theme="light"] .card p {
  color: #4a4a4a;
}

body[data-theme="light"] .card-features li {
  background: rgba(216, 177, 91, 0.12);
  color: #111317;
}

body[data-theme="light"] .card-cta {
  color: #b28129;
}

body[data-theme="light"] .split-text h2 {
  color: #111317;
}

body[data-theme="light"] .split-text p {
  color: #4a4a4a;
}

body[data-theme="light"] .highlight {
  background: transparent;
}

body[data-theme="light"] .highlight h3 {
  color: #111317;
}

body[data-theme="light"] .highlight p {
  color: #4a4a4a;
}

body[data-theme="light"] .location-info h3 {
  color: #111317;
}

body[data-theme="light"] .location-info p {
  color: #4a4a4a;
}

body[data-theme="light"] .location-pills li {
  background: rgba(216, 177, 91, 0.15);
  color: #111317;
}

body[data-theme="light"] .location-category {
  border-top-color: rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .location-category h4 {
  color: #b28129;
}

body[data-theme="light"] .location-detail-name {
  color: #111317;
}

body[data-theme="light"] .location-detail-value {
  color: #666666;
}

body[data-theme="light"] .location-category p {
  color: #4a4a4a;
}

body[data-theme="light"] .site-footer {
  background: #f0f0f0;
  color: #4a4a4a;
}

body[data-theme="light"] .footer-col h4 {
  color: #111317;
}

body[data-theme="light"] .footer-col p,
body[data-theme="light"] .footer-col a {
  color: #4a4a4a;
}

/* ================= LAYOUT ================= */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================= HEADER ================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(17, 19, 23, 0.656);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 1.25rem;
}

/* Hamburger */

.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.menu-line {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #f5f5f5;
}

/* Logo center */

.logo {
  justify-self: start;
  margin-left: 39px;
  display: none;
  align-items: center;
  gap: 0.45rem;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-name {
  font-weight: 600;
  letter-spacing: 0.11em;
  font-size: 0.7rem;
}

.logo-location {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Header Controls Container */

.header-controls {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-cta {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #e6c26d, #b28129);
  color: #111317;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

/* ================= THEME TOGGLE ================= */

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 1.1rem;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

/* ================= LANGUAGE SELECTOR ================= */

.lang-selector {
  display: flex;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem;
  border-radius: 999px;
}

.lang-btn {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: var(--color-text-muted);
  border: none;
}

.lang-btn:hover {
  color: var(--color-text-main);
}

.lang-btn.active {
  background: linear-gradient(135deg, #e6c26d, #b28129);
  color: #111317;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ================= NAVIGATION ================= */

.main-nav {
  /* Overlay menu opens below the header row so header stays visible */
  position: fixed;
  inset: var(--header-height) 0 0 0; /* top = header height */
  background: #2f3438; /* neutral gray tone */
  transform: translateY(-100%); /* hidden above its top */
  transition: transform 0.28s cubic-bezier(.2,.9,.2,1);
  z-index: 900; /* keep header (z-index:1000) above the overlay */
  overflow-y: auto;
}

.main-nav.open {
  transform: translateY(0);
}

/* Close button inside nav - global so it appears same on all screen sizes */
.main-nav .nav-close {
  position: absolute; /* positioned inside the overlay */
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 1.2rem;
  border: 0;
  cursor: pointer;
  z-index: 950; /* above overlay but below header */
}

.main-nav .nav-close:hover {
  background: rgba(0,0,0,0.35);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: calc(var(--header-height) + 18px) 1.5rem 2rem;
  display: block;
  gap: 0.75rem;
}

.main-nav a {
  display: block;
  padding: 0.9rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.main-nav a:hover {
  color: var(--color-accent);
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 100vh;
  color: #f5f5f5;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("images/facade.jpg"); /* <-- your building image */
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 10%, rgba(235, 200, 120, 0.16), transparent 45%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.94));
}

/* Hero content */

.hero-content {
  position: relative;
  padding: 2.75rem 1.5rem 3rem;
  max-width: 680px;
  z-index: 1;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-bottom: 0.7rem;
}

/*
.hero-drawing {
  max-width: 500px;
  top: 15%;
  right: 8%;
}
*/

.hero-drawing {
  display: block;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 72%;
  max-width: 300px;
  opacity: 0.55;
}

.hero-drawing img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero-image-right {
  display: none; /* Hidden on mobile */
  position: absolute;
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
  z-index: 2;
  width: 35%;
  max-width: 400px;
  opacity: 0.9;
}

.hero-image-right img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: 2.1rem;
  line-height: 1.05;
}

.hero h1 span {
  display: block;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e3e6ee;
}

.hero-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 32rem;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, #e6c26d, #b28129);
  color: #111317;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.18);
  color: #f5f5f5;
}

.btn.ghost:hover {
  border-color: #f5f5f5;
}

.btn.full {
  width: 100%;
}

/* ================= BOOKING ================= */

.booking {
  background: #101218;
  padding: 1.8rem 0 2.5rem;
}

.booking-inner {
  display: grid;
  gap: 1.5rem;
}

.booking-copy h2 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
}

.booking-copy p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.booking-widget {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #161925;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.booking-widget .ibe {
  width: 100%;
}

.ibe-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ibe-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ibe-col label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.ibe-col input[type="date"],
.ibe-col select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-main);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.ibe-col input[type="date"]:focus,
.ibe-col select:focus {
  border-color: var(--color-accent);
}

.ibe-col select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b9beca' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.ibe-col input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}

.ibe-submit {
  margin-top: 0.4rem;
  width: 100%;
}

/* ================= GENERIC SECTIONS ================= */

.section {
  padding: 3.5rem 0;
  background: var(--color-bg);
  scroll-margin-top: var(--header-height);
}

.section-dark {
  background: #141822;
}

.section-header {
  text-align: left;
  margin-bottom: 2.2rem;
}

.section-header h2 {
  margin: 0 0 0.7rem;
  font-size: 1.5rem;
}

.section-header p {
  margin: 0;
  max-width: 34rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ================= CARDS (ROOMS) ================= */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, #191d26, #0e1016);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.card-clickable {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-clickable:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-media {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.card-clickable .card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(216, 177, 91, 0.15));
  opacity: 0;
  transition: opacity 0.3s;
}

.card-clickable:hover .card-media::after {
  opacity: 1;
}

/* Replace these with your real images */
.card-media--room1 {
  background-image: url("../img/ez/1.jpeg");
}
.card-media--room2 {
  background-image: url("../img/dz/1.jpeg");
}
.card-media--room3 {
  background-image: url("../img/tz/1.jpeg");
}
.card-media--room4 {
  background-image: url("../img/fz/1.jpeg");
}
.card-media--room5 {
  background-image: url("../img/fzp/2.jpeg");
}

.card-body {
  padding: 1.4rem 1.4rem 1.2rem;
  position: relative;
}

.card h3 {
  margin: 0 0 0.4rem;
  transition: color 0.3s;
}

.card-clickable:hover h3 {
  color: var(--color-accent);
}

.card p {
  margin: 0 0 0.9rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.card-features li {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(216, 177, 91, 0.08);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-top: 0.5rem;
  transition: all 0.3s;
}

.card-clickable:hover .card-cta {
  gap: 0.75rem;
  transform: translateX(4px);
}

/* ================= SPLIT SECTION (EXPERIENCE) ================= */

.split {
  display: grid;
  gap: 1.8rem;
}

.split-text p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.split-media {
  display: flex;
  align-items: stretch;
}

.split-media-box {
  flex: 1;
  border-radius: var(--radius-xl);
  background-image: url("images/lobby.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

/* ================= HIGHLIGHTS ================= */

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-left: auto;
  margin-right: auto;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem 2.5rem;
}

.highlight {
  padding: 0;
  background: transparent;
}

.highlight-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  color: var(--color-accent);
}

.highlight h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.highlight p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ================= GALLERY ================= */

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

.gallery-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.gallery-nav {
  display: flex;
  gap: 0.5rem;
}

.gallery-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-main);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.gallery-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.gallery-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

body[data-theme="light"] .gallery-btn {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.05);
  color: #111317;
}

body[data-theme="light"] .gallery-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.25);
}

.gallery-track-wrapper {
  /* clip so the scrolling track never bleeds outside the container */
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery-track {
  display: flex;
  gap: 0.75rem;
  height: 420px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-col {
  flex-shrink: 0;
  scroll-snap-align: start;
}

.gallery-col--tall {
  width: 280px;
  height: 100%;
}

.gallery-col--tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.gallery-col--pair {
  width: 210px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gallery-col--pair img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  min-height: 0;
}

/* Mobile adjustments */
@media (max-width: 599px) {
  .gallery-header h2 {
    font-size: 1.25rem;
  }

  .gallery-track {
    height: 300px;
    gap: 0.5rem;
  }

  .gallery-col--tall {
    width: 200px;
  }

  .gallery-col--pair {
    width: 150px;
    gap: 0.5rem;
  }
}

/* Tablet+ */
@media (min-width: 768px) {
  .gallery-track {
    height: 480px;
  }

  .gallery-col--tall {
    width: 340px;
  }

  .gallery-col--pair {
    width: 250px;
  }

  .gallery-header h2 {
    font-size: 1.9rem;
  }
}

/* Light theme gallery */
body[data-theme="light"] .gallery-header h2 {
  color: #111317;
}

/* ================= LIGHTBOX ================= */

.gl-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
}

.gl-overlay[hidden] {
  display: none;
}

.gl-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  flex-shrink: 0;
}

.gl-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.gl-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gl-counter-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gl-count {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  min-width: 3.5rem;
  text-align: center;
}

.gl-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.gl-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gl-nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.gl-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 0;
}

.gl-strip {
  display: flex;
  height: 100%;
  will-change: transform;
}

.gl-frame {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem 1.5rem;
  box-sizing: border-box;
}

.gl-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* ================= LOCATION ================= */

.location-grid {
  display: grid;
  gap: 1.8rem;
}

.location-info p {
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

.location-category {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.location-category h4 {
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.location-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.location-details li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.88rem;
  padding: 0.3rem 0;
}

.location-detail-name {
  color: var(--color-text-main);
}

.location-detail-value {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  text-align: right;
  white-space: nowrap;
}

.location-category p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.location-map iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

/* ================= CLUB EVERMORE ================= */

.club-wrapper {
  display: grid;
  gap: 2.5rem;
}

.club-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.club-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(230, 194, 109, 0.2), rgba(178, 129, 41, 0.2));
  color: var(--color-accent);
  border: 1px solid rgba(216, 177, 91, 0.3);
}

.club-title {
  margin: 0;
  font-size: 1.8rem;
  font-family: 'Julius Sans One', sans-serif;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #e6c26d, #f5e6c0, #b28129);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.club-subtitle {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.club-text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
  max-width: 480px;
}

.club-benefits {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.club-benefits li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.club-benefit-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(216, 177, 91, 0.1);
  color: var(--color-accent);
}

.club-form-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #191d26, #0e1016);
  border: 1px solid rgba(216, 177, 91, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 80px rgba(216, 177, 91, 0.04);
  padding: 1.8rem;
}

.club-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.club-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.club-form-row--2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.club-form-row--addr {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.club-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.club-form-field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.club-form-field input {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-main);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.club-form-field input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(216, 177, 91, 0.12);
}

.club-form-field input::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}

.club-form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-main);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.club-form-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(216, 177, 91, 0.12);
}

body[data-theme="light"] .club-form-field textarea {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #111317;
}

.club-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.club-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  margin-top: 1px;
  transition: all 0.2s;
  position: relative;
}

.club-checkbox input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #e6c26d, #b28129);
  border-color: transparent;
}

.club-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #111317;
}

.club-checkbox a {
  color: var(--color-accent);
  text-decoration: underline;
}

.club-checkbox a:hover {
  color: var(--color-accent-soft);
}

.club-submit-btn {
  margin-top: 0.4rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}

.club-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(216, 177, 91, 0.25);
}

.club-form-message {
  margin-top: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.5;
}

.club-form-message.success {
  background: rgba(72, 187, 120, 0.12);
  border: 1px solid rgba(72, 187, 120, 0.3);
  color: #68d391;
}

.club-form-message.error {
  background: rgba(245, 101, 101, 0.12);
  border: 1px solid rgba(245, 101, 101, 0.3);
  color: #fc8181;
}

/* Club - Light theme */
body[data-theme="light"] .club-badge {
  background: rgba(216, 177, 91, 0.15);
  border-color: rgba(216, 177, 91, 0.3);
  color: #b28129;
}

body[data-theme="light"] .club-title {
  background: linear-gradient(135deg, #b28129, #8a6320, #d8a840);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body[data-theme="light"] .club-subtitle {
  color: #111317;
}

body[data-theme="light"] .club-text {
  color: #4a4a4a;
}

body[data-theme="light"] .club-benefits li {
  color: #111317;
}

body[data-theme="light"] .club-benefit-icon {
  background: rgba(216, 177, 91, 0.15);
  color: #b28129;
}

body[data-theme="light"] .club-form-card {
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  border-color: rgba(216, 177, 91, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .club-form-field input {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #111317;
}

body[data-theme="light"] .club-form-field input::-webkit-calendar-picker-indicator {
  filter: none;
}

body[data-theme="light"] .club-checkbox {
  color: #4a4a4a;
}

body[data-theme="light"] .club-checkbox input[type="checkbox"] {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.04);
}

body[data-theme="light"] .club-checkbox a {
  color: #b28129;
}

/* ================= CLUB VERIFY ================= */

.club-verify-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.5rem;
}

.club-verify-icon {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.club-verify-icon--success {
  background: rgba(72, 187, 120, 0.12);
  color: #48bb78;
}

.club-verify-icon--error {
  background: rgba(245, 101, 101, 0.12);
  color: #f56565;
}

.club-verify-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-family: 'Julius Sans One', sans-serif;
  letter-spacing: 0.04em;
}

.club-verify-card p {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

body[data-theme="light"] .club-verify-card h2 {
  color: #111317;
}

body[data-theme="light"] .club-verify-card p {
  color: #4a4a4a;
}

body[data-theme="light"] .club-verify-icon--success {
  background: rgba(72, 187, 120, 0.1);
}

body[data-theme="light"] .club-verify-icon--error {
  background: rgba(245, 101, 101, 0.1);
}

/* ================= FOOTER ================= */

.site-footer {
  background: #090b0f;
  padding: 2.5rem 0 1rem;
  color: var(--color-text-muted);
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.footer-name {
  margin: 0;
  font-weight: 600;
}

.footer-loc {
  margin: 0;
  font-size: 0.82rem;
}

.footer-col h4 {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: #e5e7ef;
}

.footer-col p {
  margin: 0;
  font-size: 0.86rem;
}

.footer-col a {
  color: inherit;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ================= AGB PAGE ================= */

.hero--small {
  min-height: 50vh;
}

.hero--small .hero-content {
  padding: 2rem 1.5rem 2.5rem;
}

.agb-section {
  background: var(--color-bg);
  padding: 3rem 0 4rem;
}

.agb-content {
  max-width: 800px;
  margin: 0 auto;
}

.agb-intro {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(216, 177, 91, 0.08);
  border-left: 4px solid var(--color-accent);
}

.agb-intro p {
  margin: 0;
  color: var(--color-text-main);
  font-size: 0.95rem;
  line-height: 1.7;
}

.agb-article {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.agb-article:last-of-type {
  border-bottom: none;
}

.agb-article h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--color-text-main);
  font-weight: 600;
}

.agb-article p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: justify;
}

.agb-article p:last-child {
  margin-bottom: 0;
}

.agb-article ul {
  margin: 0.75rem 0 1rem 1.5rem;
  padding: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.agb-article ul li {
  margin-bottom: 0.5rem;
}

.agb-article a {
  color: var(--color-accent);
  text-decoration: underline;
}

.agb-article a:hover {
  color: var(--color-accent-soft);
}

.agb-footer-info {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: #191d28;
  font-size: 0.9rem;
}

.agb-footer-info p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.agb-footer-info p:last-child {
  margin-bottom: 0;
}

.agb-footer-info strong {
  color: var(--color-text-main);
}

/* ================= HOUSE RULES ================= */

.houserules-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.houserule-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.houserule-item:last-child {
  border-bottom: none;
}

.houserule-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(216, 177, 91, 0.12);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.houserule-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-top: 0.35rem;
}

body[data-theme="light"] .houserule-item {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .houserule-number {
  background: rgba(216, 177, 91, 0.15);
  color: #b28129;
}

body[data-theme="light"] .houserule-item p {
  color: #4a4a4a;
}

/* Light theme adjustments for AGB */
body[data-theme="light"] .agb-section {
  background: #ffffff;
}

body[data-theme="light"] .agb-intro {
  background: rgba(216, 177, 91, 0.12);
}

body[data-theme="light"] .agb-intro p {
  color: #111317;
}

body[data-theme="light"] .agb-article {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .agb-article h2 {
  color: #111317;
}

body[data-theme="light"] .agb-article p,
body[data-theme="light"] .agb-article ul {
  color: #4a4a4a;
}

body[data-theme="light"] .agb-article a {
  color: #b28129;
}

body[data-theme="light"] .agb-article a:hover {
  color: #d8b15b;
}

body[data-theme="light"] .agb-footer-info {
  background: #f5f5f5;
}

body[data-theme="light"] .agb-footer-info p {
  color: #4a4a4a;
}

body[data-theme="light"] .agb-footer-info strong {
  color: #111317;
}

/* ================= MEDIA QUERIES ================= */

/* >= 600px (bigger phones / small tablets) */
@media (min-width: 600px) {
  .hero-content {
    padding: 3.5rem 2.25rem 3.25rem;
  }

  .booking-inner {
    grid-template-columns: 1.4fr 2fr;
    align-items: center;
  }

  .ibe-row {
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: end;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .club-form-card {
    padding: 2rem;
  }

  .club-form-row--2col {
    grid-template-columns: 1fr 1fr;
  }

  .club-form-row--addr {
    grid-template-columns: 1fr 100px 1fr;
  }
}

/* >= 768px (tablets) */
@media (min-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .logo {
    display: inline-flex;
  }

  .hero h1 {
    font-size: 2.6rem;
    font-family: 'Julius Sans One', sans-serif;
  }

  .hero h1 span {
    font-size: 1.2rem;
    font-family: 'Julius Sans One', sans-serif;
  }

  .hero-drawing {
    width: 38%;
    max-width: 450px;
    top: 15%;
    left: auto;
    right: 2%;
    transform: none;
  }

  .hero-image-right {
    display: block;
    width: 32%;
    max-width: 350px;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }

  .highlights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .location-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }

  .location-map {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }

  .location-map iframe {
    min-height: 400px;
  }

  .club-wrapper {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }

  .club-title {
    font-size: 2.2rem;
  }

  .club-form-card {
    padding: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .agb-article h2 {
    font-size: 1.4rem;
  }

  .agb-article p,
  .agb-article ul {
    font-size: 1rem;
  }

  .agb-intro p {
    font-size: 1rem;
  }

  .agb-section {
    padding: 4rem 0 5rem;
  }
}

/* >= 1024px (desktops) */
@media (min-width: 1024px) {
  .hero {
    align-items: center;
  }

  .hero-content {
    margin-left: 6%;
    margin-bottom: 6%;
  }

  .hero-drawing {
    width: 32%;
    max-width: 500px;
    top: 18%;
    right: 3%;
  }

  .hero-image-right {
    width: 30%;
    max-width: 400px;
  }

}