/* =============================================
   JOSH ARKSEY SPORTS MASSAGE - HOMEPAGE STYLES
   arksey-home-3.css - Treatments Section
   
   TYPOGRAPHY SCALE (below hero ceiling):
   - Section h2: 2.4rem (desktop) | 2rem (tablet) | 1.7rem (mobile) | 1.45rem (small)
   - Card h3: 1.8rem (desktop) | 1.5rem (tablet) | 1.35rem (mobile) | 1.2rem (small)
   - Section p: 1.05rem (desktop) | 1rem (tablet) | 0.95rem (mobile) | 0.9rem (small)
   - Section button: 1rem (desktop) | 0.95rem (tablet) | 0.9rem (mobile) | 0.85rem (small)
   
   BACKGROUND COLOURS:
   - White: #ffffff
   - Light grey: #f8f8f8
   - Dark (reviews): #1a1a1a
   ============================================= */

/* =============================================
   TREATMENTS SECTION - WRAPPER
   ============================================= */

.arksey-treatments {
    background: #f8f8f8;
    padding: 100px 0;
    position: relative;
}


/* =============================================
   SECTION HEADER
   ============================================= */

.arksey-treatments-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 0 30px;
}

.arksey-treatments-title {
    font-family: 'Eurostile Extended Two', 'K2D', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 20px 0;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.arksey-treatments-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #cc0000);
    border-radius: 2px;
}

.arksey-treatments-subtitle {
    font-family: 'K2D', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666666;
    margin: 0;
}


/* =============================================
   TREATMENT CARDS CONTAINER
   ============================================= */

.arksey-treatment-card {
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.03),
        0 10px 40px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.arksey-treatment-card:last-child {
    margin-bottom: 0;
}

.arksey-treatment-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 12px rgba(0, 0, 0, 0.04),
        0 25px 60px rgba(0, 0, 0, 0.1);
}

/* Alternate layout for second card */
.arksey-treatment-card:nth-child(even) .arksey-treatment-content {
    order: 1;
}

.arksey-treatment-card:nth-child(even) .arksey-treatment-image {
    order: 2;
}


/* =============================================
   TREATMENT CONTENT
   ============================================= */

.arksey-treatment-content {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, #ff0000 0%, #cc0000 100%);
}

.arksey-treatment-label {
    display: inline-block;
    width: fit-content;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-family: 'K2D', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ffffff;
}

.arksey-treatment-content h3 {
    font-family: 'Eurostile Extended Two', 'K2D', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.25;
    color: #ffffff;
}

.arksey-treatment-content p {
    font-family: 'K2D', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 30px 0;
    color: rgba(255, 255, 255, 0.95);
}

.arksey-read-more {
    display: inline-block;
    width: fit-content;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: 'K2D', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: #ffffff;
    color: #ff0000;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.arksey-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #f8f8f8;
}


/* =============================================
   TREATMENT IMAGE
   ============================================= */

.arksey-treatment-image {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.arksey-treatment-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.arksey-treatment-card:hover .arksey-treatment-image img {
    transform: scale(1.04);
}


/* =============================================
   TABLET (769px - 1024px)
   ============================================= */

@media (min-width: 769px) and (max-width: 1024px) {
    .arksey-treatments {
        padding: 80px 0;
    }
    
    .arksey-treatments-header {
        margin-bottom: 50px;
    }
    
    .arksey-treatments-title {
        font-size: 2rem;
    }
    
    .arksey-treatments-subtitle {
        font-size: 1rem;
    }
    
    .arksey-treatment-card {
        margin: 0 auto 35px;
        padding: 0 25px;
        grid-template-columns: 1fr;
        max-width: 650px;
    }
    
    .arksey-treatment-card:nth-child(even) .arksey-treatment-content {
        order: 2;
    }
    
    .arksey-treatment-card:nth-child(even) .arksey-treatment-image {
        order: 1;
    }
    
    .arksey-treatment-image {
        min-height: 280px;
        order: 1;
    }
    
    .arksey-treatment-content {
        padding: 40px 35px;
        order: 2;
    }
    
    .arksey-treatment-content h3 {
        font-size: 1.5rem;
    }
    
    .arksey-treatment-content p {
        font-size: 1rem;
    }
    
    .arksey-read-more {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}


/* =============================================
   MOBILE (max-width: 768px)
   ============================================= */

@media (max-width: 768px) {
    .arksey-treatments {
        padding: 60px 0;
    }
    
    .arksey-treatments-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .arksey-treatments-title {
        font-size: 1.7rem;
        padding-bottom: 18px;
    }
    
    .arksey-treatments-title::after {
        width: 60px;
    }
    
    .arksey-treatments-subtitle {
        font-size: 0.95rem;
    }
    
    .arksey-treatment-card {
        margin: 0 15px 25px;
        padding: 0;
        grid-template-columns: 1fr;
        border-radius: 16px;
    }
    
    .arksey-treatment-card:hover {
        transform: none;
    }
    
    .arksey-treatment-card:nth-child(even) .arksey-treatment-content {
        order: 2;
    }
    
    .arksey-treatment-card:nth-child(even) .arksey-treatment-image {
        order: 1;
    }
    
    .arksey-treatment-image {
        min-height: 200px;
        order: 1;
    }
    
    .arksey-treatment-content {
        padding: 30px 25px;
        order: 2;
    }
    
    .arksey-treatment-label {
        font-size: 0.7rem;
        padding: 6px 14px;
        margin-bottom: 15px;
    }
    
    .arksey-treatment-content h3 {
        font-size: 1.35rem;
        margin-bottom: 15px;
    }
    
    .arksey-treatment-content p {
        font-size: 0.95rem;
        line-height: 1.75;
        margin-bottom: 25px;
    }
    
    .arksey-read-more {
        padding: 13px 26px;
        font-size: 0.9rem;
    }
}


/* =============================================
   SMALL MOBILE (max-width: 480px)
   ============================================= */

@media (max-width: 480px) {
    .arksey-treatments {
        padding: 50px 0;
    }
    
    .arksey-treatments-header {
        margin-bottom: 35px;
        padding: 0 15px;
    }
    
    .arksey-treatments-title {
        font-size: 1.45rem;
        padding-bottom: 15px;
    }
    
    .arksey-treatments-title::after {
        width: 50px;
    }
    
    .arksey-treatments-subtitle {
        font-size: 0.9rem;
    }
    
    .arksey-treatment-card {
        margin: 0 12px 20px;
        border-radius: 14px;
    }
    
    .arksey-treatment-image {
        min-height: 170px;
    }
    
    .arksey-treatment-content {
        padding: 25px 20px;
    }
    
    .arksey-treatment-label {
        font-size: 0.65rem;
        padding: 5px 12px;
        letter-spacing: 1px;
    }
    
    .arksey-treatment-content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .arksey-treatment-content p {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .arksey-read-more {
        padding: 12px 22px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
}