
/* Global Typography Base */
/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Cabin+Condensed:wght@400;500;600&display=swap');

/* Global Typography Base */
body {
  font-family: "Cabin Condensed", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #0b2545;
  letter-spacing: 0;
}

/* Headings */
h2 {
  font-family: "Cabin Condensed", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 110%;
  letter-spacing: 0;
  /* text-align: center; */
}

h3 {
  font-family: "Cabin Condensed", sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 115%;
  letter-spacing: 0;
  /* text-align: center; */
}

p {
  font-family: "Cabin Condensed", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0;
  /* text-align: center; */
}

/* Buttons */
button,
.get_in_touch_form button,
.slot_book button {
  font-family: "Cabin Condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 64px;
  line-height: 102%;
  text-align: center;
  letter-spacing: 0;
  background: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 18px 50px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  background: #005ff5;
}

/* =====================
   RESPONSIVE TYPOGRAPHY
   ===================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 26px;
  }

  p {
    font-size: 16px;
  }

  button {
    font-size: 48px;
    padding: 16px 40px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }

  p {
    font-size: 15px;
  }

  button {
    font-size: 32px;
    padding: 14px 30px;
  }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 14px;
  }

  button {
    font-size: 24px;
    padding: 12px 24px;
  }
}


:root {
  --secondary-color: #26396a; /* deep blue */
  --accent-color: #c6d917; /* bright yellow */
  --slot-color:#C5C9D4; /* light grey-blue */
}

/* NAVBAR */
/* --- HEADER / NAVBAR --- */
.navbar {
  height: 93px; /* exact height from Figma */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex;
  align-items: center;
}
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
  height: 79px; /* adjust logo proportionally if needed */
  width: auto;
}

.navbar-nav .nav-link {
  padding: 0.75rem 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: #000 !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #0a2c65 !important;
}

/* Ensure alignment even when collapsed */
.navbar-toggler {
  padding: 0.5rem 0.75rem;
  border: none;
}

@media (max-width: 992px) {
  .navbar {
    height: auto; /* Let it expand naturally when toggled */
  }
}

/* HERO */
/* =================================================================== HERO SECTION ======================================================== */
.hero {
  position: relative;
  height: calc(100vh - 93px); /* exact Figma height */
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

/* Center the overlay content for desktop layout */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 93px); /* full height minus navbar */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Button styling (matches Figma) */
.hero-overlay .btn-primary,
.hero-overlay .btn-warning {
  width: 242px;
  height: 57px;
  background-color: #f5e547;
  border: none;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: all 0.25s ease;
}
.btn__book_a_court {
  position: absolute;
  left: 50%;
  top: 85%;
  transform: translate(-40%, -50%);
}
/* ===================== BOOK A COURT BUTTON */
.btn_position {
  position: absolute;
  left: 50%;
  top: 85%;
  transform: translate(-40%, -50%);
}
.btn-book {
  width: 242px;
  height: 57px;

  background: #c6d917;
  border-radius: 9px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;

  font-family: "Khmer MN", "Inter", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.17;
  color: #26396a;
  text-decoration: none;
  cursor: pointer;

  transition: all 0.25s ease;
}

.btn-book:hover {
  background: #b8cb15; /* subtle hover darken */
  /* transform: translateY(-2px); */
}
@media (max-width: 992px) {
  .btn-book {
    /* position: static; */
    /* margin-top: 20px; */
    width: 200px;
    height: 52px;
    font-size: 18px;
  }
}

.hero-overlay .btn-warning:hover {
  background-color: #e3d422;
}

/* Optional: match absolute position if text alignment differs */
.hero-overlay h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* Exact button placement (for large screens only) */
@media (min-width: 1200px) {
  .hero-overlay {
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 635px;
    padding-top: 764px;
  }
}

/* Responsive: reposition content centrally for tablets/mobiles */
@media (max-width: 1199px) {
  .hero {
    height: 80vh; /* scale for smaller devices */
  }

  .hero-overlay {
    justify-content: center;
    align-items: center;
    padding: 0;
    text-align: center;
  }

  .hero-overlay h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .hero-overlay .btn-warning {
    width: 200px;
    height: 52px;
  }
}

.hero-overlay {
  color: #fff;
}

/* ==================================================================== ABOUT SECTION (Side borders only) ============================================================== */
.about-section {
  background-color: #203c7c; /* dark blue background */
  color: #ffffff;
}

