@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  --bg-dark: #090a0f;
  --bg-card: rgba(18, 20, 26, 0.65);
  --bg-card-hover: rgba(26, 29, 38, 0.85);
  --bg-input: rgba(10, 11, 15, 0.8);

  --primary: #0d7a3e;
  /* Sahara Forest Green */
  --primary-rgb: 13, 122, 62;
  --primary-light: #16a055;
  --primary-dark: #095c2e;

  --secondary: #e0ac23;
  /* Sahara Dune Gold */
  --secondary-rgb: 224, 172, 35;
  --accent: #e0ac23;
  /* Oasis Dune Gold for selection/cta */
  --danger: #e74c3c;
  /* Fire Red for error/booked */

  --text-main: #f5f6fa;
  --text-muted: #95a5a6;
  --text-dark: #2c3e50;

  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glass-active: rgba(13, 122, 62, 0.4);

  --glow-primary: 0 0 25px rgba(13, 122, 62, 0.2);
  --glow-accent: 0 0 25px rgba(224, 172, 35, 0.25);
  --shadow-main: 0 15px 35px rgba(0, 0, 0, 0.5);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;
}

/* --- Base Resets & Global Styles --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background ambient light effects */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 122, 62, 0.08) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}

body::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 172, 35, 0.05) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(243, 156, 18, 0.2);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
  transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

p {
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

/* --- Reusable Components --- */

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-main);
  transition: var(--transition);
}

.glass-panel:hover {
  border-color: var(--border-glass-active);
  box-shadow: var(--shadow-main), var(--glow-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--glow-primary);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

/* Form Controls */
.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-main);
  text-align: left;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(243, 156, 18, 0.2);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Alert / Toast Messages */
.toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  width: calc(100% - 60px);
}

.toast {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 24px;
  border-radius: var(--border-radius-sm);
  background: rgba(18, 20, 26, 0.95);
  backdrop-filter: blur(10px);
  border-left: 5px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  color: #fff;
  transform: translateX(120%);
  animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: var(--transition);
}

.toast.success {
  border-left-color: var(--accent);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.slide-out {
  animation: slideOut 0.4s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

/* --- Layout Sections --- */

/* Header / Navigation */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 100;
  background: rgba(10, 11, 15, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-main);
  transition: var(--transition);
}

header.scrolled {
  top: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  padding: 12px 5%;
  background: rgba(10, 11, 15, 0.9);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.06) rotate(2deg);
}

.logo-icon {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 5% 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg-accent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(243, 156, 18, 0.05) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  width: 100%;
  max-width: 900px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeIn 1s ease-out;
}

