/* ==============================================
   WEEKEND DEPARTURES — Main Stylesheet
   ============================================== */

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

:root {
  --bg:           #F5F0E8;
  --text:         #1a1a1a;
  --gold:         #B8972E;
  --gold-tint:    rgba(184, 151, 46, 0.06);
  --charcoal:     #1C1C1C;
  --charcoal-mid: #272727;
  --muted:        #7a7168;
  --sidebar-w:    260px;
  --serif:        'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:         'Inter', system-ui, -apple-system, sans-serif;
  --ease:         0.25s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ==============================================
   SIDEBAR
   ============================================== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  padding: 48px 36px;
  z-index: 500;
  overflow-y: auto;
}

.sidebar-brand {
  padding-bottom: 0;
}

.brand-link {
  display: block;
  margin-bottom: 10px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.brand-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.sidebar-nav {
  margin-top: 56px;
  flex: 1;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link {
  display: block;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  padding: 14px 0;
  transition: color var(--ease);
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.nav-link.active {
  color: var(--gold);
}

.sidebar-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-sub-link {
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  transition: color var(--ease);
}

.sidebar-sub-link:hover {
  color: var(--gold);
}

/* Overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 400;
  opacity: 0;
  transition: opacity var(--ease);
}

.sidebar-overlay.visible {
  opacity: 1;
}

/* ==============================================
   MOBILE TOGGLE
   ============================================== */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 600;
  background: var(--charcoal);
  border: none;
  cursor: pointer;
  padding: 10px 11px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: transform var(--ease), opacity var(--ease);
}

/* ==============================================
   MAIN CONTENT
   ============================================== */
.main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

/* --- Shared utilities --- */
.eyebrow {
  font-size: 0.63rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.eyebrow::before {
  display: none;
}

.eyebrow-center {
  justify-content: center;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.4);
  justify-content: center;
}

.eyebrow-light::before {
  display: none;
}

.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-label::before {
  display: none;
}

.section-label-center {
  justify-content: center;
}

.section-label-light {
  color: rgba(255, 255, 255, 0.45);
  justify-content: center;
}

.section-label-light::before {
  background: rgba(255, 255, 255, 0.25);
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-heading-light {
  color: #fff;
}

.accent {
  color: var(--gold);
}

.section-sub {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 44px;
}

.content-block {
  padding: 96px 80px;
  max-width: 900px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--ease);
}

.text-link:hover {
  gap: 10px;
}

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 34px;
  transition: all var(--ease);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  background: #9c7e26;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 15px 0;
  letter-spacing: 0.12em;
}

.btn-ghost:hover {
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--text);
  color: var(--text);
  padding: 15px 38px;
}

.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-outline-light {
  display: inline-block;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 38px;
  transition: all var(--ease);
}

.btn-outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--text);
}

/* ==============================================
   HERO
   ============================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(26, 26, 26, 0.09);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px;
  max-width: 780px;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(4rem, 7.5vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 30px;
}

.hero-body {
  font-size: 1.05rem;
  font-weight: 300;
  color: #4a4540;
  line-height: 1.78;
  max-width: 500px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Decorative background monogram */
.hero-deco {
  position: absolute;
  right: -20px;
  bottom: -80px;
  font-family: var(--serif);
  font-size: clamp(200px, 28vw, 400px);
  font-weight: 700;
  color: rgba(184, 151, 46, 0.055);
  line-height: 1;
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

/* ==============================================
   QUOTE BAND
   ============================================== */
.quote-band {
  background: var(--charcoal);
  padding: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.quote-wrap {
  max-width: 680px;
}

.quote-mark {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.55;
  display: inline;
  line-height: 1;
  margin-right: 3px;
  vertical-align: -0.05em;
}

blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  quotes: none;
}

/* ==============================================
   ABOUT SECTION
   ============================================== */
.about-section {
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: center;
  padding: 96px 80px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-text p {
  font-size: 1.05rem;
  font-weight: 300;
  color: #3d3830;
  line-height: 1.82;
}

.about-text em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--text);
}

