/* Design System & Base Variables */
:root {
  --bg-dark: #0f1115;
  --bg-lighter: #1a1d24;
  --accent-primary: #ff5722; /* Vibrant Orange */
  --accent-secondary: #00e5ff; /* Electric Blue */
  --text-main: #f8f9fa;
  --text-muted: #adb5bd;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.highlight {
  color: var(--accent-primary);
  text-shadow: 0 0 15px rgba(255, 87, 34, 0.4);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 2px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(15, 17, 21, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: padding var(--transition-smooth);
}

.navbar.scrolled {
  padding: 1rem 5%;
  background: rgba(15, 17, 21, 0.95);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-main);
  text-decoration: none;
}

.logo span {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-primary);
  color: #fff;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
  background-image: linear-gradient(to right, rgba(15, 17, 21, 0.9) 0%, rgba(15, 17, 21, 0.5) 100%), url('images/hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Sections Base */
section {
  padding: 6rem 5%;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.feature-item i {
  color: var(--accent-secondary);
  font-size: 1.5rem;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gallery Section */
.gallery-section {
  background: var(--bg-lighter);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

/* Schedule Section */
.table-responsive {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-lighter);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.schedule-table th, .schedule-table td {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-table th {
  background: var(--accent-primary);
  color: #fff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.schedule-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Pricing Section */
.pricing-section {
  background: var(--bg-lighter);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}

.pricing-card {
  background: var(--bg-dark);
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  border-color: rgba(255, 87, 34, 0.3);
}

.pricing-card.popular {
  border-color: var(--accent-primary);
  transform: scale(1.05);
  background: linear-gradient(145deg, var(--bg-dark), #15181e);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--accent-primary);
  color: #fff;
  padding: 5px 30px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent-primary);
  margin-bottom: 2rem;
  font-family: var(--font-heading);
}

.price span {
  font-size: 2rem;
  vertical-align: super;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 2.5rem;
  text-align: left;
}

.pricing-card ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card ul li i {
  color: var(--accent-secondary);
}

.pricing-card ul li i.dimmed {
  color: rgba(255,255,255,0.2);
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  color: var(--text-main);
  background: var(--bg-lighter);
  padding: 1.2rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item i {
  font-size: 2rem;
  color: var(--accent-primary);
  width: 40px;
  text-align: center;
}

.contact-item span {
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-item:hover {
  background: rgba(255, 87, 34, 0.1);
  border-color: var(--accent-primary);
  transform: translateX(10px);
}

.contact-map {
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal Styles */
.modal {
  display: none; 
  position: fixed; 
  z-index: 2000; 
  padding-top: 10vh; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.9); 
  backdrop-filter: blur(5px);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  animation: zoom var(--transition-smooth);
}

@keyframes zoom {
  from {transform:scale(0.8); opacity:0;} 
  to {transform:scale(1); opacity:1;}
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: var(--transition-fast);
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--accent-primary);
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px){
  .modal-content {
    width: 95%;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: var(--bg-lighter);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* Mobile Responsive Baseline & Advanced Rules */
@media (max-width: 992px) {
  .about-grid, .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Layout Spacing */
  section {
    padding: 3rem 5%;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  /* Navigation */
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-dark);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    gap: 1.5rem;
    transition: left var(--transition-smooth);
    overflow-y: auto;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  /* Hero Section */
  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }

  /* About Section */
  .about-text h3 {
    font-size: 1.5rem;
  }

  .about-text p {
    font-size: 1rem;
  }
  
  .features-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Schedule */
  .schedule-table th, .schedule-table td {
    padding: 1rem 0.5rem;
    font-size: 0.9rem;
  }

  /* Pricing */
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }

  .price {
    font-size: 3rem;
  }

  /* Contact Options */
  .contact-item {
    padding: 1rem;
    gap: 1rem;
  }
  
  .contact-item i {
    font-size: 1.5rem;
    width: 30px;
  }
  
  .contact-item span {
    font-size: 1rem;
  }

  .contact-map {
    height: 300px;
  }
}

/* Base adjustment for extra small devices */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .close-modal {
    right: 20px;
  }
}
