/* Reset + Layout */
:root {
  /* globally change Bootstrap primary */
  --bs-primary: #DF3A3A;
  --bs-primary-rgb: 223, 58, 58;
}

html, body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #fff;
  color: #212529;
}

.navbar {
  background: linear-gradient(90deg, #c9302c, #ff6600);
}
.navbar-brand {
  font-weight: 700;
  color: #fff !important;
}
.navbar-brand img {
  border-radius: 50%;
  border: 2px solid #fff;
}
.nav-link {
  font-weight: 500;
  color: #f8f9fa !important;
}
.nav-link:hover {
  color: #ffd86b !important;
}
.nav-link.active {
  border-bottom: 3px solid #fff;
  font-weight: 600;
}

/* Buttons */
.btn-primary {
  --bs-btn-color: #fff !important;
  --bs-btn-bg: #DF3A3A !important;
  --bs-btn-border-color: #DF3A3A !important;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-hover-bg: #F5A623 !important;
  --bs-btn-hover-border-color: #F5A623 !important;
  --bs-btn-active-bg: #c9302c !important;
  --bs-btn-active-border-color: #c9302c !important;
}



.btn-outline-danger {
  --bs-btn-color: #c9302c;
  --bs-btn-border-color: #c9302c;
  --bs-btn-hover-bg: #c9302c;
  --bs-btn-hover-border-color: #c9302c;
  --bs-btn-hover-color: #fff;
}


/* Card Wrapper */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;

  background: #fff8f0;             
  border: 1.5px solid #d4af37;     
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  border-color: #e6c95c;
}

/* Title (2 lines max, with lantern accent) */
.card-title {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;

  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
  color: #a83232;  /* muted red for balance */

  background: linear-gradient(90deg, rgba(255,217,102,0.85), rgba(255,236,158,0.85));
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  margin: 0 auto 0.6rem;
  display: inline-block;
  min-height: 3rem;

  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title::before {
  content: "🏮";
  margin-right: 2px;
  font-size: 1.05rem;
  transform: translateY(2px);
  text-align: center;
  display: inline-block;
}

/* Text (4 lines max) */
.card-text {
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;

  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  text-align: center;
  min-height: 6.0rem;
  margin-top: 0.4rem;
  padding: 0 0.3rem;
}

/* Hover Overlay */
.card::after {
  content: "Go to article →";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  border-radius: 12px;
}

.card:hover::after {
  opacity: 1;
  cursor: pointer;
}


/* Section Titles */
.featured-title {
  font-weight: bold;
  color: #c9302c;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  background: linear-gradient(90deg, #c9302c, #ff6600);
  color: white;
  font-size: 0.9rem;
}
.footer a {
  color: white;
  margin-left: 15px;
  transition: 0.3s;
}
.footer a:hover {
  color: #ffcc99;
}

/*LAZY SUSAN + ANIMATIONS*/

.lazysusan-wrapper {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #a60000 0%, #660000 100%);
  border-top: 6px solid #ffd700;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 700px; 
  position: relative;
  margin-bottom: 100px;
}

.lazysusan-container {
  position: relative;
  width: 100%;
  max-width: 1600px;
  height: 600px;
  margin: 0 auto; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  overflow: hidden;
}

/* Plate */
.plate {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); /* perfectly centers it */
  width: 95%;  
  height: 200px;
  background: #fff;
  border-radius: 50% / 25%;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2) inset;
  z-index: 1;
  pointer-events: none;
}

/* Carousel */
.lazysusan {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 1800px;
  z-index: 3;
  padding-top: 40px;
}

/* Food Items */
.item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  transform-origin: center center;
  transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
  opacity: 0.75;
  z-index: 4;
  transform-origin: center center 400px; /* adjust 3D radius */
  padding-top: 20px;
}
.item img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid gold;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}
.item.front {
  opacity: 1;
  z-index: 999;
}
.item.front img {
  transform: scale(1.3);
  filter: brightness(1.2) saturate(1.05);
  border: 6px solid #ffd86b;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55),
              0 0 25px rgba(255,200,60,0.5);
}