.about-photo-side {
  flex-shrink: 0;
}

.about-photo {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

/* ==============================================
   TOOLS SECTION
   ============================================== */
.tools-section {
  background: var(--gold-tint);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 680px;
  margin-bottom: 40px;
}

.tool-card {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.07);
  padding: 36px 32px;
  transition: transform var(--ease), box-shadow var(--ease);
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.07);
}

.tool-badge {
  display: inline-block;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 10px;
  margin-bottom: 20px;
}

.tool-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.tool-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: #5a544e;
  line-height: 1.72;
}

/* ==============================================
   INSTAGRAM SECTION
   ============================================== */
.ig-section {
  background: var(--charcoal);
  padding: 100px 80px;
  text-align: center;
}

.ig-inner {
  max-width: 600px;
  margin: 0 auto;
}

.ig-heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.22;
  margin-bottom: 40px;
}

/* ==============================================
   NEWSLETTER SECTION
   ============================================== */
.newsletter-section {
  background: var(--bg);
  border-top: 1px solid rgba(26, 26, 26, 0.09);
  padding: 100px 80px;
  text-align: center;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 40px;
}

/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 28px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer p {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.22);
}

.footer-right {
  font-family: var(--serif);
  font-style: italic;
}

/* ==============================================
   PAGE HEADER (blog, tools, services, contact)
   ============================================== */
.page-header {
  padding: 80px 80px 64px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.page-heading {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ==============================================
   BLOG — POSTS GRID
   ============================================== */
.posts-section {
  padding: 72px 80px 96px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.07);
  transition: transform var(--ease), box-shadow var(--ease);
  overflow: hidden;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.card-link {
  display: block;
  color: inherit;
}

.card-thumb {
  width: 100%;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.post-card:hover .card-thumb img {
  transform: scale(1.04);
}

.card-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: linear-gradient(145deg, #ede8df 0%, #d6cfc4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-placeholder::after {
  content: 'WD';
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(184, 151, 46, 0.2);
  letter-spacing: 0.06em;
}

.card-body {
  padding: 28px 28px 32px;
}

.card-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: #5a544e;
  line-height: 1.72;
  margin-bottom: 20px;
}

.card-read {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--ease);
}

.post-card:hover .card-read {
  gap: 8px;
}

/* ==============================================
   TOOLS PAGE
   ============================================== */
.tools-page-section {
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.tools-note {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.7;
}

/* ==============================================
   SERVICES PAGE
   ============================================== */
.services-section {
  padding: 72px 80px 96px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.07);
  padding: 48px 40px 44px;
  position: relative;
  transition: transform var(--ease), box-shadow var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
}

.service-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.service-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: #4a4540;
  line-height: 1.8;
  margin-bottom: 36px;
}

/* ==============================================
   CONTACT PAGE
   ============================================== */
.contact-section {
  padding: 72px 80px 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  max-width: 900px;
  align-items: start;
}

.contact-info-heading {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-info-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: #4a4540;
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-email-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: opacity var(--ease);
}

.contact-email-link:hover {
  opacity: 0.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.form-input,
.form-textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.18);
  padding: 13px 16px;
  width: 100%;
  outline: none;
  transition: border-color var(--ease);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 960px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: block;
  }

  .mobile-toggle {
    display: flex;
  }

  .main {
    margin-left: 0;
  }

  .hero-inner,
  .content-block,
  .about-grid,
  .quote-band,
  .ig-section,
  .newsletter-section,
  .site-footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero-inner {
    padding-top: 88px;
    padding-bottom: 64px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .about-photo {
    height: 380px;
    object-position: center 20%;
  }

  .hero {
    min-height: auto;
  }

  .hero-deco {
    opacity: 0.5;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .posts-section,
  .page-header,
  .services-section,
  .contact-section {
    padding-left: 28px;
    padding-right: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

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

@media (max-width: 520px) {
  .hero-headline {
    font-size: 3.2rem;
  }

  blockquote {
    font-size: 1.2rem;
  }

  .quote-band {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
