:root{
  --dark-brown:#473c38;
  --light-brown:#c3ab89;
  --offwhite:#f8f5f1;
  --white:#ffffff;
}

/* BASE */
*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Inter, Arial, sans-serif;
  background:var(--offwhite);
}

/* TOP BAR */
.top-bar{
  background:var(--light-brown);
  color:var(--dark-brown);
  padding:10px 40px;
  font-size:14px;
  font-weight:600;
}

/* MAIN NAV BAR */
.main-header{
  background:var(--dark-brown);
  padding:22px 40px;
}

.logo{
  color:var(--light-brown);
  font-weight:800;
  font-size:22px;
}

/* SECTION */
.services-section{
  padding:100px 20px;
  text-align:center;
}
.section-heading{
  font-size:42px;
  color:var(--dark-brown);
  font-weight:800;
  margin-bottom:70px;
}

/* TOP BOXES */
.service-box-wrapper{
  max-width:1100px;
  margin:auto;
  display:flex;
  gap:40px;
  justify-content:center;
}
.service-box{
  flex:1;
  min-height:190px;
  background:var(--dark-brown);
  border-radius:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all 0.35s ease;
  box-shadow:0 22px 45px rgba(0,0,0,0.25);
}
.service-box span{
  color:var(--white);
  font-size:22px;
  font-weight:800;
  text-align:center;
}
.service-box:hover{
  transform:translateY(-10px);
  background:#3a302d;
}

/* ANALYSIS CONTENT */
.analysis-content{
  max-width:1200px;
  margin:70px auto 0;
  background:var(--white);
  padding:50px;
  border-radius:30px;
  box-shadow:0 20px 50px rgba(0,0,0,0.08);
  display:none;
}
.analysis-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:30px;
}
.analysis-heading{
  font-size:28px;
  color:var(--dark-brown);
  font-weight:700;
}

/* ANALYSIS CARDS */
.analysis-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:25px;
}
.analysis-card{
  background:var(--light-brown);
  padding:26px;
  border-radius:20px;
  cursor:pointer;
  transition:all 0.3s ease;
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}
.analysis-card:hover{
  transform:translateY(-8px);
  background:#b79a74;
  box-shadow:0 18px 40px rgba(0,0,0,0.25);
}
.analysis-card h4{
  margin:0;
  color:var(--dark-brown);
  font-size:18px;
}
.analysis-card p{
  margin-top:8px;
  color:#3a302d;
  font-size:15px;
}

/* BOOK BUTTON */
.book-btn{
  background:var(--dark-brown);
  color:var(--light-brown);
  border:none;
  padding:12px 22px;
  border-radius:14px;
  font-weight:700;
  cursor:pointer;
  transition:all 0.3s ease;
}
.book-btn:hover{
  background:#3a302d;
}


/* FIX CLOSE BUTTON CLICK ISSUE */
.close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 1002;   /* ABOVE EVERYTHING */
  cursor: pointer;
}


/* MODAL OVERLAY */
.appointment-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);
  backdrop-filter:blur(6px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
}

/* MODAL BOX */
.appointment-box{
  background:#faf6f0;
  width:90%;
  max-width:520px;
  max-height:85vh;
  overflow-y:auto;
  padding:30px;
  border-radius:22px;
  position: relative;
  z-index: 1001;
  box-shadow:0 30px 60px rgba(0,0,0,0.25);
}

/* CLOSE BUTTON */
.close-btn{
position: absolute;
top: 10px;
right: 12px;
z-index: 1002;   /* ABOVE EVERYTHING */
cursor: pointer;
background:none;
border:none;
font-size:20px;
}

/* FORM */
.appointment-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.appointment-form input,
.appointment-form select{
  padding:12px;
  border-radius:12px;
  border:1px solid #ddd;
  font-size:14px;
}
fieldset{
  border:1px solid #ccc;
  padding:12px;
  border-radius:12px;
}
.submit-btn{
  background:#8b6f52;
  color:#fff;
  padding:14px;
  border:none;
  border-radius:14px;
  font-weight:700;
  cursor:pointer;
  transition:background 0.3s ease;
}
.submit-btn:hover{
  background:#73593f;
}
.form-subtitle{
  font-size:14px;
  color:#6b5a55;
  margin-bottom:10px;
}

/* RESPONSIVE */
@media(max-width:900px){
  .service-box-wrapper{
    flex-direction:column;
  }
  .analysis-header{
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
  }
}
/* LIVE EVENT FLOATING BUTTON */
.live-event-btn{
  position:fixed;
  right:25px;
  bottom:25px;
  background:var(--dark-brown);
  color:var(--light-brown);
  border:none;
  padding:14px 22px;
  border-radius:30px;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  z-index:9998;
  box-shadow:0 15px 40px rgba(0,0,0,0.35);
  transition:all 0.3s ease;
}

