/* Base styles for local-guides.html only. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --sand: #FAFAF8;
    --sand-dark: #F0EFEB;
    --sea: #244B48;
    --sea-light: #3A7A76;
    --sea-pale: #EEF5F4;
    --shore: #B8845A;
    --shore-dark: #8E6038;
    --btn: #244B48;
    --btn-dark: #1A3835;
    --dusk: #1A3330;
    --text: #1A2E2B;
    --text-muted: #657A77;
    --white: #FFFFFF;
    --accent: #C4956A;
  }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }

  /* NAV */

  /* PAGE HERO */
  .page-hero {
    min-height: 52vh; position: relative; display: flex; align-items: flex-end;
    background: linear-gradient(160deg, var(--dusk) 0%, var(--sea) 100%);
    padding: 0 4rem 4rem; overflow: hidden;
  }
  .page-hero-pattern {
    position: absolute; inset: 0;
    background-image:
      repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 80px),
      repeating-linear-gradient(180deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 80px);
    pointer-events: none;
  }
  .page-hero-accent {
    position: absolute; right: -120px; top: -80px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(196,149,106,0.18) 0%, transparent 70%);
    pointer-events: none;
  }
  .page-hero-content { position: relative; z-index: 2; max-width: 700px; }
  .page-hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 1rem; }
  .page-hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 300; color: var(--white); line-height: 1.08; margin-bottom: 1.2rem; }
  .page-hero-title em { font-style: italic; color: var(--accent); }
  .page-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.68); line-height: 1.65; max-width: 480px; }

  /* BREADCRUMB */
  .breadcrumb {
    background: var(--sand-dark); padding: 0.9rem 4rem;
    border-bottom: 1px solid rgba(42,122,122,0.1);
    display: flex; gap: 0.5rem; align-items: center;
    font-size: 0.75rem; letter-spacing: 0.04em; color: var(--text-muted);
  }
  .breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
  .breadcrumb a:hover { color: var(--sea); }
  .breadcrumb-sep { opacity: 0.4; }

  /* CATEGORY TABS */
  .cat-tabs {
    background: var(--white); padding: 2rem 4rem 0;
    border-bottom: 1px solid rgba(42,122,122,0.1);
    display: flex; gap: 0; overflow-x: auto;
  }
  .cat-tab {
    padding: 0.8rem 1.5rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent;
    white-space: nowrap; transition: color 0.2s, border-color 0.2s;
    background: none; border-top: none; border-left: none; border-right: none;
    font-family: 'DM Sans', sans-serif; font-weight: 500;
  }
  .cat-tab:hover { color: var(--sea); }
  .cat-tab.active { color: var(--sea); border-bottom-color: var(--sea); }

  /* MAIN CONTENT */
  main { padding: 4rem 4rem 6rem; }
  .category-section { margin-bottom: 5rem; }
  .category-section:last-child { margin-bottom: 0; }
  .cat-header { display: flex; align-items: baseline; gap: 1.2rem; margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(42,122,122,0.1); }
  .cat-icon { font-size: 1.4rem; }
  .cat-title { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 300; color: var(--dusk); }
  .cat-count { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }

  .spots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
  .spot-card {
    background: var(--white); border: 1px solid rgba(42,122,122,0.1);
    border-radius: 4px; overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
  }
  .spot-card:hover { border-color: rgba(42,122,122,0.28); box-shadow: 0 6px 24px rgba(36,75,72,0.09); }
  .spot-img {
    height: 180px;
    background: linear-gradient(135deg, var(--sea-pale) 0%, var(--sea) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: rgba(255,255,255,0.5);
    position: relative;
  }
  .spot-img.beach { background: linear-gradient(135deg, #d4e8e6 0%, #7bbdb9 100%); }
  .spot-img.food { background: linear-gradient(135deg, #f5ede0 0%, #c4956a 100%); }
  .spot-img.activity { background: linear-gradient(135deg, #e8f0ef 0%, #3a7a76 100%); }
  .spot-img.drink { background: linear-gradient(135deg, #f0e8e0 0%, #a0704a 100%); }
  .spot-badge {
    position: absolute; top: 0.8rem; right: 0.8rem;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(4px);
    padding: 0.3rem 0.7rem; border-radius: 20px;
    font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--sea); font-weight: 500;
  }
  .spot-body { padding: 1.4rem 1.5rem 1.6rem; }
  .spot-name { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 400; color: var(--dusk); margin-bottom: 0.35rem; }
  .spot-meta { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.04em; margin-bottom: 0.7rem; display: flex; gap: 0.8rem; align-items: center; }
  .spot-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0; }
  .spot-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
  .spot-tag { display: inline-block; margin-top: 0.9rem; padding: 0.25rem 0.7rem; border: 1px solid rgba(42,122,122,0.2); border-radius: 20px; font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sea); }

  /* VT PICKS BANNER */
  .vt-picks-bar {
    background: var(--sea-pale); border-radius: 4px;
    padding: 1.2rem 1.5rem; margin-bottom: 2rem;
    display: flex; align-items: center; gap: 1rem;
    border: 1px solid rgba(42,122,122,0.15);
  }
  .vt-picks-icon { font-size: 1.1rem; flex-shrink: 0; }
  .vt-picks-text { font-size: 0.85rem; color: var(--sea); line-height: 1.5; }
  .vt-picks-text strong { font-weight: 500; }

  /* INTRO STRIP */
  .area-intro {
    background: var(--sand); padding: 3.5rem 4rem;
    border-top: 1px solid rgba(42,122,122,0.08);
    border-bottom: 1px solid rgba(42,122,122,0.08);
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem;
  }
  .area-stat { text-align: center; }
  .area-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 300; color: var(--sea); }
  .area-stat-label { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.3rem; }

  /* FOOTER */
  footer {
    background: var(--dusk); color: rgba(255,255,255,0.65);
    padding: 4rem 4rem 2rem;
  }
  .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
  .footer-brand { }
  .footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--white); letter-spacing: 0.08em; margin-bottom: 0.8rem; }
  .footer-logo span { font-style: italic; color: var(--accent); }
  .footer-tagline { font-size: 0.83rem; line-height: 1.65; max-width: 240px; }
  .footer-col h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.2rem; font-weight: 500; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
  .footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
  .footer-col a:hover { color: var(--white); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; }
  .footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
  .footer-bottom a:hover { color: rgba(255,255,255,0.7); }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    .page-hero, .breadcrumb, main, .area-intro { padding-left: 1.5rem; padding-right: 1.5rem; }
    .cat-tabs { padding-left: 1.5rem; }
    .area-intro { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    footer { padding: 3rem 1.5rem 1.5rem; }
  }
  @media (max-width: 600px) {
    .spots-grid { grid-template-columns: 1fr; }
    .area-intro { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
  }
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.65rem 4rem;
    background: rgba(255,255,255,0.94); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(42,122,122,0.12);
  }
  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--sea);
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 1px solid rgba(42,122,122,0.35);
    padding: 0.3rem 0.75rem;
    display: inline-block;
    line-height: 1.2;
    transition: border-color 0.2s;
  }
  .nav-logo:hover { border-color: rgba(42,122,122,0.65); }
  .nav-logo span { font-style: italic; color: var(--shore); }
  .nav-logo-sub { display: block; font-size: 0.48rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); font-style: normal; font-family: 'DM Sans', sans-serif; margin-top: 0.08rem; opacity: 0.7; }
  .nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
  .nav-links a { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.2s; }
  .nav-links a:hover { color: var(--sea); }
  .nav-cta { background: var(--sea); color: var(--white); border: none; cursor: pointer; padding: 0.5rem 1.2rem; border-radius: 30px; font-size: 0.73rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: 'DM Sans', sans-serif; font-weight: 500; text-decoration: none; transition: background 0.2s; }
  .nav-cta:hover { background: var(--dusk); }
  .hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 200; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--sea); border-radius: 2px; transition: all 0.3s ease; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu { display: none; position: fixed; inset: 0; background: rgba(27,59,59,0.98); z-index: 150; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--white); text-decoration: none; font-weight: 300; letter-spacing: 0.06em; transition: color 0.2s; }
  .mobile-menu a:hover { color: var(--accent); }
  .mobile-menu .mobile-cta { background: var(--btn); color: white; padding: 0.85rem 2.5rem; border-radius: 2px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; margin-top: 1rem; }
  .nav-dropdown { position: relative; }
  .nav-dropdown-toggle { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.2s; cursor: pointer; background: none; border: none; font-family: 'DM Sans', sans-serif; padding: 0; display: flex; align-items: center; gap: 0.3rem; }
  .nav-dropdown-toggle:hover { color: var(--sea); }
  .nav-dropdown-toggle svg { width: 10px; height: 10px; transition: transform 0.2s; }
  .nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
  .nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translateX(-50%); background: var(--white); border: 1px solid var(--sand-dark); border-radius: 4px; box-shadow: 0 12px 40px rgba(27,59,59,0.12); min-width: 220px; padding: 0.5rem 0; z-index: 200; }
  .nav-dropdown-menu.open { display: block; }
  .nav-dropdown-menu a { display: block; padding: 0.65rem 1.25rem; font-size: 0.8rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em; transition: color 0.15s, background 0.15s; white-space: nowrap; }
  .nav-dropdown-menu a:hover { color: var(--sea); background: var(--sea-pale); }
  .nav-sub-dropdown { position: relative; }
  .nav-sub-toggle { width: 100%; background: none; border: none; padding: 0.65rem 1.25rem; font-size: 0.8rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em; transition: color 0.15s, background 0.15s; white-space: nowrap; cursor: pointer; font-family: 'DM Sans', sans-serif; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
  .nav-sub-toggle:hover { color: var(--sea); background: var(--sea-pale); }
  .nav-sub-toggle svg { width: 8px; height: 8px; flex-shrink: 0; transition: transform 0.2s; }
  .nav-sub-dropdown.open .nav-sub-toggle { color: var(--sea); background: var(--sea-pale); }
  .nav-sub-dropdown.open .nav-sub-toggle svg { transform: rotate(-90deg); }
  /* Hover-open dropdowns */
  .nav-dropdown:hover > .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover > .nav-dropdown-toggle svg { transform: rotate(180deg); }
  .nav-sub-dropdown:hover > .nav-sub-menu { display: block; }
  .nav-sub-menu { display: none; position: absolute; top: 0; left: 100%; background: var(--white); border: 1px solid var(--sand-dark); border-radius: 4px; box-shadow: 0 12px 40px rgba(27,59,59,0.12); min-width: 220px; padding: 0.5rem 0; z-index: 300; }
  .nav-sub-dropdown.open .nav-sub-menu { display: block; }
  .nav-sub-menu a { display: block; padding: 0.65rem 1.25rem; font-size: 0.8rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em; transition: color 0.15s, background 0.15s; white-space: nowrap; }
  .nav-sub-menu a:hover, .nav-sub-menu a.active { color: var(--sea); background: var(--sea-pale); }
  @media(max-width:900px) { .nav-sub-dropdown { display: none; } }
  @media (max-width: 900px) {
    nav { padding: 1rem 1.25rem; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
  }
