/* ============================================================
   GalvestonTripPlanner.com — Main Stylesheet
   Palette: Ocean (#0BBCD4), Deep Navy (#0A3D5C), 
            Coral (#FF6B6B), Sunshine (#FFD93D), Sand (#FFF8EE)
   ============================================================ */

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

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

:root {
  --ocean:   #0BBCD4;
  --deep:    #0A3D5C;
  --coral:   #FF6B6B;
  --sun:     #FFD93D;
  --sand:    #FFF8EE;
  --sand2:   #FFF0D6;
  --white:   #ffffff;
  --text:    #1a2e3b;
  --muted:   #5a7a8a;
  --radius:  14px;
  --shadow:  0 4px 24px rgba(10,61,92,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--sand);
  color: var(--text);
  line-height: 1.6;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(10,61,92,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img { height: 52px; display: block; }

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--deep);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--ocean);
  color: var(--white);
}

.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-cta:hover { opacity: 0.88; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--deep) 0%, #0d5c82 50%, var(--ocean) 100%);
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--sand);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,217,61,0.2);
  border: 1px solid rgba(255,217,61,0.5);
  color: var(--sun);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero h1 span { color: var(--sun); }

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-btn {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(255,107,107,0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,107,0.5);
}

/* ── Section wrapper ─────────────────────────────────────── */
.section {
  padding: 64px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--deep);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 40px;
}

/* ── Planner widget wrapper ──────────────────────────────── */
#planner-section {
  background: var(--sand);
  padding: 64px 24px;
}

.planner-wrap {
  max-width: 860px;
  margin: 0 auto;
}

/* ── GTP Chat Widget ─────────────────────────────────────── */
.gtp-shell {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(10,61,92,0.18);
}

