/* ─── Variables ────────────────────────────────────────────────────────────── */
:root {
  --primary:        #1a6b8a;
  --primary-dark:   #134f67;
  --primary-light:  #2980b9;
  --secondary:      #c0392b;
  --secondary-light:#e74c3c;
  --gold:           #d4a843;
  --gold-light:     #f0c060;
  --sand:           #f8f3eb;
  --sand-dark:      #ede5d5;
  --olive:          #7f8c52;
  --text:           #2c3e50;
  --text-light:     #7f8c8d;
  --white:          #ffffff;
  --border:         #e0d8cc;
  --shadow:         0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:      0 8px 40px rgba(0,0,0,.15);
  --radius:         10px;
  --radius-lg:      18px;
  --transition:     .35s ease;

  /* Calendar */
  --cal-available:  #27ae60;
  --cal-booked:     #e74c3c;
  --cal-expired:    #bdc3c7;
  --cal-selected:   #1a6b8a;
  --cal-range:      #d6eaf8;
}

/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--sand);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,138,.15);
}
textarea { resize: vertical; min-height: 120px; }

/* ─── Typography ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1rem; }

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--secondary));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .5px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26,107,138,.35);
}
.btn-primary:hover { box-shadow: 0 6px 25px rgba(26,107,138,.5); }
.btn-primary:disabled { opacity: .6; transform: none; cursor: not-allowed; }
.btn-danger {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(192,57,43,.35);
}

/* ─── Navigation ───────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248,243,235,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}
.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.nav-logo i { color: var(--gold); }

.nav-menu {
  display: flex;
  list-style: none;
  gap: .25rem;
  margin-left: auto;
}
.nav-link {
  display: block;
  padding: .5rem .9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(26,107,138,.08);
}

.lang-switcher {
  display: flex;
  gap: .25rem;
  border-left: 1px solid var(--border);
  padding-left: 1rem;
}
.lang-btn {
  padding: .3rem .55rem;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text-light);
  transition: all .2s;
}
.lang-btn:hover { color: var(--primary); background: rgba(26,107,138,.08); }
.lang-btn.active {
  background: var(--primary);
  color: var(--white);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* ─── Pages ────────────────────────────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }
main { padding-top: 70px; }

.page-hero {
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 4rem 2rem 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.3);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}
.page-hero h1 { color: var(--white); text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.page-hero p {
  font-size: 1.15rem;
  opacity: .9;
  margin: .5rem 0 0;
  font-style: italic;
}

/* ─── Hero Slider ──────────────────────────────────────────────────────────── */
.slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);
  min-height: 500px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active { opacity: 1; z-index: 1; }

