/* Northwood Tours - Custom Styles with Foundation Framework */

:root {
  /* Canadian-inspired color palette */
  --primary: #1f497d;
  --primary-light: #2d6aa3;
  --primary-dark: #143358;
  --accent: #c1272d;
  --accent-light: #e63946;
  --secondary: #f4b942;
  --background: #ffffff;
  --background-alt: #f8f9fa;
  --text-primary: #2c3e50;
  --text-secondary: #5d6d7e;
  --border-color: #e0e4e8;
}

/* Typography */
body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-top: 2rem; }
h3 { font-size: 1.5rem; }

/* Header Styles */
.top-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar .menu-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.top-bar .menu > li > a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  transition: color 0.3s ease;
}

.top-bar .menu > li > a:hover {
  color: var(--secondary);
}

.menu .is-active > a {
  background: transparent;
  color: var(--secondary) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(31, 73, 125, 0.7) 0%, rgba(20, 51, 88, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2rem;
  max-width: 800px;
}

.hero-content h1 {
  color: #fff;
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.95);
}

/* Page Hero (smaller) */
.page-hero {
  height: 40vh;
  min-height: 300px;
}

.page-hero .hero-content h1 {
  font-size: 2.75rem;
}

/* Buttons */
.button {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(193, 39, 45, 0.4);
}

.button.secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.button.secondary:hover {
  background: #fff;
  color: var(--primary);
}

.button.hollow {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.button.hollow:hover {
  background: var(--primary);
  color: #fff;
}

/* Content Sections */
.content-section {
  padding: 4rem 0;
}

.content-section.alt-bg {
  background: var(--background-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent);
}

/* Cards */
.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.card-divider {
  background: var(--primary);
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  padding: 1rem 1.5rem;
}

.card-section {
  padding: 1.5rem;
}

/* Feature Grid */
.feature-box {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff;
  font-size: 2rem;
}

/* Destination Cards */
.destination-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 300px;
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-card:hover img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: #fff;
}

.destination-overlay h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial {
  background: #fff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.06);
  position: relative;
  margin-bottom: 2rem;
}

.testimonial::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: -20px;
  left: 20px;
  line-height: 1;
}

.testimonial blockquote {
  border: none;
  padding: 0;
  margin: 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.testimonial cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

/* FAQ Accordion */
.accordion-title {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--border-color);
}

.accordion-title:hover {
  background: var(--background-alt);
}

.accordion-content {
  color: var(--text-secondary);
}

/* Lists */
.content-list {
  list-style: none;
  padding: 0;
}

.content-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.content-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Image Styling */
.content-image {
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  margin: 1.5rem 0;
}

.image-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: rgba(255,255,255,0.9);
  padding: 4rem 0 2rem;
}

.site-footer h5 {
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.site-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

.site-footer p {
  color: rgba(255,255,255,0.8);
}

.site-footer a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
}

/* Callout Boxes */
.callout {
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.callout.warning {
  border-left-color: var(--secondary);
}

.callout.success {
  border-left-color: #27ae60;
}

/* Contact Form */
.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 2px solid var(--border-color);
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 73, 125, 0.1);
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--background-alt);
  padding: 1rem 0;
  margin: 0;
}

.breadcrumbs li {
  color: var(--text-secondary);
}

.breadcrumbs a {
  color: var(--primary);
}

/* Responsive Adjustments */
@media screen and (max-width: 639px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-section {
    height: 60vh;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .content-section {
    padding: 2.5rem 0;
  }
}

/* Print Styles */
@media print {
  .top-bar,
  .site-footer,
  .button {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

/* Canadian maple accent */
.maple-accent {
  color: var(--accent);
}