.gtp-head {
  background: linear-gradient(135deg, var(--deep), #0d5c82);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gtp-head-left { display: flex; align-items: center; gap: 12px; }

.gtp-head-icon { font-size: 28px; }

.gtp-head h2 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 2px;
}

.gtp-head p {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.gtp-head-badge {
  background: rgba(255,217,61,0.2);
  border: 1px solid rgba(255,217,61,0.4);
  color: var(--sun);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.gtp-quick {
  padding: 12px 20px;
  background: rgba(10,61,92,0.06);
  border-bottom: 1px solid rgba(11,188,212,0.15);
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.gtp-quick button {
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid rgba(11,188,212,0.4);
  background: rgba(11,188,212,0.08);
  color: var(--deep);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.gtp-quick button:hover {
  background: var(--ocean);
  border-color: var(--ocean);
  color: white;
}

.gtp-quick button:disabled { opacity: 0.5; cursor: not-allowed; }

.gtp-messages {
  height: 420px;
  overflow-y: auto;
  padding: 20px;
  background: #f7fdfe;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gtp-messages::-webkit-scrollbar { width: 5px; }
.gtp-messages::-webkit-scrollbar-thumb { background: rgba(11,188,212,0.3); border-radius: 3px; }

.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(--ocean), var(--deep));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(11,188,212,0.3);
}

.gtp-bubble {
  max-width: 80%;
  padding: 11px 15px;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.gtp-bubble.assistant {
  border-radius: 18px 18px 18px 4px;
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(11,188,212,0.2);
  box-shadow: 0 2px 8px rgba(10,61,92,0.06);
  font-family: 'Inter', sans-serif;
}

.gtp-bubble.user {
  border-radius: 18px 18px 4px 18px;
  background: linear-gradient(135deg, var(--ocean), #0a9ab5);
  color: white;
  font-family: 'Inter', sans-serif;
}

/* Typing dots */
.gtp-typing { display: flex; align-items: flex-end; gap: 8px; }
.gtp-dots {
  padding: 12px 16px;
  border-radius: 18px 18px 18px 4px;
  background: var(--white);
  border: 1px solid rgba(11,188,212,0.2);
  display: flex; gap: 5px; align-items: center;
}
.gtp-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ocean);
  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);  }
}

/* Sponsored banner */
.gtp-sponsored {
  background: linear-gradient(90deg, #fff8ee, #fff0d6);
  border-top: 1px solid rgba(255,107,107,0.2);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

.gtp-sponsored a {
  color: var(--coral);
  font-weight: 700;
  text-decoration: none;
}

.gtp-sponsored a:hover { text-decoration: underline; }

/* Input area */
.gtp-input-area {
  padding: 14px 18px 16px;
  background: var(--white);
  border-top: 1px solid rgba(11,188,212,0.15);
}

.gtp-input-row { display: flex; gap: 10px; align-items: flex-end; }

.gtp-textarea {
  flex: 1;
  padding: 10px 16px;
  border-radius: 22px;
  border: 1.5px solid rgba(11,188,212,0.35);
  background: var(--sand);
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  resize: none;
  outline: none;
  line-height: 1.5;
  max-height: 110px;
  transition: border-color 0.15s;
}

.gtp-textarea:focus { border-color: var(--ocean); }
.gtp-textarea::placeholder { color: var(--muted); }

.gtp-send {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--coral), #e05555);
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s, opacity 0.15s;
  box-shadow: 0 2px 10px rgba(255,107,107,0.4);
}

.gtp-send:hover { transform: scale(1.08); }
.gtp-send:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; opacity: 0.6; }

.gtp-hint {
  text-align: center; margin: 8px 0 0;
  font-size: 11px; color: var(--muted);
  font-family: 'Inter', sans-serif;
}

/* ── Cards ───────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--ocean);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(10,61,92,0.14);
}

.card-icon { font-size: 36px; margin-bottom: 14px; }
.card h3 { font-size: 20px; color: var(--deep); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.card-link {
  color: var(--ocean);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.card-link:hover { color: var(--deep); }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--coral), #e8554e);
  padding: 56px 24px;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(24px, 4vw, 36px);
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  background: var(--white);
  color: var(--coral);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.15s;
}

.cta-btn:hover { transform: translateY(-2px); }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--deep);
  padding: 40px 24px;
  text-align: center;
}

.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 44px; filter: brightness(0) invert(1); opacity: 0.85; }

.footer p {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  line-height: 1.7;
}

.footer a {
  color: var(--ocean);
  text-decoration: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--ocean); }

/* ── Page sections ───────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--deep), #0d5c82);
  padding: 48px 24px;
  text-align: center;
}

.page-hero h1 { color: var(--white); font-size: clamp(28px, 5vw, 48px); }
.page-hero p  { color: rgba(255,255,255,0.75); margin-top: 10px; font-size: 16px; }

/* Neighborhood grid */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.neighborhood-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.neighborhood-card:hover { transform: translateY(-4px); }

.neighborhood-card-color {
  height: 8px;
}

.neighborhood-card-body { padding: 24px; }
.neighborhood-card-body h3 { color: var(--deep); font-size: 20px; margin-bottom: 6px; }
.neighborhood-card-body .tag {
  display: inline-block;
  background: rgba(11,188,212,0.1);
  color: var(--ocean);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.neighborhood-card-body p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Events */
.events-list { display: flex; flex-direction: column; gap: 20px; }

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border-left: 5px solid var(--ocean);
}

.event-month {
  text-align: center;
  min-width: 56px;
}

.event-month .mon {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
}

.event-month .num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--deep);
  line-height: 1;
}

.event-body h3 { color: var(--deep); font-size: 18px; margin-bottom: 6px; }
.event-body p  { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .event-card { flex-direction: column; gap: 12px; }
}

.about-text h2 { color: var(--deep); font-size: 32px; margin-bottom: 16px; }
.about-text p  { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }

.about-visual {
  background: linear-gradient(135deg, var(--ocean), var(--deep));
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.about-visual .big-icon { font-size: 80px; display: block; margin-bottom: 16px; }
.about-visual p { color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.65; }

/* Alt section bg */
.section.alt { background: var(--white); }
