/* ==========================================================================
   STEPHANIE'S BURGUNDY WINE TOURS - MASTER FLUID & RESPONSIVE STYLESHEET
   Shared CSS for all English and French pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COLOR PALETTE & DESIGN SYSTEM VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Wine Inspired Colors */
  --color-burgundy: #5B132B;          /* Pinot Noir Deep Burgundy */
  --color-burgundy-hover: #3D0C1C;    /* Darker Pinot Noir for hover states */
  --color-vine-green: #2D5A27;        /* Vine Leaf Green */
  --color-vine-green-hover: #1E3D1A;  /* Darker Leaf Green */
  --color-chardonnay: #D4AF37;        /* Chardonnay Gold Accent */
  --color-chardonnay-light: #FBF7EE;  /* Warm Gold Background Tint */
  
  /* Neutral Colors */
  --color-bg-page: #F8F6F2;           /* Soft Cream Background */
  --color-card-bg: #FFFFFF;           /* White Card Content Area */
  --color-text-main: #2C2C2C;         /* Readable Charcoal Body Text */
  --color-text-muted: #666666;        /* Subdued Secondary Text */
  --color-border: #EADDC9;            /* Subtle Gold-Beige Border */

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   2. BASE RESET & FLUID CONTAINERS
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  line-height: 1.6;
  padding: 20px 15px;
}

/* Fluid Responsive Container */
.site-card {
  width: 92%;
  max-width: 1400px;
  margin: 20px auto;
  background: var(--color-card-bg);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 35px 45px;
}

/* --------------------------------------------------------------------------
   3. TWO-ROW HEADER & BRANDING
   -------------------------------------------------------------------------- */
header {
  border-bottom: 2px solid var(--color-chardonnay-light);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

/* Header Row 1: Brand Title (Left) & Language Selector (Right) */
.header-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.brand-title {
  font-family: var(--font-heading);
  color: var(--color-burgundy);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
}

/* Language Switcher on Top-Right */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-chardonnay-light);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-switcher a {
  color: var(--color-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--color-burgundy);
  font-weight: 700;
}

.lang-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

/* Return to Homepage link (for inner subpages) */
.home-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-vine-green);
  text-decoration: none;
  border-bottom: 1px solid var(--color-vine-green);
}

/* --------------------------------------------------------------------------
   4. HEADER ROW 2: FULL-WIDTH NAVIGATION MENU
   -------------------------------------------------------------------------- */
nav {
  width: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 10px 20px;
  background-color: #F4F1EA;
  color: var(--color-text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-list a:hover {
  background-color: var(--color-vine-green);
  color: #FFFFFF;
}

.nav-list a.active {
  background-color: var(--color-burgundy);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   5. HEADINGS & CONTENT TYPOGRAPHY
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  font-family: var(--font-heading);
  color: var(--color-burgundy);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  margin: 35px 0 20px 0;
  position: relative;
}

.section-header::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background-color: var(--color-chardonnay);
  margin: 10px auto 0 auto;
}

.hero-intro {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  text-align: center;
  line-height: 1.8;
  background-color: var(--color-chardonnay-light);
  padding: 28px 35px;
  border-left: 5px solid var(--color-chardonnay);
  border-radius: 6px;
  margin-bottom: 35px;
}

/* Standard Bulleted Content */
.content-list {
  list-style: none;
  margin-bottom: 35px;
}

.content-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
}

.content-list li::before {
  content: "•";
  position: absolute;
  left: 10px;
  top: -2px;
  color: var(--color-vine-green);
  font-size: 1.6rem;
}

/* --------------------------------------------------------------------------
   6. PRICING BOXES & DETAILS
   -------------------------------------------------------------------------- */
.pricing-box {
  background: #FAF8F5;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}

.pricing-title {
  font-family: var(--font-heading);
  color: var(--color-burgundy);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.price-tier {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 8px 0;
}

.price-supplement {
  display: inline-block;
  margin-top: 15px;
  font-size: 1rem;
  color: var(--color-vine-green);
  font-weight: 600;
  background: #EAF2E8;
  padding: 8px 18px;
  border-radius: 20px;
}

.tour-notes {
  font-style: italic;
  font-size: 1rem;
  text-align: center;
  color: var(--color-text-muted);
  margin: 30px 0;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   7. FLUID RESPONSIVE IMAGE GALLERIES
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  gap: 15px;
  margin: 30px 0;
  width: 100%;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* 4-Image Desktop Grid */
.gallery-4-col {
  grid-template-columns: repeat(4, 1fr);
}

/* 5-Image Desktop Grid */
.gallery-5-col {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-5-col img {
  height: 150px;
}

/* 6-Image Desktop Grid */
.gallery-6-col {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-6-col img {
  height: 140px;
}

/* --------------------------------------------------------------------------
   8. FORM STYLING (For contact.html)
   -------------------------------------------------------------------------- */
.form-container {
  background: #FAF8F5;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 35px;
  margin-top: 25px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-main);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #CCC;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-burgundy);
  box-shadow: 0 0 0 3px rgba(91, 19, 43, 0.15);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  cursor: pointer;
}

.captcha-box {
  background: #EAEAEA;
  border: 1px dashed #AAA;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.btn-submit {
  width: 100%;
  background-color: var(--color-burgundy);
  color: #FFFFFF;
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-submit:hover {
  background-color: var(--color-burgundy-hover);
}

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
footer {
  text-align: center;
  border-top: 1px solid #EAEAEA;
  padding-top: 30px;
  margin-top: 40px;
}

.footer-btn {
  display: inline-block;
  background-color: var(--color-burgundy);
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 12px;
  transition: background-color 0.2s ease;
}

.footer-btn:hover {
  background-color: var(--color-burgundy-hover);
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE BREAKPOINTS (TABLETS & MOBILE)
   -------------------------------------------------------------------------- */

/* Medium Screens (Tablets / Laptops under 1024px) */
@media (max-width: 1024px) {
  .header-row-top {
    flex-direction: column;
    text-align: center;
  }

  .gallery-4-col,
  .gallery-5-col {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-6-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Devices (Phones under 650px) */
@media (max-width: 650px) {
  body {
    padding: 10px 5px;
  }

  .site-card {
    width: 100%;
    padding: 25px 15px;
    border-radius: 8px;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    text-align: center;
    padding: 10px;
  }

  .hero-intro {
    padding: 20px 18px;
  }

  .gallery-4-col,
  .gallery-5-col,
  .gallery-6-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery img,
  .gallery-5-col img,
  .gallery-6-col img {
    height: 120px;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   TESTIMONIALS & TRIPADVISOR REVIEWS
   -------------------------------------------------------------------------- */
.reviews-section {
  margin: 40px 0;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.review-card {
  background: var(--color-chardonnay-light);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.stars {
  color: #00AA6C; /* Official TripAdvisor Green Star Color */
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.review-quote {
  font-style: italic;
  font-size: 0.98rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.review-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-burgundy);
  text-decoration: none;
}

.review-link:hover {
  text-decoration: underline;
}

.tripadvisor-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #00AA6C;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 25px;
  transition: background-color 0.2s ease;
}

.tripadvisor-btn:hover {
  background-color: #008856;
}