/* Variables and Base Styles */
:root {
  /* Triad Color Scheme */
  --primary-color: #3C6E71;
  --primary-dark: #2D5052;
  --primary-light: #5A9EA1;
  
  --secondary-color: #D9594C;
  --secondary-dark: #B33D31;
  --secondary-light: #FF7A6E;
  
  --tertiary-color: #FFB347;
  --tertiary-dark: #D88F2A;
  --tertiary-light: #FFCB7A;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --dark-gray: #353535;
  --black: #1A1A1A;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows for Neuromorphism */
  --shadow-soft: 6px 6px 12px rgba(0, 0, 0, 0.1), -6px -6px 12px rgba(255, 255, 255, 0.8);
  --shadow-inner: inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.8);
  --shadow-hover: 4px 4px 8px rgba(0, 0, 0, 0.1), -4px -4px 8px rgba(255, 255, 255, 0.8);
}

/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  background-color: var(--light-gray);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

p {
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.section {
  padding: 4rem 1.5rem;
}

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

/* Section Titles */
.section-title {
  position: relative;
  margin-bottom: 3rem;
  color: var(--primary-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 1rem auto;
  border-radius: var(--radius-full);
}

.section-intro {
  text-align: center;
  margin-bottom: 3rem;
  font-size: var(--text-lg);
  color: var(--dark-gray);
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--shadow-soft);
  background-color: var(--white);
  color: var(--primary-dark);
  text-transform: uppercase;
  font-size: var(--text-base);
  letter-spacing: 1px;
  margin: 0.5rem;
}

.button:hover, .button:focus {
  color: #fff;
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.button:active {
  box-shadow: var(--shadow-inner);
  transform: translateY(0);
}

.primary-button {
  background-color: var(--primary-color);
  color: var(--white);
}

.primary-button:hover, .primary-button:focus {
  background-color: var(--primary-dark);
}

.secondary-button {
  background-color: var(--secondary-color);
  color: var(--white);
}

.secondary-button:hover, .secondary-button:focus {
  background-color: var(--secondary-dark);
}

.tertiary-button {
  background-color: var(--tertiary-color);
  color: var(--white);
}

.tertiary-button:hover, .tertiary-button:focus {
  background-color: var(--tertiary-dark);
}

input[type='submit'] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: var(--primary-color);
  color: var(--white);
  text-transform: uppercase;
  font-size: var(--text-base);
  letter-spacing: 1px;
}

input[type='submit']:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Read More Links */
.read-more {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: var(--secondary-dark);
  transform: translateX(5px);
}

.read-more::after {
  content: '→';
  display: inline-block;
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.image-container {
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.card:hover .image-container img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  width: 100%;
  text-align: center;
}

/* Navbar */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
}

.navbar-item {
  color: var(--dark-gray);
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar-item:hover {
  color: var(--primary-color);
}

.navbar-burger {
  color: var(--dark-gray);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: var(--white);
}

.hero-body {
  padding: 6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: var(--text-lg);
  line-height: 1.6;
}

.buttons-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* About Section */
.about-section {
  background-color: var(--white);
}

.about-text {
  font-size: var(--text-lg);
  margin-bottom: 2rem;
}

/* Seasons Section */
.seasons-section {
  background-color: var(--light-gray);
}

.season-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.season-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  padding: 0.3rem 0.8rem;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* Routes Section */
.routes-section {
  background-color: var(--white);
}

.route-slider {
  position: relative;
  margin: 4rem 0;
}

.route-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.route-button {
  margin-top: 1rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.prev-button,
.next-button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.prev-button:hover,
.next-button:hover {
  background-color: var(--primary-dark);
}

.slider-progress {
  height: 4px;
  background-color: var(--medium-gray);
  flex-grow: 1;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 33.33%; /* Start with first slide active */
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
  transition: transform 0.3s ease;
}

/* Resources Section */
.resources-section {
  background-color: var(--light-gray);
}

.resource-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  height: 100%;
  text-align: center;
}

.resource-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.5rem 1.5rem;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.resource-link:hover {
  background-color: var(--primary-color);
}

/* Methodology Section */
.methodology-section {
  background-color: var(--white);
}

.methodology-card {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.methodology-intro {
  text-align: center;
  margin-bottom: 3rem;
  font-size: var(--text-lg);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--light-gray);
}

.testimonial-carousel {
  position: relative;
  margin: 3rem 0;
}

.testimonial-slide {
  display: none;
  animation: slideIn 0.5s ease forwards;
}

.testimonial-slide.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-prev,
.carousel-next {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: var(--primary-dark);
}

.carousel-indicators {
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--medium-gray);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.indicator:hover {
  background-color: var(--primary-light);
  transform: scale(1.2);
}

.indicator.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.rating {
  color: var(--tertiary-color);
  font-size: 1.5rem;
  margin-top: 1rem;
}

/* Stories Section */
.stories-section {
  background-color: var(--white);
}

.story-card {
  background-color: var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-author {
  font-style: italic;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.story-text {
  margin-top: 1rem;
}

/* Awards Section */
.awards-section {
  background-color: var(--light-gray);
}

.award-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.award-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 4px solid var(--primary-light);
  padding: 5px;
}

.award-description {
  margin: 1rem 0;
}

.award-year {
  font-weight: 700;
  color: var(--primary-dark);
}

.certifications {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.certification-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.certification-logos img {
  height: 80px;
  width: 80px;
  object-fit: contain;
}

/* Portfolio Section */
.portfolio-section {
  background-color: var(--white);
}

.portfolio-gallery {
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 300px;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.overlay-content {
  color: var(--white);
}

.overlay-content h3 {
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--light-gray);
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.contact-details li {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.contact-details strong {
  margin-bottom: 0.25rem;
  color: var(--primary-dark);
}

.location-map {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.location-map img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.field {
  margin-bottom: 1.5rem;
}

.input, .textarea, .select select {
  border-radius: var(--radius-md);
  border: 1px solid var(--medium-gray);
  padding: 0.75rem;
  width: 100%;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.input:focus, .textarea:focus, .select select:focus {
  box-shadow: 0 0 0 3px rgba(60, 110, 113, 0.2);
  border-color: var(--primary-color);
  outline: none;
}

.submit-button {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 4rem 1.5rem 2rem;
}

.footer-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-subtitle {
  color: var(--light-gray);
  margin-bottom: 1rem;
  font-weight: 500;
}

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

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

.footer-links a {
  color: var(--medium-gray);
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  color: var(--medium-gray);
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.social-links a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.newsletter-form {
  margin-top: 1rem;
}

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

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-content {
  text-align: center;
  padding: 3rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  max-width: 600px;
}

.success-icon {
  font-size: 5rem;
  color: var(--tertiary-color);
  margin-bottom: 2rem;
}

/* Privacy & Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
}

.privacy-content, .terms-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .section {
    padding: 3rem 1rem;
  }
}

@media screen and (max-width: 767px) {
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .section-title {
    font-size: var(--text-2xl);
  }
  
  .buttons-container {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .social-links {
    flex-direction: column;
  }
  
  .certification-logos {
    gap: 1rem;
  }
}

/* Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease-in-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slideInLeft {
  animation: slideInLeft 1s ease-in-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slideInRight {
  animation: slideInRight 1s ease-in-out;
}