* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  min-height: 100vh;
  position: relative;
  color: #ffffff;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
  z-index: -1;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.navbar-brand {
  font-size: 28px;
  font-weight: 800;
  color: #1e3c72 !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cspc-logo-nav {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.navbar-nav .nav-link {
  color: #1e293b !important;
  font-weight: 600;
  margin: 0 15px;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #1e3c72 !important;
  background: rgba(30, 60, 114, 0.1);
  transform: translateY(-2px);
}

.login-btn {
  background: linear-gradient(45deg, #1e3c72, #2a5298) !important;
  color: white !important;
  padding: 12px 25px;
  border-radius: 16px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 60, 114, 0.5);
  background: rgba(30, 60, 114, 0.9) !important;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 120px 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="20" fill="rgba(255,255,255,0.08)"/><circle cx="70" cy="20" r="10" fill="rgba(255,255,255,0.12)"/></svg>');
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  line-height: 1.2;
  color: white;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 50px;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.2s both;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
  color: rgba(255, 255, 255, 1);
}

.breadcrumb-nav .separator {
  color: rgba(255, 255, 255, 0.5);
}

/* Facility Details Section */
.facility-details-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  position: relative;
  color: #1e293b;
}

.facility-hero {
  background: white;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 60px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.facility-icon-large {
  font-size: 4rem;
  color: #1e3c72;
  margin-bottom: 30px;
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.facility-hero h2 {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 20px;
  font-weight: 800;
}

.facility-hero p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Packages Grid */
.packages-section h3 {
  font-size: 2.2rem;
  color: #1e293b;
  margin-bottom: 40px;
  font-weight: 700;
  text-align: center;
}

.package-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  border: 2px solid rgba(30, 60, 114, 0.1);
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: rgba(30, 60, 114, 0.3);
}

.package-header {
  text-align: center;
  margin-bottom: 30px;
}

.package-name {
  font-size: 1.5rem;
  color: #1e3c72;
  font-weight: 700;
  margin-bottom: 10px;
}

.package-price {
  font-size: 2.2rem;
  color: #1e3c72;
  font-weight: 800;
  margin-bottom: 5px;
}

.package-duration {
  color: #64748b;
  font-size: 1rem;
  font-weight: 500;
}

.package-features {
  margin-bottom: 30px;
}

.package-features h5 {
  color: #1e293b;
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  color: #64748b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.feature-list li i {
  color: #22c55e;
  font-size: 0.9rem;
  width: 16px;
}

.book-package-btn {
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.book-package-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
}

.featured-package {
  border: 3px solid #1e3c72;
  position: relative;
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Additional Charges Section */
.charges-section {
  background: rgba(248, 250, 252, 0.95);
  padding: 80px 0;
  margin: 60px 0;
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.charges-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.charge-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(30, 60, 114, 0.1);
}

.charge-item:last-child {
  border-bottom: none;
}

.charge-description {
  font-weight: 600;
  color: #1e293b;
}

.charge-price {
  font-weight: 700;
  color: #1e3c72;
  font-size: 1.1rem;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  background: white;
  border-radius: 24px;
  margin: 40px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
  grid-auto-rows: auto;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #64748b;
  position: relative;
}

/* 16:9 Widescreen ratio */
.gallery-item.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

/* 4:3 Standard ratio */
.gallery-item.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-placeholder {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 80px 0 30px;
}

.footer-section h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
}

.footer-section a:hover {
  color: #fff;
  transform: translateX(8px);
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  color: #2a5298;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.footer-social a {
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
  background: #2a5298;
  color: white;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  color: #94a3b8;
  font-size: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 50px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .facility-hero {
    padding: 30px 20px;
  }

  .package-card {
    padding: 30px 20px;
  }

  .charges-card {
    padding: 30px 20px;
  }

  .featured-package {
    transform: none;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 80px 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .facility-details-section {
    padding: 60px 0;
  }
}
/* Booking Modal Styles */
.booking-summary {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1e3c72;
  margin-top: 10px;
  padding-top: 15px;
  border-top: 2px solid #1e3c72;
}

.equipment-item {
  border: 1px solid #e9ecef;
  padding: 15px;
  border-radius: 8px;
  background: white;
}

.quantity-input {
  max-width: 100px;
}