/* Lantern Glow Overhead */
.lazysusan-container::after {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255,220,140,0.8) 0%, rgba(255,100,40,0.2) 40%, transparent 80%);
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

/* Lazysusan buttons (scoped) */
.lazysusan-container button{
  background: #f3d277;
  color: #4b2c00;
  border: none;
  font-size: 1.8rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.lazysusan-container button:hover {
  background: #ffdb88;
  transform: translateY(-50%) scale(1.1);
}

.lazysusan-container button.prev { left: 10px; }
.lazysusan-container button.next { right: 10px; }

/* ==== Prevent covering footer ==== */
.lazysusan-wrapper {
  margin-bottom: 100px; /* ensures footer is free below carousel */
}

/* faint porcelain blue floral motif (very subtle, decorative) */
.plate::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60'><g fill='%23007aaf' fill-opacity='0.06'><path d='M10 30c20-20 40-20 60 0 20 20 40 20 60 0' /></g></svg>");
  background-repeat: repeat;
  opacity: 0.9;
  pointer-events: none;
}

/* -------- Floating lanterns (higher frequency) -------- */
.lantern {
  position: absolute;
  width: 36px;
  height: 56px;
  border-radius: 18px 18px 12px 12px;
  background: radial-gradient(circle at 40% 30%, #ffd88a, #ff7a00);
  border: 2px solid rgba(255,215,0,0.9);
  box-shadow: 0 0 24px rgba(255,150,40,0.85), 0 0 48px rgba(255,120,20,0.5);
  transform-origin: top center;
  z-index: 3;
  bottom: 0;         /* starts at the bottom of the whole section */
  opacity: 0;
  animation: floatLantern 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dropLantern {
   0%   { transform: translateY(0) scale(0.8); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(-600px) scale(1.2); opacity: 0; }
}

/* lantern hang dot */
.lantern::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -8px;
  width: 6px;
  height: 6px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
}

/* lantern animation: climb gently upward and fade */
@keyframes floatLantern {
  0% { transform: translateY(50vh) scale(.85); opacity: 0; }
  8% { opacity: 0; }
  100% { transform: translateY(-220px) scale(1.05); opacity: 1; }
}

/* -------- Hanging dragons (gold ornaments) -------- */
.dragon {
  position: absolute;
  width: 46px;
  height: 86px;
  left: 50%;
  top: -6px;
  background: radial-gradient(circle at 30% 20%, rgba(255,230,140,1), rgba(255,180,0,1));
  border: 2px solid rgba(255,215,0,0.95);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35), 0 0 18px rgba(255,200,50,0.45) inset;
  transform-origin: top center;
  z-index: 4;
  animation: bobDragon 3s ease-in-out infinite;
  pointer-events: none;
}
/* decorative tail/pattern */
.dragon::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(6deg);
  width: 12px;
  height: 20px;
  background: linear-gradient(180deg, rgba(255,200,60,1), rgba(255,120,40,1));
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(226, 204, 204, 0.25);
}

/* subtle bobbing */
@keyframes bobDragon {
  0% { transform: translateY(-6px) rotate(-1deg); }
  50% { transform: translateY(8px) rotate(1deg); }
  100% { transform: translateY(-6px) rotate(-1deg); }
}

/* golden cloud motifs (decorative, slow drift) */
.cloud {
  position: absolute;
  width: 220px;
  height: 70px;
  background: rgba(255,215,0,0.12);
  border-radius: 50% / 40%;
  filter: blur(18px);
  z-index: 0;
  animation: driftClouds 50s linear infinite;
}
@keyframes driftClouds {
  from { transform: translateX(-350px); }
  to   { transform: translateX(100vw); }
}

/* Responsive: scale down items on small screens */
@media (max-width: 900px) {
  .item { width: 120px; height: 120px; }
  .item img { border-width: 3px; }
  .plate { height: 52%; top: 66%; }
  .lazysusan-container { height: 520px; }
  .lantern { width: 26px; height: 42px; }
  .dragon { width: 36px; height: 66px; }
}

main {
  padding: 40px 20px;
  padding-bottom: 120px;     /* keep content above fixed footer */
}

