/*
Theme Name: Visit Merced
Theme URI: https://visitmerced.com
Author: Visit Merced
Author URI: https://visitmerced.com
Description: Custom theme for Visit Merced — Your Basecamp to the Sierras. A tourism website for Merced, California.
Version: 1.0 (Staging Version)
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: visit-merced
Tags: custom, tourism, travel
*/

/* ========================================
   Visit Merced — Global Styles
   Brand Colors & Typography
   ======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --dark-navy: #262154;
  --purple: #543884;
  --orange: #ec692d;
  --teal: #4290a8;
  --light-orange: #f8a260;
  --cream: #ffce94;
  --white: #ffffff;
  --off-white: #f9f7f4;
  --light-gray: #f0ece6;
  --dark-text: #2c2c2c;
  --medium-gray: #666;

  /* Gradients */
  --gradient-purple: linear-gradient(135deg, #262154 0%, #543884 100%);
  --gradient-sunset: linear-gradient(135deg, #ec692d 0%, #f8a260 100%);
  --gradient-teal-purple: linear-gradient(135deg, #4290a8 0%, #543884 100%);
  --gradient-hero: linear-gradient(135deg, #262154 0%, #543884 50%, #4290a8 100%);

  /* Typography */
  --font-script: 'Dancing Script', cursive;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1200px;
  --nav-height: 110px;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark-text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
}

/* ── Typography Classes ── */
.font-script {
  font-family: var(--font-script);
}

.font-serif {
  font-family: var(--font-serif);
}

.section-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--dark-navy);
  margin-bottom: 20px;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin-bottom: 40px;
}

/* ── Container ── */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-sunset);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(236, 105, 45, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(236, 105, 45, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark-navy);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
}

.btn-small {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
  box-sizing: border-box;
}

.navbar.scrolled {
  background: rgba(38, 33, 84, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* WordPress Admin Bar compensation */
.admin-bar .navbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .navbar {
    top: 46px;
  }
}

.nav-logo img {
  height: 70px;
  width: auto;
}

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

/* WordPress wp_nav_menu wraps in a <ul> — normalize it */
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links ul li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

/* If a button class is added to the LI in WP Admin, style the inner A */
.nav-links ul li.btn a,
.nav-links ul li.btn-primary a {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  background: var(--gradient-sunset);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(236, 105, 45, 0.35);
}

.nav-links ul li.btn a:hover,
.nav-links ul li.btn-primary a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(236, 105, 45, 0.5);
}

.nav-links ul li.btn a::after,
.nav-links ul li.btn-primary a::after {
  display: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--white);
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links .current-menu-item a::after,
.nav-links .current_page_item a::after {
  width: 100%;
}

/* Suppress underline on the button nav item */
.nav-links .btn::after {
  display: none;
}

.nav-links .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Sections ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Lighter, gradient overlay so the video stays visible while still adding contrast for the text */
  background: linear-gradient(135deg, rgba(38, 33, 84, 0.55) 0%, rgba(38, 33, 84, 0.45) 100%);
  z-index: 1;
  pointer-events: none;
}


.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  /* Sits above video (0), overlay (1), and shapes (1) */
  z-index: 3;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

/* ════════ HERO CONTENT OVERLAY ════════ */
.hero-content {
  /* Purple background with 85% opacity so the video still subtly shows through */
  background-color: rgba(84, 56, 132, 0.80); 
  
  /* White border */
  border: 3px solid #ffffff; 
  
  /* Rounded border radius */
  border-radius: 24px; 
  
  /* Padding keeps the text from touching the new visible edges */
  padding: 40px 50px; 
  
  /* Optional: Add a subtle shadow to lift it off the video background */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* For mobile devices, you might want slightly less padding */
@media (max-width: 768px) {
  .hero-content {
    padding: 30px 20px;
    border-width: 2px;
  }
}
.hero-content .hero-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 4rem;
  margin-bottom: 10px;
  line-height: 1;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
}

.hero-content h1 .script-accent {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--light-orange);
  font-size: 4.8rem;
  display: block;
  margin-top: -5px;
  margin-bottom: 15px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-weight: 300;
  font-size: 1.2rem;
  margin-bottom: 36px;
  opacity: 0.95;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Hero (shorter for inner pages) */
.page-hero {
  min-height: 50vh;
  padding-top: var(--nav-height);
}

.page-hero .hero-content h1 {
  font-size: 3rem;
}

/* Animated shapes in hero — purely decorative, must not block clicks */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--orange);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: var(--teal);
  bottom: -80px;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--light-orange);
  top: 40%;
  left: 10%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

/* ── Section Styles ── */
.section {
  padding: var(--section-padding);
}

.section-light {
  background: var(--off-white);
}

.section-dark {
  background: var(--gradient-purple);
  color: var(--white);
}

.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

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

.section-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── Card Grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

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

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

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

/* ── Card Component ── */
.card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  width: fit-content;
}

.tag-purple {
  background: rgba(84, 56, 132, 0.1);
  color: var(--purple);
}

.tag-orange {
  background: rgba(236, 105, 45, 0.1);
  color: var(--orange);
}

.tag-teal {
  background: rgba(66, 144, 168, 0.1);
  color: var(--teal);
}

