/* Base variables */
:root {
  --bg-body: #050814;
  --bg-card: #101728;
  --bg-card-soft: #151d30;
  --accent: #34d399; /* teal/green accent */
  --accent-soft: rgba(52, 211, 153, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --error: #f97373;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 999px;
}

/* Global reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top left, #111827 0, #020617 55%);
  min-height: 100%;
}

body {
  line-height: 1.5;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    to bottom,
    rgba(5, 7, 16, 0.98),
    rgba(5, 7, 16, 0.9)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(16px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 0, #4ade80, #22c55e, #0f766e);
  color: #022c22;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 6px 22px rgba(34, 197, 94, 0.7);
}

.brand-text h1 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-text p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease,
    background-color 0.15s ease;
}

.header-link:hover {
  color: var(--text-main);
  border-color: var(--border-subtle);
  background-color: rgba(15, 23, 42, 0.8);
}

/* Buttons */
.btn-primary,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(34, 197, 94, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  font-size: 0.9rem;
}

.btn-primary:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.55);
  filter: brightness(1.04);
}

.btn-block {
  width: 100%;
}

/* Hero section */
.hero {
  padding: 2.2rem 0 2.4rem;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr);
  gap: 1.75rem;
  align-items: stretch;
}

.hero-text h2 {
  font-size: 1.7rem;
  margin: 0 0 0.7rem;
}

.hero-text p {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.hero-highlights li {
  padding-left: 1.3rem;
  position: relative;
  margin-bottom: 0.3rem;
}

.hero-highlights li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.hero-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: radial-gradient(
    circle at 0 0,
    rgba(52, 211, 153, 0.12),
    #020617
  );
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.hero-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.hero-card p {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.hero-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* Booking section */
.booking-section {
  padding: 0 0 2.8rem;
}

.section-header {
  text-align: left;
  margin-bottom: 1.3rem;
}

.section-header h2 {
  margin: 0 0 0.3rem;
  font-size: 1.4rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 1.5fr);
  gap: 1.65rem;
  align-items: flex-start;
}

/* Form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.form-card {
  background: radial-gradient(circle at top left, #111827, #020617);
  border-radius: var(--radius-xl);
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.form-card-title {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

label {
  font-size: 0.86rem;
  color: #e5e7eb;
}

.required {
  color: var(--error);
}

input[type="text"],
input[type="tel"],
input[type="date"],
select,
textarea {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background-color: rgba(15, 23, 42, 0.9);
  padding: 0.55rem 0.7rem;
  color: var(--text-main);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.45);
  background-color: rgba(15, 23, 42, 0.98);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%),
    linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* Radio pills */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-color: rgba(15, 23, 42, 0.7);
  cursor: pointer;
  font-size: 0.85rem;
  color: #e5e7eb;
  transition: border-color 0.15s ease, background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.radio-pill input {
  accent-color: var(--accent);
}

.radio-pill:hover {
  border-color: var(--accent);
  background-color: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.35);
}

/* Helper texts */
.field-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* Summary & submit */
.form-card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.3fr);
  gap: 1rem;
  align-items: flex-start;
}

.summary {
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  padding: 0.8rem 0.9rem;
  background: radial-gradient(
    circle at top left,
    rgba(52, 211, 153, 0.12),
    transparent
  );
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.87rem;
  margin: 0.15rem 0;
  color: #e5e7eb;
}

.summary-line span:first-child {
  color: var(--text-soft);
}

.summary-total {
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.5);
  font-weight: 600;
}

.summary-value {
  margin-left: 0.6rem;
}

.summary-note {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.submit-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.submit-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* Price card */
.price-card {
  background: radial-gradient(circle at top right, #111827, #020617);
  border-radius: var(--radius-xl);
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 4.2rem;
}

.price-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.price-group {
  margin-bottom: 0.9rem;
}

.price-group h4 {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  padding: 0.18rem 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.32);
}

.price-row:last-child {
  border-bottom: none;
}

.price-note {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* Videos section – pa pagina di videos.php */
.videos-section {
  padding: 2.5rem 0 3rem;
}

.videos-section .section-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.videos-section .section-header h2 {
  margin: 0 0 0.3rem;
  font-size: 1.4rem;
}

.videos-section .section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Grid di tarhetanan di video */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.video-placeholder {
  text-align: center;
  font-style: italic;
  opacity: 0.7;
  color: var(--text-soft);
}

/* Kada tarheta di video */
.video-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top left, var(--bg-card-soft), #020617);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
}

/* Marco di video */
.video-frame-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem;
  background-color: #020617;
}

/* Tamaño di thumbnail (video pequeño den grid) */
.video-thumb {
  width: 100%;
  max-width: 260px; /* cambia 220 / 300 si bo ke otro tamaño */
  height: auto;
  border-radius: 10px;
  display: block;
  cursor: pointer;
}

.video-info {
  padding: 0.75rem 0.9rem 0.95rem;
}

.video-info h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--text-main);
}

.video-info p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.go-to-videos {
  text-align: center;
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 0.9rem 0 1.2rem;
  margin-top: 1.2rem;
  background: rgba(3, 7, 18, 0.96);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-secondary {
  color: #4b5563;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content,
  .booking-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-card {
    position: static;
  }

  .form-card-footer {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-content {
    flex-direction: row;
  }

  .hero {
    padding-top: 1.7rem;
  }

  .hero-text h2 {
    font-size: 1.35rem;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-layout {
    gap: 1.2rem;
  }

  .form-card {
    padding: 0.9rem 0.85rem 1rem;
  }
}

/* Video modal overlay (video grandi) */
.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Kontenido di modal */
.modal-content {
  position: relative;
  max-width: 900px;
  width: 90%;
  background: #000;
  padding: 0.5rem;
  border-radius: 10px;
}

/* Video grandi den modal (aki no ta limitado na 260px) */
.modal-content video {
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 10px;
}

/* Boton “X” pa sera modal */
.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
}
