/* =====================================================
   ROMANTICA BLUE — Design System
   Vacation rental website for Aliki Beach, Paros
   ===================================================== */

/* ----- CSS Variables ----- */
:root {
  /* Colors - Earthy, Grounded Palette */
  --color-terracotta: #8B5F44;
  --color-terracotta-light: #B8886B;
  --color-sand: #E8DCC4;
  --color-sand-light: #F7F3ED;
  --color-olive: #8A9B7A;
  --color-olive-dark: #6B7A5E;
  --color-sea-blue: #3D5A6E;
  --color-sea-blue-light: #5A7A8E;
  --color-aegean: #7AACBE;
  --color-white: #FFFFFF;
  --color-cream: #FDFBF8;
  --color-text: #3A3633;
  --color-text-muted: #7A726A;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Spacing - Generous breathing room */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 5rem;
  --space-xl: 8rem;

  /* Shadows - Very soft */
  --shadow-soft: 0 4px 24px rgba(58, 54, 51, 0.06);
  --shadow-medium: 0 8px 32px rgba(58, 54, 51, 0.08);
  --shadow-strong: 0 12px 48px rgba(58, 54, 51, 0.10);

  /* Border Radius - Softer edges */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Transitions - Slower, more mindful */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ----- Accessibility ----- */
.skip-link {
  position: absolute;
  top: -40px;
  left: var(--space-sm);
  padding: 0.5rem 1rem;
  background: var(--color-sea-blue);
  color: var(--color-white);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-sm);
  outline: 2px solid var(--color-terracotta);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

/* ----- Typography ----- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-sea-blue);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-muted);
}

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

a:hover {
  color: var(--color-terracotta-light);
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
}

section:nth-child(even) {
  background-color: var(--color-white);
}

/* ----- Navigation ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-medium);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-sea-blue);
  font-weight: 600;
}

.logo span {
  color: var(--color-terracotta-light);
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-terracotta);
}

.language-switcher {
  display: flex;
  gap: var(--space-xs);
}

.lang-btn {
  padding: 0.5rem 0.75rem;
  min-height: 36px;
  min-width: 36px;
  border: 1px solid var(--color-sand);
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--color-sea-blue);
  color: var(--color-white);
  border-color: var(--color-sea-blue);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-sea-blue);
}

/* ----- Hero Section ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(20, 40, 60, 0.55) 0%,
      rgba(20, 40, 60, 0.70) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--color-white);
  padding: var(--space-md);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Simple Breathing Circle Animation */
.breathe-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: var(--space-sm) auto var(--space-md);
  height: 120px;
  position: relative;
}

.breathe-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  animation: breathe-pulse 8s ease-in-out infinite;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.breathe-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.breathe-in {
  animation: breathe-text-in 8s ease-in-out infinite;
}

.breathe-out {
  animation: breathe-text-out 8s ease-in-out infinite;
}

@keyframes breathe-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.6);
    opacity: 1;
  }
}

@keyframes breathe-text-in {

  0%,
  5% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }

  10%,
  45% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  50%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
}

@keyframes breathe-text-out {

  0%,
  50% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }

  55%,
  90% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.7);
  }

  95%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }
}

.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: 1.1rem;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-location svg {
  width: 20px;
  height: 20px;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  animation: float 3s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-terracotta);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(184, 136, 107, 0.2);
}

.btn-primary:hover {
  background: var(--color-terracotta-light);
  box-shadow: 0 6px 24px rgba(184, 136, 107, 0.25);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-sea-blue);
  border: 2px solid var(--color-sea-blue);
}

.btn-secondary:hover {
  background: var(--color-sea-blue);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-sea-blue);
}

.btn-white:hover {
  background: var(--color-sand-light);
  transform: translateY(-2px);
}

/* ----- Section Headers ----- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-xs);
}

/* ----- Story Section ----- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.story-content h2 {
  margin-bottom: var(--space-md);
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.story-highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-sand-light);
  border-radius: var(--radius-lg);
  margin-top: var(--space-md);
}

.story-highlight-icon {
  font-size: 2rem;
}

.story-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.story-image:hover img {
  transform: scale(1.02);
}

/* ----- Gallery ----- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  grid-auto-rows: 250px;
  gap: var(--space-sm);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 95, 0);
  transition: background var(--transition-medium);
}

.gallery-item:hover::after {
  background: rgba(61, 90, 110, 0.1);
}

/* ----- Reviews ----- */
#reviews {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-sand-light) 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.review-card {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-stars {
  color: #d4a05a;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

.review-card blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.55;
  margin: 0;
  color: var(--color-text);
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--color-sand);
  padding-top: 0.75rem;
  margin-top: auto;
}

.review-author strong {
  color: var(--color-sea-blue);
  font-weight: 600;
}

