/* ============================================================
   HoustonToDoList.com v1.0 — Mobile-First Stylesheet
   Palette: Houston Red (#C8102E), Navy (#1B3A6B),
            Gold (#F4C300), Steel (#4A7FB5), Cream (#FAFAF7)
   ============================================================ */

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

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

:root {
  --red:    #C8102E;
  --navy:   #1B3A6B;
  --gold:   #F4C300;
  --steel:  #4A7FB5;
  --green:  #2e7d32;
  --cream:  #FAFAF7;
  --cream2: #F2F2ED;
  --white:  #ffffff;
  --text:   #1a1a2e;
  --muted:  #5a6a7a;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(27,58,107,0.10);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--text); line-height: 1.6; min-width: 320px; }
h1,h2,h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav { background: var(--white); box-shadow: 0 2px 12px rgba(27,58,107,0.10); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo img { height: 48px; display: block; }
.nav-links { display: none; gap: 4px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--navy); font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 8px; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { background: var(--navy); color: var(--white); }
.nav-cta { background: var(--red) !important; color: var(--white) !important; font-weight: 700 !important; }

/* Hamburger */
.nav-hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 8px; transition: background 0.15s; flex-shrink: 0; -webkit-tap-highlight-color: transparent; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer */
.nav-drawer { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: rgba(27,58,107,0.5); z-index: 99; }
.nav-drawer.open { display: block; }
.nav-drawer-inner { background: var(--white); padding: 16px; box-shadow: 0 8px 32px rgba(27,58,107,0.2); max-height: calc(100vh - 64px); overflow-y: auto; }
.nav-drawer-inner a { display: block; padding: 13px 16px; color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 600; border-radius: 10px; transition: background 0.15s; border-bottom: 1px solid rgba(27,58,107,0.07); }
.nav-drawer-inner a:last-child { border-bottom: none; }
.nav-drawer-inner a:hover, .nav-drawer-inner a.active { background: rgba(27,58,107,0.06); color: var(--red); }
.nav-drawer-section { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 12px 16px 4px; }
.nav-drawer-cta { display: block; margin-top: 12px; padding: 13px 16px; background: var(--red); color: white !important; text-align: center; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: none !important; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, #0d1f3c 0%, #1B3A6B 55%, #2a5298 100%); padding: 52px 16px 76px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); }
.hero::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 48px; background: var(--cream); clip-path: ellipse(55% 100% at 50% 100%); }
.hero-eyebrow { display: inline-block; background: rgba(244,195,0,0.15); border: 1px solid rgba(244,195,0,0.4); color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 16px; border-radius: 20px; margin-bottom: 18px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(28px, 8vw, 64px); color: var(--white); margin-bottom: 14px; text-shadow: 0 2px 16px rgba(0,0,0,0.3); position: relative; z-index: 1; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 16px; color: rgba(255,255,255,0.82); max-width: 540px; margin: 0 auto 28px; position: relative; z-index: 1; line-height: 1.65; }
.hero-btn { display: block; width: 100%; max-width: 320px; margin: 0 auto; background: var(--red); color: var(--white); text-decoration: none; font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 50px; box-shadow: 0 4px 20px rgba(200,16,46,0.45); transition: transform 0.15s; position: relative; z-index: 1; -webkit-tap-highlight-color: transparent; }
.hero-btn:active { transform: scale(0.98); }

/* ── Page hero (inner pages) ──────────────────────────────── */
.page-hero { background: linear-gradient(135deg, #0d1f3c, #1B3A6B); padding: 40px 16px; text-align: center; }
.page-hero h1 { color: var(--white); font-size: clamp(24px, 6vw, 46px); }
.page-hero p { color: rgba(255,255,255,0.72); margin-top: 10px; font-size: 15px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 48px 16px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title { font-size: clamp(22px, 5vw, 36px); color: var(--navy); margin-bottom: 8px; }
.section-sub { color: var(--muted); font-size: 15px; margin-bottom: 28px; line-height: 1.6; }
.section.alt { background: var(--white); }
.section.dark { background: linear-gradient(135deg, #0d1f3c, #1B3A6B); }
.section.dark .section-title { color: var(--gold); }
.section.dark .section-sub { color: rgba(255,255,255,0.7); }

/* ── Neighborhood nav strip ───────────────────────────────── */
.hood-strip { background: var(--white); border-bottom: 2px solid rgba(27,58,107,0.1); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; position: sticky; top: 64px; z-index: 90; }
.hood-strip::-webkit-scrollbar { display: none; }
.hood-strip-inner { display: flex; gap: 0; min-width: max-content; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.hood-tab { padding: 12px 14px; border: none; background: none; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -2px; font-family: 'Inter', sans-serif; text-decoration: none; display: block; transition: color 0.15s, border-color 0.15s; -webkit-tap-highlight-color: transparent; }
.hood-tab:hover, .hood-tab.active { color: var(--red); border-bottom-color: var(--red); }

/* ── Category pills ───────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 28px; }
.cat-pill { background: var(--white); border-radius: 12px; padding: 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; text-decoration: none; border-left: 4px solid var(--red); transition: transform 0.15s; -webkit-tap-highlight-color: transparent; }
.cat-pill:active { transform: scale(0.98); }
.cat-pill-icon { font-size: 22px; flex-shrink: 0; }
.cat-pill h4 { font-size: 13px; color: var(--navy); font-family: 'Inter', sans-serif; font-weight: 700; margin-bottom: 1px; }
.cat-pill p { font-size: 11px; color: var(--muted); }

/* ── Planner widget ───────────────────────────────────────── */
.gtp-shell { border-radius: 16px; overflow: hidden; box-shadow: 0 12px 48px rgba(27,58,107,0.2); max-width: 860px; margin: 0 auto; }
.gtp-head { background: linear-gradient(135deg, #0d1f3c, #1B3A6B); padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
.gtp-head-left { display: flex; align-items: center; gap: 10px; }
.gtp-head-icon { font-size: 24px; }
.gtp-head h2 { font-size: 15px; color: var(--white); margin-bottom: 2px; font-family: 'Playfair Display', serif; }
.gtp-head p { font-size: 10px; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; text-transform: uppercase; font-family: 'Inter', sans-serif; }
.gtp-head-badge { background: rgba(244,195,0,0.2); border: 1px solid rgba(244,195,0,0.4); color: var(--gold); font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 10px; white-space: nowrap; font-family: 'Inter', sans-serif; }
.gtp-quick { padding: 10px 14px; background: rgba(27,58,107,0.04); border-bottom: 1px solid rgba(27,58,107,0.1); display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gtp-quick::-webkit-scrollbar { display: none; }
.gtp-quick button { padding: 6px 12px; border-radius: 20px; border: 1px solid rgba(27,58,107,0.2); background: rgba(27,58,107,0.05); color: var(--navy); font-size: 12px; font-family: 'Inter', sans-serif; font-weight: 500; cursor: pointer; white-space: nowrap; flex-shrink: 0; -webkit-tap-highlight-color: transparent; transition: background 0.15s; }
.gtp-quick button:active { background: var(--navy); color: white; }
.gtp-quick button:disabled { opacity: 0.5; cursor: not-allowed; }
.gtp-messages { height: 55vh; min-height: 280px; max-height: 460px; overflow-y: auto; padding: 16px; background: #f5f7fa; display: flex; flex-direction: column; gap: 12px; -webkit-overflow-scrolling: touch; }
.gtp-messages::-webkit-scrollbar { width: 4px; }
.gtp-messages::-webkit-scrollbar-thumb { background: rgba(27,58,107,0.2); border-radius: 2px; }
.gtp-msg { display: flex; align-items: flex-end; gap: 8px; }
.gtp-msg.user { justify-content: flex-end; }
.gtp-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--red), #8b0000); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.gtp-bubble { max-width: 83%; padding: 11px 14px; font-size: 14px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; font-family: 'Inter', sans-serif; }
.gtp-bubble.assistant { border-radius: 16px 16px 16px 4px; background: var(--white); color: var(--text); border: 1px solid rgba(27,58,107,0.12); box-shadow: 0 2px 8px rgba(27,58,107,0.06); }
.gtp-bubble.user { border-radius: 16px 16px 4px 16px; background: linear-gradient(135deg, var(--navy), #2a5298); color: white; }
.gtp-typing { display: flex; align-items: flex-end; gap: 8px; }
.gtp-dots { padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: var(--white); border: 1px solid rgba(27,58,107,0.12); display: flex; gap: 4px; align-items: center; }
.gtp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--navy); animation: gtpPulse 1.2s ease-in-out infinite; }
.gtp-dot:nth-child(2) { animation-delay: 0.2s; } .gtp-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes gtpPulse { 0%,100%{opacity:0.3;transform:scale(0.85);}50%{opacity:1;transform:scale(1.1);} }
.gtp-sponsored { background: linear-gradient(90deg,#fff8ee,#fff0d6); border-top: 1px solid rgba(200,16,46,0.15); padding: 10px 16px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); font-family: 'Inter', sans-serif; flex-wrap: wrap; text-align: center; }
.gtp-sponsored a { color: var(--red); font-weight: 700; text-decoration: none; }
.gtp-input-area { padding: 12px 14px 14px; background: var(--white); border-top: 1px solid rgba(27,58,107,0.1); }
.gtp-input-row { display: flex; gap: 8px; align-items: flex-end; }
.gtp-textarea { flex: 1; padding: 10px 14px; border-radius: 22px; border: 1.5px solid rgba(27,58,107,0.22); background: var(--cream); color: var(--text); font-size: 16px; font-family: 'Inter', sans-serif; resize: none; outline: none; line-height: 1.5; max-height: 100px; transition: border-color 0.15s; -webkit-appearance: none; }
.gtp-textarea:focus { border-color: var(--navy); }
.gtp-textarea::placeholder { color: var(--muted); font-size: 13px; }
.gtp-send { width: 44px; height: 44px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--red), #8b0000); color: white; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 10px rgba(200,16,46,0.4); -webkit-tap-highlight-color: transparent; transition: opacity 0.15s; }
.gtp-send:active { transform: scale(0.94); }
.gtp-send:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; opacity: 0.5; }
.gtp-hint { text-align: center; margin: 8px 0 0; font-size: 11px; color: var(--muted); font-family: 'Inter', sans-serif; }

/* ── Viator activity cards ────────────────────────────────── */
.activity-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
.activity-card { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-top: 4px solid var(--navy); }
.activity-card.red { border-top-color: var(--red); }
.activity-card.gold { border-top-color: var(--gold); }
.activity-card.steel { border-top-color: var(--steel); }
.activity-card.green { border-top-color: var(--green); }
.activity-icon { font-size: 34px; margin-bottom: 10px; }
.activity-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 4px; font-family: 'Inter', sans-serif; font-weight: 700; }
.activity-location { font-size: 11px; color: var(--steel); font-weight: 700; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.activity-card p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.activity-meta { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid rgba(27,58,107,0.08); border-bottom: 1px solid rgba(27,58,107,0.08); margin-bottom: 12px; }
.activity-price { font-size: 16px; font-weight: 700; color: var(--navy); font-family: 'Inter', sans-serif; }
.activity-price span { font-size: 11px; font-weight: 400; color: var(--muted); }
.activity-rating { font-size: 12px; color: var(--muted); }
.activity-btn { display: block; text-align: center; background: var(--red); color: white; text-decoration: none; font-weight: 700; font-size: 14px; padding: 12px 0; border-radius: 10px; font-family: 'Inter', sans-serif; -webkit-tap-highlight-color: transparent; }
.activity-btn:active { opacity: 0.88; }
.category-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); font-family: 'Inter', sans-serif; margin-bottom: 14px; margin-top: 36px; padding-bottom: 8px; border-bottom: 2px solid rgba(200,16,46,0.15); }
.category-label:first-of-type { margin-top: 0; }

/* ── Neighborhood cards (index) ───────────────────────────── */
.hood-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.hood-card { background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; text-decoration: none; border-left: 5px solid var(--navy); transition: transform 0.15s; -webkit-tap-highlight-color: transparent; }
.hood-card:active { transform: scale(0.98); }
.hood-card-icon { font-size: 28px; flex-shrink: 0; }
.hood-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 3px; font-family: 'Inter', sans-serif; font-weight: 700; }
.hood-card p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.hood-card-arrow { margin-left: auto; color: var(--muted); font-size: 18px; flex-shrink: 0; }

/* ── Power of Flowers featured block ─────────────────────── */
.pof-block { background: linear-gradient(135deg, #fff0f3, #fff8fa); border: 2px solid #E8748A; border-radius: 16px; padding: 24px; margin-bottom: 36px; }
.pof-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.pof-header img { height: 56px; flex-shrink: 0; }
.pof-header-text h3 { font-size: 20px; color: #C8102E; margin-bottom: 4px; }
.pof-header-text p { font-size: 13px; color: var(--muted); }
.pof-details { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
.pof-detail { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text); font-family: 'Inter', sans-serif; }
.pof-detail-icon { flex-shrink: 0; font-size: 16px; }
.pof-cta { display: block; text-align: center; background: #E8748A; color: white; text-decoration: none; font-weight: 700; font-size: 14px; padding: 12px 0; border-radius: 10px; font-family: 'Inter', sans-serif; -webkit-tap-highlight-color: transparent; }
.pof-cta:active { opacity: 0.88; }

/* ── Affiliate box ────────────────────────────────────────── */
.affiliate-box { background: rgba(27,58,107,0.05); border: 1px solid rgba(27,58,107,0.12); border-radius: 12px; padding: 14px 18px; margin-bottom: 24px; font-size: 13px; color: var(--muted); font-family: 'Inter', sans-serif; line-height: 1.6; }
.affiliate-box strong { color: var(--navy); }

/* ── Viator collection CTA ────────────────────────────────── */
.viator-collection-btn { display: block; width: 100%; text-align: center; background: linear-gradient(135deg, var(--navy), #2a5298); color: white; text-decoration: none; font-weight: 700; font-size: 15px; padding: 16px 24px; border-radius: 14px; font-family: 'Inter', sans-serif; box-shadow: 0 4px 16px rgba(27,58,107,0.3); margin-bottom: 32px; -webkit-tap-highlight-color: transparent; }
.viator-collection-btn:active { opacity: 0.9; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner { background: linear-gradient(135deg, var(--red), #8b0000); padding: 48px 16px; text-align: center; }
.cta-banner h2 { font-size: clamp(22px, 5vw, 34px); color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.88); font-size: 15px; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.cta-btn { display: block; width: 100%; max-width: 360px; margin: 0 auto; text-align: center; background: var(--gold); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 50px; box-shadow: 0 4px 20px rgba(0,0,0,0.2); -webkit-tap-highlight-color: transparent; }
.cta-btn:active { opacity: 0.92; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: #0d1f3c; padding: 36px 16px; text-align: center; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 44px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-links { display: flex; justify-content: center; gap: 10px; margin: 14px 0; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 12px; text-decoration: none; padding: 4px 0; transition: color 0.15s; }
.footer-links a:hover { color: var(--gold); }
.footer p { color: rgba(255,255,255,0.38); font-size: 12px; line-height: 1.7; }
.footer a { color: var(--gold); text-decoration: none; }

/* ══════════════════════════════════════════════════════════
   TABLET 768px+
   ══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .nav-inner { height: 70px; padding: 0 24px; }
  .nav-logo img { height: 54px; }
  .nav-hamburger { display: none !important; }
  .nav-links { display: flex; }
  .nav-drawer { display: none !important; }
  .hero { padding: 80px 24px 100px; }
  .hero-btn { display: inline-block; width: auto; }
  .section { padding: 64px 24px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hood-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pof-details { grid-template-columns: repeat(2, 1fr); }
  .gtp-messages { height: 420px; max-height: 420px; }
  .cta-btn { display: inline-block; width: auto; }
  .hood-strip { top: 70px; }
}

/* ══════════════════════════════════════════════════════════
   DESKTOP 1024px+
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .activity-grid { grid-template-columns: repeat(3, 1fr); }
  .hood-grid { grid-template-columns: repeat(3, 1fr); }
}
