/* 
 * Стили для главной страницы (page-home.php)
 */

/* Общий фон страницы */
body.page-template-page-home {
    background-color: #f5f5f5;
}

/* Hero Section - Главный экран */
.hero-section {
    padding: 0 40px 40px 40px;
    background-color: #f5f5f5;
}

.hero-background {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 600px;
}

.hero-background::before {
    display: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    border-radius: 24px;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-text {
    flex: 1;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 400;
    margin: 0 0 20px 0;
    line-height: 1.3;
    color: white;
}

.hero-subtitle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-subtitle {
    font-size: 1.65rem;
    font-weight: 300;
    margin: 0;
    line-height: 1.6;
    color: white;
    flex: 1;
}

.hero-actions {
    flex-shrink: 0;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #2d7a4a;
    color: white !important;
    padding: 16px 32px;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: none;
}

.hero-button:hover {
    background-color: #246238;
    text-decoration: none !important;
    color: white !important;
}

.hero-button-text {
    white-space: nowrap;
}

.hero-button-arrow {
    flex-shrink: 0;
}

/* Mobile responsive for hero section */
@media (max-width: 768px) {
    .hero-section {
        padding: 0 20px 20px 20px;
    }
    
    .hero-background {
        height: auto;
        aspect-ratio: 4 / 5;
    }
    
    .hero-image {
        border-radius: 20px;
    }
    
    .hero-overlay {
        border-radius: 20px;
    }
    
    .hero-content {
        bottom: 25px;
        left: 25px;
        right: 25px;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle-row {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .hero-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .hero-button-text {
        display: none;
    }
    
    .hero-button-arrow {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0 15px 15px 15px;
    }
    
    .hero-background {
        height: auto;
        aspect-ratio: 4 / 5;
    }
    
    .hero-image {
        border-radius: 16px;
    }
    
    .hero-overlay {
        border-radius: 16px;
    }
    
    .hero-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .hero-subtitle-row {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    
    .hero-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .hero-button-arrow {
        width: 24px;
        height: 24px;
    }
}

/* About Section - О клубе */
.about-section {
    padding: 20px 40px;
    background-color: #f5f5f5;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.about-badge {
    display: block;
    color: #2d7a4a;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.about-title {
    font-size: 3rem !important;
    font-weight: 400 !important;
    color: #2A2A2A;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.about-text {
    font-size: 1.65rem !important;
    font-weight: 300 !important;
    color: #6E6E6E;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.about-actions {
    margin-top: 20px;
}

.about-button {
    display: inline-block;
    color: #2d7a4a !important;
    text-decoration: underline !important;
    font-size: 1.1rem;
    font-weight: 400;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
}

.about-button:hover {
    color: #2d7a4a !important;
    text-decoration: underline !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* About Stats Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.about-stat-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #ffffff;
    border-radius: 12px;
}

.about-stat-item:first-child {
    grid-column: span 2;
}

.about-stat-value {
    font-size: 3rem;
    font-weight: 500;
    color: #2d7a4a;
    margin-bottom: 10px;
    line-height: 1;
}

.about-stat-label {
    font-size: 1.1rem;
    font-weight: 400;
    color: #6E6E6E;
    line-height: 1.4;
}

/* Mobile responsive for about section */
@media (max-width: 768px) {
    .about-section {
        padding: 30px 20px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1.1rem;
    }
    
    .about-button {
        font-size: 1rem;
    }
    
    .about-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 30px;
    }
    
    .about-stat-value {
        font-size: 3rem;
        font-weight: 400;
    }
    
    .about-stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 25px 20px;
    }
    
    .about-badge {
        font-size: 0.85rem;
        letter-spacing: 1.2px;
    }
    
    .about-title {
        font-size: 2rem !important;
    }
    
    .about-text {
        font-size: 1.1rem !important;
    }
    
    .about-button {
        font-size: 1rem;
    }
    
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 25px;
    }
    
    .about-stat-item {
        padding: 25px 15px;
        border-radius: 10px;
    }
    
    .about-stat-value {
        font-size: 2.5rem;
        font-weight: 400;
    }
    
    .about-stat-label {
        font-size: 0.95rem;
    }
}

/* ===================================
   STATS SECTION
   =================================== */

.stats-section {
    padding: 40px 40px 80px 40px;
    background-color: #f5f5f5;
}

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

.stats-slider {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    height: 260px;
    padding: 15px 20px;
    background-color: transparent;
    border-right: 1px solid #e0e0e0;
}

.stat-item:last-child {
    border-right: none;
}

.stat-label {
    font-size: 1rem;
    font-weight: 400;
    color: #2A2A2A;
    line-height: 1.4;
    margin-bottom: auto;
}

.stat-value {
    font-size: 4.5rem;
    font-weight: 300;
    color: #2d7a4a;
    line-height: 1;
    margin-top: auto;
}

/* Tablet responsive for stats */
@media (max-width: 768px) {
    .stats-section {
        padding: 30px 0 60px 0;
    }
    
    .stats-container {
        overflow: hidden;
        padding: 0 20px;
    }
    
    .stats-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        background-color: #ffffff;
        border-radius: 8px;
    }
    
    .stats-slider::-webkit-scrollbar {
        display: none;
    }
    
    .stat-item {
        flex: 0 0 calc(33.333% - 1px);
        scroll-snap-align: start;
        padding: 15px 15px;
        min-width: 200px;
        height: 260px;
        border-right: 1px solid #e0e0e0;
    }
    
    .stat-item:last-child {
        border-right: none;
    }
    
    .stat-value {
        font-size: 3.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Mobile responsive - slider */
@media (max-width: 480px) {
    .stats-section {
        padding: 20px 0 50px 0;
    }
    
    .stats-container {
        overflow: hidden;
        padding: 0 20px;
    }
    
    .stats-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        background-color: #ffffff;
        border-radius: 8px;
    }
    
    .stats-slider::-webkit-scrollbar {
        display: none;
    }
    
    .stat-item {
        flex: 0 0 calc(100% - 40px);
        scroll-snap-align: center;
        padding: 15px 20px;
        min-width: 250px;
        height: 260px;
        border-right: none;
        border-left: 1px solid #e0e0e0;
    }
    
    .stat-item:first-child {
        border-left: none;
    }
    
    .stat-value {
        font-size: 5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* ===================================
   SAVINGS SECTION
   =================================== */

.savings-section {
    padding: 80px 40px;
    background-color: #f5f5f5;
}

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

.savings-title {
    font-size: 3rem !important;
    font-weight: 400 !important;
    color: #2A2A2A;
    margin: 0 0 20px 0;
    line-height: 1.3;
    text-align: left;
}

.savings-subtitle {
    font-size: 1.65rem !important;
    font-weight: 300 !important;
    color: #6E6E6E;
    margin: 0 0 50px 0;
    line-height: 1.6;
    text-align: left;
}

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

.savings-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
}

.savings-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d7a4a;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
}

.savings-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #2A2A2A;
}

