/* ─────────────────────────────────────────
   Visit Sri Lanka — Global Stylesheet v2
   ───────────────────────────────────────── */



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

:root {
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --gold-pale: #f5edd6;
  --header-green: #8cba29;      /* WordPress site header green */
  --header-dark: #72981f;       /* Darker shade for depth */
  --dark: #1a1a18;
  --deep: #0f1710;
  --green: #2d5016;
  --green-mid: #4a7c2f;
  --green-light: #6ba042;
  --cream: #f7f3eb;
  --warm-white: #faf8f4;
  --text: #2c2c2a;
  --muted: #7a7a72;
  --border: #e0d9cc;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--warm-white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── TOPBAR ── */
.topbar {
  background: var(--header-dark);
  color: rgba(255,255,255,0.7);
  font-size: 0.74rem;
  padding: 7px 32px;
  text-align: right;
  letter-spacing: 0.06em;
}
.topbar a { color: rgba(255,255,255,0.9); text-decoration: none; }
.topbar a:hover { color: var(--gold-light); text-decoration: underline; }

/* ── HEADER — GREEN matching WordPress ── */
header {
  background: var(--header-green);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 3px 20px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}
.logo img { height: 46px; width: auto; }
.logo { text-decoration: none; }

nav { position: static; }
nav ul { list-style: none; display: flex; gap: 2px; flex-wrap: wrap; }
nav a {
  display: block;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-size: 0.78rem;
  padding: 8px 12px;
  border-radius: 3px;
  letter-spacing: 0.03em;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  font-weight: 400;
}
nav a:hover, nav a.active {
  color: white;
  background: rgba(0,0,0,0.18);
}

.hamburger {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 3px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.page-hero-content {
  position: relative;
  text-align: center;
  color: white;
  padding: 0 24px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
}
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb span { margin: 0 8px; }

/* ── LAYOUT ── */
.page-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 28px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}
.page-body.full-width { grid-template-columns: 1fr; }

/* ── SECTION ── */
section { padding: 72px 28px; }
.section-inner { max-width: 1240px; margin: 0 auto; }

.section-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.gold-line {
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 20px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 36px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 11px 30px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
  cursor: pointer;
  background: none;
}
.btn:hover { background: var(--gold); color: var(--dark); }
.btn-solid { background: var(--dark); color: white; border-color: var(--dark); }
.btn-solid:hover { background: var(--green-mid); border-color: var(--green-mid); color: white; }
.btn-green { background: var(--header-green); color: white; border-color: var(--header-green); }
.btn-green:hover { background: var(--green-mid); border-color: var(--green-mid); }

/* ── CARDS ── */
.card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 22px; }
.card-date { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 8px; }
.card-cats { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.06em; margin-bottom: 8px; }
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 10px;
}
.card-title a { text-decoration: none; color: var(--dark); }
.card-title a:hover { color: var(--green-mid); }
.card-excerpt { font-size: 0.83rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.read-more {
  font-size: 0.74rem;
  color: var(--green-mid);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.read-more:hover { color: var(--gold); }

/* ── SIDEBAR ── */
.sidebar-widget {
  background: white;
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.sidebar-cats { list-style: none; }
.sidebar-cats li { border-bottom: 1px solid var(--border); }
.sidebar-cats li:last-child { border-bottom: none; }
.sidebar-cats a {
  display: block;
  padding: 9px 0;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.sidebar-cats a:hover { color: var(--green-mid); padding-left: 6px; }

/* ── TABLES ── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 32px;
}
.info-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
}
.info-table td:first-child {
  background: var(--cream);
  font-weight: 500;
  white-space: nowrap;
  width: 180px;
}

.holidays-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin: 20px 0 32px;
}
.holidays-table th {
  background: var(--header-green);
  color: white;
  padding: 10px 12px;
  text-align: left;
  font-weight: 500;
}
.holidays-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); }
.holidays-table tr:nth-child(even) td { background: var(--cream); }
.holidays-table tr:hover td { background: var(--gold-pale); }

/* ── CONTENT TYPOGRAPHY ── */
.prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--dark);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}
.prose h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; font-size: 0.92rem; line-height: 1.85; }
.prose ul { margin: 12px 0 20px 20px; }
.prose ul li { font-size: 0.9rem; margin-bottom: 6px; line-height: 1.7; }
.prose a { color: var(--green-mid); }
.prose a:hover { text-decoration: underline; }
.prose strong { font-weight: 600; }
.prose pre {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 18px 20px;
  border-radius: 3px;
  font-size: 0.85rem;
  line-height: 1.8;
  white-space: pre-wrap;
  margin: 16px 0 24px;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ── TRAVEL PLAN TABLES ── */
.plan-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: 0.87rem; }
.plan-table th { background: var(--header-green); color: white; padding: 10px 14px; text-align: left; }
.plan-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.plan-table tr:nth-child(even) td { background: var(--cream); }
.plan-table td:first-child { font-weight: 600; white-space: nowrap; width: 70px; }
.plan-table td:last-child { color: var(--green-mid); font-weight: 500; }

/* ── PLAN CARD ── */
.plan-card {
  background: white;
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.plan-card h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--dark); margin-bottom: 6px; }
.plan-badge {
  display: inline-block;
  background: var(--header-green);
  color: white;
  padding: 3px 12px;
  font-size: 0.72rem;
  border-radius: 20px;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.plan-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  padding: 8px 18px;
  border-radius: 4px;
  margin-top: 16px;
}
.plan-price .price { font-size: 1.3rem; font-weight: 700; color: var(--header-green); }
.plan-price .label { font-size: 0.78rem; color: var(--muted); }
.plan-note { font-size: 0.78rem; color: var(--muted); margin-top: 10px; line-height: 1.7; }

