html {
  scroll-behavior: smooth;
}

:root {
  --bg: hsl(222 47% 7%);
  --fg: hsl(210 30% 96%);
  --card: hsl(222 42% 10%);
  --primary: hsl(199 80% 72%);
  --primary-fg: hsl(222 47% 9%);
  --secondary: hsl(222 30% 15%);
  --muted: hsl(210 20% 70%);
  --border: hsl(222 25% 20%);
  --heading: 'Playfair Display', serif;
  --body: 'Jost', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  line-height: 1.6;
}

.container { max-width: 1150px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 800px; }

h1, h2, h3 { font-family: var(--heading); font-weight: 500; }

.eyebrow {
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { opacity: 0.88; }
.btn-outline { border: 1px solid rgba(115, 194, 230, 0.5); color: var(--fg); background: transparent; }
.btn-outline:hover { background: rgba(115, 194, 230, 0.1); }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1150px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand-name { font-family: var(--heading); font-size: 20px; color: var(--fg); letter-spacing: 0.03em; }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-size: 14px; color: var(--muted); text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.menu-btn span {
  width: 24px; height: 2px; background: var(--fg);
  transition: 0.3s;
}
.menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-nav {
  display: none; flex-direction: column; align-items: center;
  gap: 24px; padding: 24px 0 32px; border-top: 1px solid var(--border);
}
.mobile-nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav.open { display: flex; }

/* HERO */
.hero {
  position: relative; min-height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0.8), rgba(15,23,42,0.6), rgba(15,23,42,1));
}
.hero-content { position: relative; z-index: 2; padding: 24px; }
.hero-logo { width: 128px; height: 128px; border-radius: 50%; margin-bottom: 24px; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); letter-spacing: 0.03em; margin-bottom: 12px; }
.tagline {
  color: var(--primary); font-size: 14px; letter-spacing: 0.3em;
  text-transform: uppercase; margin-bottom: 32px;
}
.hero-buttons { display: flex; flex-direction: column; gap: 16px; align-items: center; }

/* SECTIONS */
.services { padding: 96px 0; }
.schedule { padding: 96px 0; background: rgba(48, 65, 96, 0.4); }
.about { padding: 96px 0; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(30px, 5vw, 48px); }
.section-sub { color: var(--muted); max-width: 520px; margin: 16px auto 0; }

/* SERVICES GRID */
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: border-color 0.5s;
}
.service-card:hover { border-color: rgba(115, 194, 230, 0.4); }
.service-card img { width: 100%; height: 192px; object-fit: cover; transition: transform 0.7s; }
.service-card:hover img { transform: scale(1.05); }
.service-body { padding: 24px; }
.service-body h3 { font-size: 20px; margin-bottom: 8px; }
.service-body p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.service-meta { font-size: 12px; color: var(--primary); letter-spacing: 0.05em; margin: 0; }

.section-cta { text-align: center; margin-top: 56px; }

/* SCHEDULE */
.booking-frame {
  border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  background: var(--card); margin-bottom: 32px;
}
.booking-frame iframe { width: 100%; height: 720px; border: 0; background: white; }
.schedule .btn { display: block; margin: 0 auto; width: fit-content; }

/* ABOUT */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center;
}
.about-photo { border-radius: 16px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.4); }
.about-photo img { width: 100%; height: 560px; object-fit: cover; display: block; }
.about-text h2 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 8px; }
.quote { font-size: 14px; color: var(--muted); font-style: italic; margin-bottom: 24px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text strong { color: var(--fg); }
.contact-info {
  border-top: 1px solid var(--border); padding-top: 32px; margin: 32px 0;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-info a, .contact-info div {
  display: flex; align-items: center; gap: 12px;
  color: var(--fg); text-decoration: none; font-size: 15px;
  transition: color 0.3s;
}
.contact-info a:hover { color: var(--primary); }
.contact-info .icon { color: var(--primary); font-size: 16px; }

/* FOOTER */
.footer { padding: 40px 0; background: rgba(48, 65, 96, 0.4); border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.copyright { font-size: 12px; color: var(--muted); }

/* RESPONSIVE */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: row; justify-content: center; }
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
}

/* MEDIA QUERIES */
/* Stacks service cards into a single column on screens under 768px */
@media (max-width: 768px) {
  .services-grid, 
  .card-container, 
  .services-wrapper { /* Replace with your actual container class name */
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .service-card, 
  .card, 
  .box { /* Replace with your individual card/box class name */
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
}