/* Tablet responsive */
@media (max-width: 768px) {
    .savings-section {
        padding: 60px 30px;
    }
    
    .savings-title {
        font-size: 2rem !important;
    }
    
    .savings-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 40px;
    }
    
    .savings-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .savings-item {
        padding: 25px;
    }
    
    .savings-number {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .savings-text {
        font-size: 1rem;
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .savings-section {
        padding: 40px 20px;
    }
    
    .savings-title {
        font-size: 2rem !important;
        margin-bottom: 15px;
    }
    
    .savings-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 30px;
    }
    
    .savings-list {
        gap: 15px;
    }
    
    .savings-item {
        padding: 20px;
        gap: 15px;
    }
    
    .savings-number {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }
    
    .savings-text {
        font-size: 0.95rem;
    }
}

/* ===================================
   LOCATIONS SECTION
   =================================== */

.locations-section {
    padding: 80px 40px;
    background-color: #f5f5f5;
}

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

.locations-title {
    font-size: 3rem !important;
    font-weight: 400 !important;
    color: #2A2A2A;
    margin: 0 0 20px 0;
    line-height: 1.3;
    text-align: left;
}

.locations-subtitle-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.locations-subtitle {
    font-size: 1.25rem !important;
    font-weight: 300 !important;
    color: #6E6E6E;
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

.locations-features {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.feature-item {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke: #2A2A2A;
}

.feature-text {
    font-size: 1.25rem;
    font-weight: 400;
    color: #2A2A2A;
    line-height: 1.4;
}

/* Tablet responsive */
@media (max-width: 768px) {
    .locations-section {
        padding: 60px 30px;
    }
    
    .locations-title {
        font-size: 2rem !important;
    }
    
    .locations-subtitle-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .locations-subtitle {
        font-size: 1.1rem !important;
    }
    
    .locations-features {
        flex-direction: column;
        gap: 30px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .feature-text {
        font-size: 1.125rem;
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .locations-section {
        padding: 40px 20px;
    }
    
    .locations-title {
        font-size: 2rem !important;
        margin-bottom: 15px;
    }
    
    .locations-subtitle-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .locations-subtitle {
        font-size: 1.1rem !important;
    }
    
    .locations-features {
        gap: 25px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .feature-text {
        font-size: 1rem;
    }
}

/* ===================================
   TYPES SLIDER SECTION
   =================================== */

.types-slider-section {
    padding: 80px 40px;
    background-color: #f5f5f5;
}

.types-slider-container {
    max-width: 1200px;
    margin: 0 auto;
}

.types-slider-title {
    font-size: 3rem !important;
    font-weight: 400 !important;
    color: #2A2A2A;
    margin: 0 0 50px 0;
    line-height: 1.3;
    text-align: left;
}

.types-slider-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.types-slider {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.slide-item {
    position: relative;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: grab;
}

.slide-item:active {
    cursor: grabbing;
}

.slide-square {
    width: 400px;
    height: 400px;
}

.slide-vertical {
    width: 300px;
    height: 400px;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    z-index: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.types-slider-wrapper:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: #ffffff;
}

.slider-arrow-prev {
    left: 10px;
}

.slider-arrow-next {
    right: 10px;
}

.slider-arrow svg {
    stroke: #2A2A2A;
}

.types-slider-footer {
    font-size: 1.125rem;
    color: #6E6E6E;
    text-align: left;
    margin: 0;
}

.catalog-link {
    color: #2d7a4a;
    text-decoration: underline;
    font-weight: 500;
}

.catalog-link:hover {
    color: #236139;
}

/* Tablet responsive */
@media (max-width: 768px) {
    .types-slider-section {
        padding: 60px 20px;
    }
    
    .types-slider-title {
        font-size: 2rem !important;
        margin-bottom: 30px;
    }
    
    .slide-square {
        width: 300px;
        height: 300px;
    }
    
    .slide-vertical {
        width: 220px;
        height: 300px;
    }
    
    .slide-caption {
        font-size: 1.25rem;
        bottom: 15px;
        left: 15px;
    }
    
    .slider-arrow {
        opacity: 1;
        width: 40px;
        height: 40px;
    }
    
    .types-slider-footer {
        font-size: 1rem;
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .types-slider-section {
        padding: 40px 0;
    }
    
    .types-slider-container {
        padding: 0;
    }
    
    .types-slider-title {
        font-size: 1.75rem !important;
        margin-bottom: 25px;
        padding: 0 20px;
    }
    
    .types-slider-wrapper {
        padding: 0 20px;
    }
    
    .slider-track {
        gap: 15px;
    }
    
    .slide-square {
        width: 250px;
        height: 250px;
    }
    
    .slide-vertical {
        width: 180px;
        height: 250px;
    }
    
    .slide-caption {
        font-size: 1.125rem;
        bottom: 12px;
        left: 12px;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
    }
    
    .slider-arrow-prev {
        left: 5px;
    }
    
    .slider-arrow-next {
        right: 5px;
    }
    
    .types-slider-footer {
        font-size: 0.95rem;
        padding: 0 20px;
    }
}
