/* ----------------------------------------------------
   GLOBAL RESET + BASE
----------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* ----------------------------------------------------
   HIDDEN H1 (SEO)
----------------------------------------------------- */
.hidden-h1 {
  display: none !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  z-index: -9999 !important;
}

/* ----------------------------------------------------
   HERO
----------------------------------------------------- */
.hero {
  position: relative;
  height: 300px;
  background: url('https://images.pexels.com/photos/169190/pexels-photo-169190.jpeg?auto=compress&cs=tinysrgb&w=1600')
    center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  width: 90%;
}

/* ----------------------------------------------------
   SECTION TITLE
----------------------------------------------------- */
.section-title {
  text-align: center;
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}

/* INTRO TEXT */
.intro {
  max-width: 900px;
  margin: 10px auto 20px auto;
  padding: 0 20px;
  text-align: center;
  color: #555;
}

/* ----------------------------------------------------
   EVENT SELECTOR
----------------------------------------------------- */
.event-grid {
  max-width: 1100px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  padding: 0 20px;
}

.event-card {
  background: #fff;
  border: 2px solid #f0e4cc;
  border-radius: 14px;
  padding: 20px 10px;
  text-align: center;
  cursor: pointer;
  transition: 0.25s;
}

.event-card:hover {
  background: #fff7df;
  border-color: #d7b56d;
  transform: translateY(-3px);
}

.event-card i {
  font-size: 38px;
  color: #bda669;
}

.event-card p {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
}

/* ----------------------------------------------------
   GUEST INPUT
----------------------------------------------------- */
.guest-box {
  max-width: 400px;
  margin: 15px auto;
  padding: 0 20px;
  text-align: center;
}

.guest-box input {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  font-size: 18px;
  border-radius: 10px;
  border: 1px solid #d7c59a;
}

/* ----------------------------------------------------
   RAIN PLAN
----------------------------------------------------- */
.rain-box {
  max-width: 400px;
  margin: 10px auto;
  padding: 0 20px;
  text-align: center;
  font-size: 16px;
}

.rain-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.rain-row input {
  transform: scale(1.2);
}

.rain-input {
  width: 180px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #d6c28a;
  border-radius: 8px;
  text-align: right;
}

/* ----------------------------------------------------
   CATEGORY CARDS
----------------------------------------------------- */
.cards-container {
  max-width: 950px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  gap: 25px;
}

.card {
  background: #ffffff;
  border: 2px solid #f0e4cc;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0px 4px 14px rgba(0,0,0,0.06);
  transition: 0.2s;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #7d652f;
}

/* SELECT + INPUTS */
.card select,
.card input {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #d4c59e;
}

/* ----------------------------------------------------
   ADD-ONS — SIDE-BY-SIDE (STYLE C)
----------------------------------------------------- */
.addon-toggle {
  margin-top: 14px;
  font-weight: 500;
  color: #7c682b;
  cursor: pointer;
  user-select: none;
}

.addon-box {
  margin-top: 12px;
  padding: 10px 14px;
  border-left: 3px solid #d7b56d;
  background: #fffdf5;
  border-radius: 10px;
  display: none;
}

/* ROW STYLE (side-by-side) */
.addon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #f1e8d8;
}

.addon-row:last-child {
  border-bottom: none;
}

.addon-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #5d4b1a;
}

.addon-check {
  transform: scale(1.2);
}

.addon-price-input {
  width: 110px;
  padding: 8px;
  font-size: 15px;
  border: 1px solid #d8c79d;
  border-radius: 8px;
  text-align: right;
}

/* ----------------------------------------------------
   TOTAL BOX
----------------------------------------------------- */
.total-box {
  max-width: 650px;
  margin: 40px auto 20px auto;
  text-align: center;
  background: #fff8e1;
  padding: 25px;
  border: 2px solid #e0c88c;
  border-radius: 16px;
  font-size: 26px;
  font-weight: 600;
  color: #7a5a17;
}

.pdf-btn {
  margin-top: 15px;
  background: #b6954a;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

.pdf-btn:hover {
  background: #a88632;
}

/* ----------------------------------------------------
   GENERAL ABSTRACT (TABLE STYLE)
----------------------------------------------------- */
.abstract-section {
  max-width: 950px;
  margin: 40px auto;
  padding: 0 20px;
}

.abstract-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fffdf7;
  border-radius: 12px;
  overflow: hidden;
}

.abstract-table th {
  background: #f4e6c6;
  padding: 14px;
  text-align: left;
  font-size: 17px;
  color: #5e4c1f;
}

.abstract-table td {
  padding: 14px;
  font-size: 16px;
  border-bottom: 1px solid #f1e7d2;
}

.abstract-table tr:last-child td {
  border-bottom: none;
}

.total-row td {
  font-weight: 700;
  background: #fff4cc;
}

/* ----------------------------------------------------
   STICKY TOTAL PANEL (DESKTOP)
----------------------------------------------------- */
.sticky-total {
  position: fixed;
  top: 80px;
  right: 25px;
  background: #fff8e1;
  border: 2px solid #e2c77d;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #7a5a17;
  display: none;
  z-index: 9999;
}

@media (min-width: 992px) {
  .sticky-total {
    display: block;
  }
}

/* ----------------------------------------------------
   FAQ SECTION
----------------------------------------------------- */
.faq-section {
  max-width: 900px;
  margin: 40px auto 80px auto;
  padding: 0 20px;
}

.faq-item {
  margin-bottom: 25px;
}

.faq-item h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #5a4c20;
}

.faq-item p {
  color: #555;
  font-size: 15px;
}

/* ----------------------------------------------------
   MOBILE OPTIMIZATION
----------------------------------------------------- */
@media (max-width: 768px) {
  .hero-text {
    font-size: 24px;
  }
  .card-title {
    font-size: 18px;
  }
  .total-box {
    font-size: 22px;
  }
  .addon-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .addon-price-input {
    margin-top: 6px;
  }
}
