btn/*
Theme Name: Amtrak Luxe - Luxury Rail Journeys
Theme URI: https://amtrackreservation.com/
Author: Trishala Sharma
Description: Custom luxury WordPress theme for American rail travel reservations, sleeper car bookings, and scenic route discovery.
Version: 1.0
*/

:root {
  /* Official Amtrak Brand Colors */
  --amtrak-navy: #002147;         /* Primary Amtrak Midnight Navy */
  --amtrak-blue: #005288;         /* Deep Accent Blue */
  --amtrak-cyan: #00A3E0;         /* Electric Blue / Highlight Cyan */
  --amtrak-gold: #C5A059;         /* Premium Luxury Gold Accent */
  --amtrak-gold-hover: #B08B46;   /* Gold Hover State */
  
  /* Neutral Shades */
  --light-bg: #F3F5F8;            /* Soft Cool Gray Background */
  --card-bg: #FFFFFF;             /* Pure White */
  --text-main: #0B192C;           /* Very Dark Navy/Black for High Contrast */
  --text-muted: #5A6B82;          /* Muted Slate Text */
  --border-color: #DDE3EA;        /* Crisp Light Border */
  
  /* Elevation & Effects */
  --shadow-sm: 0 4px 12px rgba(0, 33, 71, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 33, 71, 0.18);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s ease;
}

/* Reset & Base Settings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--light-bg);
  line-height: 1.6;
}

a {
  text-decoration: none;
  font-family: sans-serif;
  color: 2e2b2b;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
.sub-heading {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: var(--amtrak-cyan);
  display: block;
  margin-bottom: 8px;
}

/* Navbar */
.navbar {
  background-color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 33, 71, 0.08);
  border-bottom: 3px solid var(--amtrak-blue);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--amtrak-navy);
}

.logo-accent {
  color: var(--amtrak-gold);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 4px;
  vertical-align: super;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: 2c3338;
  position: relative;
}

.nav-links a.active,
.nav-links a:hover {
  color: #32373c;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.guest-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--amtrak-blue);
}

.guest-link:hover {
  color: var(--amtrak-cyan);
}

/* Buttons */
.btn-primary {
  background-color: #076285cf;
  color: #FFFFFF;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: #04374acf;
  transform: translateY(-1px);
}

.btn-secondary {
  border: 2px solid var(--amtrak-navy);
  color: var(--amtrak-navy);
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  background-color: var(--amtrak-navy);
  color: #FFFFFF;
}

/* ==========================================================================
   Hero & Booking Section (Amtrak Theme Optimized)
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 90vh;
  background: url('https://media.cntraveler.com/photos/67ee8e71b7861bd20e7d9925/master/w_1600%2Cc_limit/BAR-CAR-La-Dolce-Vita-Orient-Express-first-in-march25-PR-Mr.Tripper-Global.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 24px 80px 24px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Amtrak Navy Gradient for crisp legibility */
  background: linear-gradient(
    180deg,
    rgba(0, 33, 71, 0.70) 0%,
    rgba(0, 33, 71, 0.82) 60%,
    rgba(0, 21, 48, 0.96) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto 36px auto;
  text-align: center;
  color: #FFFFFF;
}

.hero-tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--amtrak-cyan);
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 300;
  color: #E2E8F0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Booking Card Floating */
.booking-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  background-color: #FFFFFF;
  border-radius: 14px;
  padding: 28px 36px 32px 36px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--amtrak-cyan);
}

/* Trip Type Selector */
.trip-type-selector {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--amtrak-navy);
}

.radio-label input[type="radio"] {
  accent-color: var(--amtrak-blue);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Layout Grid */
.booking-grid-top {
  display: grid;
  grid-template-columns: 2.2fr 1.6fr 1.2fr;
  gap: 20px;
  align-items: center;
}

/* Location Group with Swap */
.location-group {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.date-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-box {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.field-box label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--amtrak-blue);
  margin-bottom: 8px;
}

.field-box input,
.field-box select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: var(--font-sans);
  color: var(--amtrak-navy);
  background-color: #F8FAFC;
  outline: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field-box input:focus,
.field-box select:focus {
  border-color: var(--amtrak-cyan);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.2);
}

/* Swap Button Style */
.swap-btn {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--amtrak-navy);
  font-size: 1rem;
  margin-top: 24px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.swap-btn:hover {
  background-color: var(--amtrak-navy);
  color: #FFFFFF;
  border-color: var(--amtrak-navy);
}

/* Submit Row */
.booking-submit-row {
  margin-top: 20px;
}
.btn-primary-luxe {
  display: flex !important;          
  align-items: center;                
  justify-content: center;        
  width: 100% !important; 
  height: 52px !important;      
  box-sizing: border-box;
  background-color:#076285cf;
  color: #FFFFFF !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 8px;
  text-decoration: none !important;  
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

.btn-primary-luxe:hover {
  background-color: #04374acf;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}

/* Destinations Section */
.destinations-section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--amtrak-navy);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amtrak-cyan);
}

.card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 16px;
}

