:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #112033;
  --text: #f5f7fb;
  --accent: #34d399;
  --accent-2: #38bdf8;
  --accent-3: #f472b6;
  --danger: #f87171;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top left, rgba(52, 211, 153, 0.14), transparent 16%),
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.12), transparent 14%),
    linear-gradient(135deg, var(--bg), #16263d);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  position: relative;
  min-height: auto;
  padding: 24px 32px 40px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(52, 211, 153, 0.18), transparent 18%),
    radial-gradient(circle at 90% 15%, rgba(56, 189, 248, 0.16), transparent 14%),
    radial-gradient(circle at 80% 85%, rgba(244, 114, 182, 0.14), transparent 14%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 60px auto 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 16px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.25s ease;
}

.nav a:hover {
  color: var(--accent);
}

.nav a:hover::after {
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin-bottom: 12px;
  background: linear-gradient(90deg, #7dd3fc, #34d399, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.05;
}

.hero p {
  max-width: 650px;
  font-size: 1.05rem;
  opacity: 0;
  animation: fadeInUp 0.9s ease forwards;
  animation-delay: 0.15s;
}

.cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #042f2e;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 35px rgba(52, 211, 153, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: pulse 3.5s ease-in-out infinite;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(52, 211, 153, 0.36);
}

.hero h1 {
  animation: fadeInUp 0.8s ease forwards;
}

.fees-details {
  margin: 24px 0 0;
  padding: 22px;
  background: rgba(6, 26, 42, 0.95);
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 18px;
  width: 100%;
  max-width: 1100px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.25s;
}

.fee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(17, 32, 51, 0.9);
  border: 1px solid rgba(52, 211, 153, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  animation: floatCard 4s ease-in-out infinite alternate;
}

.slot-card {
  border: 1px solid #2f4d69;
  border-radius: 14px;
  padding: 16px;
  background: #122b40;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  animation: slideIn 0.6s ease both;
}

.slot-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--accent);
  box-shadow: 0 16px 28px rgba(52, 211, 153, 0.12);
}

.gallery-scroll img,
.video-wrap {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #042f2e;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(52, 211, 153, 0.2);
}

.nav a {
  color: var(--text);
  text-decoration: none;
}

.hero-content {
  max-width: 1100px;
  margin: 60px auto 0;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin-bottom: 12px;
}

.hero p {
  max-width: 650px;
  font-size: 1.05rem;
}

.cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #042f2e;
  font-weight: 700;
  text-decoration: none;
}

.fees-details {
  margin: 24px 0 0;
  padding: 22px;
  background: rgba(6, 26, 42, 0.95);
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 18px;
  width: 100%;
  max-width: 1100px;
}

.fees-details h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.fees-details p {
  margin: 0 0 18px;
  color: #c3d9e6;
}

.fees-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.fee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(17, 32, 51, 0.9);
  border: 1px solid rgba(52, 211, 153, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  height: 100%;
}

.fee-item > div {
  display: grid;
  gap: 4px;
}

.fee-item p {
  margin: 0;
  color: #c3d9e6;
}

.fee-item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: var(--accent);
  font-size: 1rem;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 64px;
}

.info-grid,
.booking-section,
.media-section,
.contact-section,
.approval-section {
  background: rgba(17, 32, 51, 0.92);
  border-radius: 20px;
  padding: 26px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-grid:hover,
.booking-section:hover,
.media-section:hover,
.contact-section:hover,
.approval-section:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.22);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

.info-grid article {
  background: rgba(7, 18, 32, 0.82);
  border: 1px solid rgba(52, 211, 153, 0.08);
  border-radius: 18px;
  padding: 22px;
}

.section-heading,
.media-section h2,
.contact-section h2,
.approval-section h2,
.info-grid h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 1.65rem;
  letter-spacing: 0.03em;
}

.section-heading p,
.info-grid article p,
.booking-section p,
.media-section p,
.contact-section p,
.approval-section p {
  color: #cbd7e7;
}

.booking-section {
  position: relative;
}

.booking-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.9), rgba(52, 211, 153, 0.2));
  border-radius: 0 0 12px 0;
}

