/* =============================================
   CSS LAYERS
============================================= */
@layer base, components;

/* =============================================
   BASE (TOKENS + GLOBAL)
============================================= */
@layer base {

:root {
  /* BRAND */
  --brand-blue: #243f8f;
  --brand-blue-dark: #1b2f6b;
  --brand-gold: #f6a019;

  /* HERITAGE */
  --heritage-navy: #1f2a44;
  --heritage-indigo: #2c3e63;
  --heritage-gold: #c9a24d;
  --heritage-sand: #f4efe6;
  --heritage-white: #ffffff;

  /* BUTTON COLORS */
  --color-btn-queenstown: #257D68;
  --color-btn-queenstown-hover: #1F6958;
  --color-btn-osj: #FD9805;
  --color-btn-osj-hover: #E08604;
  --color-btn-night: #142D66;
  --color-btn-night-hover: #102552;
  --color-btn-aguada: #214096;
  --color-btn-aguada-hover: #1B357C;

  /* SEMANTIC */
  --color-text-primary: var(--heritage-navy);
  --color-text-inverse: var(--heritage-white);
  --color-bg-primary: var(--heritage-white);
}

/* GLOBAL RESET */
body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  margin: 0;
}

}

/* =============================================
   COMPONENTS
============================================= */
@layer components {

/* =========================
   LAYOUT
========================= */
.west-tour .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

/* =========================
   SPACING SYSTEM
========================= */
.section {
  padding: 4rem 0;
}

.section-sm {
  padding: 2rem 0;
}

.section-lg {
  padding: 6rem 0;
}
    
.section-sand {
  margin-bottom: 0;
}
    
/* SPACE AFTER TOUR DESCRIPTION → BEFORE CARDS*/
    .heritage-content + .section-sand {
        padding-top: 3rem;
    }  
    
/* SPACE AFTER CARDS → BEFORE CALENDAR */
    .section-sand + .section {
      padding-top: 5rem;
}
    
/* SPACE AFTER MAP → BEFORE RELATED */
    #map + .section {
      padding-top: 5rem;
}
    
/* Mobile */
@media (max-width: 768px) {
    
  .section {
    padding: 2rem 0;
}
    
/* Reduce space between Tour Description → Cards */
  .heritage-content + .section-sand {
    padding-top: 1rem;
  }

/* REMOVE EXTRA SPACE BETWEEN CARDS AND NEXT SECTION */
.section-sand {
  padding-bottom: 1rem;
}

/* Remove gap between FAQ and MAP */
#faq {
    margin-top: 0;
    margin-bottom: 0;
}

#map {
  margin-top: 0 !important;
}
    
.card {
  margin-bottom: 0.75rem;
}

#faq + #map {
  padding-top: 1.5rem;
}
    
/* Reduce space after blog/map → before related tours */
#map + .section {padding-top: 2rem;}

}
    
/* =========================
   NAV
========================= */
.site-header {
  background: var(--heritage-white);
  border-bottom: 1px solid #ddd;
  padding: 6px 0;  /* reduced */
}
  
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 0.5rem;
  gap: 0.5rem; 
}

.navbar-logo {
  height: 90px;
  margin: 8px 0; /* adds top + bottom space */
}

.navbar-brand-text {
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--brand-blue-dark);
  text-decoration: none !important;
}
    
.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.navbar-brand-wrap:hover {
  text-decoration: none !important;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-weight: 700;
  font-size: 1.5rem;
  margin-left: auto;
}

/* Desktop shows number */
.nav-phone-mobile { display: none; }

    
/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

 .site-header {
    padding: 15px 0px 15px 0px;
  }

.nav-wrap {
  display: flex;
  flex-direction: column; /* STACK ROWS */
  align-items: stretch;
  gap: 0.1rem; 
}
    
.navbar-brand-wrap {
  flex-direction: row;
  align-items: center;
}
    
.navbar-logo {height: 75px;}

.navbar-brand-text {
  font-weight: 550;
  font-size: 1.5rem;
  color: var(--brand-blue-dark);
  white-space: nowrap;
}
    
 .nav-links {
  display: flex;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.5rem;
  justify-content: flex-end; /* push to right */
  width: 100%;
}
    
}   

