/* ============================================================
   MOSTAR TOURIST CENTER - Global Stylesheet
   Used by: index.html, tours.html, shop.html, booking.html,
            about.html, contact.html, faq.html
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terracotta: #C2603B;
  --terracotta-dark: #a34d2c;
  --stone: #3B5A7A;
  --stone-light: #5A7FA0;
  --cream: #FAF6F0;
  --warm-white: #FFFFFF;
  --text-dark: #1C1C1C;
  --text-mid: #555;
  --border: #E0D9D0;
  --gold: #D4A843;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--warm-white); }
h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 64px;
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 800; color: var(--terracotta); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav-logo span { color: var(--stone); }
.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }
.nav-cta { background: var(--terracotta); color: white; padding: 9px 20px; border-radius: 6px; font-weight: 600; font-size: 0.88rem; text-decoration: none; transition: background 0.2s; white-space: nowrap; }
.nav-cta:hover { background: var(--terracotta-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--text-dark); display: block; }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 120px 5% 60px;
  background: linear-gradient(135deg, rgba(28,28,28,0.6) 0%, rgba(28,28,28,0.25) 100%),
              url('https://images.unsplash.com/photo-1555990793-da11153b6be2?w=1600&auto=format&fit=crop') center/cover no-repeat;
  color: white; text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.page-header p { font-size: 1.05rem; opacity: 0.88; max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* ── HERO (homepage) ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(28,28,28,0.55) 0%, rgba(28,28,28,0.2) 100%),
              url('https://unsplash.com/photos/a-river-flowing-under-a-bridge-next-to-a-town-OJ_fD0xKTgY') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 5% 60px; color: white;
}
.hero-inner { max-width: 780px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(6px); padding: 6px 16px; border-radius: 20px; font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; color: #ffe8d6; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.15; margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { font-size: 1.1rem; opacity: 0.92; margin-bottom: 36px; line-height: 1.7; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 52px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 2rem; font-family: 'Playfair Display', serif; color: var(--gold); }
.hero-stat span { font-size: 0.82rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── BUTTONS ── */
.btn-primary { background: var(--terracotta); color: white; padding: 13px 28px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: background 0.2s, transform 0.15s; display: inline-block; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); }
.btn-secondary { background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.7); color: white; padding: 13px 28px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: background 0.2s; display: inline-block; }
.btn-secondary:hover { background: rgba(255,255,255,0.25); }
.btn-stone { background: var(--stone); color: white; padding: 11px 22px; border-radius: 7px; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: background 0.2s; display: inline-block; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }
.btn-stone:hover { background: var(--stone-light); }

/* ── SECTIONS ── */
section { padding: 80px 5%; }
.section-label { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--terracotta); font-weight: 600; margin-bottom: 10px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--text-dark); margin-bottom: 14px; line-height: 1.25; }
.section-sub { font-size: 1rem; color: var(--text-mid); max-width: 520px; line-height: 1.7; margin-bottom: 48px; }
.centered { text-align: center; }
.centered .section-sub { margin-left: auto; margin-right: auto; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.feature-item { text-align: center; padding: 28px 20px; }
.feature-icon { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.feature-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-item p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; }

/* ── TOURS ── */
.tours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.tour-card { background: white; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.07); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.tour-card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.tour-card-img { width: 100%; height: 200px; object-fit: cover; background: #ddd; }
.tour-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.tour-badge { display: inline-block; background: #FFF0E8; color: var(--terracotta); font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.tour-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--text-dark); }
.tour-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; flex: 1; }
.tour-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.tour-price { font-size: 1.15rem; font-weight: 700; color: var(--stone); }
.tour-price span { font-size: 0.8rem; font-weight: 400; color: var(--text-mid); }
.tour-duration { font-size: 0.82rem; color: var(--text-mid); }
.btn-book { display: block; text-align: center; background: var(--stone); color: white; padding: 11px; border-radius: 7px; font-weight: 600; font-size: 0.9rem; text-decoration: none; margin-top: 14px; transition: background 0.2s; }
.btn-book:hover { background: var(--stone-light); }

/* ── SHOP ── */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.product-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.06); transition: transform 0.2s; }
.product-card:hover { transform: translateY(-4px); }
.product-img { width: 100%; height: 170px; background: #ece6de; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.product-body { padding: 16px; }
.product-body h4 { font-size: 1rem; margin-bottom: 5px; }
.product-body p { font-size: 0.83rem; color: var(--text-mid); margin-bottom: 12px; line-height: 1.5; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-weight: 700; color: var(--terracotta); font-size: 1rem; }
.btn-cart { background: var(--terracotta); color: white; border: none; padding: 8px 14px; border-radius: 6px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: background 0.2s; font-family: 'Inter', sans-serif; }
.btn-cart:hover { background: var(--terracotta-dark); }
.cart-bar { display: none; margin-top: 40px; background: var(--stone); color: white; padding: 20px 28px; border-radius: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }

/* ── BOOKING FORM ── */
.booking-section { background: var(--stone); color: white; }
.booking-section .section-label { color: var(--gold); }
.booking-section .section-title { color: white; }
.booking-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.booking-info p { font-size: 0.92rem; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 24px; }
.booking-perks { list-style: none; margin-top: 20px; }
.booking-perks li { font-size: 0.88rem; color: rgba(255,255,255,0.82); padding: 6px 0; display: flex; align-items: center; gap: 10px; }
.booking-perks li::before { content: '\2713'; color: var(--gold); font-weight: 700; }
.booking-contact a { color: var(--gold); text-decoration: none; font-weight: 600; }
.booking-form { background: white; border-radius: 14px; padding: 36px; box-shadow: 0 4px 32px rgba(0,0,0,0.2); }
.booking-form h3 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.4px; }
.form-group input, .form-group select, .form-group textarea { border: 1.5px solid var(--border); border-radius: 7px; padding: 11px 14px; font-size: 0.92rem; font-family: 'Inter', sans-serif; color: var(--text-dark); transition: border-color 0.2s; background: white; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--stone); }
.form-group textarea { resize: vertical; min-height: 90px; }
.btn-submit { width: 100%; background: var(--terracotta); color: white; border: none; padding: 15px; border-radius: 8px; font-size: 1rem; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.2s; margin-top: 6px; }
.btn-submit:hover { background: var(--terracotta-dark); }
.form-note { font-size: 0.78rem; color: var(--text-mid); text-align: center; margin-top: 10px; }

