@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --bg1: #000814;
  --bg2: #001428;
  --bg3: #001F3F;
  --white: #ffffff;
  --navy: #001F3F;
  --red: #D6001C;
  --grey: #E5E5E5;
  --glass: rgba(255,255,255,0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--bg1), var(--bg2), var(--bg3));
  color: var(--white);
  overflow-x: hidden;
  padding-bottom: 4rem;
}

/* NAVIGATION */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  position: relative;
  transition: color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  box-shadow: 0 0 10px rgba(255,255,255,0.35);
  transition: opacity 0.25s ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  opacity: 1;
}

nav a.book-now {
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  font-weight: 700;
}

nav a.book-now::after {
  box-shadow: 0 0 12px rgba(0,31,63,0.55);
}

/* HERO */
header.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 3rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero p {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 520px;
}

.hero-bg {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 55%);
  transform: translate3d(0,0,0);
  pointer-events: none;
}

/* MAIN LAYOUT */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.main-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* FADE-IN ANIMATION */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SERVICE + BOOKING BOXES */
.services-box,
.booking-box {
  background: var(--glass);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.services-box h2,
.booking-box h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* SERVICE CARDS */
.service-card {
  background: var(--white);
  color: #000;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  cursor: pointer;
  border: 1px solid var(--grey);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
  border-color: var(--navy);
}

.service-header {
  font-weight: 700;
  font-size: 1.05rem;
}

.service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out, opacity 0.35s ease-in-out;
  margin-top: 0.6rem;
  opacity: 0;
}

.service-card.active .service-body {
  max-height: 220px;
  opacity: 1;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--red);
}

/* BOOKING FORM */
.booking-box label {
  display: block;
  margin-top: 0.6rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.booking-box input,
.booking-box select {
  width: 100%;
  padding: 0.6rem;
  border-radius: 10px;
  border: 1px solid var(--grey);
  margin-bottom: 0.4rem;
  background: var(--white);
  color: #000;
}

.booking-box input:focus,
.booking-box select:focus {
  outline: 2px solid var(--navy);
}

.book-btn {
  width: 100%;
  background: var(--red);
  color: var(--white);
  padding: 0.8rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  margin-top: 0.8rem;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.book-btn:hover {
  background: #b30017;
  box-shadow: 0 0 12px rgba(214,0,28,0.6);
}

/* GALLERY + REVIEWS */
.split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.panel {
  background: var(--glass);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.panel h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--grey);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.gallery-grid img:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.7);
}

.gallery-instagram {
  position: relative;
}

.gallery-instagram::after {
  content: "Instagram";
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,8,20,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

/* REVIEWS */
.review-card {
  background: rgba(255,255,255,0.06);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-style: italic;
  border: 1px solid rgba(255,255,255,0.12);
}

.review-author {
  margin-top: 0.4rem;
  font-weight: 700;
  color: var(--red);
}

/* ABOUT */
.about-section {
  margin-top: 2.5rem;
  background: var(--glass);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.about-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-section p {
  line-height: 1.6;
  opacity: 0.9;
}

/* FOOTER */
footer {
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(0,0,0,0.75);
  border-top: 1px solid rgba(255,255,255,0.12);
}

footer a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

.socials {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1rem;
}

/* MOBILE */
@media (max-width: 900px) {
  .main-flex,
  .split-panels {
    grid-template-columns: 1fr;
  }

  nav .nav-inner {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-inner {
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
}