/* =========================
   HERO
========================= */
.hero-aguada {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 70vh;
  padding: 2rem;
  background: url("image/aguada_beach.jpg") center / cover no-repeat;
  color: white;
}
    
.hero-aguada + .heritage-content {
  margin-top: 0;
  padding-top: 2rem; /* keeps breathing room INSIDE instead */
}

.hero-content-box {
  max-width: 1035px;
  padding: 2rem 2.5rem;
  background: rgba(0,0,0,0.35);
  border-radius: 8px;
}

.hero-aguada h1 {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--brand-gold);
  text-shadow:
    2px 2px 0 rgba(0,0,0,0.6),
    4px 4px 10px rgba(0,0,0,0.5);
  white-space: nowrap;
}
    
.hero-subtitle {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: var(--heritage-white);
  max-width: 750px;
}

.hero-subtitle .highlight-includes {
  display: inline-block;
  color: var(--brand-gold);
  font-weight: 750;
  margin-left: 0.3rem;
  text-shadow:
    2px 2px 0 rgba(0,0,0,0.6),
    4px 4px 10px rgba(0,0,0,0.5);
}

/* META */
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: 1.6rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.hero-meta .btn-medium {
  display: block;
  width: 25%;
  padding: 1rem;
  font-size: 2rem;
  background: var(--brand-blue-dark);
  color: var(--heritage-white);
  text-align: center;
  border: none;
  border-radius: 6px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  transition: all 0.2s ease;
}

.hero-meta .btn-medium:hover {
  background: var(--brand-gold);
  color: var(--heritage-white);
  transform: translateY(-2px);
}

.hero-meta .yellow {
  color: #ffd700;
}
    
.hero-meta .highlight-includes {
  color: var(--brand-gold);
  font-weight: 800;
  letter-spacing: 0.3px;
}
    
.hero-meta a:hover .yellow {
  color: #ffffff;
}  

.hero-meta a {
  text-decoration: none;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

 .hero-aguada {
  margin-bottom: 0.1rem;
}   
    
.hero-aguada h1 {
  white-space: normal;      /* allow wrapping */
  max-width: 320px;         /* forces break into 2 lines */
  line-height: 1.2;
  font-size: 3.7rem;
  text-align: center;
  padding-bottom: .50rem;
}
    
.hero-subtitle {
  font-size: 1.2rem;
  text-align: center;
  max-width: 100%;
}

.hero-meta {
  font-size: 1.5rem;
}
    
.hero-meta .btn-medium {
  display: block;
  width: 70%;
}
    
}
    
/* =========================
 TOUR DESCRIPCION
========================= */
.heritage-content h1 {
   margin-top: 1rem;
}
 
.heritage-content {
   background-color: var(--heritage-sand);
   padding: 1rem 0;
   margin: -2rem;
}
    
.local-experience {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem; /* adds space before blockquote */
  padding: 1.2rem 1.4rem;
  background: rgba(201,162,77,0.08);
  border-left: 5px solid var(--heritage-gold);
  border-radius: 6px;
}
    
.signature-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
  margin-bottom: 0.5rem;
}

.local-experience .lead {
  font-size: 1.25rem;   /* larger, readable */
  line-height: 1.6;
  font-weight: 500;
  color: var(--heritage-navy);
}
    
.heritage-content blockquote {
  margin-top: 1.5rem;   /* space AFTER highlight */
  margin-bottom: 0;
}
  
/* =========================
   MOBILE
========================= */
    @media (max-width: 768px) {
     
 .heritage-content {
   margin: 0;
   padding-top: 1rem;
}
        
/* Tighten spacing before cards */
.heritage-content blockquote {
  margin-bottom: 1rem;
}
}    
    
/* =========================
   CARDS
========================= */
.card {
  background: var(--heritage-white);
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.card-title {
  color: var(--heritage-indigo);
  font-weight: 700;
}
    
.card-text {color: var(--brand-blue-dark); }
    
.card-trust {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heritage-indigo);
  margin-bottom: 0.5rem;
}

