/* Massage Packages Page Styles - Matching pilates-packages.css */

/* Fulham-style Hero Section */
.massage-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    left: 0;
    right: 0;
}

.massage-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

.massage-hero .hero-background img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
}

.massage-hero .hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed;
    display: block !important;
    z-index: 1;
}

.massage-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.massage-hero .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.massage-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    color: #FFFFFF;
    padding: 0 2rem;
    max-width: 800px;
    margin-left: max(2rem, calc(50vw - 600px));
    margin-top: 2.5rem;
}

.massage-hero .hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.massage-hero .hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.massage-hero .hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.massage-hero .btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 180px;
    text-align: center;
    cursor: pointer;
    text-shadow: none;
}

.massage-hero .btn-primary {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.massage-hero .btn-primary:hover {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.massage-hero .btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.massage-hero .btn-secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.massage-hero .fulham-studio-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.massage-hero .badge-text {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hide desktop tabs on mobile to prevent duplicate tabs */
@media (max-width: 768px) {
    .desktop-tabs {
        display: none !important;
    }
}

/* Mobile responsiveness for hero */
@media (max-width: 768px) {
    .massage-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .massage-hero .hero-content {
        margin-left: 2rem;
        padding: 0 1rem;
        max-width: 90%;
    }
    
    .massage-hero .hero-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .massage-hero .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .massage-hero .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .massage-hero .btn {
        min-width: 200px;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

/* Package Layout - Exact copy from packages.css */
.packages-outer-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.packages-container.single-col-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.packages-main.single-col-main {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.packages-grid.single-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: stretch;
    width: 100%;
}

/* Package Cards - Match Pilates exactly */
.package-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.package-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.studio-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.package-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price {
    font-size: 2rem;
    font-weight: 900;
    color: #007bff;
    line-height: 1;
}

.price.promotional {
    color: #dc3545;
}

.original-price {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.savings {
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 600;
    background: #d4edda;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.25rem;
}

.classes-container {
    text-align: right;
}

.classes-count {
    font-size: 2rem;
    font-weight: 700;
    color: #495057;
    line-height: 1;
}

.class-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.package-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-description {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.package-features {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Package Tabs - Match Pilates exactly */
.package-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.package-tab {
    background-color: #f5f5f5;
    color: #000;
    padding: 12px 18px;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    min-width: fit-content;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.package-tab:hover {
    background-color: #333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.package-tab.active {
    background-color: #000;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Mobile Filter - Match Pilates exactly */
.mobile-filter-container {
    display: none;
    margin: 0 auto 25px auto;
    max-width: 350px;
    width: 100%;
}

.mobile-package-filter {
    width: 100%;
    padding: 12px 15px;
    border-radius: 25px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    cursor: pointer;
    text-align: center;
}

/* Hidden class for filtering */
.hidden {
    display: none !important;
}

/* Title styling - Match Pilates exactly */
.kettlebells-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #333;
    text-align: center !important;
    margin-bottom: 2rem;
}

/* Massage Information Section */
.massage-info-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin-top: 4rem;
}

.massage-info-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
    text-align: center;
}

.massage-info-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .package-tabs {
        display: none;
    }
    
    .mobile-filter-container {
        display: block;
    }
    
    .packages-grid.single-col-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .package-card {
        margin: 0 0.5rem;
    }
    
    .kettlebells-title {
        font-size: 2rem;
    }
    
    .massage-info-section h2 {
        font-size: 2rem;
    }
    
    .massage-info-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .packages-grid.single-col-grid {
        gap: 1rem;
    }
    
    .package-header {
        padding: 1rem;
    }
    
    .package-content {
        padding: 1rem;
    }
    
    .package-title {
        font-size: 1.2rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .classes-count {
        font-size: 1.5rem;
    }
}
