﻿:root {
  --primary: #0369a1;
  --primary-dark: #075985;
  --primary-light: #e0f2fe;
  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  --bg-main: #f8fafc;
  --surface: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: #0284c7;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-badge {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: white;
  font-weight: 800;
  font-size: 18px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
}

.logo-text h1 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.logo-text span {
  font-size: 12px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
}

.btn-book-header {
  background: var(--accent-gold);
  color: white;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, transform 0.1s;
}

.btn-book-header:hover {
  background: #b45309;
  transform: translateY(-1px);
}

/* Main Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 80px 20px;
}

/* Title Section */
.property-header {
  margin-bottom: 20px;
}

.property-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  align-items: center;
}

.badge-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

/* Mosaic Gallery (Airbnb Style) */
.gallery-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 10px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #e2e8f0;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s;
}

.mosaic-item:hover img {
  transform: scale(1.03);
}

.mosaic-item.main {
  grid-row: span 2;
}

.btn-view-all-photos {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-view-all-photos:hover {
  background: white;
  transform: scale(1.02);
}

/* Content Layout (Grid: Details + Sticky Booking Card) */
.layout-split {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

/* Left Column: Details */
.section-block {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.highlight-icon {
  font-size: 24px;
  color: var(--primary);
}

.highlight-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.highlight-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-main);
}

.amenity-icon {
  width: 24px;
  text-align: center;
  font-size: 18px;
  color: var(--primary);
}

/* Rates Information Card */
.season-rates-card {
  background: linear-gradient(145deg, #f0f9ff, #e0f2fe);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 16px;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.rates-table th, .rates-table td {
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #cbd5e1;
}

.rates-table th {
  font-weight: 600;
  color: var(--primary-dark);
}

.rates-table td b {
  color: var(--text-main);
  font-size: 15px;
}

/* Right Column: Sticky Booking Widget */
.booking-widget {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
}

.widget-price-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.price-main {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
}

.price-main span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.vat-notice-badge {
  font-size: 11.5px;
  background: #f1f5f9;
  color: #475569;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* Date Range Picker Box */
.picker-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 18px;
}

.date-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.date-input-group {
  padding: 10px 14px;
}

.date-input-group:first-child {
  border-right: 1px solid var(--border);
}

.date-input-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.date-input-group input {
  width: 100%;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  background: transparent;
}

.guest-selector-group {
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.guest-selector-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.guest-selector-group select {
  border: none;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  background: transparent;
  color: var(--text-main);
}

.options-group {
  margin-bottom: 18px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-main);
  cursor: pointer;
  margin-bottom: 8px;
}

.promo-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.promo-row input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-transform: uppercase;
}

.promo-row button {
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Quote Breakdown */
.quote-breakdown {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
  font-size: 14px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.breakdown-row.total {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}

.btn-submit-booking {
  width: 100%;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.2s;
  margin-top: 18px;
}

.btn-submit-booking:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.booking-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Fullscreen Gallery Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  padding: 24px;
}

.modal-overlay.active {
  display: block;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 20px auto;
  color: white;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-filter-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 24px auto;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip.active, .filter-chip:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-card {
  background: #1e293b;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #334155;
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.gallery-card-info {
  padding: 14px;
  color: #f1f5f9;
}

.gallery-card-info h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.gallery-card-info p {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.4;
}

/* Welcome Book Accordion */
.welcome-book-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 16px;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

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

.accordion-header {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  transition: background 0.2s;
}

.accordion-header:hover {
  background: #f8fafc;
}

.accordion-content {
  padding: 0 20px 16px 20px;
  font-size: 14px;
  color: var(--text-muted);
  display: none;
  line-height: 1.5;
}

.accordion-item.open .accordion-content {
  display: block;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 50px 20px;
  font-size: 13px;
  border-top: 1px solid #1e293b;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  color: #f8fafc;
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-col p, .footer-col a {
  color: #94a3b8;
  text-decoration: none;
  line-height: 1.8;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .mosaic-item {
    height: 220px;
  }
  .mosaic-item.main {
    grid-row: auto;
    height: 280px;
  }
  .layout-split {
    grid-template-columns: 1fr;
  }
  .booking-widget {
    position: static;
    margin-top: 20px;
  }
}
