/* ==========================================================================
   Camocim CE — Guia de Turismo, Praias e Eventos
   Design System & Styling
   ========================================================================== */

:root {
  /* Color Palette - Premium Ocean & Sun */
  --bg-dark: #07111f;
  --bg-dark-alt: #0b1a2f;
  --card-bg: #12263f;
  --card-bg-hover: #183152;
  --border-color: #1e3a5c;
  --border-color-glow: rgba(224, 138, 60, 0.4);

  --accent: #e08a3c;
  --accent-hover: #f09a4c;
  --accent-fg: #2b2114;

  --cyan-accent: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.25);

  --text-white: #ffffff;
  --text-heading: #eaf1fa;
  --text-body: #c1d2e8;
  --text-muted: #889ebc;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px rgba(224, 138, 60, 0.2);

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  color: var(--text-body);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #e08a3c, #d1673f);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(224, 138, 60, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 138, 60, 0.5);
  background: linear-gradient(135deg, #ea9445, #da7147);
}

.btn-ghost {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-heading);
}

.btn-ghost:hover {
  background: var(--card-bg-hover);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* Top Utility Bar */
.top-bar {
  background: #040a14;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.weather-pill,
.wind-pill,
.route-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.icon-sun {
  width: 15px;
  height: 15px;
  color: #f59e0b;
}

.wind-pill svg {
  width: 15px;
  height: 15px;
  color: var(--cyan-accent);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-search-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  transition: all var(--transition-fast);
}

.top-search-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  color: var(--text-white);
}

.top-search-btn svg {
  width: 14px;
  height: 14px;
}

.lang-selector {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-white);
}

.muted-lang {
  color: var(--text-muted);
  cursor: pointer;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 26, 47, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #f2994a 0%, #e07a2d 45%, #ab4213 100%);
  box-shadow: 0 4px 16px rgba(224, 122, 45, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-mark-img {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  flex-shrink: 0 !important;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(224, 122, 45, 0.35);
  transition: transform var(--transition-fast);
}

.logo:hover .logo-mark-img {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-heading);
  line-height: 1;
}

.logo-text small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  background: var(--card-bg);
  color: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  background: #050c17;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-end;
  padding-bottom: 120px;
}

.carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 7s ease-out;
}

.carousel-slide.is-active img {
  transform: scale(1);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top,
      rgba(7, 17, 31, 0.98) 0%,
      rgba(7, 17, 31, 0.6) 50%,
      rgba(7, 17, 31, 0.3) 100%);
}

.hero-caption {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
  width: 100%;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(224, 138, 60, 0.15);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(224, 138, 60, 0.3);
  margin-bottom: 14px;
}

.hero-caption h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  max-width: 20ch;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-caption p {
  margin-top: 14px;
  max-width: 65ch;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
}