.live-event-btn:hover{
  background:#3a302d;
  transform:translateY(-4px);
}

/* RED LIVE DOT */
.live-dot{
  width:10px;
  height:10px;
  background:#e53935;
  border-radius:50%;
  box-shadow:0 0 8px rgba(229,57,53,0.9);
}
/* SUCCESS TOAST */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111;
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99999;   /* 🔥 ABOVE MODALS */
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
/* ANALYSIS DETAIL PAGE */
.analysis-points{
  text-align:left;
  margin:20px 0;
  padding-left:20px;
}

.analysis-points li{
  margin-bottom:10px;
  font-size:15px;
  color:#3a302d;
  line-height:1.6;
}

.qr-box{
  margin:25px auto;
  width:150px;
  height:150px;
  border:2px dashed var(--light-brown);
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  color:#6b5a55;
}

.analysis-book-btn{
  display:block;
  margin:0 auto;
}
.analysis-points{
  text-align:left;
  margin:20px 0;
  padding-left:20px;
  color:#473c38;
}

.analysis-points li{
  margin-bottom:10px;
  font-size:15px;
}

.qr-placeholder{
  margin:20px auto;
  width:160px;
  height:160px;
  border:2px dashed #c3ab89;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  color:#473c38;
  border-radius:12px;
}

.book-now-btn{
  margin:25px auto 0;
  display:block;
}
.event-card{
  background: var(--light-brown);
  padding: 24px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.event-card:hover{
  transform: translateY(-6px);
  background: #b79a74;
}

.qr-note{
  text-align:center;
  font-size:14px;
  color:#6b5a55;
  margin-top:10px;
}
/* Event price styling */
.event-price{
  margin-top:10px;
  font-size:16px;
  font-weight:700;
  color:var(--dark-brown);
}
/* ================= UPCOMING EVENTS PREMIUM LAYOUT ================= */

.upcoming-wrapper{
  text-align:center;
}

.upcoming-hero {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
/* ===== FORCE UPCOMING HERO IMAGE VISIBILITY ====== UPCOMING EVENTS HERO FIX ===== */
.upcoming-hero {
  width: 100%;
  max-width: 900px;          /* 🔹 controls width */
  height: 320px;             /* 🔹 proper height */
  margin: 0 auto 24px;       /* 🔹 center align */
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

#upcomingHeroImg {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* 🔹 no distortion */
  border-radius: 16px;
  display: block;
  background: #f3f3f3;
}

/* arrows */
.upcoming-hero .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}

.upcoming-hero .arrow.left {
  left: 10px;
}

.upcoming-hero .arrow.right {
  right: 10px;
}
.people-box {
  margin-top: 10px;
  text-align: left;
}
.form-row {
  display: flex;
  gap: 14px;        /* 🔥 more space */
  margin-bottom: 6px;
}

.form-row input {
  flex: 1;
}
.people-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.people-control button {
  width: 32px;
  height: 32px;
  border: none;
  background: #8b6f52;
  color: #fff;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

.people-control input {
  width: 50px;
  text-align: center;
}
.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.qr-text {
  text-align: center;
  font-size: 15px;
  color: #473c38;
  margin-top: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .upcoming-hero {
    height: 220px;
    max-width: 100%;
  }
}

.upcoming-hero img{
  width:100%;
  max-height:420px;
  object-fit:cover;
  border-radius:30px;
  box-shadow:0 25px 60px rgba(0,0,0,0.25);
}
*/
/* ARROWS */
.arrow{
  position:absolute;
  background:rgba(71,60,56,0.9);
  color:#fff;
  border:none;
  width:50px;
  height:50px;
  border-radius:50%;
  font-size:30px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:0.3s ease;
}

.arrow:hover{
  background:#473c38;
  transform:scale(1.1);
}

.arrow.left{ left:-25px; }
.arrow.right{ right:-25px; }

/* SMALL CARDS BELOW IMAGE */
.upcoming-cards{
  max-width:1000px;
  margin:auto;
}

.small-card{
  padding:20px;
  border-radius:18px;
}

.small-card h4{
  font-size:17px;
}

.small-card p{
  font-size:14px;
}

/* ================= PAST EVENTS CARD ================= */

.past-event-card{
  background: var(--light-brown);
  padding: 26px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.past-event-card:hover{
  transform: translateY(-6px);
  background: #b79a74;
}

.past-event-card h4{
  margin: 0;
  font-size: 18px;
  color: var(--dark-brown);
}

/* ✅ Keep hover animation effect */
.hero-event-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
