/* ==========================================================================
   PORTAL TURÍSTICO MACHALA - PREMIUM LIGHT THEME (ecuador.travel Inspired)
   ========================================================================== */

:root {
  --font-sans: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
  --font-accent: 'Syne', sans-serif;

  /* Premium Light Theme Color Palette */
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-light-accent: #f1f3f5;
  --border-light: #e9ecef;
  
  /* Bright, inviting brand colors */
  --primary: #e29e00;          /* Banana Gold / Sunset Gold */
  --primary-hover: #f5af19;
  --ocean-blue: #1864ab;       /* Coastal Pacific Blue */
  --ocean-blue-hover: #1c7ed6;
  --forest-green: #2b8a3e;     /* Manglar/Eco Green */
  --emergency-red: #e03131;    /* Emergency Red */
  
  /* Text colors */
  --text-dark: #1a1b1f;
  --text-muted: #495057;
  --text-dimmed: #868e96;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.08);
  
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

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

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

body {
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* ==========================================================================
   HEADER NAVIGATION (ecuador.travel Light Glassmorphic Layout)
   ========================================================================== */
.travel-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.travel-header.scrolled {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.travel-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(226, 158, 0, 0.6);
}

.logo-brand {
  color: var(--text-dark);
}

.logo-light {
  color: var(--ocean-blue);
}

.travel-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--ocean-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--ocean-blue);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-arrow {
  font-size: 0.65rem;
  margin-left: 2px;
  display: inline-block;
  vertical-align: middle;
}

/* Submenu */
.has-submenu {
  position: relative;
}

.nav-submenu-list {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.has-submenu:hover .nav-submenu-list {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(5px);
}

.nav-submenu-list li a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 20px;
  display: block;
}

.nav-submenu-list li a:hover {
  color: var(--ocean-blue);
  background-color: var(--bg-light);
}

.nav-button {
  background: var(--ocean-blue);
  color: var(--bg-white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(24, 100, 171, 0.2);
}

.nav-button:hover {
  background: var(--ocean-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(24, 100, 171, 0.3);
}

/* Language Selector */
.lang-selector {
  position: relative;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 12px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  color: var(--text-muted);
}

.lang-selector:hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  list-style: none;
  min-width: 80px;
  margin-top: 5px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.lang-selector:hover .lang-dropdown {
  opacity: 1;
  pointer-events: auto;
}

.lang-dropdown li a {
  display: block;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.lang-dropdown li a:hover {
  background: var(--bg-light);
  color: var(--ocean-blue);
}

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

.mobile-toggle-btn .bar {
  width: 25px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO CINEMATIC SLIDER (Blending into White with Soft Left Mask)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-light);
}

.hero-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1), transform 12s linear;
  display: flex;
  align-items: center;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.03); /* almost completely clear image */
  z-index: 2;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.04);
}

.slide-content {
  position: relative;
  z-index: 10;
  max-width: 620px;
  width: calc(100% - 80px);
  margin-left: max(40px, calc((100vw - 1400px) / 2 + 40px));
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease;
  text-align: left;
}

.hero-slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-tag {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ocean-blue);
  margin-bottom: 15px;
  display: block;
}

.slide-title {
  font-family: var(--font-title);
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.slide-title strong {
  font-weight: 900;
}

.slide-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 550px;
  line-height: 1.7;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 60px;
  right: 60px;
  display: flex;
  gap: 16px;
  z-index: 20;
}

.slider-dot {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-family: var(--font-title);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.slider-dot.active, .slider-dot:hover {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--bg-white);
}

/* ==========================================================================
   EXPERIENCES SECTION ("Elige tu experiencia")
   ========================================================================== */
.experience-design-section {
  padding: 120px 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-intro {
  margin-bottom: 60px;
}

.text-center {
  text-align: center;
}

.tagline {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}

.title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.experience-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.exp-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.exp-card-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  transition: var(--transition-smooth);
}

.exp-card:hover .exp-card-image {
  transform: scale(1.05);
}

.exp-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.exp-card-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.exp-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SEARCH BAR SECTION
   ========================================================================== */
.search-bar-section {
  padding: 80px 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.search-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.search-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.search-box {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  padding: 5px 25px;
  transition: var(--transition-fast);
}

.search-box:focus-within {
  box-shadow: var(--shadow-md);
  border-color: var(--ocean-blue);
}

.search-box input {
  width: 100%;
  padding: 15px 0;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
}

.search-icon {
  font-size: 1.2rem;
  color: var(--text-dimmed);
}

.search-feedback {
  margin-top: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ocean-blue);
}

