/* Go Tours Canada - Optimized Styles */

/* CSS Variables - Easy to maintain and update */
:root {
  --brand: #F4D03F;
  --brand-hover: #e8c547;
  --ink: #2c3e50;
  --ink-light: #4a5568;
  --ink-lighter: #5a6470;
  --muted: #6c757d;
  --bg: #fffdf4;
  --white: #ffffff;
  --border: #e9ecef;
  --border-light: #ececec;
  --shadow-sm: 0 6px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 40px 80px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --font-main: 'Open Sans', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background: var(--white);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 48vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: url('/wp-content/uploads/2025/09/Toronto-Teambuilding-Distillery-District-Evening-Walking-Tour.png') center/cover,
              linear-gradient(135deg, #4a5568 0%, #2d3748 50%, #1a202c 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(44,62,80,0.5));
}

.hero > div {
  position: relative;
  z-index: 1;
  max-width: 1400px !important;
  margin: 30px !important;
  padding: 24px 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 3rem;
  margin: 0 0 12px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero p {
  color: #e2e8f0;
  font-size: 1.18rem;
  margin: 0 0 32px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Hero Navigation */
.hero-nav {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
}

.hero-nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-nav-link:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.hero-nav-link.primary {
  background: var(--brand);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(244,208,63,0.3);
}

.hero-nav-link.primary:hover {
  background: var(--brand-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(244,208,63,0.4);
}

/* Section Layout */
.section {
  padding: var(--spacing-md);
}

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

.section h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin: 0 0 10px;
}

.section p.lead {
  color: var(--muted);
  max-width: 1200px;
  font-size: 1.5rem;
}

/* Experience Cards */
.experiences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.experience-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.3);
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  position: relative;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-16px) scale(1.03);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(244,208,63,0.3);
}

.experience-card:hover::before {
  opacity: 1;
}

.price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  color: #2d3748;
  padding: 8px 16px;
  border-radius: 25px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.85rem;
  box-shadow: 0 8px 20px rgba(244,208,63,0.3);
  z-index: 10;
  backdrop-filter: blur(10px);
}

/* Card Images */
.card-images {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
}

.card-images.reverse {
  grid-template-columns: 120px 1fr;
}

