/* ===================================================
   Cancun Airport Transfer — Main Stylesheet
   Warm Tropical Theme | Conversion Optimized
   =================================================== */

:root {
  --sand: #F5EDD6;
  --sand-light: #FBF7EE;
  --turquoise: #00B4C6;
  --turquoise-dark: #0098A8;
  --turquoise-light: #E6F9FB;
  --coral: #E8603C;
  --coral-dark: #C94E2C;
  --green: #2D7A4F;
  --green-light: #EAF5EE;
  --dark: #1A2E35;
  --dark-mid: #2E4A55;
  --text: #2C3E50;
  --text-light: #5A6A74;
  --white: #FFFFFF;
  --border: #E0D8C8;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { margin-bottom: 1rem; color: var(--text); }
a { color: var(--turquoise-dark); text-decoration: none; }
a:hover { color: var(--coral); }

/* === LAYOUT === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-alt { background: var(--sand-light); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #CBD5DA; }

/* === NAVIGATION === */
nav {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1100px;
  margin: 0 auto;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--turquoise);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.logo-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.2;
}
.logo-text span { color: var(--turquoise); display: block; font-size: 0.7rem; font-weight: 400; }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: #CBD5DA;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--coral-dark) !important; }
.hamburger { display: none; cursor: pointer; color: var(--white); font-size: 1.5rem; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 50%, #1A4A5A 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,180,198,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(0,180,198,0.2);
  color: var(--turquoise);
  border: 1px solid rgba(0,180,198,0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero h1 span { color: var(--turquoise); }
.hero p { color: #B0C4CC; font-size: 1.1rem; margin-bottom: 24px; }
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.5rem; color: var(--turquoise); }
.hero-stat small { color: #8AACB8; font-size: 0.75rem; }
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--dark); margin-bottom: 8px; font-size: 1.1rem; }
.hero-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 20px; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
}
.btn-primary:hover { background: var(--coral-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,96,60,0.3); }
.btn-secondary {
  background: var(--turquoise);
  color: var(--white);
}
.btn-secondary:hover { background: var(--turquoise-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--turquoise-dark);
  border: 2px solid var(--turquoise);
}
.btn-outline:hover { background: var(--turquoise); color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* === TRUST BAR === */
.trust-bar {
  background: var(--sand);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-mid);
}
.trust-item .icon {
  width: 28px;
  height: 28px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* === ROUTE CARDS === */
.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.route-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.route-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--turquoise); }
.route-card-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 24px 20px 16px;
  position: relative;
}
.route-emoji { font-size: 2rem; margin-bottom: 8px; display: block; }
.route-card-header h3 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.route-distance {
  background: rgba(0,180,198,0.25);
  color: var(--turquoise);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}
.route-card-body { padding: 20px; flex: 1; }
.route-card-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
.route-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.route-tag {
  background: var(--sand);
  color: var(--dark-mid);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.route-price { font-size: 1.2rem; font-weight: 700; color: var(--green); margin-bottom: 12px; }
.route-price small { font-size: 0.75rem; font-weight: 400; color: var(--text-light); }

/* === FEATURE BOXES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.feature-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.2s;
}
.feature-box:hover { box-shadow: var(--shadow); border-color: var(--turquoise); }
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--turquoise-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.feature-box h3 { margin-bottom: 8px; font-size: 1rem; }
.feature-box p { font-size: 0.875rem; color: var(--text-light); margin: 0; }

/* === COMPARISON TABLE === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comparison-table th {
  background: var(--dark);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
}
.comparison-table th:first-child { border-radius: 0; }
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--sand-light); }
.comparison-table tr:hover td { background: var(--turquoise-light); }
.check { color: var(--green); font-weight: 700; }
.cross { color: #C0392B; }
.badge-best {
  background: var(--coral);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 6px;
}

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background 0.2s;
}
.faq-q:hover { background: var(--sand-light); }
.faq-a {
  padding: 0 24px 18px;
  color: var(--text-light);
  font-size: 0.95rem;
  display: none;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { background: var(--sand-light); color: var(--turquoise-dark); }
.faq-chevron { transition: transform 0.2s; font-style: normal; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.stars { color: #F0A500; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { font-style: italic; color: var(--text-light); margin-bottom: 16px; font-size: 0.95rem; }
.testimonial-author { font-weight: 600; font-size: 0.875rem; color: var(--dark); }
.testimonial-author small { color: var(--text-light); font-weight: 400; display: block; }

/* === INFO BOXES === */
.info-box {
  background: var(--turquoise-light);
  border-left: 4px solid var(--turquoise);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box.warning {
  background: #FFF8E6;
  border-color: #F0A500;
}
.info-box h4 { margin-bottom: 6px; color: var(--dark); }
.info-box p { margin: 0; font-size: 0.9rem; }

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,180,198,0.15) 0%, transparent 60%);
}
.cta-section h2 { color: var(--white); margin-bottom: 12px; }
.cta-section p { color: #B0C4CC; margin-bottom: 32px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === FOOTER === */
footer {
  background: #0F1E24;
  color: #8AACB8;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 0.875rem; margin-top: 12px; line-height: 1.6; }
footer h4 { color: var(--white); font-size: 0.875rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: #8AACB8; font-size: 0.875rem; transition: color 0.2s; }
footer ul li a:hover { color: var(--turquoise); }
.footer-bottom {
  border-top: 1px solid #1E3540;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom a { color: #8AACB8; }
.footer-bottom a:hover { color: var(--turquoise); }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 60px 0 48px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: #B0C4CC; font-size: 1.05rem; max-width: 600px; margin: 0 auto 24px; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #8AACB8;
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--turquoise); }

/* === ROUTE PAGE SPECIFICS === */
.route-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.sticky-card {
  position: sticky;
  top: 84px;
  background: var(--white);
  border: 2px solid var(--turquoise);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.sticky-card h3 { color: var(--dark); margin-bottom: 4px; }
.sticky-card .price-from { font-size: 0.8rem; color: var(--text-light); margin-bottom: 20px; }
.sticky-card .price-amount { font-size: 2rem; font-weight: 800; color: var(--green); }
.booking-steps { margin: 20px 0; }
.booking-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.875rem;
}
.step-num {
  width: 24px;
  height: 24px;
  background: var(--turquoise);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* === AFFILIATE DISCLOSURE === */
.affiliate-notice {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 24px 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-card { margin-top: 24px; }
  .hero-stats { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .route-detail-grid { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-items { gap: 16px; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* === PHOTOGRAPHY ADDITIONS === */
.photo-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.photo-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,46,53,0.85) 0%, rgba(26,46,53,0.3) 60%, transparent 100%);
}
.photo-overlay-text {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: white;
}

.img-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--dark);
}
.img-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  opacity: 0.92;
}
.img-card:hover img { transform: scale(1.04); opacity: 1; }

.route-card .img-card img { height: 180px; }

.hero-photo-col {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-lg);
}
.hero-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-col .photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  font-size: 0.85rem;
}
.hero-photo-col .photo-badge strong { display: block; font-size: 1.1rem; color: var(--turquoise); }

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.photo-strip img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.testimonial-card .reviewer-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  flex-shrink: 0;
}
.testimonial-author-row {
  display: flex;
  align-items: center;
}

.full-bleed-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip img { height: 130px; }
  .hero-photo-col { min-height: 260px; }
}
@media (max-width: 480px) {
  .photo-strip { grid-template-columns: 1fr; }
}
