/* 
 * Delquoria - Funktionaalinen harjoittelu
 * Main Stylesheet
 */

/* ===== Base Styles ===== */
:root {
    --primary-color: #3d6cb9;
    --primary-dark: #2d5091;
    --primary-light: #5e87ca;
    --secondary-color: #54b89c;
    --secondary-dark: #428e79;
    --accent-color: #f7a444;
    --dark-color: #2c3e50;
    --text-color: #333333;
    --light-text: #666666;
    --lighter-text: #999999;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease-in-out;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== Header & Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 0.6rem 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.3rem 0;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    padding: 10rem 0 5rem;
    position: relative;
    background: linear-gradient(135deg, #f9f9ff 0%, #eef6ff 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark-color);
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.trainer-image {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 2;
}

.shape {
    position: absolute;
    z-index: 1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background-color: rgba(94, 135, 202, 0.15);
    top: -50px;
    right: 50px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background-color: rgba(84, 184, 156, 0.15);
    bottom: -30px;
    left: 20px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background-color: rgba(247, 164, 68, 0.15);
    top: 40%;
    left: -20px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-text);
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
}

.scroll-down:hover {
    opacity: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--light-text);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    margin-bottom: 5px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--light-text);
    border-radius: 2px;
    animation: scroll 2s ease infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

.arrow {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== About Section ===== */
.about {
    background-color: var(--bg-white);
}

.infographic {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.info-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card:hover {
    transform: translateY(-10px);
}

.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(61, 108, 185, 0.2);
}

.info-card:nth-child(2) .icon-container {
    background: var(--secondary-color);
    box-shadow: 0 10px 20px rgba(84, 184, 156, 0.2);
}

.info-card:nth-child(3) .icon-container {
    background: var(--accent-color);
    box-shadow: 0 10px 20px rgba(247, 164, 68, 0.2);
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ===== For Whom Section ===== */
.for-whom {
    background-color: #f4f7fb;
    position: relative;
    overflow: hidden;
}

.user-types-container {
    position: relative;
}

.user-types {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* For Firefox */
}

.user-types::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.user-card {
    flex: 0 0 280px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    scroll-snap-align: start;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-light);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

/* ===== Guide Section ===== */
.guide {
    background-color: var(--bg-white);
}

.guide-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.guide-cover {
    flex: 1;
    min-width: 300px;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.guide-cover img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.guide-cover:hover img {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.guide-overlay {
    position: absolute;
    top: 20px;
    right: -10px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transform: rotate(5deg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.guide-details {
    flex: 1;
    min-width: 300px;
}

.guide-table {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background-color: white;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.highlight {
    background-color: #f8f4ff;
}

.table-cell {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.table-cell i {
    color: var(--primary-color);
}

.table-cell i.fa-gift {
    color: var(--accent-color);
}

.guide-form {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

input, textarea, select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: white;
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(61, 108, 185, 0.1);
}

.form-note {
    font-size: 0.9rem;
    color: var(--light-text);
    text-align: center;
    margin-top: 1rem;
}

.form-note i {
    margin-right: 0.3rem;
}

/* ===== Course Section ===== */
.course {
    background: linear-gradient(to right, #f4f7fb, #eef6ff);
}

.course-content {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.course-tabs {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--light-text);
    position: relative;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active:after {
    width: 100%;
}

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.module-features {
    margin: 1.5rem 0;
}

.module-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.module-features i {
    color: var(--primary-color);
}

.module-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f0f4f9;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--light-text);
}

.course-enrollment {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin: -2rem -2rem 2rem;
    text-align: center;
    position: relative;
}

.original-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.discount-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.enrollment-features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.feature i {
    color: var(--secondary-color);
}

.course-enrollment .btn {
    margin-top: auto;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: #f9fbfe;
    position: relative;
    overflow: hidden;
}

.testimonials:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(61, 108, 185, 0.05) 0%, rgba(61, 108, 185, 0) 70%);
    top: -150px;
    left: -150px;
    border-radius: 50%;
}

.testimonials:after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(84, 184, 156, 0.05) 0%, rgba(84, 184, 156, 0) 70%);
    bottom: -150px;
    right: -150px;
    border-radius: 50%;
}

.testimonials-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--primary-light);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h3 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--light-text);
}

.testimonial-rating {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--accent-color);
}