.hero-subtitle {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.95rem;
  background: rgba(243, 156, 18, 0.1);
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgba(243, 156, 18, 0.2);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 20%, var(--secondary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 700px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats Section */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  width: 100%;
  max-width: 800px;
}

.stat-card {
  padding: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ABOUT SECTION */
.section {
  padding: 100px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-tag {
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

.about-heading {
  font-size: 2.2rem;
  margin-bottom: 10px;
  text-align: left;
}

.about-heading::after {
  display: none;
}

.about-features {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-icon {
  background: rgba(243, 156, 18, 0.1);
  color: var(--primary);
  border: 1px solid rgba(243, 156, 18, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

.feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.about-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-backdrop {
  position: absolute;
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(230, 126, 34, 0.1) 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(10px);
  animation: blobRotate 15s linear infinite;
  z-index: 1;
}

.visual-card {
  width: 85%;
  height: 85%;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.visual-quote {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  color: #fff;
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin-top: 40px;
}

/* CATEGORIES SECTION */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.category-card {
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.category-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(230, 126, 34, 0.1));
  border: 1px solid rgba(243, 156, 18, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.category-card:hover .category-icon-wrapper {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--glow-primary);
}

.category-emoji {
  font-size: 1.5rem;
  line-height: 1;
}

.category-badge {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--secondary);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.category-card:hover .category-badge {
  color: #fff;
}

.category-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.category-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.category-desc {
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 15px;
}

.category-training {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  background: rgba(224, 172, 35, 0.08);
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 10px;
  border: 1px solid rgba(224, 172, 35, 0.15);
  align-self: flex-start;
  transition: var(--transition);
}

.category-card:hover .category-training {
  background: rgba(13, 122, 62, 0.15);
  color: var(--primary-light);
  border-color: rgba(13, 122, 62, 0.25);
}

.coach-info {
  border-top: 1px solid var(--border-glass);
  padding-top: 20px;
  margin-top: auto;
}

.coach-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.coach-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.coach-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coach-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.coach-contact-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.7;
  transition: var(--transition);
}

.coach-contact-link:hover {
  color: var(--primary);
}

.coach-contact-link:hover svg {
  fill: var(--primary);
  transform: translateX(2px);
}

/* PARTNERS SECTION */
.partners-section {
  background: linear-gradient(180deg, var(--bg-dark), rgba(18, 20, 26, 0.4), var(--bg-dark));
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
  padding: 80px 0;
}

.partners-title {
  margin-bottom: 2rem;
}

.partners-carousel {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.partners-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 60px;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-logo {
  flex-shrink: 0;
  height: 60px;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1) opacity(0.5);
  transition: var(--transition);
  padding: 10px 20px;
}

.partner-logo:hover {
  filter: grayscale(0) opacity(1);
  background: var(--bg-card);
  box-shadow: var(--shadow-main);
  transform: translateY(-2px);
}

.partner-inner-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-glass);
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}

.partner-inner-logo svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--secondary);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition);
}

.partner-inner-logo img.partner-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.partner-logo:hover .partner-inner-logo svg {
  transform: scale(1.1) rotate(5deg);
  stroke: var(--primary);
}

.partner-logo:hover .partner-inner-logo img.partner-img {
  transform: scale(1.15) rotate(3deg);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border-glass);
  background: #06070a;
  padding: 80px 5% 40px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-description {
  max-width: 350px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--glow-primary);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links-col h3 {
  font-size: 1.15rem;
  position: relative;
  padding-bottom: 8px;
}

.footer-links-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-glass);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- RESERVATION DASHBOARD (`rezervace.saharavedomice.cz`) --- */
.subdomain-badge {
  text-align: center;
  margin-top: 110px;
  padding: 10px 5%;
  animation: fadeIn 0.8s ease-out;
}

.subdomain-badge p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  background: rgba(26, 188, 156, 0.08);
  border: 1px solid rgba(26, 188, 156, 0.2);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.subdomain-badge span {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

.reservation-section {
  padding: 120px 5% 100px;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .reservation-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

/* Court Switcher / Controls */
.booking-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.court-selector {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-glass);
}

.court-btn {
  background: transparent;
  border: none;
  padding: 10px 20px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: calc(var(--border-radius-sm) - 2px);
  cursor: pointer;
  transition: var(--transition);
}

.court-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

/* Date Navigator */
.date-navigator {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-card);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-glass);
}

.date-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.date-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.current-date-display {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  min-width: 140px;
  text-align: center;
}

/* Legend Indicator */
.calendar-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  font-size: 0.85rem;
  justify-content: flex-start;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.legend-color.available {
  background: rgba(26, 188, 156, 0.15);
  border: 1px solid var(--accent);
}

.legend-color.selected {
  background: rgba(243, 156, 18, 0.2);
  border: 1px solid var(--primary);
}

.legend-color.booked {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid var(--danger);
}

/* Calendar Timeline Grid */
.calendar-wrapper {
  padding: 30px;
  margin-bottom: 30px;
}

.calendar-header-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 15px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
}

.timeline-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-slot {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
}