/* Slide backgrounds with image + gradient fallback */
.slide:nth-child(1) { background: url('../images/slide1.jpg') center/cover no-repeat, linear-gradient(135deg,#c0392b 0%,#f39c12 50%,#e8503a 100%); }
.slide:nth-child(2) { background: linear-gradient(135deg,#1a6b8a 0%,#74b9ff 50%,#2c3e50 100%); }
.slide:nth-child(3) { background: linear-gradient(135deg,#00b4db 0%,#0083b0 50%,#006494 100%); }
.slide:nth-child(4) { background: linear-gradient(135deg,#1a6b8a 0%,#2980b9 50%,#5dade2 100%); }
.slide:nth-child(5) { background: linear-gradient(135deg,#e67e22 0%,#f39c12 50%,#f1c40f 100%); }
.slide:nth-child(6) { background: linear-gradient(135deg,#2c3e50 0%,#34495e 40%,#8e44ad 100%); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.15) 100%);
}
.slide-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 800px;
}
.slide-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.6rem, 10vw, 4.4rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  margin: 0;
  letter-spacing: -.5px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.3);
  transition: background var(--transition), transform var(--transition);
}
.slider-btn:hover { background: rgba(255,255,255,.35); transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: .6rem;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  transition: background .3s, transform .3s;
}
.dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ─── About Section ────────────────────────────────────────────────────────── */
.about-section { padding: 6rem 0; background: var(--white); }

.about-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}
.about-text p {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.85;
  margin: 0;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  background: var(--sand);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  font-weight: 700;
  font-size: .9rem;
}
.feature-item i {
  color: var(--primary);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* Offset images */
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-1 {
  aspect-ratio: 4/3;
  margin-top: 2.5rem;
}
.about-img-2 {
  aspect-ratio: 4/3;
  margin-top: -2.5rem;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-1 { background: linear-gradient(135deg,#f7971e,#ffd200); }
.about-img-2 { background: linear-gradient(135deg,#00b4db,#0083b0); }

/* ─── Gallery ──────────────────────────────────────────────────────────────── */
#page-gallery .container { padding-top: 3rem; padding-bottom: 4rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--sand-dark);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover .gallery-thumb img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,107,138,.7);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; }
.gallery-overlay p { font-family: 'Playfair Display', serif; font-size: 1rem; margin: 0; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  object-fit: contain;
}
#lightboxCaption {
  color: rgba(255,255,255,.85);
  font-style: italic;
  margin-top: .75rem;
  font-size: .95rem;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 1.8rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  transition: background .2s;
  z-index: 10;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }

/* ─── Calendar ─────────────────────────────────────────────────────────────── */
#page-availability .container { padding-top: 2.5rem; padding-bottom: 4rem; }

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 600;
}
.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}
.legend-dot.available { background: var(--cal-available); }
.legend-dot.booked    { background: var(--cal-booked); }
.legend-dot.expired   { background: var(--cal-expired); }
.legend-dot.selected  { background: var(--cal-selected); }

.cal-hint {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 2rem;
  font-size: .95rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
.cal-month {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}
.cal-month-header {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--sand);
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}
.cal-weekdays span {
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  padding: 2px 0;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
  transition: transform .15s, box-shadow .15s;
}
.cal-day.empty { background: none; }
.cal-day.expired  { background: var(--cal-expired); color: #888; }
.cal-day.booked   { background: var(--cal-booked);  color: var(--white); }
.cal-day.available {
  background: rgba(39,174,96,.12);
  color: var(--cal-available);
  cursor: pointer;
}
.cal-day.available:hover {
  background: var(--cal-available);
  color: var(--white);
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(39,174,96,.4);
  z-index: 1;
  position: relative;
}
.cal-day.selected {
  background: var(--cal-selected);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 2px 10px rgba(26,107,138,.4);
  position: relative;
  z-index: 1;
}
.cal-day.in-range {
  background: var(--cal-range);
  color: var(--primary);
  border-radius: 0;
}

/* ─── Inquiry Form ─────────────────────────────────────────────────────────── */
.inquiry-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.inquiry-form-wrapper h3 {
  margin-bottom: 1.75rem;
  color: var(--primary);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .45rem;
  letter-spacing: .3px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-message {
  margin-top: 1rem;
  padding: .9rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  display: none;
}
.form-message.success {
  display: block;
  background: rgba(39,174,96,.12);
  color: #1e8449;
  border: 1px solid rgba(39,174,96,.3);
}
.form-message.error {
  display: block;
  background: rgba(231,76,60,.1);
  color: var(--secondary);
  border: 1px solid rgba(231,76,60,.25);
}

/* ─── Contact Page ─────────────────────────────────────────────────────────── */
#page-contact .container { padding-top: 3rem; padding-bottom: 4rem; }
.contact-wrapper {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.contact-info h3 {
  margin-bottom: 1.75rem;
  color: var(--primary);
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-info-item i {
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: .15rem;
  width: 24px;
  flex-shrink: 0;
}
.contact-info-item strong { display: block; font-size: .88rem; color: var(--text-light); margin-bottom: .2rem; }
.contact-info-item p { margin: 0; line-height: 1.5; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 2rem;
}
.footer-content { text-align: center; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: .75rem;
}
.footer-logo i { color: var(--gold); }
.footer-tagline { font-style: italic; margin-bottom: 1.75rem; font-size: .95rem; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-bottom: 1.75rem;
}
.footer-links a {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-legal-link { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-legal-link:hover { color: var(--white); }
.admin-link {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: rgba(255,255,255,.2);
  transition: color .3s;
}
.admin-link:hover { color: rgba(255,255,255,.6); }

/* ─── Modals ───────────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.active { display: flex; }
.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-content h3 { margin-bottom: 1.5rem; color: var(--primary); }
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.3rem;
  color: var(--text-light);
  transition: color .2s;
}
.modal-close:hover { color: var(--secondary); }
.modal-content--scroll { max-width: 640px; max-height: 80vh; overflow-y: auto; }
.legal-text h4 { margin: 1.25rem 0 .4rem; color: var(--primary); font-size: 1rem; }
.legal-text p { font-size: .9rem; line-height: 1.7; margin: 0 0 .75rem; color: var(--text); }

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-content { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(248,243,235,.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    gap: .25rem;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: .75rem 1rem; border-radius: var(--radius); }
  .nav-toggle { display: flex; }
  .lang-switcher { margin-left: 0; }
  .nav-container { flex-wrap: wrap; }
  .about-features { grid-template-columns: 1fr; }
  .about-images { grid-template-columns: 1fr; gap: 1rem; }
  .about-img-1, .about-img-2 { margin: 0; }
  .calendar-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .inquiry-form-wrapper { padding: 1.5rem; }
  .contact-form { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .slider { height: 70vh; min-height: 400px; }
  .slider-btn { width: 40px; height: 40px; font-size: .9rem; }
  .calendar-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 3rem 1.5rem 2rem; }
}
