/* =============================================
   Little Feet Big Trips — Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Lora:wght@400;500;600;700&display=swap');

/* --- Variables --- */
:root {
  --coral:    #C2714F;
  --coral-dk: #A85E3D;
  --teal:     #7A9E7E;
  --teal-dk:  #628070;
  --yellow:   #D4A96A;
  --yellow-dk:#BF9458;
  --dark:     #3D2B1F;
  --gray:     #7A6855;
  --light:    #F0EBE3;
  --white:    #FAF6F1;
  --card-shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius:   16px;
  --radius-sm: 8px;
  --font:         'Lora', serif;
  --font-heading: 'Playfair Display', serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--gray); }

/* --- Utility --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 4rem 0; }
.tag {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tag--coral  { background: var(--coral);  color: var(--white); }
.tag--teal   { background: var(--teal);   color: var(--white); }
.tag--yellow { background: var(--yellow); color: var(--dark);  }

.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.btn--coral  { background: var(--coral);  color: var(--white); }
.btn--teal   { background: var(--teal);   color: var(--white); }
.btn--outline {
  background: transparent;
  color: var(--coral);
  border: 2.5px solid var(--coral);
}
.btn--outline:hover { background: var(--coral); color: var(--white); }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.nav__logo span { color: var(--teal); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-weight: 700;
  font-size: .95rem;
  color: var(--dark);
  transition: color .15s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--coral); }
.nav__links a.active { border-bottom: 2.5px solid var(--coral); padding-bottom: 2px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .3rem;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: all .25s;
}

@media (max-width: 700px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .nav__links.open { display: flex; }
  .nav__hamburger  { display: flex; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--light);
}
.hero::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  background: var(--yellow);
  opacity: .12;
  border-radius: 50%;
  top: -120px; right: -100px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .75rem;
}
.hero__title { margin-bottom: 1.25rem; }
.hero__title em {
  font-style: normal;
  color: var(--coral);
}
.hero__desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  aspect-ratio: 4/3;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: rgba(255,255,255,.85);
  font-weight: 700;
  font-size: .9rem;
}
.img-placeholder .icon { font-size: 3rem; }

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__image { max-width: 500px; margin: 0 auto; width: 100%; }
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header p { margin-top: .6rem; font-size: 1.05rem; }

/* =============================================
   CARDS — Posts & Destinations
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.14); }

.card__image {
  aspect-ratio: 16/9;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card__image img { width: 100%; height: 100%; object-fit: cover; }

.card__body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.card__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .82rem;
  color: var(--gray);
  font-weight: 600;
}
.card__title { margin-bottom: .5rem; font-size: 1.15rem; color: var(--dark); }
.card__title a:hover { color: var(--coral); }
.card__excerpt { font-size: .92rem; flex: 1; }
.card__footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray);
}
.card__read-more { color: var(--coral); font-weight: 700; font-size: .88rem; }
.card__read-more:hover { text-decoration: underline; }

/* =============================================
   FEATURED POST (large card)
   ============================================= */
.featured-post {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 3rem;
}
.featured-post__image {
  background: var(--light);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.featured-post__image img { width: 100%; height: 100%; object-fit: cover; }
.featured-post__body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.featured-post__label {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--coral);
  margin-bottom: .6rem;
}
.featured-post__title { font-size: 1.7rem; margin-bottom: 1rem; }
.featured-post__excerpt { margin-bottom: 1.5rem; }

@media (max-width: 700px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__image { min-height: 220px; }
}

/* =============================================
   STATS / FUN FACTS BAND
   ============================================= */
.stats-band {
  background: var(--coral);
  padding: 3rem 0;
  color: var(--white);
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stats-band__item strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}
.stats-band__item span {
  font-size: .9rem;
  font-weight: 600;
  opacity: .9;
}

/* =============================================
   ABOUT SNIPPET
   ============================================= */
.about-snippet {
  background: var(--light);
}
.about-snippet__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}
.about-snippet__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--light);
  border: 3px solid var(--yellow-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  flex-shrink: 0;
}
.about-snippet__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-snippet__text h2 { margin-bottom: .75rem; }
.about-snippet__text p  { margin-bottom: 1.25rem; }

@media (max-width: 640px) {
  .about-snippet__inner { grid-template-columns: 1fr; text-align: center; }
  .about-snippet__photo { margin: 0 auto; }
}

/* =============================================
   NEWSLETTER STRIP
   ============================================= */