.card .btn,
.card .btn-primary,
.card .btn-outline-primary {
  background: var(--brand-gold) !important;
  border: 1px solid var(--brand-gold) !important;
  color: var(--heritage-navy) !important;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

.card .btn:hover,
.card .btn-primary:hover,
.card .btn-outline-primary:hover {
  background: var(--brand-blue-dark) !important;
  border-color: var(--brand-blue-dark) !important;
  color: var(--heritage-white) !important;
} 
        
/* =========================
   MOBILE
========================= */
    @media (max-width: 768px) {
        
.card-title {
  color: var(--heritage-indigo);
  font-size: 2rem;
  font-weight: 600 !important;
  }  
        
.card .fst-italic {
    font-size: 1.2rem;
  }

.section-sand {
  padding-top: 1.5rem;
  }       
}
    
/* =========================
   CALENDAR
========================= */
 
 #calendar h1 {
  color: var(--brand-blue-dark);
}   
    
/* =========================
   MAP
========================= */
@media (max-width: 768px) {
  #map {
    margin-top: 0; !important;
  } 
}
    
/* =========================
   BLOG CARD
========================= */
.blog-card {
  display: flex;
  gap: 1.5rem;
  border: 2px solid var(--heritage-navy);
  border-radius: 16px;
  padding: 1.5rem;
}

.blog-card h3,
.blog-card p {
  color: var(--heritage-navy);
}

.blog-card .btn {
  background: var(--brand-blue-dark);
  color: white;
}

.blog-card .btn:hover {
  background: var(--brand-gold);
  color: var(--brand-blue-dark);
}
    
.blog-card img {
  width: 100%;
  max-width: 250px;
  border-radius: 15px;
  height: auto;
  object-fit: cover;
}
    
.blog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
 
/* =============================================
   DESKTOP
============================================= */
@media (min-width: 992px) {
  .blog-content {
    padding-top: 1.5rem;
  }
}
    


/* =============================================
   TRUST BLOCK
============================================= */  
.tour-trust-block {
  background: var(--heritage-sand);
  border-left: 5px solid var(--brand-blue-dark);
  padding: 1.5rem;
  border-radius: 8px;

  max-width: 1000px;
  margin: 2rem auto 0 auto; /* centers horizontally */
}

.tour-trust-block h1 {
  font-weight: 600;
  color: var(--brand-blue-dark);
  margin-bottom: 0.3rem;
}
    
.tour-trust-block h4 {
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 0.3rem;
}

/* PHOTO */
.author-photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px; /* square with slight rounding */
  border: 4px solid var(--brand-gold);
}  
    
.author-cred {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--heritage-navy);
  margin-bottom: 0.8rem;
}

.author-trust {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Stars */
.review-stars {
  font-size: 1.1rem;
  color: var(--brand-gold);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.review-stars span {
  color: var(--heritage-navy);
  font-weight: 600;
  margin-left: 0.4rem;
}

/* Review Button */
.btn-review {
  display: inline-block;
  margin: 0.6rem 0 0.8rem 0;
  padding: 0.6rem 1.2rem;
  background: var(--brand-blue-dark);
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
}

.btn-review:hover {
  background: var(--brand-gold);
  color: #fff;
}
    
/* TRUST HEADER LAYOUT */
.trust-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

/* Optional: tighten text */
.trust-text h2 {
  margin-bottom: 0.2rem;
}
    
 /* CHECK AVAILABILITY CTA */
.cta-availability {
  text-align: center;
  margin: 1.5rem 0;
}

.btn-check-availability {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-size: 1.2rem;
  font-weight: 800;

  background: var(--brand-blue-dark);
  color: #fff;

  border-radius: 8px;
  text-decoration: none;
}

.btn-check-availability:hover {
  background: var(--brand-gold);
  color: #fff;
}  
    
/* TOUR LIST (BULLETS) */
.tour-bridge-list {
  margin: 0;
  padding-left: 1.2rem;
}

.tour-bridge-list li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
  color: var(--heritage-navy);
}

.tour-bridge-list a {
  font-weight: 800;
  color: var(--brand-blue-dark);
  text-decoration: none;
  border-bottom: 2px solid rgba(27, 47, 107, 0.3);
}

.tour-bridge-list a:hover {
  color: var(--brand-gold);
  border-bottom-color: var(--brand-gold);
}    
    
/* TOUR BRIDGE HEADINGS (UPDATED) */
.tour-bridge-title {
  color: var(--brand-blue-dark);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* Links inside */
.tour-bridge a {
  color: var(--brand-blue-dark);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(27, 47, 107, 0.3);
}

.tour-bridge a:hover {
  color: var(--brand-gold);
  border-bottom-color: var(--brand-gold);
}
    
/* =============================================
   FOOTER (MATCH YOUR ORIGINAL DESIGN)
============================================= */

.site-footer {
  background-color: var(--heritage-navy);
  color: var(--heritage-white);
  padding: 2rem 0;
  font-size: 0.95rem;
}

/* TITLE */
.site-footer h5 {
  font-weight: 600;
  color: var(--heritage-gold);
}

/* BASE LINKS */
.site-footer a {
  color: var(--heritage-white);
  text-decoration: none;
  transition: color 0.25s ease;
}

/* KEEP BOOTSTRAP list-unstyled (DO NOT override padding) */
.footer-links li {
  margin-bottom: 0.4rem;
}

/* LOCATION ICONS */
.footer-links li::before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--heritage-gold);
  margin-right: 6px;
}

