/* 
* Jurvaline Nordic Walking Club
* Main Stylesheet
*/

/* Importing fonts */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Work+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    /* Colors */
    --color-white: #F8FAFC;
    --color-light-green: #E5F4EC;
    --color-green: #10B981;
    --color-blue: #3B82F6;
    --color-dark-blue: #1E40AF;
    --color-dark: #1E293B;
    --color-gray: #64748B;
    --color-light-gray: #CBD5E1;

    /* Typography */
    --font-primary: 'Work Sans', sans-serif;
    --font-secondary: 'EB Garamond', serif;
    
    /* Spacing */
    --space-xs: 0.25rem;  /* 4px */
    --space-sm: 0.5rem;   /* 8px */
    --space-md: 1rem;     /* 16px */
    --space-lg: 1.5rem;   /* 24px */
    --space-xl: 2rem;     /* 32px */
    --space-2xl: 3rem;    /* 48px */
    --space-3xl: 4rem;    /* 64px */
    
    /* Border Radius */
    --radius-sm: 0.25rem;  /* 4px */
    --radius-md: 0.5rem;   /* 8px */
    --radius-lg: 1rem;     /* 16px */
    --radius-xl: 1.5rem;   /* 24px */
    --radius-full: 9999px; /* For circular elements */
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Breakpoints */
    --breakpoint-sm: 640px;   /* Small devices */
    --breakpoint-md: 768px;   /* Medium devices */
    --breakpoint-lg: 1024px;  /* Large devices */
    --breakpoint-xl: 1280px;  /* Extra large devices */
}

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    background-color: var(--color-white);
    color: var(--color-dark);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2310b981' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-attachment: fixed;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-dark-blue);
}

ul, ol {
    list-style: none;
}

/* Accessibility */
.skip-link {
    background-color: var(--color-green);
    color: var(--color-white);
    font-weight: 600;
    left: 50%;
    padding: var(--space-md) var(--space-lg);
    position: absolute;
    top: -400%;
    transform: translateX(-50%);
    transition: top var(--transition-fast);
    z-index: 100;
}

.skip-link:focus {
    outline: 2px solid var(--color-blue);
    outline-offset: 4px;
    top: 0;
}

/* Container */
.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
    width: 100%;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.125rem;
}

p {
    margin-bottom: var(--space-md);
}

.section-title {
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    position: relative;
    text-align: center;
    z-index: 1;
}

.section-title::before {
    background-color: var(--color-light-green);
    border-radius: var(--radius-lg);
    content: "";
    height: 0.8em;
    left: -0.25em;
    position: absolute;
    top: 0.2em;
    width: 2.5em;
    z-index: -1;
}

.section-title--centered {
    text-align: center;
}

.section-title--centered::before {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--color-gray);
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: var(--space-xl);
    text-align: center;
}

/* Buttons */
.button {
    align-items: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    text-align: center;
    transition: all var(--transition-fast);
}

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

.button--primary:hover, .button--primary:focus {
    background-color: #0CA672;
    color: var(--color-white);
    transform: translateY(-2px);
}

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

.button--secondary:hover, .button--secondary:focus {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    transform: translateY(-2px);
}

.button--full {
    width: 100%;
}

/* Header & Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
}

.header__container {
    align-items: center;
    display: flex;
    height: 4.5rem;
    justify-content: space-between;
}

.logo {
    display: block;
    height: 2.5rem;
    width: auto;
}

.logo__image {
    height: 100%;
    width: auto;
}

.nav {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
}

.nav.is-active {
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    display: block;
}

.nav__list {
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
}

.nav__item {
    margin-bottom: var(--space-md);
}

.nav__link {
    color: var(--color-dark);
    display: block;
    font-size: 1.125rem;
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    transition: color var(--transition-fast);
}

.nav__link:hover, .nav__link:focus {
    color: var(--color-green);
}

.nav-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    height: 2.5rem;
    position: relative;
    width: 2.5rem;
}

.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after {
    background-color: var(--color-dark);
    height: 2px;
    position: absolute;
    transition: all var(--transition-fast);
    width: 1.5rem;
}

.nav-toggle__icon {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.nav-toggle__icon::before, .nav-toggle__icon::after {
    content: "";
    left: 0;
}

.nav-toggle__icon::before {
    top: -8px;
}

.nav-toggle__icon::after {
    bottom: -8px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
    
    .nav {
        display: block;
        position: static;
        width: auto;
    }
    
    .nav__list {
        flex-direction: row;
        padding: 0;
    }
    
    .nav__item {
        margin-bottom: 0;
        margin-left: var(--space-lg);
    }
    
    .nav__link {
        font-size: 1rem;
        padding: var(--space-sm);
    }
}

/* Hero Section */
.hero {
    background-color: var(--color-light-green);
    margin-top: 4.5rem;
    padding: var(--space-3xl) 0;
    position: relative;
}