.contact-section {
  background: linear-gradient(135deg, rgba(7, 16, 31, 0.96), rgba(12, 26, 48, 0.96));
  border-left: 6px solid var(--accent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 28px;
}

.contact-section h2 {
  margin-top: 0;
  color: #e2f7ff;
}

.contact-section p {
  margin: 14px 0;
  color: #cbd7e7;
  line-height: 1.8;
}

.contact-section a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.contact-section a:hover {
  text-decoration: underline;
}

.contact-section p:last-child {
  margin-bottom: 0;
}

.gallery-scroll {
  display: grid;
  gap: 16px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  overflow-x: auto;
  padding: 16px 0 8px;
  margin-top: 16px;
  scroll-snap-type: x mandatory;
}

@keyframes pulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 18px 35px rgba(52, 211, 153, 0.28);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 24px 40px rgba(52, 211, 153, 0.36);
  }
}

.gallery-scroll {
  display: grid;
  align-items: stretch;
}

.gallery-scroll > * {
  scroll-snap-align: start;
  min-height: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-scroll img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  min-width: 280px;
}

.video-wrap {
  min-width: 560px;
  height: 100%;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}

.info-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.date-picker-label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  margin-top: 12px;
}

.date-picker-label input {
  padding: 10px 12px;
  border: 1px solid #2f4d69;
  border-radius: 10px;
  background: #05131d;
  color: var(--text);
}

.slot-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 12px;
  margin-top: 20px;
}

.slot-day-group {
  flex: 0 0 100%;
  min-width: 100%;
  background: #0e2134;
  border: 1px solid #2f4d69;
  border-radius: 16px;
  padding: 16px;
  scroll-snap-align: start;
}

.slot-day-group h3 {
  margin: 0 0 12px;
  color: #8be7c4;
}

.slot-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.slot-card {
  border: 1px solid #2f4d69;
  border-radius: 14px;
  padding: 16px;
  background: #122b40;
  cursor: pointer;
}

.slot-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2);
  background: #18404f;
}

.slot-card.available {
  border-color: #2dd4bf;
  background: #103d2d;
}

.slot-card.active.available {
  border-color: #f87171;
  background: #581b1b;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}

.slot-card.booked {
  border-color: #f87171;
  background: #3f1c1c;
  opacity: 1;
}

.slot-card.pending {
  border-color: #f87171;
  background: #5a1616;
  opacity: 1;
}

.slot-card button {
  margin-top: 12px;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--accent);
  color: #042f2e;
  font-weight: 700;
  cursor: pointer;
}


.message {
  margin: 16px 0;
  min-height: 24px;
  color: var(--accent);
  font-weight: 600;
}

.message.error {
  color: var(--danger);
}

.booking-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.booking-summary-box {
  background: #05131d;
  border: 1px solid #2f4d69;
  border-radius: 14px;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}

.qr-box {
  background: #05131d;
  border: 1px solid #2f4d69;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.qr-box img {
  width: 220px;
  height: 220px;
  margin-top: 8px;
}

.qr-note {
  font-size: 0.95rem;
  color: #8be7c4;
}

.booking-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.booking-form input {
  padding: 10px 12px;
  border: 1px solid #2f4d69;
  border-radius: 10px;
  background: #05131d;
  color: var(--text);
}

.booking-form button {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--accent);
  color: #042f2e;
  font-weight: 700;
  cursor: pointer;
}

.approval-section {
  background: rgba(17, 32, 51, 0.9);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
}

.approval-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.approval-item {
  background: #0e2134;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #2f4d69;
}

.owner-login-box {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  background: #05131d;
  border: 1px solid #2f4d69;
  border-radius: 12px;
}

.owner-login-box input {
  padding: 10px 12px;
  border: 1px solid #2f4d69;
  border-radius: 10px;
  background: #05131d;
  color: var(--text);
}

.owner-login-box button {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--accent);
  color: #042f2e;
  font-weight: 700;
  cursor: pointer;
}

.approval-item button {
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--accent);
  color: #042f2e;
  font-weight: 700;
  cursor: pointer;
}

.message.success {
  color: #8be7c4;
}

.hidden {
  display: none;
}

.owner-main.hidden {
  display: none;
}

.owner-hero {
  min-height: auto;
  padding-bottom: 24px;
}

.owner-login-full {
  max-width: 500px;
  margin: 32px auto 0;
}