.testimonial-body {
    position: relative;
}

.testimonial-body:before {
    content: '\201C';
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-family: serif;
}

/* ===== Trainer Section ===== */
.trainer {
    background-color: var(--bg-white);
}

.trainer-profile {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.trainer-image-container {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    position: relative;
    margin: 0 auto;
}

.trainer-profile-image {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    width: 100%;
}

.trainer-info {
    flex: 1;
    min-width: 300px;
}

.trainer-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.trainer-bio {
    margin-bottom: 2rem;
}

.trainer-credentials {
    margin-top: 1rem;
    margin-left: 1.5rem;
    list-style-type: disc;
}

.trainer-credentials li {
    margin-bottom: 0.5rem;
}

.trainer-quote {
    position: relative;
    background-color: #f4f7fb;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.trainer-quote i {
    color: var(--primary-light);
    font-size: 1.5rem;
    position: absolute;
    top: -0.8rem;
    left: 1.5rem;
    background-color: #f4f7fb;
    padding: 0 0.5rem;
}

.trainer-quote p {
    font-style: italic;
    margin-bottom: 0;
}

/* ===== FAQ Section ===== */
.faq {
    background: linear-gradient(to bottom, #f0f4f9 0%, white 100%);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-icon i {
    transition: var(--transition);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-icon i {
    transform: rotate(45deg);
}

/* ===== Enrollment Section ===== */
.enrollment {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.enrollment:before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(84, 184, 156, 0.05) 0%, rgba(84, 184, 156, 0) 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.enrollment:after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(61, 108, 185, 0.05) 0%, rgba(61, 108, 185, 0) 70%);
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
}

.enrollment-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.enrollment-info {
    flex: 1;
    min-width: 300px;
}

.enrollment-features {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.enrollment-features h3 {
    margin-bottom: 1.5rem;
}

.enrollment-features ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.enrollment-features li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.enrollment-features i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.guarantee {
    display: flex;
    gap: 1rem;
    align-items: center;
    background-color: #fff8e8;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.guarantee i {
    font-size: 2rem;
    color: var(--accent-color);
}

.guarantee p {
    margin-bottom: 0;
}

.enrollment-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.form-checkbox input {
    width: auto;
    margin-top: 0.3rem;
}

/* ===== Map Section ===== */
.map-section {
    background-color: var(--bg-white);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
}

.address-details {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.address-card {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.address-card:hover {
    transform: translateY(-5px);
}

.address-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.address-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.address-card p {
    margin-bottom: 0.3rem;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.newsletter {
    flex: 2;
    min-width: 300px;
}

.newsletter h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter .form-note {
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h3, .footer-contact h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul, .footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.heart {
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ===== Cookie Consent ===== */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

.cookie-consent.active {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.cookie-content {
    text-align: center;
}

.cookie-content p {
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cookie-btn {
    min-width: 120px;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-5px);
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 8rem 0 5rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .trainer-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .trainer-quote {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 9;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.2rem;
    }
    
    .infographic {
        flex-direction: column;
    }
    
    .info-card {
        width: 100%;
    }
    
    .guide-content, .course-content {
        flex-direction: column;
    }
    
    .tab-buttons {
        overflow-x: auto;
    }
    
    .tab-btn {
        white-space: nowrap;
        padding: 1rem 0.8rem;
    }
    
    .address-details {
        flex-direction: column;
        align-items: center;
    }
    
    .address-card {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 7rem 0 4rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimonials-container {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}