.review-meta {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.reviews-more {
  text-align: center;
  margin-top: var(--space-md);
}

.review-link {
  display: inline-block;
  color: var(--color-terracotta);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--color-terracotta);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.review-link:hover {
  background: var(--color-terracotta);
  color: var(--color-white);
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Amenities ----- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.amenity-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-medium);
}

.amenity-card:hover {
  box-shadow: var(--shadow-medium);
}

.amenity-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sand-light);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.amenity-card h4 {
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.amenity-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* ----- Bedrooms ----- */
.bedrooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.bedroom-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-medium);
}

.bedroom-card:hover {
  box-shadow: var(--shadow-medium);
}

.bedroom-image {
  height: 200px;
  overflow: hidden;
}

.bedroom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.bedroom-card:hover .bedroom-image img {
  transform: scale(1.05);
}

.bedroom-info {
  padding: var(--space-md);
}

.bedroom-info h4 {
  margin-bottom: var(--space-xs);
}

/* ----- Beach Access Warning ----- */
.beach-section {
  background: linear-gradient(135deg, var(--color-sand-light) 0%, var(--color-sand) 100%);
}

.beach-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.beach-warning {
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-terracotta);
}

.beach-warning h4 {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-terracotta);
  margin-bottom: var(--space-sm);
}

.beach-alternatives {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--color-sea-blue);
  color: var(--color-white);
  border-radius: var(--radius-lg);
}

.beach-alternatives h4 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.beach-alternatives ul {
  list-style: none;
}

.beach-alternatives li {
  padding: var(--space-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.beach-alternatives li::before {
  content: '🏖️';
}

/* ----- Location/Map ----- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.distances-list {
  list-style: none;
}

.distances-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-sand);
}

.distances-list li:last-child {
  border-bottom: none;
}

.distance-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sand-light);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
}

.distance-value {
  margin-left: auto;
  font-weight: 600;
  color: var(--color-sea-blue);
}

/* ----- Calendar Section ----- */
.calendar-section {
  background: var(--color-sea-blue);
  color: var(--color-white);
}

.calendar-section .section-header h2,
.calendar-section .section-header p {
  color: var(--color-white);
}

.calendar-container {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  box-shadow: var(--shadow-strong);
  max-width: 800px;
  margin: 0 auto;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
  color: var(--color-text);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.available {
  background: var(--color-olive);
}

.legend-dot.booked {
  background: var(--color-text-muted);
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  /* Standard gap */
}

.calendar-header {
  text-align: center;
  padding: var(--space-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* Align to top */
  padding-top: 6px;
  gap: 2px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: all var(--transition-fast);
  position: relative;
}

.day-number {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.day-price {
  font-size: 0.7rem;
  font-weight: 400;
  margin-top: 2px;
  color: var(--color-text-muted);
}

.calendar-day.available {
  background: rgba(122, 139, 110, 0.2);
  cursor: pointer;
}

.calendar-day.available:hover {
  background: var(--color-olive);
}

.calendar-day.available:hover .day-number,
.calendar-day.available:hover .day-price {
  color: var(--color-white);
}

.calendar-day.in-range {
  background-color: var(--color-terracotta-light) !important;
  color: var(--color-white) !important;
  border-radius: 0;
}

.calendar-day.in-range .day-number,
.calendar-day.in-range .day-price {
  color: var(--color-white);
}

.calendar-day.check-in {
  background-color: var(--color-terracotta) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.calendar-day.check-out {
  background-color: var(--color-terracotta) !important;
  color: var(--color-white) !important;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.calendar-day.booked {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-text-muted);
  cursor: not-allowed;
  opacity: 0.5;
}

.calendar-day.booked .day-number {
  text-decoration: line-through;
  opacity: 0.7;
}

.calendar-day.empty {
  background: transparent;
  cursor: default;
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.calendar-nav h3 {
  color: var(--color-sea-blue);
}

.calendar-nav button {
  background: var(--color-sand-light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.calendar-nav button:hover {
  background: var(--color-sea-blue);
  color: var(--color-white);
}

@keyframes highlight-pulse-bg {
  0% {
    background-color: rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
  }

  100% {
    background-color: transparent;
    transform: scale(1);
  }
}

.price-highlight {
  display: inline-block;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  animation: highlight-pulse-bg 1.2s ease-out;
}

/* ----- Contact/Booking Section ----- */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-form {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem var(--space-sm);
  border: 2px solid var(--color-sand);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-terracotta);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.booking-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.booking-links h3 {
  margin-bottom: var(--space-md);
}

.booking-platform {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-medium);
  text-decoration: none;
  color: var(--color-text);
}

.booking-platform:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-medium);
}

.booking-platform-logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sand-light);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.7rem;
}

.booking-platform-logo.airbnb {
  background: #FF5A5F;
  color: white;
}

.booking-platform-logo.booking {
  background: #003580;
  color: white;
}

/* ----- Footer ----- */
.footer {
  background: var(--color-sea-blue);
  color: var(--color-white);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer h4 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer .logo span {
  color: var(--color-sand-light);
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
}

/* ----- Lightbox ----- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
}

.lightbox-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-fast);
}

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

/* ----- Responsive Design ----- */
@media (max-width: 1024px) {

  .story-grid,
  .beach-content,
  .location-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
    grid-auto-rows: 200px;
  }

  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: var(--space-md);
    box-shadow: var(--shadow-medium);
  }

  .hero {
    min-height: 80vh;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 200px);
    grid-auto-rows: 200px;
  }

  .gallery-item:first-child {
    grid-column: span 1;
  }

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

  section {
    padding: var(--space-lg) 0;
  }
}

/* ----- Animations ----- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

/* Security: Honeypot field for spam protection */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Gallery Carousel Rotation */
.gallery-item.gallery-highlight {
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 12px 40px rgba(194, 113, 79, 0.4);
}

.gallery-item.gallery-highlight img {
  transform: scale(1.05);
}

@keyframes gallery-pulse {

  0%,
  100% {
    box-shadow: 0 8px 30px rgba(194, 113, 79, 0.3);
  }

  50% {
    box-shadow: 0 12px 40px rgba(194, 113, 79, 0.5);
  }
}

.gallery-item.gallery-highlight {
  animation: gallery-pulse 2s ease-in-out infinite;
}

/* ===== ENHANCED GALLERY - MOBILE CAROUSEL ===== */

/* Hide carousel on desktop, show grid */
.gallery-carousel {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  grid-auto-rows: 250px;
  gap: var(--space-sm);
}

/* Mobile: Show carousel, hide grid */
@media (max-width: 768px) {
  .gallery-carousel {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-medium);
  }

  .gallery-grid {
    display: none;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    touch-action: pan-y pinch-zoom;
  }

  .carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
  }

  .carousel-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-btn:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: var(--space-sm) 0;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .carousel-dot.active {
    background: var(--color-white);
    transform: scale(1.2);
  }
}