.slot-time {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.slot-bar {
  height: 54px;
  border-radius: var(--border-radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  user-select: none;
}

/* Slot States */
.slot-bar.available {
  background: rgba(26, 188, 156, 0.04);
  border-color: rgba(26, 188, 156, 0.2);
  color: var(--accent);
}

.slot-bar.available:hover {
  background: rgba(26, 188, 156, 0.1);
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(26, 188, 156, 0.15);
  transform: translateX(4px);
}

.slot-bar.selected {
  background: rgba(243, 156, 18, 0.1);
  border-style: solid;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--glow-primary);
}

.slot-bar.booked {
  background: rgba(231, 76, 60, 0.06);
  border-style: solid;
  border-color: rgba(231, 76, 60, 0.3);
  color: var(--danger);
  cursor: not-allowed;
}

.slot-bar.booked:hover {
  transform: none;
}

.slot-status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
}

.slot-bar.available .slot-status-badge {
  background: rgba(26, 188, 156, 0.12);
  color: var(--accent);
}

.slot-bar.selected .slot-status-badge {
  background: rgba(243, 156, 18, 0.2);
  color: var(--primary);
}

.slot-bar.booked .slot-status-badge {
  background: rgba(231, 76, 60, 0.12);
  color: var(--danger);
}

.booked-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

/* Booking Details Sidebar / Panel */
.booking-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-card {
  padding: 30px;
}

.sidebar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 10px;
}

.selected-slots-info {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 15px;
  margin-bottom: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.selected-slots-info p {
  font-size: 0.9rem;
  color: var(--text-main);
}

.selected-slots-info span {
  font-weight: 600;
  color: var(--primary);
}

/* User's existing bookings list in sidebar */
.my-bookings-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.my-booking-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.my-booking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.my-booking-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.my-booking-court {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(243, 156, 18, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.my-booking-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.my-booking-footer {
  display: flex;
  justify-content: flex-end;
}

.cancel-booking-btn {
  background: transparent;
  border: none;
  color: var(--danger);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 5px;
  transition: var(--transition);
}

.cancel-booking-btn:hover {
  text-decoration: underline;
  transform: translateY(-1px);
}

.empty-bookings-state {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px dashed var(--border-glass);
  border-radius: var(--border-radius-sm);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    transform: translateX(120%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideOut {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes blobRotate {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(0deg);
  }

  50% {
    border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
  }

  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(26, 188, 156, 0.4);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(26, 188, 156, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(26, 188, 156, 0);
  }
}

/* --- GALLERY SECTION --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  padding: 10px;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-img-wrapper {
  position: relative;
  border-radius: calc(var(--border-radius) - 6px);
  overflow: hidden;
  height: 250px;
  width: 100%;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px 20px;
  background: linear-gradient(to top, rgba(9, 10, 15, 0.9) 0%, rgba(9, 10, 15, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-title {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-subtitle {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
}

/* --- DOWNLOADS SECTION --- */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.download-card {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

.download-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.download-icon {
  width: 50px;
  height: 50px;
  background: rgba(13, 122, 62, 0.1);
  border: 1px solid rgba(13, 122, 62, 0.2);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.file-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(224, 172, 35, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(224, 172, 35, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.download-title {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  margin-top: 5px;
}

.download-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
  flex-grow: 1;
}

.download-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-glass);
  padding-top: 15px;
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- RESPONSIVENESS AND MOBILE ADAPTATIONS --- */
@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    height: 320px;
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-info {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  header {
    width: 100%;
    top: 0;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 15px 20px;
  }

  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    height: calc(100vh - 73px);
    background: rgba(10, 11, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 20px;
    gap: 40px;
    transform: translateX(100%);
    transition: var(--transition-slow);
    z-index: 100;
  }

  nav.active {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-info {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .calendar-wrapper {
    padding: 15px;
  }

  .calendar-header-row {
    grid-template-columns: 70px 1fr;
  }

  .timeline-slot {
    grid-template-columns: 70px 1fr;
  }

  .slot-time {
    font-size: 0.85rem;
  }

  .slot-bar {
    padding: 0 12px;
  }

  .slot-status-badge {
    padding: 2px 6px;
    font-size: 0.65rem;
  }

  .booked-name {
    font-size: 0.8rem;
  }

  .booking-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .court-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .date-navigator {
    justify-content: space-between;
  }
}