/* Carousel Controls */
.carousel-nav {
  position: absolute;
  top: 45%;
  z-index: 4;
  background: rgba(11, 26, 47, 0.6);
  border: 1px solid var(--border-color);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.carousel-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.carousel-nav.prev {
  left: 20px;
}

.carousel-nav.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 140px;
  right: 40px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.is-active {
  width: 30px;
  border-radius: 10px;
  background: var(--accent);
}

/* Hero Search Box Widget Overlay */
.hero-widget-wrap {
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.hero-search-box {
  background: rgba(18, 38, 63, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.hero-search-box-2col {
  grid-template-columns: repeat(2, 1fr) auto;
}

.widget-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.widget-col label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.widget-select {
  background: rgba(11, 26, 47, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.widget-select:focus {
  border-color: var(--accent);
}

/* Stats Bar */
.stats-bar {
  background: var(--bg-dark-alt);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  max-width: 18ch;
}

/* Section Blocks */
section.block {
  padding: 72px 0;
}

section.block.alt {
  background: var(--bg-dark-alt);
}

.section-head {
  margin-bottom: 40px;
  max-width: 750px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 8px;
}

.lead {
  margin-top: 12px;
  font-size: 17px;
  color: var(--text-muted);
}

.tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Tabs Component */
.tabs-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-heading);
}

.tab-btn.active {
  background: var(--accent);
  color: var(--accent-fg);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

.tab-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.tab-text h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.tab-text p {
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;

}

.feature-list li {
  font-size: 14px;
  color: var(--text-body);
}

.tab-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

/* Weather Box inside Tab */
.weather-box {
  background: rgba(11, 26, 47, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.weather-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}

.w-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.weather-temp {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 12px 0;
}

.weather-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.weather-details div {
  display: flex;
  justify-content: space-between;
}

/* Map Placeholder */
.map-placeholder {
  background: rgba(11, 26, 47, 0.8);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
}

.route-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.r-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

/* Feature Photos Cards (Imperdíveis) */
.feature {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.photo {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.photo:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.photo-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.photo:hover img {
  transform: scale(1.06);
}

.photo-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(11, 26, 47, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border-color);
}

.photo .body {
  padding: 24px;
}

.photo h3 {
  font-size: 22px;
  margin: 6px 0 10px;
}

.photo p {
  font-size: 15px;
  color: var(--text-muted);
}

.photo-footer {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dist-info {
  font-size: 13px;
  color: var(--text-muted);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}

/* Cards (Standard) */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

/* Place Item Card */
.card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-tag-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(11, 26, 47, 0.85);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  font-size: 19px;
  margin: 6px 0 8px;
}

.card-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.rating {
  color: #f59e0b;
  font-weight: 600;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;

}

/* Experience Cards */
.exp-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.exp-icon {
  font-size: 36px;
}

.exp-card h3 {
  font-size: 20px;
}

.exp-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.exp-info {
  list-style: none;
  font-size: 13px;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* News Cards */
.news-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-accent);
}

.news-card h3 {
  font-size: 18px;
  margin: 10px 0 8px;
}

.news-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* Events Section & Countdown */
.countdown-widget {
  background: linear-gradient(135deg, #102944, #12263f);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-glow);
}

.cd-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: rgba(224, 138, 60, 0.15);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.cd-info h3 {
  font-size: 24px;
  margin: 8px 0 4px;
}

.cd-info p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 50ch;
}

.cd-timer {
  display: flex;
  gap: 14px;
}

.time-unit {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 70px;
}

.time-unit span {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-heading);
  display: block;
}

.time-unit small {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.event-card {
  padding: 24px;
}

.event-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.event-card h3 {
  font-size: 19px;
  margin: 6px 0 8px;
}

.event-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Lodging / Stay Cards */
.stay-card {
  display: flex;
  flex-direction: column;
}

.stay-thumb {
  position: relative;
  height: 180px;
}

.stay-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stay-price {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11, 26, 47, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
}

.stay-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stay-content h3 {
  font-size: 19px;
}

.stay-content p {
  font-size: 14px;
  color: var(--text-muted);
}

.stay-amenities {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin: 6px 0 10px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background: #040913;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  color: var(--text-muted);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  margin-top: 16px;
  max-width: 40ch;
}

.footer-nav h4,
.footer-contact h4 {
  color: var(--text-heading);
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-contact p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}

/* Floating AI Button */
.floating-ai-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
}

.ai-trigger-btn {
  background: linear-gradient(135deg, #e08a3c, #0f3057);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(224, 138, 60, 0.4);
  transition: all var(--transition-fast);
}

.ai-trigger-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(224, 138, 60, 0.6);
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

/* Modals System */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 9, 19, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.is-active {
  display: grid;
}

.modal-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: slideUp 0.3s ease;
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 18px;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 26px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-heading);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

/* AI Modal Specifics */
.ai-modal-card {
  max-width: 520px;
  height: 560px;
}

.ai-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-avatar {
  font-size: 26px;
}

.ai-header-title small {
  color: var(--text-muted);
  font-size: 11px;
}

.ai-chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(7, 17, 31, 0.5);
}

.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.bot-msg {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-msg {
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.quick-questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.quick-questions button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-questions button:hover {
  background: var(--card-bg-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.ai-input-bar {
  padding: 14px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
}

.ai-input-bar input {
  flex: 1;
  background: rgba(11, 26, 47, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  outline: none;
}

.ai-input-bar input:focus {
  border-color: var(--accent);
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input {
  background: rgba(11, 26, 47, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.2, 1, 0.3, 1), transform 0.75s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-search-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark-alt);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 20px;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-search-box {
    grid-template-columns: 1fr;
  }

  .feature,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .countdown-widget {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero-caption h1 {
    font-size: 32px;
  }

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