/* =============================================================================
   attraction.css — shared styles for all attraction/place pages
   ============================================================================= */

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 450px;
  /* background-image is set inline per page */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.52) 100%);
}

.hero-text-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}

.hero-text {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px 60px;
  color: #fff;
}

.hero-text .eyebrow {
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 14px;
}

.hero-text h1 {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-text .subtitle {
  font-size: 18px;
  opacity: 0.9;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.breadcrumb-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 13px;
  color: #666;
}

.breadcrumb-inner a { color: #B8924E; text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { margin: 0 6px; color: #bbb; }

/* ── ARTICLE LAYOUT ── */
.article-outer {
  max-width: 1120px;
  margin: 50px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

/* Sidebar is first in DOM (for mobile float), but visually goes to column 2 on desktop */
.article-outer .sidebar   { grid-column: 2; grid-row: 1; }
.article-outer .article-body { grid-column: 1; grid-row: 1; }

.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin: 40px 0 16px;
  line-height: 1.25;
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin: 28px 0 12px;
  line-height: 1.3;
}

.article-body p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 18px;
}

.article-body ul {
  margin: 0 0 22px 0;
  padding-left: 0;
  list-style: none;
}

.article-body ul li {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.article-body ul li:last-child { border-bottom: none; }

.article-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #B8924E;
  font-weight: 700;
}

.article-body ul li strong { color: #222; }

/* ── CTA BUTTON ── */
.cta-wrap { margin: 24px 0 32px; }

.btn-cta {
  display: inline-block;
  background: #C9A84C;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: background .2s ease;
}

.btn-cta:hover { background: #b8963e; }

/* ── GALLERY ── */
.gallery {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.gallery.cols-2 { grid-template-columns: 1fr 1fr; }
.gallery.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.gallery img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.gallery.portrait img { aspect-ratio: 2 / 3; }

/* ── VIDEO & MAP ── */
.video-wrap {
  margin: 32px 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.map-wrap {
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
}

.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ── SIDEBAR ── */
.sidebar {
  position: sticky;
  top: 24px;
}

.sidebar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 14px;
}

.sidebar-ticket {
  background: #f9f6f1;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
}

.sidebar-ticket--book { margin-bottom: 10px; }

.sidebar-ticket h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #222;
  margin-bottom: 12px;
}

.sidebar-ticket .btn-cta {
  display: block;
  text-align: center;
  font-size: 13px;
  padding: 11px 18px;
  margin-bottom: 8px;
}

.sidebar-ticket p {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

/* ── QUICK INFO ── */
.quick-info { margin: 0; }

.quick-info dt {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #aaa;
  margin-top: 12px;
}

.quick-info dt:first-child { margin-top: 0; }

.quick-info dd {
  font-size: 13px;
  color: #333;
  margin: 3px 0 0;
  line-height: 1.5;
}

/* ── RELATED ARTICLES (end of article) ── */
.article-related {
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid #f0f0f0;
}

.article-related h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-bottom: 14px;
}

.article-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-related ul li {
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
}

.article-related ul li:last-child { border-bottom: none; }

.article-related ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #B8924E;
  font-weight: 700;
}

.article-related ul li a {
  color: #333;
  text-decoration: none;
  transition: color .2s ease;
}

.article-related ul li a:hover { color: #B8924E; }

/* ── SHARE BAR ── */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin: 32px 0;
  flex-wrap: wrap;
}

.share-bar-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s ease;
}

.share-btn:hover { opacity: 0.82; }
.share-btn-fb   { background: #1877F2; color: #fff; }
.share-btn-x    { background: #000;    color: #fff; }
.share-btn-wa   { background: #25D366; color: #fff; }
.share-btn-mail { background: #f0f0f0; color: #333; }

/* ── RELATED CARDS ── */
.related-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  transition: opacity .2s ease;
}

.related-card:first-child { border-top: 1px solid #eee; }
.related-card:hover { opacity: 0.72; }

.related-card img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
  display: block;
}

.related-card-text h3 {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  margin: 0 0 3px;
}

.related-card-text p {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
  margin: 0;
}

/* ── ATTRACTIONS SECTION (bottom of page) ── */
.attractions {
  padding: 40px 0 0;
  background: #fff;
}

.attractions-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 20px;
}

.attractions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.attraction-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.06), 0 16px 30px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  color: inherit;
}

.attraction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.08), 0 22px 45px rgba(0,0,0,0.12);
}

.attraction-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.attraction-card-body {
  padding: 12px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.attraction-card-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

.btn-discover {
  display: block;
  width: 100%;
  margin-top: auto;
  background: #C9A84C;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 7px 12px;
  border-radius: 20px;
  text-decoration: none;
  text-align: center;
}

.btn-discover:hover { background: #b8963e; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .article-outer { grid-template-columns: 1fr 220px; gap: 32px; }
}

@media (max-width: 640px) {
  /* Switch from grid to block so the sidebar can float */
  .article-outer { display: block; padding: 0 16px; margin-top: 24px; }
  .sidebar {
    float: right;
    width: 130px;
    margin: 0 0 16px 16px;
    position: static;
  }
  /* Clearfix so article-outer contains the float */
  .article-outer::after { content: ''; display: table; clear: both; }
  .sidebar-ticket { padding: 12px; }
  .sidebar-ticket h3 { font-size: 10px; margin-bottom: 8px; }
  .sidebar-ticket .btn-cta { font-size: 11px; padding: 9px 8px; letter-spacing: 0; }
  .sidebar-ticket p { display: none; }
  /* Book Now: strip the box — show just the button */
  .sidebar-ticket--book {
    background: none;
    border: none;
    padding: 0 0 12px;
    margin-bottom: 10px;
  }
  .sidebar-ticket--book h3 { display: none; }
  .sidebar-ticket--book .btn-cta {
    font-size: 10px;
    padding: 8px 6px;
    display: block;
    text-align: center;
  }
  .quick-info dt { font-size: 9px; }
  .quick-info dd { font-size: 11px; }
  .related-card img { display: none; }
  .related-card { padding: 10px 0; }
  .related-card-text h3 { font-size: 12px; }
  .related-card-text p { display: none; }
  .sidebar-label { font-size: 9px; }
}

@media (max-width: 768px) {
  .hero { background-attachment: scroll; height: 380px; }
  .hero-text h1 { font-size: 36px; }
  .hero-text .subtitle { font-size: 15px; }
  .gallery.cols-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .attractions-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
  .hero { height: 320px; }
  .hero-text { padding: 0 16px 40px; }
  .hero-text .eyebrow { font-size: 11px; letter-spacing: 0.5px; }
  .hero-text h1 { font-size: 28px; }
  .hero-text .subtitle { font-size: 13px; }
  .article-outer { margin-top: 32px; padding: 0 16px; }
  .gallery.cols-2, .gallery.cols-3 { grid-template-columns: 1fr; }
  .attractions-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