/* Buttons */
.btn-primary {
  background-color: #DF3A3A;
  border: none;
}
.btn-primary:hover {
  background-color: #F5A623;
}
.bg-primary {
  background-color: #ffa600 !important;
}
.btn-light {
  color: #ffa600;
  font-weight: bold;
}
/* History Box */
.hist-box {
  width: 100%;
  aspect-ratio: 1 / 1; /* square boxes for 2x2 */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.hist-box:hover {
  transform: scale(1.05);
  z-index: 2;
}

/* About Section */
.about-section {
  position: relative;
  background: linear-gradient(to right, #fff5e6, #ffe6cc);
  padding: 4rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

.about-section h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #b22222; /* Chinese red */
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.about-gallery {
  margin-top: -2rem; /* bleed into the background */
}

.posts {
  margin-top: 40px;
  position: relative;
  z-index: 5;  /* keeps above lanterns if any float too far */
}

/* Banner Styling */
.banner {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  text-align: center;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-overlay {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.banner-title {
  font-size: 40px; 
  font-weight: 700;
  color: #b22222;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  letter-spacing: 2px;
  border: 2px solid #ffd700;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  position: relative;
  bottom: 0;
  display: inline-block;
  background: #ffffff;
  padding: 10px 40px;
  border-radius: 12px;
  text-align: center;
}

/* Tablets */
@media (max-width: 992px) {
  .banner-title {
    display: none;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .banner-title {
    display: none;
  }
}

/* =========================
   News Tunnel (Refined & Festive)
   ========================= */
.news-section {
  position: relative;
  width: 100%;
  padding: 70px 0;
  margin: 0;
  background: linear-gradient(160deg, #b22222 0%, #cc2b2b 100%);
  overflow: hidden;
  border-top: 4px solid #d4af37;   /* thinner golden accent */
  border-bottom: 4px solid #d4af37;
  text-align: center; 
}

/* Subtle golden shimmer */
.news-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,215,0,0.06), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255,215,0,0.05), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

/* Minimal wave pattern */
.news-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0 50 Q25 40 50 50 T100 50' stroke='%23ffd700' stroke-width='1' fill='none' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 140px 140px;
  opacity: 0.04;
  z-index: 0;
  pointer-events: none;
}

/* Ensure content above background */
.news-tunnel,
.news-section h2 {
  position: relative;
  z-index: 1;
}

/* Section Title - White with Gold Accents */
.news-section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 40px;
  color: #b22222;
  letter-spacing: 1px;
  padding: 16px 60px;
  border-radius: 12px;
  display: inline-block;

  /* White background box */
  background: #ffffff;
  border: 2px solid #ffd700;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  position: relative;
}

/* Gold underline accent */
.news-section h2::after {
  content: "";
  display: block;
  margin: 12px auto 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, transparent, #ffd700, transparent);
  border-radius: 2px;
}


/* News Tunnel */
.news-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-track {
  display: flex;
  gap: 22px;
  transition: transform 0.6s cubic-bezier(.22,.9,.32,1);
  will-change: transform;
}

/* Cards */
.news-item {
  flex: 0 0 calc(33.333% - 15px);  /* exactly 3 fit */
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08),
              0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15),
              0 12px 28px rgba(0,0,0,0.12);
}

/* Card Image */
.news-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Card Body */
.news-body {
  padding: 18px;
  text-align: center;
}
.news-body h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #b22222;
  margin-bottom: 10px;
  position: relative;
}
.news-body h5::after {
  content: "";
  display: block;
  margin: 6px auto 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, transparent, #ffd700, transparent);
  border-radius: 2px;
}
.news-body p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Navigation Buttons - Clean & Modern */
.tunnel-btn {
  background: #fff;
  border: 2px solid #d4af37;
  color: #b22222;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, background 0.3s ease, color 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.tunnel-btn:hover {
  background: #ffd700;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.tunnel-btn.prev { left: 10px; }
.tunnel-btn.next { right: 10px; }

/* Responsive */
@media (max-width: 992px) {
  .news-item { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 576px) {
  .news-item { flex: 0 0 100%; }
}

/* Default desktop layout (inline buttons) */
.text-center .btn {
  font-size: 1.1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* Tablet: stack buttons neatly */
@media (max-width: 992px) {
  .text-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .text-center .btn {
    flex: 1 1 45%; /* two per row */
    max-width: 200px;
  }
}

/* Mobile: full-width buttons stacked */
@media (max-width: 576px) {
  .text-center {
    flex-direction: column;
    align-items: center;
  }

  .text-center .btn {
    width: 90%;   /* almost full width */
    max-width: none;
    font-size: 1rem;
  }
}

/* Inquiry Section */
.inquiry-section {
  text-align: center;
}

.inquiry-box {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 30px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.inquiry-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #b22222; /* deep elegant red */
  margin-bottom: 12px;
}

.inquiry-text {
  font-size: 1rem;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Button refinement */
.inquiry-btn {
  background: #b22222;
  border: 2px solid #b22222;
  color: #fff;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.inquiry-btn:hover {
  background: #fff;
  color: #b22222;
  border-color: #b22222;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .inquiry-text {
    font-size: 1rem;
  }

  .inquiry-btn {
    width: 90%;
    font-size: 1rem;
    padding: 12px 0;
  }
}

/* Contact Section */
.contact-section {
  background: linear-gradient(to right, #fff5e6, #ffe6cc);
  padding: 4rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.contact-section h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #b22222; /* Chinese red */
  margin-bottom: 1.5rem;
}

.contact-section form {
  max-width: 600px;
  margin: auto;
  text-align: left;
}

.contact-section input,
.contact-section textarea,
.contact-section select {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #b22222;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}

.contact-section textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-section button {
  background-color: #b22222;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-section button:hover {
  background-color: #8b1a1a;
}

/* Social Links */
.social-links {
  margin-top: 2rem;
}

.social-links a {
  margin: 0 10px;
  font-size: 1.5rem;
  color: #b22222;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ffbf00; /* gold on hover */
}

/* Star Rating */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  margin: 8px 0;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 1.8rem;
  color: #ccc;
  cursor: pointer;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #ffbf00; /* gold */
}

/* Reset + Layout */
:root {
  --bs-primary: var(--primary-color);
  --bs-primary-rgb: 223, 58, 58; /* fallback */
}

html, body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: var(--site-font, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  background-color: var(--background-color, #fff);
  color: var(--text-color, #212529);
}

/* Navbar */
.navbar {
  background: linear-gradient(var(--navbar-angle, 90deg), var(--navbar-start, #c9302c), var(--navbar-end, #ff6600));
}
.navbar-brand {
  font-weight: 700;
  color: #fff !important;
}
.navbar-brand img {
  border-radius: 50%;
  border: 2px solid #fff;
}
.nav-link {
  font-weight: 500;
  color: #f8f9fa !important;
}
.nav-link:hover {
  color: var(--secondary-color, #ffd86b) !important;
}
.nav-link.active {
  border-bottom: 3px solid #fff;
  font-weight: 600;
}

/* Buttons */
.btn-primary {
  --bs-btn-color: #fff !important;
  --bs-btn-bg: var(--primary-color, #DF3A3A) !important;
  --bs-btn-border-color: var(--primary-color, #DF3A3A) !important;
  --bs-btn-hover-bg: var(--secondary-color, #F5A623) !important;
  --bs-btn-hover-border-color: var(--secondary-color, #F5A623) !important;
  --bs-btn-active-bg: var(--primary-color, #c9302c) !important;
  --bs-btn-active-border-color: var(--primary-color, #c9302c) !important;
}

.btn-outline-danger {
  --bs-btn-color: var(--primary-color, #c9302c);
  --bs-btn-border-color: var(--primary-color, #c9302c);
  --bs-btn-hover-bg: var(--primary-color, #c9302c);
  --bs-btn-hover-border-color: var(--primary-color, #c9302c);
  --bs-btn-hover-color: #fff;
}

/* Card Wrapper */
.card {
  background: #fff8f0;
  border: 1.5px solid var(--secondary-color, #d4af37);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  border-color: var(--secondary-color, #e6c95c);
}

/* Title */
.card-title {
  color: var(--primary-color, #a83232);
  background: linear-gradient(90deg, rgba(255,217,102,0.85), rgba(255,236,158,0.85));
}

/* Section Titles */
.featured-title {
  font-weight: bold;
  color: var(--primary-color, #c9302c);
}

/* Footer */
.footer {
  background: linear-gradient(90deg, var(--primary-color, #c9302c), var(--secondary-color, #ff6600));
  color: white;
}
.footer a:hover {
  color: var(--secondary-color, #ffcc99);
}

/* Lazysusan Section */
.lazysusan-wrapper {
  background: linear-gradient(to bottom, var(--primary-color, #a60000) 0%, var(--secondary-color, #660000) 100%);
  border-top: 6px solid var(--secondary-color, #ffd700);
}

/* Lanterns, Dragons, Clouds */
.lantern {
  background: radial-gradient(circle at 40% 30%, var(--secondary-color, #ffd88a), var(--primary-color, #ff7a00));
}
.dragon {
  background: radial-gradient(circle at 30% 20%, var(--secondary-color, rgba(255,230,140,1)), var(--primary-color, rgba(255,180,0,1)));
}

/* About Section */
.about-section {
  background: linear-gradient(to right, #fff5e6, #ffe6cc);
  border-radius: 12px;
}
.about-section h2 {
  color: var(--primary-color, #b22222);
}
.about-section p {
  color: var(--text-color, #333);
}

/* News Section */
.news-section {
  background: linear-gradient(160deg, var(--primary-color, #b22222) 0%, var(--secondary-color, #cc2b2b) 100%);
  border-top: 4px solid var(--secondary-color, #d4af37);
  border-bottom: 4px solid var(--secondary-color, #d4af37);
}
.news-section h2 {
  color: var(--primary-color, #b22222);
  border: 2px solid var(--secondary-color, #ffd700);
}
.news-body h5 {
  color: var(--primary-color, #b22222);
}
.tunnel-btn {
  border: 2px solid var(--secondary-color, #d4af37);
  color: var(--primary-color, #b22222);
}
.tunnel-btn:hover {
  background: var(--secondary-color, #ffd700);
}

/* Inquiry Section */
.inquiry-title {
  color: var(--primary-color, #b22222);
}
.inquiry-btn {
  background: var(--primary-color, #b22222);
  border: 2px solid var(--primary-color, #b22222);
}
.inquiry-btn:hover {
  background: #fff;
  color: var(--primary-color, #b22222);
  border-color: var(--primary-color, #b22222);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(to right, #fff5e6, #ffe6cc);
  border-radius: 12px;
}
.contact-section h2 {
  color: var(--primary-color, #b22222);
}
.contact-section input,
.contact-section textarea,
.contact-section select {
  border: 1px solid var(--primary-color, #b22222);
}
.contact-section button {
  background-color: var(--primary-color, #b22222);
}
.contact-section button:hover {
  background-color: var(--secondary-color, #8b1a1a);
}

/* Social Links */
.social-links a {
  color: var(--primary-color, #b22222);
}
.social-links a:hover {
  color: var(--secondary-color, #ffbf00);
}

/* Star Rating */
.star-rating label {
  color: #ccc;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--secondary-color, #ffbf00);
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: Arial, sans-serif;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}
/* Universal Article Modal */
.article-modal .modal-content {
  background: var(--modal-bg);
  color: var(--modal-text);
  border-radius: 1rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.article-modal .modal-header {
  background: var(--modal-accent);
  color: #fff;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  padding: 1rem 1.5rem;
}

.article-modal .modal-title {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.article-modal .modal-body {
  padding: 2rem;
  background-color: var(--modal-bg);
}

.article-modal img {
  border: 4px solid var(--modal-accent);
  border-radius: 0.75rem;
  max-height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-modal img:hover {
  transform: scale(1.02);
}

.modal-backdrop.show {
  background-color: var(--modal-overlay);
}

.article-modal .btn-close {
  filter: brightness(0) invert(1);
}
/* Fix for white search text in mobile menu */
/*
 * CSS fix for the search bar text
 * This targets the new .search-input-fix class
 */

.navbar-collapse #searchInput {
    color: #212529 !important;
    background-color: #ffffff !important;
}

.navbar-collapse #searchInput::placeholder {
    color: #6c757d;
}}