.card-badge {
  background-color: var(--amtrak-navy);
  color: var(--amtrak-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
}

.card-body {
  padding: 24px;
}

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

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

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price strong {
  font-size: 1.25rem;
  color: var(--amtrak-navy);
}

.link-btn {
  color: var(--amtrak-blue);
  font-weight: 700;
  font-size: 0.9rem;
}

.link-btn:hover {
  color: var(--amtrak-cyan);
}
/* ==========================================================================
   Travel Cabin Selection Section (Matching USA Railways Luxe Palette)
   ========================================================================== */

.cabins-section {
  padding: 90px 0;
  background-color: var(--light-bg);
}

.cabins-section .section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.cabins-section .section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--amtrak-navy);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Grid Layout */
.cabin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* Base Card Style */
.cabin-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.cabin-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amtrak-cyan);
}

/* Featured / Best Value Card Style */
.cabin-card.featured {
  border: 2px solid var(--amtrak-blue);
  box-shadow: 0 12px 30px rgba(0, 33, 71, 0.12);
  background-color: #FFFFFF;
}

.featured-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background-color: var(--amtrak-blue);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px;
}

/* Card Elements */
.cabin-icon {
  width: 52px;
  height: 52px;
  background-color: #EEF7FF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.cabin-card h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amtrak-navy);
  margin-bottom: 12px;
}

.cabin-intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Checklist items */
.cabin-checklist {
  list-style: none;
  margin-bottom: 32px;
  margin-top: auto; /* Pushes list to bottom to maintain uniform heights */
}

.cabin-checklist li {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.cabin-checklist li span {
  color: var(--amtrak-cyan);
  font-weight: 800;
  font-size: 1rem;
}

/* Buttons inside Cards */
.cabin-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1.5px solid var(--amtrak-navy);
  color: var(--amtrak-navy);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
}

.cabin-btn:hover {
  background-color: var(--amtrak-navy);
  color: #FFFFFF;
}

.btn-featured {
  background-color: var(--amtrak-gold);
  border-color: var(--amtrak-gold);
  color: #FFFFFF;
}

.btn-featured:hover {
  background-color: var(--amtrak-gold-hover);
  border-color: var(--amtrak-gold-hover);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .cabin-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .featured-badge {
    right: 50%;
    transform: translateX(50%);
  }
}

/* Experience Section */
.experience-section {
  padding: 90px 0;
  background-color: #FFFFFF;
}

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

.exp-text h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--amtrak-navy);
  margin-bottom: 16px;
}

.exp-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.exp-features {
  list-style: none;
  margin-bottom: 32px;
}

.exp-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.exp-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--amtrak-cyan);
  font-weight: bold;
}

.exp-image-stack .img-large {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
/* ==========================================================================
   How Booking Works Section (Reversed Layout & USA Railways Luxe Palette)
   ========================================================================== */

.how-it-works-section {
  padding: 90px 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
}

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

/* Left Side: Trust Cards */
.trust-cards-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.trust-stat-card {
  background-color: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.trust-stat-card:hover {
  transform: translateX(-4px);
  background-color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  border-color: var(--amtrak-cyan);
}

.stat-icon {
  width: 56px;
  height: 56px;
  background-color: #EEF7FF;
  color: var(--amtrak-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amtrak-navy);
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Right Side: Step-by-Step Flow */
.process-col h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--amtrak-navy);
  margin-bottom: 12px;
}

.process-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Steps List */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  width: 44px;
  height: 44px;
  background-color: #EEF7FF;
  color: var(--amtrak-blue);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amtrak-navy);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
/* ==========================================================================
   FAQ Section (USA Railways Luxe Palette & Custom Native Accordion)
   ========================================================================== */

.faq-section {
  padding: 90px 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
}

.faq-section .section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.faq-section .section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--amtrak-navy);
  margin-bottom: 12px;
}

/* Accordion Wrapper */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* FAQ Details Item */
.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 33, 71, 0.03);
}

.faq-item:hover {
  border-color: var(--amtrak-cyan);
  box-shadow: var(--shadow-sm);
}

.faq-item[open] {
  border-color: var(--amtrak-blue);
  box-shadow: var(--shadow-sm);
}

/* Summary / Question Header */
.faq-question {
  padding: 22px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--amtrak-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none; /* Hides default marker in modern browsers */
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none; /* Hides default marker in Safari */
}

/* Custom Animated Chevron Arrow */
.faq-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--amtrak-blue);
  border-bottom: 2px solid var(--amtrak-blue);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 16px;
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(-135deg);
  border-color: var(--amtrak-cyan);
}

/* Answer Container */
.faq-answer {
  padding: 0 28px 24px 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
  border-top-color: #F0F4F8;
  padding-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-question {
    padding: 18px 20px;
    font-size: 0.98rem;
  }
  .faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 0.9rem;
  }
}

/* Responsive Layout */
@media (max-width: 992px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .trust-cards-col {
    order: 2; /* Moves stat cards below process steps on smaller screens */
  }
  .process-col {
    order: 1;
  }
}
/* Footer */
.footer {
  background-color: var(--amtrak-navy);
  color: #FFFFFF;
  padding-top: 80px;
  border-top: 4px solid var(--amtrak-cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-col h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.brand-col p {
  color: #94A3B8;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--amtrak-cyan);
}

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

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

.footer-col ul li a {
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding: 24px 0;
  font-size: 0.85rem;
  color: #94A3B8;
  background-color: #001530;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-links a {
  margin-left: 16px;
  color: #94A3B8;
}

.legal-links a:hover {
  color: #FFFFFF;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .booking-grid-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .swap-btn {
    display: none;
  }
  .exp-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}