
body {font-family: 'Segoe UI', sans-serif; margin:0; background:#0b1220; color:#fff;}

header {display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;
padding:15px 20px; background:#020617;}

nav {display:flex; flex-wrap:wrap; align-items:center; width:100%;}

.logo {height:50px; margin-right:20px; margin-left:0;}

nav a {margin:6px 12px; color:#e2e8f0; text-decoration:none; font-size:16px; font-weight:600;}
nav a:hover {color:#22c55e;}

.btn {background:#22c55e; padding:10px 18px; border-radius:6px; color:black; font-weight:bold; text-decoration:none;}

.top-info {font-size:16px; font-weight:bold; color:#22c55e; margin-left:10px;}

.notice {
  margin-left:auto;
  overflow:hidden;
  max-width:320px;
  position:relative;
}

.notice-track {
  display:inline-block;
  white-space:nowrap;
  animation:scrollNotice 15s linear infinite;
  font-size:15px;
  font-weight:bold;
  color:#facc15;
}

.notice:hover .notice-track {animation-play-state:paused;}

@keyframes scrollNotice {
  0% {transform:translateX(100%);}
  100% {transform:translateX(-100%);}
}

.hero {
display:flex; flex-direction:column; justify-content:center; align-items:center;
background:linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/bg.jpg') center/cover;
padding:20px 20px 10px;
}
.hero h1 {font-size:44px; margin:5px 0 8px;}

.promo-link {background:#22c55e; padding:12px 24px; border-radius:6px; color:black; font-weight:bold; text-decoration:none; display:inline-block; margin-top:15px;}
.promo-link:hover {background:#16a34a;}

/* Quick promo links on hero section */
.promo-quick-links {font-size:16px; margin-top:12px; display:flex; justify-content:center; align-items:center; gap:8px; flex-wrap:wrap;}
.promo-label {color:#e2e8f0; font-weight:600;}
.promo-quick-links a {color:#22c55e; text-decoration:none; font-weight:600;}
.promo-quick-links a:hover {text-decoration:underline;}
.promo-separator {color:#e2e8f0;}

.promotion-section {margin-top:40px; padding-top:20px;}

.promotion-heading {font-size:28px; margin:0 0 18px;}

.promo-banner {width:100%; max-width:680px; margin:15px auto; display:block; border-radius:10px;}

/* Smaller promotion item image used on pricing page */
.promo-item {margin-top:12px;}
.promo-item .promo-image {display:block; width:80%; max-width:420px; margin:12px auto; border-radius:8px; height:auto; object-fit:cover;}

.section {padding:25px 15px; text-align:center;}
.container {max-width:1000px; margin:auto;}

.intro {font-size:18px; line-height:1.6; max-width:900px; margin:auto;}

.contact, .address {font-size:20px; font-weight:bold; margin:8px;}

.map-note {
  margin: 18px auto 10px;
  max-width: 900px;
  padding: 15px 18px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid #22c55e;
  border-radius: 10px;
  color: #f8fafc;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
}

.map-note strong {
  color: #e2e8f0;
}

.map-image {
  display: flex;
  justify-content: center;
  margin: 0 auto 16px;
  max-width: 900px;
}

.map-image img {
  width: 100%;
  max-width: 900px;
  border-radius: 10px;
  object-fit: cover;
}

.map {width:100%; height:220px; border-radius:10px; margin-top:10px;}

img.layout {max-width:100%; border-radius:10px; margin-top:15px;}

table {width:100%; border-collapse:collapse; margin-top:20px;}
th, td {border:1px solid #334155; padding:8px;}
th {background:#1e293b;}

.court-layout-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

/* left side */
.court-info {
  flex: 1;
  text-align: left;
}

/* right side */
.court-image {
  flex: 1;
  text-align: center;
}

.layout {
  width: 100%;
  max-width: 600px;
  height: auto;
}

@media (max-width: 768px) {
  .court-layout-wrapper {
    flex-direction: column;
  }

  .court-info {
    text-align: center;
  }
}

.gallery {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 15px;
}

.gallery img {
  width: 100%;
  max-width: none;
}

@media (max-width: 768px) {
  .gallery img {
    width: 100%;
    height: auto;
  }
}

/* Mobile-Friendly Responsive Design */
@media (max-width: 1024px) {
  nav {
    gap: 8px;
  }
  
  nav a {
    margin: 4px 6px;
    font-size: 14px;
  }
  
  .top-info {
    font-size: 14px;
    margin-left: 5px;
  }
  
  .notice {
    max-width: 200px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 10px;
  }
  
  nav {
    width: 100%;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
  }
  
  nav a {
    margin: 3px 4px;
    font-size: 13px;
    padding: 6px 8px;
  }
  
  .btn {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .top-info {
    font-size: 12px;
    margin-left: 0;
    width: 100%;
    text-align: center;
    margin-top: 5px;
  }
  
  .notice {
    max-width: 100%;
    margin-left: 0;
    margin-top: 5px;
    width: 100%;
  }
  
  .notice-track {
    font-size: 12px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .intro {
    font-size: 16px;
  }
  
  .contact, .address {
    font-size: 16px;
  }
  
  .map {
    height: 200px;
  }

  /* Make promotion images fit mobile screens nicely */
  .promo-banner {max-width:100%;}
  .promo-item .promo-image {width:100%; max-width:100%;}
  
  table {
    font-size: 14px;
  }
  
  th, td {
    padding: 6px 4px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  
  header {
    padding: 8px;
  }
  
  nav a {
    margin: 2px 3px;
    font-size: 11px;
    padding: 5px 6px;
  }
  
  .btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .top-info {
    font-size: 11px;
  }
  
  .hero h1 {
    font-size: 22px;
    margin: 3px 0 5px;
  }
  
  .section {
    padding: 15px 10px;
  }
  
  .intro {
    font-size: 14px;
  }
  
  .contact, .address {
    font-size: 14px;
  }
  
  .map {
    height: 150px;
  }
  
  table {
    font-size: 12px;
  }
  
  th, td {
    padding: 4px 2px;
  }
  
  .court-layout-wrapper {
    gap: 20px;
  }
}