/* REMOVE ICONS FROM NON-LIST ITEMS */
.footer-phone::before,
.footer-backtotop::before {
  content: none !important;
}

/* PHONE STYLE */
.footer-phone a {
  font-weight: 600;
}

/* PRIMARY HOVER (TOUR LINKS) */
.footer-links a:hover {
  color: var(--heritage-gold);
}

/* GLOBAL FOOTER HOVER */
.site-footer a:hover,
.site-footer a:focus {
  color: var(--heritage-gold);
}

/* SOCIAL ICONS */
.footer-social a {
  color: var(--heritage-gold);
  font-size: 1.1rem;
  margin-right: 0.75rem;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
  color: var(--heritage-gold);
  opacity: 0.85;
}

/* BACK TO TOP */
.footer-backtotop {
  display: inline-block;
  margin-top: 0.75rem;
}
   
/* =============================================
   FAQ
============================================= */
    
.btn-outline-primary.btn-lg {
  background: var(--brand-blue-dark) !important;
  color: var(--heritage-white) !important;
  border: 1px solid var(--brand-blue-dark) !important;
  font-size: 1.4rem;
  padding: 0.8rem 1.6rem;
  margin-top: auto;
}

.btn-outline-primary.btn-lg:hover {
  background: var(--brand-gold) !important;
  border-color: var(--brand-gold) !important;
  color: var(--heritage-white) !important;
}
    
/* FAQ Accordion – Corrected */
#faq .accordion-button {
  background-color: var(--brand-blue-dark);
  color: #ffffff;
  font-weight: 700;
  border: none;
}

/* Collapsed state */
#faq .accordion-button.collapsed {
  background-color: var(--brand-blue-dark);
  color: #ffffff;
}

/* Open state */
#faq .accordion-button:not(.collapsed) {
  background-color: var(--heritage-white);
  color: var(--brand-blue-dark);
  box-shadow: none;
}

/* Remove Bootstrap focus styles */
#faq .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* Body */
#faq .accordion-body {
  background-color: var(--heritage-white);
  color: var(--heritage-navy);
}   
    
/* =============================================
   MOBILE
============================================= */    
@media (max-width: 768px) {
  .blog-card {
    flex-direction: column;   /* stack vertically */
    text-align: center;
  }

  .blog-card img {
    display: block;
    margin: 0 auto 1rem auto;   /* centers */
    max-width: 240px;           /* slightly larger */
    width: 100%;
    border-radius: 16px;
  }

  .related-title {
    font-size: 1.6rem;
  }
 
.section-sand .btn {
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
  }

.section-sand .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  }

.section-sand {
  padding: 2rem 0;
  margin: 0;
  }
    
.card {
    margin-bottom: 0.5rem;
  }

.btn-outline-primary.btn-lg {
  margin-top: 1rem;
}
    
.tour-trust-block {
  max-width: 900px;
  margin: 0 auto 0 auto; /* centers horizontally */
  border-left: 0;
}
    
.trust-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-photo {
    margin-bottom: 0.8rem;
  }   
    
.author-cred {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--heritage-navy);
  margin-bottom: 0.8rem;
}
    
}