.main-image {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.side-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.side-image {
  height: 86px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

/* Card Content */
.card-content {
  padding: 24px 28px 32px;
}

.card-title {
  font-family: var(--font-heading);
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #2d3748;
}

.card-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-description {
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

.card-description-second {
  color: var(--ink-lighter);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-style: italic;
}

/* Card Features */
.card-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-features li {
  background: rgba(244,208,63,0.12);
  border: 1px solid rgba(244,208,63,0.25);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d3748;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.card-features li:hover {
  background: rgba(244,208,63,0.2);
  transform: translateY(-1px);
}

.feature-check {
  color: #16a085;
  font-weight: 900;
  font-size: 0.9rem;
}

/* Card CTAs */
.card-ctas {
  display: flex;
  gap: 12px;
  margin-top: var(--spacing-lg);
}

.card-cta {
  flex: 1;
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
  color: #2d3748;
  padding: 16px 20px;
  border-radius: 50px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(244,208,63,0.25);
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(244,208,63,0.35);
}

.card-cta:hover::before {
  opacity: 1;
}

.card-cta-secondary {
  flex: 1;
  display: block;
  text-align: center;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  color: #2d3748;
  padding: 16px 20px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid rgba(244,208,63,0.3);
  transition: all 0.3s ease;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-cta-secondary:hover {
  background: rgba(244,208,63,0.1);
  border-color: rgba(244,208,63,0.5);
  transform: translateY(-2px);
}

/* Full Ride Section */
.fr-wrap {
  background: linear-gradient(180deg, var(--white), #fffef6);
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.fr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pill {
  display: inline-block;
  background: #fff3bf;
  border: 1px solid #f5df7b;
  color: #7a5d00;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

.fr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.fr-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.fr-card .fr-media {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.fr-card .fr-pad {
  padding: 14px;
}

.fr-card h4 {
  font-family: var(--font-heading);
  margin: 0 0 6px;
}

.fr-dur {
  font-weight: 800;
  color: var(--ink);
  opacity: 0.8;
  font-size: 0.9rem;
}

.fr-desc {
  color: #495057;
}

.fr-floating {
  position: relative;
  height: 0;
  margin-top: 30px;
}

.fr-float {
  position: absolute;
  bottom: -20px;
  background: var(--white);
  border: 1px solid #f0e3a0;
  box-shadow: var(--shadow-sm);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.fr-float .tick {
  color: #2ecc71;
}

.fr-float.one { left: 8%; }
.fr-float.two { left: 50%; transform: translateX(-50%); }
.fr-float.three { right: 8%; }

.flagship-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
  color: #2d3748;
  padding: 18px 48px;
  border-radius: 60px;
  font-family: var(--font-heading);
  font-weight: 900;
  text-decoration: none;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 16px 32px rgba(244,208,63,0.3), 0 0 0 1px rgba(255,255,255,0.3);
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.flagship-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.flagship-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 24px 48px rgba(244,208,63,0.4), 0 0 0 1px rgba(255,255,255,0.4);
}

.flagship-cta:hover::before {
  opacity: 1;
}

/* Partners Section */
.partners {
  background: linear-gradient(180deg, var(--white), var(--bg));
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: var(--spacing-md);
}

.partner {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
  position: relative;
}

.partner:hover {
  transform: translateY(-2px);
}

.partner.premium {
  background: linear-gradient(135deg, #fff8f0 0%, #fff5e6 100%);
  border: 2px solid #f0ad4e;
}

.premium-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #f0ad4e, #ec971f);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  z-index: 15;
}

.thumb-vert {
  background-size: cover;
  background-position: center;
  min-height: 125px;
}

.p-info {
  padding: 14px;
}

.p-title {
  font-family: var(--font-heading);
  font-weight: 800;
  margin: 0 0 4px;
}

.p-desc {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 8px;
}

/* FAQ Section */
.faq-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-header h2 {
  font-size: 32px;
  color: var(--ink);
  margin-bottom: 15px;
  font-weight: bold;
}

.faq-header p {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  border-top: 3px solid #b8860b;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.faq-question {
  background: #f8f9fa;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  color: var(--ink);
}

.faq-question:hover {
  background: #e9ecef;
}

.faq-question.active {
  background: #f1c40f;
  color: var(--ink);
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  color: #666;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
  color: var(--ink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--white);
}

.faq-answer.active {
  max-height: 500px;
}

.faq-answer-content {
  padding: 25px;
  color: #555;
  line-height: 1.6;
}

.faq-answer-content strong {
  color: var(--ink);
}

/* Calculator Section - Simplified for WordPress */
.gtc-calculator-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.gtc-quote-form {
  background: #f8f8f8;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-left: 6px solid var(--brand);
}

.gtc-form-header {
  text-align: center;
  margin-bottom: 35px;
}

.gtc-form-header h2 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: bold;
}

.gtc-form-header p {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

/* SIMPLIFIED: Single column layout for WordPress compatibility */
.gtc-form-layout {
  display: block;
}

.gtc-calculator-sidebar {
  position: static;
  margin-bottom: 30px;
  z-index: 50;
}

.gtc-form-row {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

.gtc-form-row.single {
  flex-direction: column;
}

.gtc-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gtc-form-group.full-width {
  width: 100%;
}

.gtc-form-group label {
  font-weight: bold;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 14px;
}

.gtc-required::after {
  content: " *";
  color: #e74c3c;
}

.gtc-form-group input,
.gtc-form-group select,
.gtc-form-group textarea {
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background: var(--white);
}

.gtc-form-group input:focus,
.gtc-form-group select:focus,
.gtc-form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.1);
}

.gtc-form-group textarea {
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}

.gtc-tasting-section {
  margin: 20px 0;
  padding: 20px;
  background: rgba(244, 208, 63, 0.08);
  border: 1px solid rgba(244, 208, 63, 0.2);
  border-radius: 12px;
}

.gtc-tasting-section h4 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 16px;
  color: #2d3748;
  font-weight: bold;
}

.gtc-tasting-section p {
  margin: 0 0 var(--spacing-md);
  font-size: 14px;
  color: var(--muted);
}

.gtc-tasting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.gtc-tasting-option {
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gtc-tasting-option:hover {
  border-color: var(--brand);
  background: #fffef7;
}

.gtc-tasting-option input[type="checkbox"] {
  margin-right: 10px;
  margin-bottom: 0;
  width: auto;
}

.gtc-tasting-option.selected {
  border-color: var(--brand);
  background: #fffef7;
}

.gtc-option-section {
  margin: 20px 0;
  padding: var(--spacing-md);
  background: #f8f9fa;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.gtc-option-section h4 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: #2d3748;
  font-weight: bold;
}

.gtc-option-item {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-size: 14px;
  cursor: pointer;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.gtc-option-item:hover {
  background: rgba(244, 208, 63, 0.1);
  border-color: rgba(244, 208, 63, 0.3);
}

.gtc-option-item input[type="checkbox"] {
  margin-right: 12px;
  width: auto;
}

.gtc-price-calculator-sidebar {
  margin: 0;
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
  border-radius: var(--radius-md);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(244,208,63,0.25);
  display: block;
}

.gtc-price-breakdown {
  display: grid;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
  font-size: 15px;
}

.gtc-price-line {
  display: flex;
  justify-content: space-between;
}

.gtc-submit-section {
  text-align: center;
  margin-top: 35px;
}

.gtc-submit-btn {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
  color: #2d3748;
  padding: 16px 48px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 12px 24px rgba(244, 208, 63, 0.25);
}

.gtc-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(244, 208, 63, 0.35);
}

.gtc-fine-print {
  color: #666;
  font-size: 14px;
  margin-top: 20px;
  line-height: 1.4;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 4px;
  border-left: 3px solid var(--brand);
}

/* Responsive Styles */
@media (max-width: 1100px) {
  .card-images,
  .card-images.reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .experiences-grid,
  .partner-grid,
  .fr-grid {
    grid-template-columns: 1fr;
  }
  
  .card-features {
    justify-content: center;
  }
  
  .card-ctas {
    flex-direction: column;
    gap: 8px;
  }
  
  .fr-floating {
    height: auto;
    margin-top: 30px;
  }
  
  .fr-float {
    position: static;
    display: block;
    margin: 8px auto;
    white-space: normal;
    max-width: 300px;
  }
  
  .hero-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .hero-nav-link {
    min-width: 200px;
    text-align: center;
  }
  
  .price-badge {
    top: 16px;
    right: 16px;
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .faq-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .faq-section {
    padding: 0 15px;
  }
  
  .faq-header h2 {
    font-size: 28px;
  }
  
  .faq-header p {
    font-size: 16px;
  }
  
  .faq-question {
    padding: 15px 20px;
    font-size: 15px;
  }
  
  .faq-answer-content {
    padding: 20px;
  }
  
  .gtc-calculator-section {
    padding: 0 15px;
  }
  
  .gtc-quote-form {
    padding: 25px 20px;
    margin: 20px 0;
  }
  
  .gtc-form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .gtc-form-header h2 {
    font-size: 24px;
  }
  
  .gtc-tasting-grid {
    grid-template-columns: 1fr;
  }
  
  .gtc-submit-btn {
    width: 100%;
    padding: 15px 20px;
  }
}
/* Side-by-side layout for desktop */
@media (min-width: 1400px) {
  .gtc-calculator-sidebar {
    top: 150px !important;
  }
}

@media (min-width: 980px) and (max-width: 1399px) {
  .gtc-calculator-sidebar {
    top: 200px !important;
  }
}
@media (min-width: 980px) {
  .gtc-form-layout {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 40px !important;
    align-items: start !important;
  }
  
  .gtc-calculator-sidebar {
    position: sticky !important;
    margin-bottom: 0 !important;
    z-index: 150 !important;
  }
  
  .gtc-price-calculator-sidebar {
    z-index: 150 !important;
  }
}