:root {
  /* Colors */
  --primary: #0B1D3A; /* Deep Navy */
  --secondary: #FF6B6B; /* Coral */
  --secondary-hover: #ff5252;
  --accent: #E8C547; /* Sandy Gold */
  --bg-main: #F7F5F0; /* Soft off-white */
  --bg-light: #FFFFFF;
  --text-dark: #333333;
  --text-light: #F7F5F0;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --section-padding: 5rem 2rem;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 1rem auto 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--secondary);
  color: var(--bg-light);
  font-weight: 700;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

/* Placeholders */
.placeholder-box {
  background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #777;
  border-radius: 8px;
  border: 2px dashed #ccc;
  text-align: center;
  padding: 2rem;
}
.placeholder-box i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background-color: var(--primary);
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-light);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-links a:hover:not(.btn) {
  color: var(--accent);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(170deg, 
    #0B1D3A 0%, 
    #0d2847 15%, 
    #0e4a6f 30%, 
    #1a7a8a 45%, 
    #20b2aa 55%, 
    #48d1cc 65%, 
    #87ceeb 78%, 
    #FFB347 88%, 
    #FF6B6B 95%, 
    #FF4500 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  position: relative;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--text-light);
  font-size: 2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

/* Wave Section Divider */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-divider .shape-fill {
  fill: var(--bg-light);
}

.wave-divider.flip {
  transform: rotate(180deg);
  margin-top: 0;
  margin-bottom: -1px;
}

/* About Section */
.about {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-image {
  height: 400px;
}

/* Property Section */
.property {
  padding: var(--section-padding);
  background-color: var(--bg-main);
}

.property-card {
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-width: 900px;
  margin: 0 auto;
}

.property-hero {
  height: 500px;
  border-radius: 12px 12px 0 0;
  border: none;
}

.property-content {
  padding: 3rem;
  text-align: center;
}

.property-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

.stat-item span {
  font-size: 1.5rem;
}

/* Amenities */
.amenities {
  padding: var(--section-padding);
  background-color: var(--primary);
  color: var(--text-light);
}

.amenities .section-title {
  color: var(--text-light);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}

.amenity-card {
  background: rgba(255,255,255,0.1);
  padding: 2rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
}

.amenity-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-5px);
}

.amenity-card span {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* Gallery Section */
.gallery {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-item {
  height: 250px;
}

.gallery-note {
  text-align: center;
  font-style: italic;
  color: #666;
}

/* Location */
.location {
  padding: var(--section-padding);
  background-color: var(--bg-main);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.map-placeholder {
  height: 400px;
}

.attractions {
  margin-top: 2rem;
}

.attractions li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
}

/* Reviews */
.reviews {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  height: 250px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial.active {
  opacity: 1;
  z-index: 1;
}

.stars {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.quote {
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.guest-info {
  font-weight: 700;
  color: var(--primary);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.dot.active {
  background: var(--primary);
}

/* Booking Widget */
.booking {
  padding: var(--section-padding);
  background-color: var(--primary);
  color: var(--text-light);
  text-align: center;
}

.booking .section-title {
  color: var(--text-light);
}

#hospitable-widget {
  background: var(--bg-light);
  min-height: 400px;
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 8px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 3px solid var(--accent);
}

.fallback-link {
  color: var(--accent);
  text-decoration: underline;
  margin-top: 1rem;
  display: inline-block;
}

/* Contact */
.contact {
  padding: var(--section-padding);
  background-color: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: #050d1a;
  color: #fff;
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

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

.mahalo {
  color: var(--secondary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-top: 1rem;
}

/* Utilities / Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid, .location-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--primary);
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition);
    align-items: flex-start;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .property-hero {
    height: 300px;
  }
  
  .section-padding {
    padding: 3rem 1.5rem;
  }
}
