/* Base Styles and Reset */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #004E89;
    --accent-color: #00A896;
    --dark-color: #2C363F;
    --light-color: #EFEFEF;
    --text-color: #333333;
    --text-light: #777777;
    --white: #FFFFFF;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--white);
}

.section-header.light .section-title::after {
    background-color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn--primary:hover {
    background-color: #e55a24;
    color: var(--white);
}

.btn--secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn--secondary:hover {
    background-color: #003e6f;
    color: var(--white);
}

.btn--text {
    background-color: transparent;
    color: var(--text-color);
    padding: 12px 15px;
}

.btn--text:hover {
    color: var(--primary-color);
}

.btn--full {
    width: 100%;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    height: var(--header-height);
    transition: var(--transition);
}

.header.scrolled {
    height: 65px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: block;
    height: 50px;
}

.logo img {
    height: 100%;
}

.nav__list {
    display: flex;
}

.nav__item {
    margin-left: 30px;
}

.nav__link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover, .nav__link.active {
    color: var(--primary-color);
}

.nav__link:hover::after, .nav__link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero__content {
    flex: 0 0 50%;
    padding-right: 30px;
}

.hero__image {
    flex: 0 0 50%;
    position: relative;
}

.hero__img {
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hero__img:hover {
    transform: scale(1.02);
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.hero__subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero__text {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.hero__shape {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--white);
    transform: skewY(-3deg);
    z-index: -1;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about__wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about__image {
    flex: 0 0 45%;
}

.about__img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about__content {
    flex: 0 0 55%;
}

.about__title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about__text {
    margin-bottom: 30px;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 25px;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature__icon {
    margin: 0 auto 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.feature__title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature__text {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Programs Section */
.programs {
    background-color: #f9f9f9;
    position: relative;
}

.programs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.program-card__image {
    height: 250px;
    overflow: hidden;
}

.program-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-card__image img {
    transform: scale(1.1);
}

.program-card__content {
    padding: 30px;
}

.program-card__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.program-card__text {
    margin-bottom: 20px;
}

.program-card__features {
    margin-bottom: 25px;
}

.program-card__features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.program-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 100px 0;
}

.testimonials__slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 20px;
    transition: var(--transition);
}

.testimonial__content {
    margin-bottom: 30px;
}

.testimonial__text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial__author {
    display: flex;
    align-items: center;
}

.testimonial__image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial__name {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial__position {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.testimonials__prev,
.testimonials__next {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.testimonials__prev:hover,
.testimonials__next:hover {
    color: var(--primary-color);
}

.testimonials__dots {
    display: flex;
    gap: 8px;
    margin: 0 20px;
}

.testimonials__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.testimonials__dot.active,
.testimonials__dot:hover {
    background-color: var(--white);
}

/* Trainers Section */
.trainers {
    padding: 100px 0;
}

.trainers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.trainer-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trainer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.trainer-card__image {
    height: 350px;
    overflow: hidden;
}

.trainer-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.trainer-card:hover .trainer-card__image img {
    transform: scale(1.1);
}

.trainer-card__content {
    padding: 30px;
    background-color: var(--white);
}

.trainer-card__name {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.trainer-card__position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.trainer-card__text {
    margin-bottom: 20px;
}

.trainer-card__specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trainer-card__specialties span {
    padding: 5px 12px;
    background-color: var(--light-color);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background-color: #f9f9f9;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact__icon {
    margin-bottom: 15px;
}

.contact__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact__text {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact__form-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact__form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:nth-child(5),
.form-group:nth-child(6),
.form-group:nth-child(7) {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: #f9f9f9;
    font-family: inherit;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Map Section */
.map {
    padding-bottom: 0;
}

.map__container {
    height: 450px;
    width: 100%;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer__logo {
    max-width: 300px;
}

.footer__logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer__newsletter {
    max-width: 400px;
}

.footer__newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.newsletter-form__group {
    display: flex;
    margin-bottom: 15px;
}

.newsletter-form__group input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.newsletter-form__group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.newsletter-form__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-form__checkbox input {
    width: auto;
}

.newsletter-form__checkbox label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer__nav-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer__nav-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer__nav-column ul li {
    margin-bottom: 10px;
}

.footer__nav-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer__nav-column ul li a:hover {
    color: var(--primary-color);
}

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--secondary-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.cookie-banner__content p {
    margin-bottom: 0;
    margin-right: 20px;
}

.cookie-banner__buttons {
    display: flex;
    gap: 10px;
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    .hero__title {
        font-size: 3rem;
    }
}

@media screen and (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero__content, .hero__image {
        flex: 0 0 100%;
        padding-right: 0;
    }
    
    .hero__content {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .about__wrapper {
        flex-direction: column;
    }
    
    .about__image, .about__content {
        flex: 0 0 100%;
    }
    
    .about__image {
        margin-bottom: 30px;
    }
    
    .contact__wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact__info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .contact__card {
        flex: 1 0 calc(33.333% - 20px);
    }
    
    .footer__top, .footer__nav {
        flex-direction: column;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__logo, .footer__newsletter {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav__list.active {
        right: 0;
    }
    
    .nav__item {
        margin: 15px 0;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .about__features {
        grid-template-columns: 1fr;
    }
    
    .contact__form {
        grid-template-columns: 1fr;
    }
    
    .contact__card {
        flex: 0 0 100%;
    }
    
    .cookie-banner__content {
        flex-direction: column;
    }
    
    .cookie-banner__content p {
        margin-bottom: 20px;
        margin-right: 0;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.5rem;
    }
    
    .footer__nav {
        grid-template-columns: 1fr;
    }
}