/* ===== ENHANCED LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: lightbox-zoom 0.3s ease-out;
}

@keyframes lightbox-zoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {

  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox img {
    max-width: 95%;
    max-height: 70vh;
  }
}

/* Better mobile grid for tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item:first-child {
    grid-column: span 2;
  }

  .gallery-item {
    height: 200px;
  }
}

/* ----- Neighborhood Section ----- */
.neighborhood-section {
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-sand-light) 100%);
}

.tavernas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.taverna-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: all var(--transition-medium);
}

.taverna-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.taverna-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.taverna-card h4 {
  color: var(--color-sea-blue);
  margin-bottom: var(--space-xs);
}

.taverna-card p {
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.taverna-distance {
  display: inline-block;
  background: var(--color-olive);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

.nightlife-note {
  text-align: center;
  font-style: italic;
  color: var(--color-text-muted);
  margin: 0;
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-terracotta);
}

@media (max-width: 768px) {
  .tavernas-grid {
    grid-template-columns: 1fr;
  }
}

/* Calendar Date Selection */
.calendar-day.check-in,
.calendar-day.check-out {
  background: var(--color-terracotta) !important;
  color: var(--color-white) !important;
  font-weight: 600;
}

.calendar-day.in-range {
  background: rgba(184, 136, 107, 0.3) !important;
  color: var(--color-text);
}

.selection-display {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-sand-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-terracotta);
}

.selection-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.selection-dates {
  font-size: 0.95rem;
  color: var(--color-text);
}

.selection-nights {
  font-size: 0.85rem;
  color: var(--color-terracotta);
  font-weight: 600;
}

.clear-selection-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--color-terracotta);
  color: var(--color-terracotta);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.clear-selection-btn:hover {
  background: var(--color-terracotta);
  color: var(--color-white);
}

/* Calendar Season Colors */
.calendar-day.low-season {
  border-bottom: 3px solid var(--color-olive);
}

.calendar-day.mid-season {
  border-bottom: 3px solid var(--color-aegean);
}

.calendar-day.peak-season {
  border-bottom: 3px solid var(--color-terracotta);
}

/* Pricing Legend */
.pricing-legend {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.pricing-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text);
}

.pricing-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.pricing-dot.low {
  background: var(--color-olive);
}

.pricing-dot.mid {
  background: var(--color-aegean);
}

.pricing-dot.peak {
  background: var(--color-terracotta);
}

.pricing-legend-item strong {
  color: var(--color-sea-blue);
}

/* Book Now Button */
.selection-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.book-now-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-light));
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(184, 136, 107, 0.3);
}

.book-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 136, 107, 0.4);
  background: linear-gradient(135deg, var(--color-terracotta-light), var(--color-terracotta));
}

/* Update selection display for new layout */
.selection-display {
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .selection-display {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .selection-actions {
    width: 100%;
    justify-content: center;
  }
}

/* ----- Reduced Motion (WCAG 2.3.3 + 2.2.2) ----- */
@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;
  }
}