.revenue-controls {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.revenue-controls label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.revenue-controls select,
.revenue-controls input {
  padding: 10px 12px;
  border: 1px solid #2f4d69;
  border-radius: 10px;
  background: #05131d;
  color: var(--text);
}

.price-controls {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.price-controls label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.price-controls select,
.price-controls input {
  padding: 10px 12px;
  border: 1px solid #2f4d69;
  border-radius: 10px;
  background: #05131d;
  color: var(--text);
}

.download-controls {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.download-controls label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.download-controls select,
.download-controls input {
  padding: 10px 12px;
  border: 1px solid #2f4d69;
  border-radius: 10px;
  background: #05131d;
  color: var(--text);
}

.revenue-summary {
  padding: 12px 0;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero {
    padding: 20px 18px 40px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .brand {
    width: 100%;
    text-align: center;
  }

  .hero-content {
    margin-top: 70px;
    padding: 0 10px;
  }

  .fees-details {
    max-width: 100%;
    padding: 18px;
  }

  .fees-grid {
    grid-template-columns: 1fr;
  }

  .gallery-scroll {
    grid-auto-columns: minmax(240px, 1fr);
    padding: 14px 0 8px;
  }


  .gallery-scroll img {
    min-width: 240px;
    height: 200px;
  }

  .video-wrap {
    min-width: 280px;
    height: 200px;
  }

  .video-wrap iframe {
    height: 100%;
  }

  main {
    padding: 0 18px 48px;
  }

  .info-grid,
  .approval-section,
  .booking-section,
  .contact-section,
  .media-section {
    padding: 18px;
  }

  .slot-grid {
    flex-direction: column;
    overflow-x: visible;
  }

  .slot-day-group {
    min-width: auto;
    width: 100%;
  }

  .booking-form,
  .owner-login-box,
  .revenue-controls,
  .price-controls {
    width: 100%;
  }

  .booking-form input,
  .date-picker-label input,
  .owner-login-box input,
  .revenue-controls select,
  .revenue-controls input,
  .price-controls select,
  .price-controls input {
    width: 100%;
  }

  .qr-box img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 18px 14px 32px;
  }

  .nav {
    justify-content: space-between;
  }

  .nav a {
    font-size: 0.95rem;
  }

  .hero-content {
    margin-top: 60px;
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .contact-section,
  .approval-section,
  .info-grid,
  .booking-section,
  .media-section {
    padding: 16px;
  }

  .gallery-scroll {
    grid-auto-columns: minmax(220px, 1fr);
  }

  .gallery-scroll img {
    min-width: 220px;
    height: 180px;
  }

  .video-wrap {
    min-width: 100%;
    height: 180px;
  }

  .video-wrap iframe {
    height: 100%;
  }

  .slot-card {
    padding: 14px;
  }

  .booking-form button,
  .owner-login-box button,
  .approval-item button {
    width: 100%;
  }
}

/* Bookings filter and sections */
.bookings-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.bookings-filter label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.bookings-filter input {
  padding: 10px 12px;
  border: 1px solid #2f4d69;
  border-radius: 10px;
  background: #05131d;
  color: var(--text);
  min-width: 180px;
}

.bookings-sections {
  display: grid;
  gap: 16px;
}

.bookings-section-toggle {
  border: 1px solid #2f4d69;
  border-radius: 12px;
  overflow: hidden;
  background: #0e2134;
}

.section-toggle-btn {
  width: 100%;
  padding: 14px;
  background: #112033;
  border: none;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.section-toggle-btn:hover {
  background: #1a2f45;
}

.bookings-list {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.bookings-list.hidden {
  display: none;
}

.owner-booking-item {
  background: #05131d;
  border: 1px solid #1a3a4f;
  border-radius: 10px;
  padding: 12px;
}

.owner-booking-item strong {
  display: block;
  color: var(--accent);
  margin-bottom: 6px;
}

.owner-booking-item p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: #cbd7e7;
}

.booking-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.booking-actions button {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.btn-approve {
  background: #34d399;
  color: #042f2e;
}

.btn-approve:hover {
  opacity: 0.9;
}

.btn-reject {
  background: #f87171;
  color: white;
}

.btn-reject:hover {
  opacity: 0.9;
}
