/* ===== CSS Variables & Reset ===== */
:root {
  --ocean: #0077b6;
  --ocean-dark: #023e8a;
  --teal: #00b4d8;
  --sand: #f4a261;
  --cream: #fefae0;
  --off-white: #f8f9fa;
  --text: #1a1a2e;
  --text-light: #4a4a68;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--ocean-dark);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--ocean);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--ocean-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--ocean-dark);
}

.btn-full {
  width: 100%;
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ocean-dark);
}

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

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}

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

.nav-cta {
  background: var(--ocean);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 50px;
}

.nav-cta:hover {
  background: var(--ocean-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ocean-dark);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('images/pool.jpg') center/cover no-repeat;
  color: var(--white);
  padding-top: 70px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 62, 138, 0.55), rgba(0, 119, 182, 0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
}

.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.9;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 2.5rem;
}

.stat {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  padding: 12px 20px;
  border-radius: 10px;
  min-width: 110px;
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-buttons .btn {
  min-width: 140px;
}

.hero-buttons .btn-outline {
  padding: 12px 22px;
  font-size: 0.95rem;
}

/* ===== Sections ===== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-light);
}

/* ===== About ===== */
.about {
  background: var(--off-white);
}

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

.about-text p {
  margin-bottom: 1.1rem;
  color: var(--text-light);
}

.highlight-box {
  background: var(--cream);
  border-left: 4px solid var(--sand);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  font-weight: 500;
  color: var(--text) !important;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

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

.amenity-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.amenity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.amenity-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.amenity-card h3 {
  color: var(--ocean-dark);
  margin-bottom: 8px;
}

.amenity-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ===== Rooms ===== */
.rooms {
  background: var(--off-white);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.room-card:hover {
  transform: translateY(-5px);
}

.room-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.room-info {
  padding: 20px;
}

.room-info p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Gallery ===== */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-item p {
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ocean-dark);
  text-align: center;
}

/* ===== Location ===== */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.location-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.location-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.location-item h3 {
  color: var(--ocean-dark);
  margin-bottom: 6px;
}

.location-item p {
  color: var(--text-light);
  font-size: 0.98rem;
}

.map-note {
  text-align: center;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ===== Booking Section ===== */
.book {
  background: var(--cream);
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--ocean-dark);
  margin-bottom: 1.5rem;
}

.contact-detail {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.contact-detail a {
  color: var(--ocean);
  font-weight: 500;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.qr-note, .platform-note {
  background: var(--white);
  padding: 18px 20px;
  border-radius: 10px;
  margin-top: 22px;
  font-size: 0.95rem;
  color: var(--text-light);
  border: 1px solid rgba(0, 119, 182, 0.08);
}

.platform-label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.platform-hint {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.platform-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.btn-platform {
  flex: 1 1 140px;
  background: var(--off-white);
  color: var(--ocean-dark);
  border: 2px solid rgba(0, 119, 182, 0.25);
  font-size: 0.92rem;
  padding: 11px 16px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
}

.btn-platform:hover {
  background: var(--ocean);
  color: var(--white);
  border-color: var(--ocean);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 119, 182, 0.22);
}

.booking-form-wrapper {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--ocean-dark);
  color: var(--white);
  padding: 50px 0 25px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.footer-brand p {
  opacity: 0.85;
  font-size: 0.95rem;
}

.footer-links {
  text-align: center;
}

.footer-label {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-platform-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.footer-platform-links a {
  color: var(--teal);
}

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

.footer-platform-links .dot {
  opacity: 0.5;
}

.footer-contact a {
  color: var(--teal);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid,
  .book-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 320px;
  }

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

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat {
    min-width: 90px;
    padding: 10px 14px;
  }

  .section {
    padding: 70px 0;
  }

  .booking-form-wrapper {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .platform-buttons {
    flex-direction: column;
  }

  .btn-platform {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    order: 2;
  }

  .footer-contact {
    order: 3;
  }
}