.newsletter {
  background: var(--yellow);
  padding: 3.5rem 0;
  text-align: center;
}
.newsletter h2 { color: var(--dark); margin-bottom: .5rem; }
.newsletter p  { color: var(--dark); opacity: .75; margin-bottom: 1.75rem; }
.newsletter__form {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.newsletter__form input {
  padding: .7rem 1.3rem;
  border-radius: 999px;
  border: 2.5px solid var(--dark);
  font-family: var(--font);
  font-size: 1rem;
  width: 280px;
  outline: none;
}
.newsletter__form input:focus { border-color: var(--coral); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--light);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid #e0d8cf;
}
.page-hero__eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .5rem;
}
.page-hero h1 { margin-bottom: .75rem; }
.page-hero p  { max-width: 560px; margin: 0 auto; }

/* =============================================
   POST PAGE
   ============================================= */
.post-hero {
  aspect-ratio: 21/9;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 480px;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; }

.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  padding: 3rem 0 4rem;
  align-items: start;
}
.post-content h2 { margin: 2rem 0 .75rem; color: var(--dark); }
.post-content h3 { margin: 1.5rem 0 .5rem; color: var(--dark); }
.post-content p  { margin-bottom: 1.1rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.post-content li { margin-bottom: .4rem; color: var(--gray); }
.post-content img {
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  box-shadow: var(--card-shadow);
}
.post-content blockquote {
  border-left: 4px solid var(--coral);
  padding: 1rem 1.5rem;
  background: #fff5f5;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  font-weight: 600;
  color: var(--dark);
}

/* Affiliate links */
.affiliate-link {
  color: var(--teal-dk);
  font-weight: 700;
  text-decoration: none;
}
.affiliate-link:hover { color: var(--teal); }

/* Standalone affiliate product block (link + description line) */
.affiliate-block {
  margin: 1.25rem 0;
  padding: .85rem 1.1rem;
  background: rgba(122, 158, 126, 0.08);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.affiliate-block a {
  display: block;
  color: var(--teal-dk);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .2rem;
}
.affiliate-block p {
  margin: 0;
  font-size: .88rem;
  color: var(--gray);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 2rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray);
}

/* Sidebar */
.sidebar { position: sticky; top: 84px; }
.sidebar-widget {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h3 { font-size: 1rem; margin-bottom: 1rem; color: var(--dark); }
.sidebar-widget ul li { padding: .4rem 0; border-bottom: 1px solid #e0e0e0; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { font-size: .9rem; font-weight: 600; color: var(--gray); }
.sidebar-widget ul li a:hover { color: var(--coral); }

@media (max-width: 860px) {
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* =============================================
   DESTINATIONS GRID
   ============================================= */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.dest-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: relative;
  aspect-ratio: 3/4;
  background: var(--coral);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .2s;
}
.dest-card:hover { transform: translateY(-4px); }
.dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dest-card__overlay {
  position: relative;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  padding: 1.5rem;
  color: var(--white);
}
.dest-card__country { font-size: .78rem; font-weight: 700; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }
.dest-card__name    { font-size: 1.3rem; font-weight: 900; }
.dest-card__count   { font-size: .82rem; font-weight: 600; opacity: .8; margin-top: .2rem; }

/* =============================================
   TIPS PAGE
   ============================================= */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.tip-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  border-top: 4px solid var(--teal);
  transition: transform .2s;
}
.tip-card:hover { transform: translateY(-3px); }
.tip-card__icon { font-size: 2.2rem; }
.tip-card h3 { font-size: 1.1rem; color: var(--dark); }
.tip-card p  { font-size: .92rem; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero {
  background: var(--light);
  padding: 5rem 0;
  border-bottom: 1px solid #e0d8cf;
}
.about-hero__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}
.about-hero__photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: #e8e0d8;
  border: 4px solid var(--yellow-dk);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 720px) {
  .about-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .about-hero__photo { margin: 0 auto; }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 1.75rem;
  text-align: center;
}
.value-card__icon { font-size: 2.5rem; margin-bottom: .75rem; }
.value-card h3 { font-size: 1rem; margin-bottom: .4rem; }

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 700;
  font-size: .9rem;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: var(--dark);
  transition: background .15s, color .15s;
}
.pagination a:hover, .pagination .active {
  background: var(--coral);
  color: var(--white);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer__brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .6rem;
}
.footer__brand-name span { color: var(--teal); }
.footer__tagline { font-size: .9rem; margin-bottom: 1rem; }
.footer__social  { display: flex; gap: .75rem; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 1rem;
  transition: background .15s;
}
.footer__social a:hover { background: var(--coral); }

.footer__col h4 {
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__col ul li { margin-bottom: .5rem; }
.footer__col ul li a { font-size: .9rem; transition: color .15s; }
.footer__col ul li a:hover { color: var(--coral); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__bottom a { color: var(--coral); }

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