:root{
  --bg: #f5f9fc;
  --surface: #ffffff;
  --muted: #555;
  --accent: #0077b6;
  --accent-2: #00b4d8;
  --dark: #023047;
  --radius: 12px;
  --shadow-sm: 0 5px 20px rgba(0,0,0,0.1);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.15);
  --max-width: 1200px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

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

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Containers */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 26px 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
  border-bottom: 1px solid rgba(10,20,30,0.08);
  backdrop-filter: blur(8px);
  height: 60px;
}

.navbar {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 100;
  height: 60px;
}

/* Logo Container - SMALL */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
  padding: 0;
  background: transparent;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Logo Image Styling - SMALL */
.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: 32px;
  width: 32px;
}

.logo-img {
  height: 32px;
  width: 32px;
  display: block;
  object-fit: contain;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.18s ease;
  font-weight: 600;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(0,119,184,0.08);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Book Button */
.book-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 13px;
}

.book-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  background: black;
  border: 0;
  font-size: 1.25rem;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  flex-shrink: 0;
}

.bar {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--dark);
  margin: 6px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  height: 100vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(3,37,65,0.55), rgba(3,37,65,0.55));
  pointer-events: none;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../poolimage/pool.jpg');
  background-size: cover;
  background-position: center;
  filter: contrast(1.02) saturate(1.02);
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  padding: 48px 24px;
  max-width: 900px;
  margin-left: 4vw;
  width: 90%;
}

.hero-content h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 650px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* Buttons */
.btn,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(11,139,214,0.14);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(11,139,214,0.2);
}

.btn-secondary {
  background: rgba(255,255,255,0.95);
  color: var(--accent);
}

.btn-secondary:hover {
  background: #fff;
  transform: translateY(-3px);
}

.btn-cta {
  background: white;
  color: var(--accent);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Services Section */
.services {
  padding: 80px 10%;
  text-align: center;
}

.services h2 {
  font-size: 40px;
  margin-bottom: 50px;
  color: var(--dark);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 35px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 15px;
  color: var(--dark);
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
  flex: 1 1 auto;
}

/* Learn More Button */
.learn-btn {
  display: inline-block;
  margin-top: 15px;
  align-self: flex-start;
  padding: 10px 16px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 24px rgba(3,55,90,0.08);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.learn-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(3,55,90,0.14);
}

/* About Section */
.about {
  background: white;
  padding: 80px 10%;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 0 0 300px;
  width: 300px;
  height: 300px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-text p {
  color: var(--muted);
  line-height: 1.8;
}

/* CTA Section */
.cta {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.cta-content {
  max-width: 900px;
}

.cta h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
}

.footer-bar {
  text-align: center;
  padding: 25px;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Testimonials Video Section */
.testimonials {
  padding: 60px 0;
  text-align: center;
}

.testimonial-video {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.testimonial-video video {
  display: block;
  border-radius: 15px;
  width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    height: 80vh;
    min-height: 380px;
  }

  .hero-content {
    margin-left: 6vw;
    padding: 28px;
  }
}

@media (max-width: 768px) {
  header {
    height: 56px;
  }

  .navbar {
    height: 56px;
    padding: 8px 15px;
  }

  .logo-container {
    height: 28px;
    width: 28px;
  }

  .logo-link {
    height: 28px;
    width: 28px;
  }

  .logo-img {
    height: 2px;
    width: 2px;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 15px;
    top: 56px;
    background: var(--surface);
    flex-direction: column;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    min-width: 180px;
    z-index: 110;
    flex: none;
    gap: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 10px 0;
    text-align: left;
    font-size: 13px;
  }

  .nav-toggle {
    display: flex;
  }

  .book-btn {
    display: none;
  }

  .hero {
    height: 60vh;
    min-height: 320px;
    margin-top: 56px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 220px;
  }

  .services {
    padding: 60px 5%;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card {
    padding: 20px;
  }

  .card img {
    height: 160px;
  }

  .learn-btn {
    width: 100%;
    text-align: center;
  }

  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-image {
    order: 2;
  }

  .about-text {
    order: 1;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .cta {
    padding: 50px 20px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .testimonial-video video {
    height: 400px !important;
  }
}

@media (max-width: 480px) {
  header {
    height: 52px;
  }

  .navbar {
    height: 52px;
    padding: 6px 12px;
    gap: 12px;
  }

  .logo-container {
    height: 26px;
    width: 26px;
  }

  .logo-link {
    height: 26px;
    width: 26px;
  }

  .logo-img {
    height: 26px;
    width: 26px;
  }

  .nav-links {
    right: 10px;
    top: 52px;
    min-width: 160px;
    padding: 10px 12px;
  }

  .nav-links a {
    font-size: 12px;
    padding: 8px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .book-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .hero {
    margin-top: 52px;
    height: 50vh;
  }

  .hero-content {
    padding: 24px 16px;
    margin-left: 0;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 13px;
  }

  .services {
    padding: 40px 5%;
  }

  .services h2 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .card {
    padding: 16px;
  }

  .card h3 {
    font-size: 14px;
  }

  .card p {
    font-size: 13px;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .cta {
    padding: 40px 15px;
  }

  .cta h2 {
    font-size: 22px;
  }

  .cta p {
    font-size: 14px;
  }

  .testimonial-video video {
    height: 250px !important;
  }
}

/* Accessibility */
a:focus,
button:focus {
  outline: 3px solid rgba(0,119,184,0.15);
  outline-offset: 3px;
  border-radius: 6px;
}
