﻿.active-hero {
    padding-top: 70px;
    padding-bottom: 20px;
}

.container {
    max-width: none !important;
}

.active-catalog {
    padding-top: 30px;
}

.active-hero__wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.active-tabs-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
}

.active-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.active-hero__bg img {
    width: 100%; height: 100%; object-fit: cover;
}

.active-hero__title {
    position: relative;
    z-index: 5;
    color: #fff;
    font-size: clamp(32px, 5vw, 64px);
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.active-recreation__tabs {
    display: flex;
    background: #ffffff;
    padding: 6px;
    border-radius: 100px;
    border: 1px solid rgba(255, 129, 57, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: auto;
}

.tabs__btn {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    padding: 12px 28px;
    cursor: pointer;
    border-radius: 100px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tabs__btn.active {
    background: #FF8139 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 129, 57, 0.3);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.activity-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.activity-card__img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-card__img {
    transform: scale(1.05);
}

.activity-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 30px;
    color: #fff;
}

.activity-card__title {
    font-size: 24px;
    font-weight: 600;
}

.activity-card__btn {
    width: 44px;
    height: 44px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s ease;
}

.activity-card__btn:hover {
    background: var(--color-secondary-dark);
}

@media (max-width: 992px) {
    .active-recreation__tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        border-radius: 20px;
        width: 100%;
        max-width: 550px;
    }

    .tabs__btn {
        padding: 14px 10px;
        font-size: 13px;
        text-align: center;
        border-radius: 12px;
        white-space: normal;
    }
}

@media (max-width: 1360px) {
    .active-hero {
        padding-top: 65px;
    }
}

@media (max-width: 767px) {
    .active_footer_nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .active-hero {
        padding-top: 45px;
    }

    .active_footer_nav {
        flex-direction: row !important;
    }

    .footer__container {
        text-align: left !important;
    }

    .active_footer_container {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .active_tabs-wrapper {
        margin-top: 0;
    }

    .footer {
        padding-top: 30px !important;
    }
}

@media (max-width: 360px) {
    .active-hero {
        padding-top: 40px;
    }
}

@media (max-width: 1024px) {
    .activities-grid { grid-template-columns: 1fr; }
    .active-hero__wrapper { height: 350px; }

    .active-recreation__tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        border-radius: 20px;
        padding: 8px;
        width: 90%;
        max-width: 500px;
    }

    .tabs__btn {
        padding: 12px 10px;
        font-size: 13px;
        text-align: center;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .active-hero__wrapper { height: 250px; }
    .activity-card__title { font-size: 18px; }

    .active-tabs-wrapper {
        padding: 0 10px;
    }

    .active-recreation__tabs {
        max-width: 100%;
        gap: 4px;
        padding: 4px;
    }

    .tabs__btn {
        font-size: 11px;
        padding: 10px 4px;
        letter-spacing: 0;
    }

    .active_footer_container {
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }

    .footer__container {
        gap: 20px !important;
    }

    .footer__social {
        margin: 0 !important;
    }
}