.card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--dark-navy);
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.95rem;
  color: var(--medium-gray);
  line-height: 1.6;
  flex: 1;
}

.card-body .btn {
  margin-top: 16px;
  align-self: flex-start;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.mini-tag {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--light-gray);
  color: var(--medium-gray);
}

/* ── Feature Cards (Image Overlay) ── */
.feature-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 33, 84, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
}

.feature-card-overlay h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.feature-card-overlay p {
  font-size: 0.9rem;
  opacity: 0.85;
  font-weight: 300;
}

/* ── Tile Links ── */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  border: 1px solid transparent;
}

.tile:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(84, 56, 132, 0.15);
}

.tile-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tile-icon-purple {
  background: rgba(84, 56, 132, 0.1);
  color: var(--purple);
}

.tile-icon-orange {
  background: rgba(236, 105, 45, 0.1);
  color: var(--orange);
}

.tile-icon-teal {
  background: rgba(66, 144, 168, 0.1);
  color: var(--teal);
}

.tile h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 4px;
}

.tile p {
  font-size: 0.85rem;
  color: var(--medium-gray);
}

/* ── Map Section ── */
.map-section {
  padding: 80px 0;
  background: var(--off-white);
}

.map-container {
  position: relative;
  background: var(--gradient-purple);
  border-radius: 20px;
  padding: 60px;
  color: var(--white);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.map-content {
  max-width: 400px;
  z-index: 1;
}

.map-content h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 16px;
}

.map-content p {
  font-weight: 300;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 24px;
}

.map-visual {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  z-index: 1;
}

.map-point {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(236, 105, 45, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.map-dot-merced {
  width: 24px;
  height: 24px;
  background: var(--cream);
  box-shadow: 0 0 0 6px rgba(255, 206, 148, 0.4);
}

.map-label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 6px;
  white-space: nowrap;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(236, 105, 45, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(236, 105, 45, 0.1); }
}

/* ── Split Layout (Where to Stay) ── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-height));
}

.split-left {
  padding: 40px;
  overflow-y: auto;
  max-height: calc(100vh - var(--nav-height));
}

.split-right {
  background: var(--light-gray);
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Info Cards (Getting Here / Around) ── */
.info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  border-left: 4px solid var(--purple);
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--dark-navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card p {
  color: var(--medium-gray);
  line-height: 1.7;
}

.info-card-orange {
  border-left-color: var(--orange);
}

.info-card-teal {
  border-left-color: var(--teal);
}

/* ── Event Card ── */
.event-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.event-card .card-image {
  height: 200px;
}

.event-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--gradient-sunset);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.event-card .card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.event-card .card-body p {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

/* ── Seasonal Highlight ── */
.seasonal-highlight {
  background: var(--gradient-purple);
  border-radius: 20px;
  padding: 60px;
  display: flex;
  align-items: center;
  gap: 48px;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.seasonal-highlight-image {
  width: 45%;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.seasonal-highlight-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.seasonal-highlight-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 12px;
}

.seasonal-highlight-content .event-date {
  margin-bottom: 16px;
}

.seasonal-highlight-content p {
  font-weight: 300;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ── Filter Buttons ── */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid var(--light-gray);
  background: var(--white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--medium-gray);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(84, 56, 132, 0.05);
}

/* ── Newsletter Section ── */
.newsletter {
  background: var(--gradient-sunset);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.newsletter h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 10px;
}

.newsletter p {
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
}

.newsletter-form button {
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  background: var(--dark-navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--purple);
  transform: translateY(-2px);
}

/* ── Instagram Grid ── */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.instagram-grid .insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.instagram-grid .insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.instagram-grid .insta-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

/* ── Footer ── */
.footer {
  background: var(--dark-navy);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.7;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--light-orange);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.7;
  margin-bottom: 10px;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--light-orange);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 1;
}

.footer-social a:hover {
  background: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ── Downtown Highlights Grid ── */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.highlight-item {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(84, 56, 132, 0.08);
  color: var(--purple);
}

.highlight-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--gradient-sunset);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: var(--dark-navy);
  color: var(--white);
}

.cta-banner .btn:hover {
  background: var(--purple);
}

/* ── Itinerary Teaser ── */
.itinerary-card {
  display: flex;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.itinerary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.itinerary-card .card-image {
  width: 40%;
  height: auto;
  min-height: 200px;
}

.itinerary-card .card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coming-soon-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(66, 144, 168, 0.1);
  color: var(--teal);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .seasonal-highlight {
    flex-direction: column;
    padding: 40px;
  }

  .seasonal-highlight-image {
    width: 100%;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-right {
    display: none;
  }

  .split-left {
    max-height: none;
    overflow-y: visible;
  }

  .map-visual {
    display: none;
  }

  .map-container {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav-links {
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    background: rgba(38, 33, 84, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h1 .script-accent {
    font-size: 3.5rem;
    margin-top: 0;
  }

  .section-title {
    font-size: 2rem;
  }

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

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

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

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

  .newsletter-form {
    flex-direction: column;
  }

  .feature-card {
    height: 240px;
  }

  .itinerary-card {
    flex-direction: column;
  }

  .itinerary-card .card-image {
    width: 100%;
    height: 200px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h1 .script-accent {
    font-size: 2.5rem;
  }

  .container {
    width: 92%;
  }
}
