@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap");

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

:root {
  --bg: #faf7f2;
  --text: #2c2416;
  --muted: #6b5d4d;
  --accent: #8b5a2b;
  --accent-light: #c4a574;
  --card: #ffffff;
  --border: #e8dfd0;
  --hero-overlay: rgba(44, 36, 22, 0.45);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  line-height: 1.25;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */

header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 72rem;
  padding: 1rem 1.5rem;
}

.logo {
  color: var(--accent);
  font-family: "Lora", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

nav {
  align-items: center;
  display: flex;
  gap: 1.25rem;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  color: var(--text);
}

/* Hero */

.hero {
  align-items: flex-end;
  background:
    linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url("../photos/hero.jpg") center 80% / cover no-repeat,
    linear-gradient(135deg, #c4a574 0%, #8b5a2b 100%);
  color: white;
  display: flex;
  min-height: 28rem;
  padding: 3rem 1.5rem;
}

.hero-inner {
  margin: 0 auto;
  max-width: 72rem;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 36rem;
  opacity: 0.95;
}

.hero-dates {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-top: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
}

/* Layout */

main {
  margin: 0 auto;
  max-width: 72rem;
  padding: 3rem 1.5rem;
}

.page-main {
  margin: 0 auto;
  max-width: 48rem;
  padding: 3rem 1.5rem;
}

section {
  margin-bottom: 3.5rem;
}

.section-header {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.75rem;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Where we are banner */

.where-banner {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  margin: -1.5rem auto 0;
  max-width: 72rem;
  padding: 1.25rem 1.5rem;
  position: relative;
  width: calc(100% - 3rem);
  z-index: 10;
}

.where-banner strong {
  color: var(--accent);
}

/* Instagram profile buttons */

.ig-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ig-btn {
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 500;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ig-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(139, 90, 43, 0.12);
  text-decoration: none;
}

/* Instagram grid */

.feed-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .feed-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feed-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: inherit;
  display: block;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.feed-card:hover {
  box-shadow: 0 8px 24px rgba(44, 36, 22, 0.1);
  text-decoration: none;
  transform: translateY(-2px);
}

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

.feed-card-body {
  padding: 0.85rem 1rem 1rem;
}

.feed-card .meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.feed-card .caption {
  display: -webkit-box;
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.feed-card .view-ig {
  color: var(--accent);
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.feed-video-placeholder {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #3d3020 0%, #8b5a2b 100%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.feed-video-placeholder .play-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  display: flex;
  font-size: 1.25rem;
  height: 3.5rem;
  justify-content: center;
  padding-left: 0.2rem;
  width: 3.5rem;
}

.feed-video-placeholder .play-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
}

.feed-empty {
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 10px;
  grid-column: 1 / -1;
  padding: 2.5rem;
  text-align: center;
}

.feed-empty p {
  margin-bottom: 1rem;
}

.hashtag-hint {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.hashtag-hint code {
  background: var(--bg);
  border-radius: 4px;
  font-size: 0.8rem;
  padding: 0.15rem 0.4rem;
}

/* Cards (itinerary, vlogs) */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.card-body {
  padding: 1.25rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.current {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(139, 90, 43, 0.15);
}

.badge {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.card-row {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
}

/* Vlogs */

.video-wrap {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  margin-top: 1rem;
  overflow: hidden;
}

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

.video-thumb-link {
  display: block;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.video-thumb-link img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.video-thumb-link:hover {
  text-decoration: none;
}

.play-btn {
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 50%;
  color: white;
  display: flex;
  font-size: 1.5rem;
  height: 4rem;
  justify-content: center;
  left: 50%;
  padding-left: 0.25rem;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
}

.play-label {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 6px;
  bottom: 1rem;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  left: 50%;
  padding: 0.4rem 0.75rem;
  position: absolute;
  transform: translateX(-50%);
}

.video-note {
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.video-note code {
  background: var(--bg);
  border-radius: 4px;
  font-size: 0.8rem;
  padding: 0.1rem 0.35rem;
}

.vlog-item {
  margin-bottom: 2.5rem;
}

.vlog-item h2 {
  font-size: 1.35rem;
}

/* Footer */

footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2rem 1.5rem;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 72rem;
}

.footer-inner p {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Blog */

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.blog-card img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.blog-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.blog-card-body .meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.blog-card-body h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.blog-excerpt {
  color: var(--text);
  margin-bottom: 0.75rem;
}