/* ==========================================================================
   ATRACTIVOS & EMPRESAS SECTION
   ========================================================================== */
.atractivos-section, .empresas-section, .guias-section {
  padding: 120px 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.empresas-section {
  background-color: var(--bg-light);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.category-filter-tabs {
  display: flex;
  gap: 10px;
}

.filter-tab {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--ocean-blue);
  border-color: var(--ocean-blue);
  color: var(--bg-white);
}

.scrollable-tabs {
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
}

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

/* Atractivos Cards */
.experience-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-end;
  transition: var(--transition-smooth);
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.experience-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: var(--transition-smooth);
}

.experience-card:hover .experience-card-bg {
  transform: scale(1.05);
}

.experience-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
}

.experience-card-content {
  position: relative;
  padding: 30px;
  color: var(--bg-white);
  z-index: 5;
}

.experience-card-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.experience-card-desc {
  font-size: 0.85rem;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
}

.world-info-btn {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

.world-info-btn:hover {
  color: var(--primary-hover);
}

/* Empresas Cards */
.vip-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.vip-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.vip-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.vip-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vip-card-badge {
  background: rgba(24, 100, 171, 0.1);
  color: var(--ocean-blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  align-self: flex-start;
  margin-bottom: 12px;
}

.vip-card-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.vip-card-rating {
  color: #ffc000;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.vip-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.vip-cta-row {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.vip-card-link {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}

.text-whatsapp {
  background: #25d366;
  color: var(--bg-white);
}

.text-whatsapp:hover {
  background: #20ba5a;
}

.text-maps {
  background: var(--bg-light);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.text-maps:hover {
  background: var(--bg-light-accent);
}

.text-details {
  background: var(--ocean-blue);
  color: var(--bg-white);
}

.text-details:hover {
  background: var(--ocean-blue-hover);
}

/* Pagination container */
.load-more-container {
  text-align: center;
  margin-top: 50px;
}

.load-more-btn {
  background: var(--bg-white);
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
  padding: 14px 35px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.load-more-btn:hover {
  background: var(--text-dark);
  color: var(--bg-white);
}

/* ==========================================================================
   GUIDES / BLOG SECTION
   ========================================================================== */
.guias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tip-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.tip-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.tip-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.tip-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.tip-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================================================
   FAQ SECTION (Side-by-side with security card)
   ========================================================================== */
.faq-section {
  padding: 120px 0;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.faq-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.accordion {
  margin-top: 30px;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
  padding: 15px 0;
}

.accordion-title {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content p {
  padding: 15px 0 5px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.accordion-item.active .accordion-content {
  max-height: 200px;
}

.faq-right-card {
  background: #fff5f5;
  border: 1px solid #ffe3e3;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.warning-tag {
  background: var(--emergency-red);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
}

.faq-right-card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #c92a2a;
}

.faq-right-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.faq-right-card ul {
  list-style: none;
}

.faq-right-card ul li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.faq-right-card ul li::before {
  content: '✕';
  color: var(--emergency-red);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ==========================================================================
   PLANNING / SERVICE ORDER FORM SECTION
   ========================================================================== */
.planning-section {
  padding: 120px 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.planning-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.planning-text .desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 20px 0 30px 0;
}

.service-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  align-self: flex-start;
}

/* Glassmorphism card for delivery booking */
.gas-booking-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-header {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 30px;
}

.form-header-icon {
  font-size: 2.2rem;
}

.form-header h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
}

.form-header p {
  font-size: 0.8rem;
  color: var(--text-dimmed);
}

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

.gps-button {
  background: var(--ocean-blue);
  color: var(--bg-white);
  border: none;
  padding: 12px 0;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.gps-button:hover {
  background: var(--ocean-blue-hover);
}

.gps-button.active {
  background: var(--forest-green);
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.form-field input, .form-field select {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: var(--bg-light);
}

.form-field input:focus, .form-field select:focus {
  border-color: var(--ocean-blue);
  background: var(--bg-white);
  outline: none;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  align-self: flex-start;
}

.quantity-selector button {
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
}

.quantity-selector span {
  font-size: 0.95rem;
  font-weight: 700;
}

.submit-button {
  background: var(--primary);
  color: #000000;
  border: none;
  padding: 15px 0;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(226, 158, 0, 0.2);
  transition: var(--transition-fast);
}

.submit-button:hover {
  background: var(--primary-hover);
}

.form-success-message {
  text-align: center;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.reset-button {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
}

/* ==========================================================================
   FOOTER Layout
   ========================================================================== */
.travel-footer {
  background: #090e1a;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--bg-white);
  margin-bottom: 20px;
  display: block;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links-col h4 {
  color: var(--bg-white);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col ul li {
  margin-bottom: 12px;
}

.footer-links-col ul li a {
  font-size: 0.85rem;
}

.footer-links-col ul li a:hover {
  color: var(--bg-white);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-bar p {
  font-size: 0.8rem;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-icon-link {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon-link:hover {
  background: var(--bg-white);
  color: #090e1a;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.social-svg {
  display: block;
}

.donesitios-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.donesitios-button:hover {
  background: var(--primary);
  color: #090e1a;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(226, 158, 0, 0.3);
  transform: translateY(-2px);
}

.donesitios-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  transition: var(--transition-fast);
}

.donesitios-button:hover .donesitios-dot {
  background-color: #090e1a;
}

/* ==========================================================================
   WALKING BANANERO WIDGET (With Clean Transparent Background)
   ========================================================================== */
.walking-bananero-container {
  position: fixed;
  bottom: 15px;
  left: -150px; /* starts off-screen */
  width: 130px;
  height: 130px;
  z-index: 9999;
  pointer-events: none; /* let clicks pass through */
  transition: transform 0.1s linear;
}

@keyframes bananeroWalkBob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

.bananero-sprite {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: bananeroWalkBob 0.75s infinite ease-in-out;
}

.bananero-speech-bubble {
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #1a1b1f;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-light);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bananero-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #ffffff transparent;
  display: block;
  width: 0;
}

.bananero-speech-bubble.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* ==========================================================================
   SWIMMING SHRIMP WIDGET (Navigates the Entire Screen)
   ========================================================================== */
.swimming-shrimp-container {
  position: fixed;
  bottom: 30%;
  left: -150px;
  width: 110px;
  height: 110px;
  z-index: 9998;
  pointer-events: none;
  transition: transform 0.1s linear;
}

@keyframes shrimpSwim {
  0%, 100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-15px) rotate(10deg);
  }
}

.shrimp-sprite {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: shrimpSwim 1.5s infinite ease-in-out;
}

.shrimp-speech-bubble {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #1a1b1f;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-light);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.shrimp-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #ffffff transparent;
  display: block;
  width: 0;
}

.shrimp-speech-bubble.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* Floating Shrimps */
.floating-shrimps-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99; /* float above content but transparent */
  overflow: hidden;
}

.floating-shrimp {
  position: absolute;
  background-image: url('https://machalaecuador.com/assets/shrimp.png?v=1.0.5');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  animation: floatShrimp 14s linear infinite;
  opacity: 0;
}

@keyframes floatShrimp {
  0% {
    transform: translateY(110vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.12;
  }
  90% {
    opacity: 0.12;
  }
  100% {
    transform: translateY(-15vh) translateX(80px) rotate(360deg);
    opacity: 0;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .experience-cards-grid, .grid-visualizer, .guias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .planning-split, .faq-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }
  .travel-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    padding: 100px 30px;
    z-index: 900;
  }
  .travel-nav.open {
    right: 0;
  }
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .mobile-toggle-btn {
    display: flex;
  }
  .mobile-toggle-btn.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .mobile-toggle-btn.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .slide-title {
    font-size: 2.5rem;
  }
  .experience-cards-grid, .grid-visualizer, .guias-grid {
    grid-template-columns: 1fr;
  }
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ==========================================================================
   PREMIUM GLASSMORPHIC PRELOADER
   ========================================================================== */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-lg);
  padding: 40px 60px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-logo-dot {
  width: 16px;
  height: 16px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(226, 158, 0, 0.8);
  animation: pulseLogo 1.5s infinite ease-in-out;
}

.preloader-logo-text {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.preloader-logo-text span {
  color: var(--ocean-blue);
}

.preloader-spinner {
  width: 35px;
  height: 35px;
  border: 3px solid var(--border-light);
  border-top-color: var(--ocean-blue);
  border-radius: 50%;
  animation: spinPreloader 0.8s infinite linear;
}

@keyframes pulseLogo {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

@keyframes spinPreloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   WIDGET DE CLIMA TRANSLÚCIDO (HERO)
   ========================================================================== */
.hero-weather-widget {
  position: absolute;
  top: 120px;
  right: 40px;
  width: 220px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  z-index: 100;
  color: var(--text-dark);
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
}

.hero-weather-widget:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.weather-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.weather-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(0,0,0,0.1);
  border-top-color: var(--ocean-blue);
  border-radius: 50%;
  animation: spinPreloader 0.8s infinite linear;
}

.weather-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.weather-city {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.2px;
}

.weather-icon {
  font-size: 1.4rem;
}

.weather-temp-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.weather-temp {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
}

.weather-desc {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: capitalize;
  margin-top: 2px;
}

.weather-details {
  font-size: 0.75rem;
  color: var(--text-dimmed);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 6px;
  display: flex;
  justify-content: space-between;
}

/* Responsive Weather Widget */
@media (max-width: 768px) {
  .hero-weather-widget {
    top: 90px;
    right: 20px;
    width: 170px;
    padding: 10px 14px;
    scale: 0.9;
  }
  .weather-temp {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   SECCIÓN FIESTAS Y CALENDARIO INTERACTIVO
   ========================================================================== */
.fiestas-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
  padding: 100px 0;
  position: relative;
}

.calendar-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.year-switcher {
  display: flex;
  background: var(--bg-light-accent);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.year-btn {
  background: none;
  border: none;
  outline: none;
  padding: 10px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.year-btn.active {
  background: var(--ocean-blue);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(24, 100, 171, 0.25);
}

.month-selector-wrapper {
  position: relative;
}

.month-select {
  appearance: none;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 11px 44px 11px 24px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.month-select:hover {
  border-color: var(--ocean-blue);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.month-selector-wrapper::after {
  content: '▼';
  font-size: 0.65rem;
  color: var(--text-muted);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.calendar-split-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.calendar-wrapper-card, .calendar-details-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 35px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.calendar-wrapper-card:hover, .calendar-details-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Calendar Header Navigation inside card */
.calendar-header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.nav-month-btn {
  background: var(--bg-light-accent);
  border: 1px solid var(--border-light);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition-fast);
  outline: none;
}

.nav-month-btn:hover {
  background: var(--ocean-blue);
  color: var(--bg-white);
  border-color: var(--ocean-blue);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(24, 100, 171, 0.25);
}

.current-month-display {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-dark);
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dimmed);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  border-radius: 50%;
  cursor: default;
  position: relative;
  transition: var(--transition-fast);
  background: transparent;
  border: 1px solid transparent;
}

.calendar-day.empty {
  visibility: hidden;
}

.calendar-day.has-event {
  cursor: pointer;
}

/* Event Category soft colors (Pastel design system) */
.calendar-day.has-event.category-cantonization {
  background-color: rgba(226, 158, 0, 0.08);
  border: 1px solid rgba(226, 158, 0, 0.25);
  color: #9c6b00;
}
.calendar-day.has-event.category-provincial {
  background-color: rgba(253, 126, 20, 0.08);
  border: 1px solid rgba(253, 126, 20, 0.25);
  color: #d9480f;
}
.calendar-day.has-event.category-parish {
  background-color: rgba(43, 138, 62, 0.08);
  border: 1px solid rgba(43, 138, 62, 0.25);
  color: #1e5e2b;
}
.calendar-day.has-event.category-religious {
  background-color: rgba(24, 100, 171, 0.08);
  border: 1px solid rgba(24, 100, 171, 0.25);
  color: #0f4b82;
}
.calendar-day.has-event.category-national {
  background-color: rgba(224, 49, 49, 0.08);
  border: 1px solid rgba(224, 49, 49, 0.25);
  color: #b01a1a;
}
.calendar-day.has-event.category-historical {
  background-color: rgba(112, 72, 232, 0.08);
  border: 1px solid rgba(112, 72, 232, 0.25);
  color: #5f36d6;
}
.calendar-day.has-event.category-cultural {
  background-color: rgba(12, 166, 120, 0.08);
  border: 1px solid rgba(12, 166, 120, 0.25);
  color: #087f5b;
}

/* Advanced Hover Shadow Colors (Category matching glow) */
.calendar-day.has-event:hover {
  transform: scale(1.15) translateY(-2px);
  filter: brightness(0.96);
}
.calendar-day.has-event.category-cantonization:hover { box-shadow: 0 6px 16px rgba(226, 158, 0, 0.35); }
.calendar-day.has-event.category-provincial:hover { box-shadow: 0 6px 16px rgba(253, 126, 20, 0.35); }
.calendar-day.has-event.category-parish:hover { box-shadow: 0 6px 16px rgba(43, 138, 62, 0.35); }
.calendar-day.has-event.category-religious:hover { box-shadow: 0 6px 16px rgba(24, 100, 171, 0.35); }
.calendar-day.has-event.category-national:hover { box-shadow: 0 6px 16px rgba(224, 49, 49, 0.35); }
.calendar-day.has-event.category-historical:hover { box-shadow: 0 6px 16px rgba(112, 72, 232, 0.35); }
.calendar-day.has-event.category-cultural:hover { box-shadow: 0 6px 16px rgba(12, 166, 120, 0.35); }

/* Selected active day colors (Solid themes with active selection pulse) */
.calendar-day.active {
  color: var(--bg-white) !important;
  font-weight: 800;
  transform: scale(1.15);
  border-color: transparent !important;
  animation: pulseActive 1.6s infinite alternate ease-in-out;
}
.calendar-day.active.category-cantonization { background-color: var(--primary) !important; box-shadow: 0 8px 20px rgba(226, 158, 0, 0.45) !important; }
.calendar-day.active.category-provincial { background-color: #fd7e14 !important; box-shadow: 0 8px 20px rgba(253, 126, 20, 0.45) !important; }
.calendar-day.active.category-parish { background-color: var(--forest-green) !important; box-shadow: 0 8px 20px rgba(43, 138, 62, 0.45) !important; }
.calendar-day.active.category-religious { background-color: var(--ocean-blue) !important; box-shadow: 0 8px 20px rgba(24, 100, 171, 0.45) !important; }
.calendar-day.active.category-national { background-color: var(--emergency-red) !important; box-shadow: 0 8px 20px rgba(224, 49, 49, 0.45) !important; }
.calendar-day.active.category-historical { background-color: #7048e8 !important; box-shadow: 0 8px 20px rgba(112, 72, 232, 0.45) !important; }
.calendar-day.active.category-cultural { background-color: #0ca678 !important; box-shadow: 0 8px 20px rgba(12, 166, 120, 0.45) !important; }

@keyframes pulseActive {
  0% { transform: scale(1.12); }
  100% { transform: scale(1.22); }
}

/* Details Card right column */
.details-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 12px;
  color: var(--text-dark);
}

.details-content {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Premium magazine style events cards */
.festivity-item-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 6px solid var(--border-light);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
  transition: var(--transition-smooth);
  animation: cardSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.festivity-item-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.015) 0%, transparent 70%);
  pointer-events: none;
}

.festivity-item-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

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

.festivity-item-card.cantonization { border-left-color: var(--primary); }
.festivity-item-card.provincial { border-left-color: #fd7e14; }
.festivity-item-card.parish { border-left-color: var(--forest-green); }
.festivity-item-card.religious { border-left-color: var(--ocean-blue); }
.festivity-item-card.national { border-left-color: var(--emergency-red); }
.festivity-item-card.historical { border-left-color: #7048e8; }
.festivity-item-card.cultural { border-left-color: #0ca678; }

.festivity-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.festivity-title-text {
  font-family: var(--font-title);
  font-weight: 850;
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.35;
  flex: 1;
  min-width: 180px;
}

.festivity-date-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--bg-white);
  padding: 6px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.festivity-date-badge.category-cantonization { background-color: var(--primary); }
.festivity-date-badge.category-provincial { background-color: #fd7e14; }
.festivity-date-badge.category-parish { background-color: var(--forest-green); }
.festivity-date-badge.category-religious { background-color: var(--ocean-blue); }
.festivity-date-badge.category-national { background-color: var(--emergency-red); }
.festivity-date-badge.category-historical { background-color: #7048e8; }
.festivity-date-badge.category-cultural { background-color: #0ca678; }

.festivity-desc-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.festivity-cat-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-dimmed);
  background: var(--bg-light-accent);
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.no-festivities-msg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 250px;
  color: var(--text-dimmed);
  font-size: 0.95rem;
  text-align: center;
}

.no-festivities-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* Legend Section styling */
.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 20px 30px;
  margin-top: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsiveness for Calendar Split Layout */
@media (max-width: 992px) {
  .calendar-split-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 480px) {
  .calendar-wrapper-card, .calendar-details-card {
    padding: 20px;
  }
  .calendar-day {
    font-size: 0.9rem;
  }
  .calendar-grid {
    gap: 6px;
  }
  .calendar-legend {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
