/* =====================================================================
   ELONA TOURS - DYNAMIC COMPONENTS (CALCULATOR, REVIEWS, MODAL)
===================================================================== */

/* 1. PRICE CALCULATOR STYLES */
#price-calculator {
  padding: 60px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.calc-card {
  background: linear-gradient(145deg, #0d223f 0%, #071527 100%);
  border: 1px solid rgba(201, 160, 32, 0.35);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(201, 160, 32, 0.1);
}

.calc-header {
  text-align: center;
  margin-bottom: 32px;
}

.calc-title {
  font-family: 'Playfair Display', 'Tajawal', serif;
  font-size: 28px;
  color: var(--gold);
  margin-top: 10px;
}

.calc-desc {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 650px;
  margin: 8px auto 0;
  line-height: 1.6;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-field-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-field label {
  display: block;
  font-size: 13.5px;
  color: var(--gold-light);
  margin-bottom: 8px;
  font-weight: 600;
}

.calc-field select,
.calc-field input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(5, 13, 26, 0.85);
  border: 1px solid rgba(201, 160, 32, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 14.5px;
  outline: none;
  transition: all 0.25s ease;
}

.calc-field select:focus,
.calc-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(201, 160, 32, 0.25);
}

.calc-result-box {
  background: rgba(5, 13, 26, 0.65);
  border: 1px solid rgba(201, 160, 32, 0.3);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.calc-result-label {
  font-size: 13.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-result-price {
  font-size: 38px;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  margin: 4px 0;
}

.calc-result-sub {
  font-size: 12.5px;
  color: var(--muted);
}

.calc-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15.5px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.calc-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* 2. REVIEWS SECTION STYLES */
.reviews-wrapper {
  padding: 80px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-bubble {
  background: #0d223f;
  border: 1px solid rgba(201, 160, 32, 0.25);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.review-bubble:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.review-author-name {
  font-weight: 700;
  color: #fff;
  font-size: 16px;
}

.review-author-country {
  font-size: 13px;
  color: var(--gold-light);
  margin-top: 3px;
}

.review-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
}

.review-body {
  color: #e2e8f0;
  font-size: 14.5px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  background: rgba(201, 160, 32, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(201, 160, 32, 0.25);
  align-self: flex-start;
}

.btn-add-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: rgba(201, 160, 32, 0.18);
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-add-review:hover {
  background: var(--gold);
  color: #000;
}

/* 3. REVIEW MODAL */
.review-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.review-modal-card {
  width: 100%;
  max-width: 480px;
  background: #0d223f;
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
}

/* 4. FOOTER EASTER EGG LOGO STYLING */
#footer-logo {
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}

#footer-logo:active {
  transform: scale(0.97);
}

/* =====================================================================
   5. AI-OPTIMIZED FAQ ACCORDION SECTION
===================================================================== */
#faq {
  padding: 80px 24px;
  max-width: 1050px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-header .sec-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201, 160, 32, 0.12);
  border: 1px solid rgba(201, 160, 32, 0.35);
  border-radius: 30px;
  color: #E8C050;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.faq-header .sec-title {
  font-family: 'Playfair Display', 'Tajawal', serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
}

.faq-header .sec-sub {
  color: #7A8FA8;
  font-size: 15px;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: linear-gradient(145deg, #0d223f 0%, #071527 100%);
  border: 1px solid rgba(201, 160, 32, 0.25);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.faq-item:hover {
  border-color: rgba(201, 160, 32, 0.55);
}

.faq-item.open {
  border-color: #C9A020;
  box-shadow: 0 8px 30px rgba(201, 160, 32, 0.15), 0 4px 20px rgba(0,0,0,0.4);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 16px;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 600;
  color: #fff;
  transition: color 0.25s ease;
}

[dir="rtl"] .faq-question {
  text-align: right;
}

.faq-item.open .faq-question,
.faq-question:hover {
  color: #E8C050;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201, 160, 32, 0.15);
  color: #C9A020;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: #C9A020;
  color: #071527;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 26px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 26px 24px 26px;
}