.hero::before {
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.1'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6h-2c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h-2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6h2c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.5;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.hero__container {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.hero__content {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.hero__title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.hero__tagline {
    color: var(--color-green);
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.hero__text {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.hero__image-wrapper {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    height: 0;
    overflow: hidden;
    padding-bottom: 66.67%;
    position: relative;
    width: 100%;
}

.hero__image {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .hero {
        padding: var(--space-3xl) 0;
    }
    
    .hero__container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .hero__content {
        flex: 0 0 45%;
        margin-bottom: 0;
        margin-right: var(--space-xl);
        text-align: left;
    }
    
    .hero__image-wrapper {
        flex: 0 0 50%;
        height: auto;
        padding-bottom: 33.33%;
    }
}

/* Philosophy Section */
.philosophy {
    padding: var(--space-3xl) 0;
}

.philosophy__container {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.philosophy__image-wrapper {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: 0;
    margin-bottom: var(--space-xl);
    overflow: hidden;
    padding-bottom: 66.67%;
    position: relative;
    width: 100%;
}

.philosophy__image {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.philosophy__content {
    width: 100%;
}

.philosophy__text {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.philosophy__quote {
    background-color: var(--color-light-green);
    border-left: 4px solid var(--color-green);
    border-radius: var(--radius-md);
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
}

.philosophy__quote p {
    margin-bottom: var(--space-sm);
}

.philosophy__quote cite {
    color: var(--color-gray);
    display: block;
    font-size: 1rem;
    font-style: normal;
}

@media (min-width: 768px) {
    .philosophy__container {
        flex-direction: row;
    }
    
    .philosophy__image-wrapper {
        flex: 0 0 40%;
        margin-bottom: 0;
        margin-right: var(--space-xl);
        padding-bottom: 30%;
    }
    
    .philosophy__content {
        flex: 0 0 55%;
    }
}

/* Coaches Section */
.coaches {
    background-color: var(--color-white);
    padding: var(--space-3xl) 0;
}

.coaches__carousel {
    align-items: center;
    display: flex;
    margin-bottom: var(--space-lg);
    position: relative;
}

.carousel-button {
    align-items: center;
    background-color: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    height: 3rem;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all var(--transition-fast);
    width: 3rem;
    z-index: 10;
}

.carousel-button:hover, .carousel-button:focus {
    background-color: var(--color-green);
    border-color: var(--color-green);
}

.carousel-button:hover .icon, .carousel-button:focus .icon {
    fill: var(--color-white);
}

.carousel-button--prev {
    left: -1.5rem;
}

.carousel-button--next {
    right: -1.5rem;
}

.icon {
    fill: var(--color-dark);
    height: 1.5rem;
    transition: fill var(--transition-fast);
    width: 1.5rem;
}

.coaches__slider {
    display: grid;
    gap: var(--space-lg);
    width: 100%;
}

@media (min-width: 768px) {
    .coaches__slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

.coach-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-fast);
}

.coach-card__image-wrapper {
    height: 0;
    padding-bottom: 75%;
    position: relative;
    width: 100%;
}

.coach-card__image {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.coach-card__content {
    padding: var(--space-lg);
}

.coach-card__name {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.coach-card__certification {
    color: var(--color-green);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.coach-card__bio {
    color: var(--color-gray);
}

.coaches__indicators {
    align-items: center;
    display: flex;
    justify-content: center;
}

.coaches__indicator {
    background-color: var(--color-light-gray);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    height: 0.75rem;
    margin: 0 var(--space-xs);
    transition: all var(--transition-fast);
    width: 0.75rem;
}

.coaches__indicator--active, .coaches__indicator:hover, .coaches__indicator:focus {
    background-color: var(--color-green);
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .coach-card {
        flex: 0 0 calc(50% - var(--space-lg));
    }
}

@media (min-width: 1024px) {
    .coach-card {
        flex: 0 0 calc(33.333% - var(--space-lg));
    }
    
    .carousel-button--prev {
        left: -2rem;
    }
    
    .carousel-button--next {
        right: -2rem;
    }
}

/* Benefits Section */
.benefits {
    background-color: var(--color-light-green);
    padding: var(--space-3xl) 0;
}

.benefits__grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}

.benefit-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg);
    text-align: center;
    transition: transform var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card__icon-wrapper {
    align-items: center;
    background-color: var(--color-light-green);
    border-radius: var(--radius-md);
    display: flex;
    height: 4rem;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    width: 4rem;
}

.benefit-card__icon {
    fill: var(--color-green);
    height: 2rem;
    width: 2rem;
}

.benefit-card__title {
    color: var(--color-dark);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.benefit-card__text {
    color: var(--color-gray);
}

@media (min-width: 768px) {
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Walks Section */
.walks {
    padding: var(--space-3xl) 0;
}

.walks__filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.walks__filter {
    background-color: transparent;
    border: 2px solid var(--color-light-gray);
    border-radius: var(--radius-full);
    color: var(--color-gray);
    cursor: pointer;
    font-weight: 500;
    margin: 0 var(--space-xs) var(--space-sm);
    padding: var(--space-xs) var(--space-lg);
    transition: all var(--transition-fast);
}

.walks__filter:hover, .walks__filter:focus, .walks__filter--active {
    background-color: var(--color-green);
    border-color: var(--color-green);
    color: var(--color-white);
}

.walks__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.walk-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.walk-card:hover {
    transform: translateY(-5px);
}

.walk-card__date {
    align-items: center;
    background-color: var(--color-green);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-md);
    text-align: center;
    width: 5rem;
}

.walk-card__day {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.walk-card__month {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.walk-card__content {
    flex: 1;
    padding: var(--space-lg);
}

.walk-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.walk-card__details {
    color: var(--color-gray);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.walk-card__time, .walk-card__location, .walk-card__level {
    display: flex;
    align-items: center;
}

.walk-card__time::before, .walk-card__location::before, .walk-card__level::before {
    background-color: var(--color-green);
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 0.5rem;
    margin-right: var(--space-xs);
    width: 0.5rem;
}

.walk-card__description {
    color: var(--color-gray);
    margin-bottom: 0;
}

.walk-card__participants {
    align-items: center;
    background-color: var(--color-light-green);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-md);
    text-align: center;
    width: 5rem;
}

.walk-card__count {
    color: var(--color-dark);
    font-size: 1.25rem;
    font-weight: 700;
}

.walk-card__label {
    color: var(--color-gray);
    font-size: 0.75rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--color-white);
    padding: var(--space-3xl) 0;
}

.testimonials__collage {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}

.testimonial-card {
    background-color: var(--color-light-green);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.testimonial-card--featured {
    display: flex;
    flex-direction: column;
}

.testimonial-card__image-wrapper {
    height: 0;
    padding-bottom: 66.67%;
    position: relative;
    width: 100%;
}

.testimonial-card__image {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.testimonial-card__content {
    flex: 1;
    padding: var(--space-lg);
}

.testimonial-card__text {
    font-family: var(--font-secondary);
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: var(--space-md);
}

.testimonial-card__author {
    color: var(--color-gray);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .testimonials__collage {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
    }
    
    .testimonial-card--featured {
        flex-direction: row;
        grid-row: span 2;
    }
    
    .testimonial-card--featured .testimonial-card__image-wrapper {
        flex: 0 0 40%;
        height: auto;
        padding-bottom: 0;
    }
}

/* Routes Section */
.routes {
    background-color: var(--color-light-green);
    padding: var(--space-3xl) 0;
}

.routes__grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}

.route-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.route-card:hover {
    transform: translateY(-5px);
}

.route-card__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-lg) var(--space-md);
}

.route-card__title {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.route-card__difficulty {
    display: flex;
}

.route-card__level-dot {
    background-color: var(--color-light-gray);
    border-radius: 50%;
    height: 0.75rem;
    margin-left: var(--space-xs);
    width: 0.75rem;
}

.route-card__level-dot--active {
    background-color: var(--color-green);
}

.route-card--beginner .route-card__level-dot--active {
    background-color: #22C55E;
}

.route-card--intermediate .route-card__level-dot--active {
    background-color: #F59E0B;
}

.route-card--advanced .route-card__level-dot--active {
    background-color: #EF4444;
}

.route-card__image-wrapper {
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    width: 100%;
}

.route-card__image {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.route-card__content {
    padding: var(--space-lg);
}

.route-card__features {
    margin-bottom: var(--space-lg);
}

.route-card__feature {
    align-items: center;
    display: flex;
    margin-bottom: var(--space-sm);
}

.route-card__icon {
    fill: var(--color-green);
    height: 1.25rem;
    margin-right: var(--space-sm);
    width: 1.25rem;
}

.route-card--beginner .route-card__icon {
    fill: #22C55E;
}

.route-card--intermediate .route-card__icon {
    fill: #F59E0B;
}

.route-card--advanced .route-card__icon {
    fill: #EF4444;
}

.route-card__description {
    color: var(--color-gray);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .routes__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .routes__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Join Process Section */
.join {
    padding: var(--space-3xl) 0;
}

.join__timeline {
    margin-bottom: var(--space-xl);
    position: relative;
}

.join__timeline::before {
    background-color: var(--color-light-gray);
    content: "";
    height: 100%;
    left: 1.5rem;
    position: absolute;
    top: 0;
    width: 2px;
}

.join-step {
    display: flex;
    margin-bottom: var(--space-xl);
    position: relative;
}

.join-step:last-child {
    margin-bottom: 0;
}

.join-step__number {
    align-items: center;
    background-color: var(--color-green);
    border-radius: 50%;
    color: var(--color-white);
    display: flex;
    flex-shrink: 0;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    height: 3rem;
    justify-content: center;
    margin-right: var(--space-lg);
    position: relative;
    width: 3rem;
    z-index: 1;
}

.join-step__content {
    flex: 1;
    padding-top: var(--space-xs);
}

.join-step__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.join-step__description {
    color: var(--color-gray);
    margin-bottom: 0;
}

.join__cta {
    text-align: center;
}

@media (min-width: 768px) {
    .join__timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .join-step {
        justify-content: right;
    }
    
    .join-step:nth-child(odd) {
        justify-content: left;
    }
    
    .join-step__number {
        margin: 0 var(--space-xl);
    }
    
    .join-step__content {
        flex: 0 0 40%;
        padding-top: 0;
        text-align: right;
    }
    
    .join-step:nth-child(odd) .join-step__content {
        text-align: left;
    }
}

/* Gallery Section */
.gallery {
    background-color: var(--color-light-green);
    padding: var(--space-3xl) 0;
}

.gallery__grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: repeat(2, 1fr);
}

.gallery__item {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    height: 0;
    overflow: hidden;
    padding-bottom: 100%;
    position: relative;
    transition: transform var(--transition-normal);
}

.gallery__item:hover {
    transform: scale(1.03);
}

.gallery__image {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact Section */
.contact {
    padding: var(--space-3xl) 0;
}

.contact__container {
    display: flex;
    flex-direction: column;
}

.contact__content {
    margin-bottom: var(--space-xl);
}

.contact__text {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.contact__info {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}

.contact__info-item {
    align-items: flex-start;
    display: flex;
}

.contact__icon {
    fill: var(--color-green);
    height: 1.5rem;
    margin-right: var(--space-md);
    margin-top: var(--space-xs);
    width: 1.5rem;
}

.contact__info-title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.contact__info-text {
    color: var(--color-gray);
    margin-bottom: 0;
}

.contact__form-wrapper {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-xl);
}

.contact__form {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}

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

.form-group--full {
    grid-column: 1 / -1;
}

.form-label {
    color: var(--color-dark);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.form-input, .form-select, .form-textarea {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-md);
    color: var(--color-dark);
    font-family: var(--font-primary);
    font-size: 1rem;
    padding: var(--space-md);
    transition: border-color var(--transition-fast);
    width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--color-green);
    outline: none;
}

.form-error {
    color: #EF4444;
    font-size: 0.875rem;
    height: 1.25rem;
    margin-top: var(--space-xs);
}

@media (min-width: 768px) {
    .contact__container {
        flex-direction: row;
    }
    
    .contact__content {
        flex: 0 0 45%;
        margin-bottom: 0;
        margin-right: var(--space-xl);
    }
    
    .contact__form-wrapper {
        flex: 0 0 50%;
    }
    
    .contact__info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact__form {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding-top: var(--space-3xl);
}

.footer__container {
    display: flex;
    flex-direction: column;
    padding-bottom: var(--space-2xl);
}

.footer__logo-container {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.footer__logo {
    height: 2.5rem;
    margin: 0 auto var(--space-md);
    width: auto;
}

.footer__tagline {
    color: var(--color-light-gray);
    font-family: var(--font-secondary);
    font-size: 1.125rem;
    font-style: italic;
}

.footer__info {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: 1fr;
    margin-bottom: var(--space-2xl);
}

.footer__title {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.footer__address {
    color: var(--color-light-gray);
    font-style: normal;
    margin-bottom: var(--space-md);
}

.footer__address p {
    margin-bottom: var(--space-xs);
}

.footer__contact-item {
    align-items: center;
    color: var(--color-light-gray);
    display: flex;
    margin-bottom: var(--space-sm);
}

.footer__icon {
    fill: var(--color-green);
    height: 1.25rem;
    margin-right: var(--space-sm);
    width: 1.25rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
}

.footer__link {
    color: var(--color-light-gray);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

.footer__link:hover, .footer__link:focus {
    color: var(--color-green);
}

.footer__bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: var(--space-lg) 0;
}

.footer__copyright {
    color: var(--color-light-gray);
    font-size: 0.875rem;
    margin-bottom: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .footer__container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer__logo-container {
        flex: 0 0 30%;
        margin-bottom: 0;
        text-align: left;
    }
    
    .footer__logo {
        margin: 0 0 var(--space-md);
    }
    
    .footer__info {
        flex: 0 0 65%;
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 0;
    }
}

/* Back to Top Button */
.back-to-top {
    align-items: center;
    background-color: var(--color-green);
    border: none;
    border-radius: 50%;
    bottom: 2rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    height: 3rem;
    justify-content: center;
    opacity: 0;
    position: fixed;
    right: 2rem;
    transform: translateY(1rem);
    transition: all var(--transition-normal);
    visibility: hidden;
    width: 3rem;
    z-index: 20;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.back-to-top__icon {
    fill: var(--color-white);
    height: 1.5rem;
    width: 1.5rem;
}

.back-to-top:hover, .back-to-top:focus {
    background-color: var(--color-dark);
    transform: translateY(-5px);
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .benefit-card:hover,
    .walk-card:hover,
    .route-card:hover,
    .gallery__item:hover,
    .back-to-top:hover,
    .button:hover {
        transform: none !important;
    }
}

/* Page Styles (cookies.html, privacy.html, terms.html) */
.page {
    margin-top: 4.5rem;
    padding: var(--space-3xl) 0;
}

.page__container {
    max-width: 800px;
}

.page__title {
    font-size: 2.5rem;
    margin-bottom: var(--space-xl);
    text-align: center;
}

.page__content h2 {
    margin-top: var(--space-xl);
}

.page__content h3 {
    margin-top: var(--space-lg);
}

.page__content p {
    margin-bottom: var(--space-md);
}

.page__content ul, .page__content ol {
    list-style-position: inside;
    margin-bottom: var(--space-lg);
    padding-left: var(--space-lg);
}

.page__content ul {
    list-style-type: disc;
}

.page__content ol {
    list-style-type: decimal;
}

.page__content li {
    margin-bottom: var(--space-sm);
}

/* Success Page */
.success {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 4.5rem;
    min-height: calc(100vh - 4.5rem);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.success__icon {
    background-color: var(--color-light-green);
    border-radius: 50%;
    display: flex;
    height: 6rem;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    padding: var(--space-lg);
    width: 6rem;
}

.success__icon svg {
    fill: var(--color-green);
    height: 100%;
    width: 100%;
}

.success__title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.success__text {
    color: var(--color-gray);
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
}

.success__button {
    margin-top: var(--space-lg);
}
