*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-color: #00A8C5;
  --primary-color-dark: #004E92;
  --secondary-color: #333;
  --background-color: #f4f4f4;
  --card-background: #fff;
  --transition-speed: 0.3s;
  --font-family: 'Open Sans', sans-serif;
  --header-gradient: linear-gradient(135deg, #00A8C5, #004E92);
  --footer-gradient: linear-gradient(135deg, #00A8C5, #004E92);
  --btn-bg: #00A8C5;
  --btn-bg-hover: #004E92;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--secondary-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
header, footer {
  background: var(--header-gradient);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
header {
  padding: 3rem 1rem;
}
footer {
  background: var(--footer-gradient);
  padding: 1.5rem 1rem;
}
header::before, footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  transform: rotate(45deg);
}
header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
header p {
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
}
.cursive {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 3px solid #fff;
  padding-bottom: 0.2rem;
  color: #fff;
}
.top-listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}
.section-heading {
  text-align: center;
  font-size: 2rem;
  margin: 2rem auto 1rem;
  padding: 0 1rem;
  max-width: 1200px;
}
.divider {
  max-width: 1200px;
  margin: 2.5rem auto;
  border: 0;
  border-top: 1px solid #e6e6e6;
}
.middle-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}
.coming-soon-container {
  flex: 1;
  max-width: 300px;
}
.contact-container {
  flex: 2;
  max-width: 600px;
}
.card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  opacity: 0;
  transition: transform var(--transition-speed) ease-out, opacity var(--transition-speed) ease-out;
}
.card.animate {
  transform: translateY(0);
  opacity: 1;
}
.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}
.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}
.slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slideshow img.active {
  opacity: 1;
}
.card-content {
  padding: 1.5rem;
  flex: 1;
}
.card-content h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.card-content p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.card-content .rating {
  color: var(--primary-color);
  font-weight: bold;
}
.card-footer {
  padding: 1rem 1.5rem;
  background: #fafafa;
  text-align: center;
}
.book-btn {
  display: inline-block;
  background: var(--btn-bg);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background var(--transition-speed) ease, transform var(--transition-speed) ease;
}
.book-btn:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
}
.contact {
  background: var(--card-background);
  border-radius: 12px;
  padding: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transform: translateY(20px);
  opacity: 0;
  transition: transform var(--transition-speed) ease-out, opacity var(--transition-speed) ease-out;
  text-align: center;
}
.contact.animate {
  transform: translateY(0);
  opacity: 1;
}
.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.contact p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}
.contact a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}
.contact a:hover {
  text-decoration: underline;
}
.card.coming-soon {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.card.coming-soon .card-image {
  height: 100%;
}
.card.coming-soon .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(50%);
}
.card.coming-soon .card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}
.badge {
  background: var(--primary-color);
  color: #fff;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge.crib {
  background: #00A8C5; /* Sea Glass blue */
  color: #fff;
}

.badge.soon {
  background: #ffd166;
  color: #222;
}
@media (max-width: 768px) {
  header h1 {
    font-size: 2.5rem;
  }
  header p {
    font-size: 1.1rem;
  }
  .card-image {
    height: 180px;
  }
  .top-listings {
    grid-template-columns: 1fr;
  }
  .middle-section {
    flex-direction: column;
    align-items: center;
  }
  .coming-soon-container, .contact-container {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .contact h2, .contact p {
    white-space: normal;
  }
}
body.home-tour-page {
  background: var(--background-color);
  margin: 0;
  padding: 0;
}
.tour-header {
  background: var(--header-gradient);
  padding: 2rem 1rem;
}
.tour-header .header-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.tour-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.nav-tour a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid #fff;
  border-radius: 4px;
  transition: background var(--transition-speed) ease;
}
.nav-tour a:hover {
  background: #fff;
  color: var(--secondary-color);
}
.tour-main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 200px);
}
.video-container {
  max-width: 900px;
  width: 100%;
  background: #fff;
  padding: 2rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 12px;
  text-align: center;
}
.video-container video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.tour-description {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--secondary-color);
}
.tour-footer {
  background: var(--footer-gradient);
  padding: 1rem;
  text-align: center;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .contact { transition: none; transform: none !important; opacity: 1 !important; }
  .slideshow img { transition: none; }
}
.section-heading {
  text-align: center;
  font-size: 2rem;
  margin: 1.5rem auto 0.5rem;
  padding: 0 1rem;
  max-width: 1200px;
}
.section-heading {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin: 1.5rem auto 0.75rem;
  padding: 0 1rem;
  max-width: 1200px;
}
.top-listings .section-heading {
  grid-column: 1 / -1;
}
.top-listings {
  margin: 1.25rem auto 2rem;
}
@media (max-width: 768px) {
  .section-heading {
    font-size: 1.6rem;
    margin: 1rem auto 0.25rem;
  }
  .top-listings {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 .75rem;
  }
  .card-image { height: 170px; }
  .card-content h2 { font-size: 1.4rem; }
  .book-btn { width: 100%; }
}
@media (max-width: 480px) {
  .card-image { height: 160px; }
}