.about-box {
  background-color: #203c7c;
  border-left: 8px solid #324d8a;
  border-right: 8px solid #324d8a;
  /* padding: 60px 40px; */
  border-radius: 0;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* inner divider (middle horizontal line) */
.about-divider {
  width: 100%;
  height: 8px;
  background-color: #324d8a; /* same as side borders */
}

/* typography */
.about-title {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  padding: 60px 40px;
}

.about-text {
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
}
.about_paragraph {
  padding: 0 40px 60px 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-section {
    padding: 80px 0;
  }
  .about-box {
    /* border-left: 5px solid #324d8a; */
    /* border-right: 5px solid #324d8a; */
    /* padding: 40px 20px; */
  }
  .about-divider {
    /* height: 5px; */
    /* position: absolute; */
    /* left: 0; */
  }
  .about-title {
    font-size: 24px;
  }
  .about-text {
    font-size: 15px;
  }
}

/* ===================================================================== MARQUEE SECTION ============================================================= */
.marquee-section {
  background-color: var(--accent-color); /* bright yellow-green color */
  overflow: hidden;
  position: relative;
  padding: 12px 0;
  border-top: 4px solid #203c7c; /* dark blue top line */
  border-bottom: 4px solid #ffffff; /* white bottom line as in Figma */
}

/* The moving container */
.marquee {
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

/* Animation wrapper */
.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeMove 18s linear infinite;
}

/* Each repeated segment */
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Cabin Condensed", sans-serif;
  font-style: SemiBold;
  font-weight: 600;
  font-size: 14px;
  color: var(--secondary-color); /* deep blue text */
  text-transform: uppercase;
  margin: 0 40px; /* space between repeats */
}

.marquee-item img {
  width: 50px;
  height: auto;
  margin-right: 100px;
}

/* Animation */
@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .marquee-item {
    font-size: 12px;
    margin: 0 24px;
  }
  .marquee-content {
    animation-duration: 25s; /* slower for smaller screens */
  }
}


/* ================================================================ FEATURE SECTION ============================================ */
.feature-section {
  background-color: #fff;
  padding: 100px 0;
}

/* --- Left Text Block --- */
.feature-heading {
  font-family: 'Inter', sans-serif;
  color: #203C7C; /* deep blue */
  font-size: 32px;
  letter-spacing: 0.5px;
}

.feature-subheading {
  color: #203C7C;
  font-size: 16px;
}

.feature-text {
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}

/* Book button */
.btn-feature {
  display: inline-block;
  background: #C6D917;
  color: #26396A;
  font-family: 'Khmer MN', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  padding: 14px 40px;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-feature:hover {
  background: #b8cb15;
  transform: translateY(-2px);
}

/* --- Venue Card --- */
.venue-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  position: relative;
}

.venue-card img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

.venue-info {
  background-color: #1F57B0; /* blue bottom area */
  color: #fff;
  padding: 14px 20px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.venue-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.venue-location {
  font-size: 14px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.venue-location img {
  width: 14px;
  height: auto;
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: transparent;
  filter: invert(45%) grayscale(100%);
  width: 90px;
  height: 90px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 25%;
}
.carousel-control-next {
  right:-15px;
}

@media (max-width: 768px) {
  .feature-section {
    padding: 60px 0;
  }
  .feature-heading {
    font-size: 24px;
  }
  .btn-feature {
    font-size: 16px;
    padding: 12px 28px;
  }
  .venue-card {
    border-radius: 12px;
  }
}

/* ========   block section ======= */


/* Section wrapper */
.block {
  display: grid;
  background-color: var(--secondary-color);
}

/* Each item block */
.block__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #112d58;
  overflow: hidden;
  align-items: center;
  padding: 16px;
  /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); */
}

/* Image side */
.block_item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info content */
.block__item__info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.block__item__info img {
  width: 150px;
  height: auto;
}

.block__item__info p {
  line-height: 1.6;
  font-size: 1rem;
  color: #dce8ff;
}