/* ── REVIEW ── */
.review-card {
  background: white;
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  transition: transform 0.2s;
}
.review-card:hover { transform: translateX(4px); }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.review-title { font-size: 1.05rem; font-weight: 600; color: var(--dark); }
.stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; }
.review-date { font-size: 0.75rem; color: var(--muted); margin-bottom: 10px; }
.review-text { font-size: 0.88rem; line-height: 1.8; color: var(--text); margin-bottom: 12px; }
.review-author { font-size: 0.78rem; font-weight: 600; color: var(--green-mid); }

/* ── TESTIMONIAL CARD ── */
.testimonial-card {
  background: white;
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold-pale);
  line-height: 1;
}
.testimonial-person { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; padding-left: 20px; }
.testimonial-impression { background: var(--cream); border-radius: 4px; padding: 14px 16px; font-size: 0.87rem; line-height: 1.75; margin-bottom: 16px; }
.testimonial-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 0.78rem; }
.testimonial-meta .meta-item { display: flex; flex-wrap: wrap; gap: 4px; }
.testimonial-meta .meta-label { font-weight: 600; color: var(--dark); }
.testimonial-meta .meta-val { color: var(--muted); }

/* ── CONTACT FORM ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 500; margin-bottom: 6px; color: var(--dark); }
.form-group label .req { color: #c0392b; margin-left: 4px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-size: 0.88rem;
  font-family: inherit;
  background: white;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--header-green);
  box-shadow: 0 0 0 3px rgba(58,125,68,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.radio-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.radio-group label { font-size: 0.83rem; display: flex; align-items: center; gap: 6px; cursor: pointer; }

.contact-info { padding: 32px; background: var(--header-green); color: white; border-radius: 6px; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: white; margin-bottom: 20px; }
.contact-info p { font-size: 0.87rem; line-height: 1.8; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.contact-social { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.contact-social a {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  text-decoration: none;
  font-size: 0.78rem;
  border-radius: 3px;
  transition: background 0.2s;
}
.contact-social a:hover { background: rgba(255,255,255,0.15); }

/* ── BLOG LIST ── */
.blog-list { display: flex; flex-direction: column; gap: 28px; }
.blog-item {
  background: white;
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
  transition: transform 0.25s, box-shadow 0.25s;
}
.blog-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-item img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 200px; }
.blog-item-body { padding: 28px; }
.blog-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.blog-meta .date { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; }
.blog-item h2 { font-family: 'Playfair Display', serif; font-size: 1.2rem; line-height: 1.4; margin-bottom: 10px; }
.blog-item h2 a { text-decoration: none; color: var(--dark); }
.blog-item h2 a:hover { color: var(--green-mid); }
.blog-item p { font-size: 0.87rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }

/* ── BLOG POST CONTENT ── */
.post-header { margin-bottom: 32px; }
.post-header img { width: 100%; border-radius: 6px; margin-bottom: 24px; }
.post-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3.5vw, 2.2rem); line-height: 1.3; margin-bottom: 12px; }
.post-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--muted); margin-bottom: 24px; flex-wrap: wrap; }
.post-meta .cat-tag {
  display: inline-block;
  background: var(--header-green);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
}
.post-body { font-size: 0.92rem; line-height: 1.9; }
.post-body p { margin-bottom: 18px; }
.post-body strong { font-weight: 700; color: var(--dark); }
.post-body img { width: 100%; border-radius: 4px; margin: 16px 0; }
.post-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 28px 0 10px; border-left: 3px solid var(--gold); padding-left: 12px; }
.related-posts { margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--border); }
.related-posts h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 20px; color: var(--dark); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { background: white; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s; }
.related-card:hover { transform: translateY(-3px); }
.related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.related-card p { padding: 12px; font-size: 0.82rem; font-weight: 500; color: var(--dark); }

/* ── FOOTER ── */
.site-footer { background: var(--deep); color: rgba(255,255,255,0.5); }
.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 52px 28px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.75; color: rgba(255,255,255,0.45); margin-bottom: 20px; margin-top: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.75rem;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 0.82rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); text-align: center; padding: 20px 28px; font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ── NEWSLETTER STRIP ── */
.newsletter-strip { background: var(--header-green); padding: 48px 28px; text-align: center; }
.newsletter-strip h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: white; margin-bottom: 6px; }
.newsletter-strip p { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.newsletter-form { display: flex; max-width: 420px; margin: 0 auto; }
.newsletter-form input[type=email] { flex: 1; padding: 12px 16px; border: none; font-size: 0.88rem; font-family: inherit; outline: none; border-radius: 3px 0 0 3px; }
.newsletter-form button {
  padding: 12px 22px;
  background: var(--dark);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-family: inherit;
  border-radius: 0 3px 3px 0;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--gold); color: var(--dark); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .page-body { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--header-green);
    padding: 16px 20px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 999;
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 2px; }
  nav a { font-size: 0.9rem; padding: 10px 12px; }
  .blog-item { grid-template-columns: 1fr; }
  .blog-item img { min-height: 180px; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .testimonial-meta { grid-template-columns: 1fr; }
  .page-body { padding: 40px 20px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  section { padding: 52px 20px; }
  .page-hero { height: 240px; }
  .plan-card { padding: 20px; }
}