/* ── REVIEWS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card { background: var(--cream); border-radius: 12px; padding: 28px; border-left: 4px solid var(--terracotta); }
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.review-card p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--terracotta); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.95rem; }
.reviewer-name { font-weight: 600; font-size: 0.9rem; }
.reviewer-from { font-size: 0.78rem; color: var(--text-mid); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-detail { margin-bottom: 22px; }
.contact-detail h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--terracotta); margin-bottom: 4px; }
.contact-detail p, .contact-detail a { font-size: 0.95rem; color: var(--text-dark); text-decoration: none; font-weight: 500; }
.contact-detail a:hover { color: var(--terracotta); }
.map-embed { width: 100%; height: 340px; border-radius: 12px; border: none; }
.map-placeholder { width: 100%; height: 340px; border-radius: 12px; background: #d9e3ed; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; border: 2px dashed var(--stone-light); color: var(--stone); font-weight: 500; font-size: 0.95rem; }
.social-links { display: flex; gap: 14px; margin-top: 16px; }
.social-link { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; text-decoration: none; transition: background 0.2s; }
.social-link:hover { background: var(--terracotta); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 22px 0; font-size: 1.05rem; font-weight: 600; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: 'Inter', sans-serif; }
.faq-question:hover { color: var(--terracotta); }
.faq-icon { font-size: 1.2rem; color: var(--terracotta); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 22px; font-size: 0.95rem; color: var(--text-mid); line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { width: 100%; border-radius: 14px; object-fit: cover; height: 420px; background: #d0c8be; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.team-card { text-align: center; padding: 28px 20px; background: var(--cream); border-radius: 12px; }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--stone); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-family: 'Playfair Display', serif; font-weight: 700; margin: 0 auto 14px; }
.team-card h4 { font-size: 1rem; margin-bottom: 4px; }
.team-card p { font-size: 0.82rem; color: var(--stone); font-weight: 600; }
.team-card span { font-size: 0.8rem; color: var(--text-mid); display: block; margin-top: 6px; }

/* ── FOOTER ── */
footer { background: #111; color: rgba(255,255,255,0.65); padding: 48px 5% 28px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 10px; max-width: 260px; }
.footer-col h4 { color: white; font-size: 0.88rem; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ── MODAL ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 999; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal { background: white; border-radius: 16px; padding: 36px; max-width: 480px; width: 90%; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 18px; font-size: 1.4rem; background: none; border: none; cursor: pointer; color: var(--text-mid); }
.modal h3 { font-size: 1.3rem; margin-bottom: 6px; }
.modal > p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 22px; }

/* ── TOAST ── */
.toast { display: none; position: fixed; bottom: 30px; right: 30px; background: #22a87a; color: white; padding: 14px 22px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.toast.show { display: block; animation: fadeInUp 0.3s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .booking-wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  nav { padding: 0 4%; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