/* Button style */
.book_a_game {
  align-self: start;
  background-color: #fff;
  color: var(--secondary-color);
  border: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.book_a_game:hover {
  background-color: #3b8de0;
}

/* Alternate layout for even items */
/* .block__item:nth-child(even) {
  grid-template-columns: 1fr 1fr;
} */

.block__item:nth-child(even) .block_item__image {
  order: 2;
}

/* Responsive Design */
@media (max-width: 900px) {
  .block__item {
    grid-template-columns: 1fr;
  }

  /* .block__item:nth-child(even) .block_item__image {
    order: 0;
  } */

  .block__item__info {
    text-align: center;
    align-items: center;
  }

  .book_a_game {
    align-self: center;
  }
}

/* :root {
  --accent-color: #00b4d8;
  --secondary-color: #004aad;
} */

/* ========== ZONE SECTION ========== */
.zone {
  position: relative;
  background-image: url('../assets/images/zone.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 774px;
  color: #fff;
  overflow: hidden;
  padding: 150px 150px 100px;
}

.zone .zone_info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  line-height: 1.4;
  max-width: 900px;
}

.zone .zone_info h2 {
  font-size: 48px;
}

.zone .zone_info h3 {
  color: var(--accent-color);
  font-size: 34px;
  margin-bottom: 40px;
}

.zone .zone_info p {
  font-size: 18px;
  color: #cfcfcf;
}

/* Dark overlay */
.zone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.zone > * {
  position: relative;
  z-index: 2;
}

/* ========== GET IN TOUCH FORM ========== */
.slot{
  background-color: var(--slot-color);
}
.get_in_touch {
  background-color: #ffffff;
  color: #0b2545;
  text-align: center;
  padding: 80px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 650px;
  margin: -250px auto 100px;
  /* border-radius: 12px; */
  position: relative;
  z-index: 3;
}

.get_in_touch h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.get_in_touch p {
  font-size: 16px;
  color: #555;
  max-width: 600px;
}

/* Inner form container */
.get_in_touch_form {
  width: 100%;
  max-width: 600px;
  text-align: left;
  margin-top: 30px;
}

.get_in_touch_form h3 {
  font-size: 18px;
  color: #0b2545;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Form layout */
.get_in_touch_form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.get_in_touch_form input[type="text"],
.get_in_touch_form input[type="email"] {
  padding: 12px 10px;
  border: none;
  border-bottom: 2px solid #ccc;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
  background: transparent;
}

.get_in_touch_form input:focus {
  border-color: var(--secondary-color);
}

.get_in_touch_form input[type="email"] {
  grid-column: span 2;
}

/* Button */
.get_in_touch_form button {
  grid-column: span 2;
  padding: 12px 0;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

.get_in_touch_form button:hover {
  transform: translateY(-2px);
}

/* Thank you message */
.get_in_touch_form p {
  grid-column: span 2;
  /* text-align: center; */
  font-size: 14px;
  color: #777;
  margin-top: 15px;
  margin-bottom: 40px;
}

/* ========== SLOT BOOK SECTION ========== */
.slot_book {
  text-align: center;
  /* background-color: #eaf0fa; */
  padding: 20px 20px 100px 20px;
}

.slot_book h2 {
  font-size: 30px;
  color: #0b2545;
  margin-bottom: 20px;
}

.slot_book p {
  color: #555;
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.slot_book button {
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 30px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

.slot_book button:hover {
  transform: translateY(-2px);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .zone {
    padding: 100px 80px;
    min-height: 600px;
  }

  .zone .zone_info h2 {
    font-size: 40px;
  }

  .zone .zone_info h3 {
    font-size: 28px;
  }

  .zone .zone_info p {
    font-size: 16px;
  }

  .get_in_touch {
    margin-top: -200px;
  }
}

@media (max-width: 768px) {
  .zone {
    padding: 80px 40px;
    text-align: center;
    min-height: 550px;
  }

  .zone .zone_info h2 {
    font-size: 32px;
  }

  .zone .zone_info h3 {
    font-size: 22px;
  }

  .zone .zone_info p {
    font-size: 15px;
  }

  .get_in_touch {
    padding: 60px 30px;
    margin-top: -180px;
  }

  .get_in_touch_form form {
    grid-template-columns: 1fr;
  }

  .get_in_touch_form input[type="email"],
  .get_in_touch_form button {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .zone {
    padding: 60px 20px;
    min-height: 480px;
  }

  .zone .zone_info h2 {
    font-size: 26px;
  }

  .zone .zone_info h3 {
    font-size: 18px;
  }

  .zone .zone_info p {
    font-size: 14px;
  }

  .get_in_touch {
    margin-top: -150px;
    padding: 50px 20px;
  }

  .get_in_touch h2 {
    font-size: 24px;
  }

  .slot_book h2 {
    font-size: 24px;
  }

  .slot_book p {
    font-size: 15px;
  }
}


/* ========================
   FOOTER STYLES
   ======================== */

footer {
  background-color: #0b2545;
  color: #fff;
  font-family: "Cabin Condensed", sans-serif;
  padding: 60px 0 30px;
}

footer .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ---------- Upper Section ---------- */
footer .upper {
  display: flex;
  justify-content: space-between;
  /* align-items: flex-start; */
  flex-wrap: wrap;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 40px;
}

/* Logo */
footer .logo img {
  width: 180px;
  height: auto;
}

/* Links */
footer .links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer .links a {
  color: #cfcfcf;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

footer .links a:hover {
  color: var(--accent-color);
}

/* Contact Info */
footer .contact_us {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #cfcfcf;
  max-width: 320px;
}

footer .contact_us li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

footer .contact_us i {
  font-style: normal; /* Replace with icons if needed */
  color: var(--accent-color);
  min-width: 20px;
}

footer .contact_us span {
  font-size: 16px;
  line-height: 1;
}

/* ---------- Lower Section ---------- */
footer .lower {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

footer .lower p {
  font-size: 15px;
  color: #cfcfcf;
}

footer .social {
  display: flex;
  gap: 16px;
}

footer .social i {
  font-style: normal; /* Replace with icons (FontAwesome, Lucide, etc.) */
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 50%;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

footer .social i:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-3px);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
  footer {
    padding: 50px 0 25px;
  }

  footer .upper {
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
  }

  footer .links a {
    font-size: 17px;
  }

  footer .contact_us span {
    font-size: 15px;
  }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  footer .upper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .links,
  footer .contact_us {
    align-items: center;
  }

  footer .lower {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  footer .social {
    justify-content: center;
  }

  footer .links a {
    font-size: 16px;
  }

  footer .contact_us span {
    font-size: 14px;
  }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
  footer {
    padding: 40px 0 20px;
  }

  footer .logo img {
    width: 150px;
  }

  footer .links a {
    font-size: 15px;
  }

  footer .social i {
    font-size: 12px;
    padding: 8px;
  }

  footer .lower p {
    font-size: 13px;
  }
}


/* ============== my account ============ */
.my-account-hero {
  position: relative;
  height: calc(50vh - 93px); /* full height minus navbar */
  overflow: hidden;
  .user_name{
    position: absolute;
    top: 75%;
    left: 25%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    z-index: 2;
  }
}
@media (max-width: 1024px) {
  .my-account-hero {
    height: 40vh; /* scale for smaller devices */
  }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  .my-account-hero {
    height: 30vh; /* scale for smaller devices */
    .user_name{
      font-size: 40px;
    }
  }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .my-account-hero {
    height: 25vh; /* scale for smaller devices */
    .user_name{
      font-size: 32px;
    }
  }
}

/* ============= personal info=====================* /
/* === Base Styles === */
section.profile-container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Sidebar === */
.profile_left {
  /* border-right: 1px solid #ccc; */
}

.profile_left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile_left ul li {
  margin-bottom: 1rem;
}

.profile_left ul li a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  display: block;
  padding: 0.3rem 0;
  transition: color 0.3s;
}

.profile_left ul li a:hover,
.profile_left ul li a.active {
  color: #1b2a59;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 #1b2a59;
}

/* === Right Side Form === */
.profile_right form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem 2rem;
}
.profile_right .personal_info{
  padding-bottom: 50px;
}

.control {
  display: flex;
  flex-direction: column;
}

.control label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.4rem;
}

.control input[type="text"],
.control input[type="email"],
.control input[type="tel"],
.control input[type="date"] {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.6rem;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.control input:focus {
  border-color: #1b2a59;
  outline: none;
}

.control button {
  grid-column: 1 / -1;
  background-color: #1b2a59;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.3s;
}
.profile_right form .control:last-child {
  grid-column: 1 / -1;
}

.control button:hover {
  background-color: #243b7a;
}

/* === Gender Inputs (inline) === */
.control input[type="radio"] {
  margin-right: 0.4rem;
}

.control label[for="gender"] {
  margin-bottom: 0.3rem;
}

.control:nth-child(5) {
  display: flex;
  flex-direction: column;
}

.control:nth-child(5) input[type="radio"] {
  margin-right: 0.5rem;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  section.profile-container {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .profile_left {
    border-right: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .control button {
    width: 100%;
  }
}

/* =========== booking ==============* /
/* ===== My Bookings Section ===== */
.my_bookings {
  display: grid;
  gap: 1.5rem;
  /* padding: 2rem; */
}

/* Title */
.my_bookings h2 {
  font-size: 1.8rem;
  color: #1b2a59;
  margin: 0 ;

}

/* ===== History Tabs ===== */
.history {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.history button {
  background-color: #e0e0e0;
  color: #1b2a59;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.history button.active {
  background-color: #1b2a59;
  color: #fff;
}

.history button:hover:not(.active) {
  background-color: #c8c8c8;
}

/* ===== No Bookings Section ===== */
.not_found {
  background-color: #f6f6f6;
  border-radius: 10px;
  padding: 3rem 2rem;
  text-align: center;
  display: grid;
  place-items: center;
  gap: 1.2rem;
  min-height: 220px;
}

.not_found img {
  width: 60px;
  height: auto;
}

.not_found p {
  color: #1b2a59;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.not_found .btn {
  background-color: #fff;
  color: #1b2a59;
  border: 1px solid #1b2a59;
  border-radius: 10px;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.not_found .btn:hover {
  background-color: #1b2a59;
  color: #fff;
}
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}
/* === Past Bookings Container === */
.booking_items {
  /* margin-top: 1.5rem; */
}

.booking_items ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

/* === Each Booking Card === */
.booking_items li {
  display: grid;
  grid-template-columns: 120px 1fr 250px;
  align-items: center;
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* === Image === */
.booking_item_image {
  width: 120px;
  height: 100px;
  border-radius: 6px;
  object-fit: cover;
}

/* === Left Info Section === */
.booking_item_info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.booking_item_info h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1b2a59;
  margin: 0;
}

.booking_item_info p {
  font-size: 0.95rem;
  color: #333;
  margin: 0;
  margin-bottom: 14px;
}

.success {
  background-color: #d8ebd2;
  color: #2c7a25;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 15px;
  padding: 0.3rem 0.8rem;
  width: fit-content;
}

/* === Right Date/Time Section === */
.booking_item_date_time {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}

.booking_item_date_time div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #333;
}

.booking_item_date_time i {
  color: #1b2a59;
  font-size: 1rem;
}

/* === Responsive Design === */
@media (max-width: 992px) {
  .booking_items li {
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
  }

  .booking_item_date_time {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid #ddd;
    padding-top: 0.8rem;
  }
}

@media (max-width: 600px) {
  .booking_items li {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .booking_item_image {
    width: 100%;
    height: 180px;
  }

  .booking_item_info {
    align-items: center;
  }

  .booking_item_date_time {
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .my_bookings {
    padding: 1.5rem;
  }

  .my_bookings h2 {
    font-size: 1.5rem;
  }

  .history {
    justify-content: center;
  }

  .not_found {
    padding: 2rem 1rem;
  }

  .not_found img {
    width: 50px;
  }

  .not_found .btn {
    width: 100%;
    max-width: 200px;
  }
}

/* ===== Loyalty Points Section ===== */
.loyalty_points {
  display: grid;
  gap: 2rem;
  /* padding: 2rem; */
}

/* ===== Header ===== */
.loyalty_points h2 {
  font-size: 1.8rem;
  color: #1b2a59;
  margin: 0;
}

/* ===== Summary Card ===== */
.points_summary {
  display: flex;
  justify-content: center;
}

.points_box {
  background-color: #f6f6f6;
  border-radius: 12px;
  padding: 2rem 3rem;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.points_box h3 {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.points_value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1b2a59;
  margin: 0.3rem 0;
}

.points_label {
  font-size: 0.9rem;
  color: #777;
}

/* ===== Points History ===== */
.points_history {
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.points_history h4 {
  font-size: 1.2rem;
  color: #1b2a59;
  margin-bottom: 1rem;
}

.points_history ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.points_history li {
  display: grid;
  grid-template-columns: 1fr 80px;
  align-items: center;
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  transition: all 0.3s ease;
}

.points_history li:hover {
  background-color: #f0f3ff;
}

.activity_left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.activity_title {
  font-weight: 600;
  color: #1b2a59;
  font-size: 0.95rem;
}

.activity_date {
  font-size: 0.85rem;
  color: #777;
}

.activity_right {
  font-weight: 700;
  text-align: right;
  font-size: 1rem;
}

.activity_right.earned {
  color: #1b7a3e;
}

.activity_right.redeemed {
  color: #c0392b;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .loyalty_points {
    padding: 1.5rem;
  }

  .points_box {
    padding: 1.5rem 2rem;
  }

  .points_history li {
    grid-template-columns: 1fr 60px;
  }

  .points_value {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .points_box {
    padding: 1rem 1.5rem;
  }

  .points_history li {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .activity_right {
    margin-top: 0.4rem;
    text-align: center;
  }
}
