/* Container Styles */
.menu-container {
    padding: 20px 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    background-color: var(--background-color);
}

/* Treatment Section Styles */
.facial-treatments {
    padding: 0 0 50px;
}

/* Treatment Card Styles */
.treatment-card {
    background-color: var(--very-light-grey);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto; /* Adjust height to fit content */
    overflow: hidden;
    cursor: pointer; /* Add cursor pointer for clickable cards */
}

.treatment-card:hover {
    transform: translateY(-5px);
}

/* Treatment Header Styles */
.treatment-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.treatment-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

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

.treatment-duration {
    color: var(--dark-grey);
    font-size: 1.4rem;
    font-weight: bold;
    padding-right: 5px;
}

.treatment-price {
    color: var(--dark-grey);
    font-size: 1.4rem;
    font-weight: bold;
}

.treatment-benefits {
    background-color: var(--background-color);
    padding: 15px;
    border-radius: 6px;
    display: block; /* Default to block for desktop */
}

.benefits-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.benefits-list {
    list-style-type: none;
    padding-left: 0;
}

.benefits-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .menu-container {
        padding: 15px 15px;
    }

    .facial-treatments {
        padding: 0 0 50px;
    }

    .treatment-card {
        padding: 20px;
        position: relative; /* For proper touch target */
    }

    .treatment-title {
        font-size: 1.5rem;
    }

    .treatment-price {
        font-size: 1.2rem;
    }

    .treatment-duration {
        font-size: 1rem;
    }

    .treatment-benefits {
        display: block; /* Show benefits by default on mobile */
    }

    /* Create a clickable overlay for mobile */
    .treatment-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

}

@media (max-width: 480px) {
    .facial-treatments {
        padding: 0 0 50px;
    }
}

/* Find Out More Button Styles */
.btn-find-out-more {
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    display: none; /* Hide by default */
    text-align: center; /* Center the text */
    text-decoration: none; /* Remove underline */
}

.btn-find-out-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-find-out-more:hover::before {
    left: 100%;
}

.btn-find-out-more:hover,
.btn-find-out-more:focus {
    background-color: var(--secondary-color);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Show button on desktop */
@media (min-width: 769px) {
    .btn-find-out-more {
        display: inline-block;
    }
}

/* Filter Section Styles */
.filter-section {
    background-color: var(--background-color);
    padding: 20px 0;
    margin-bottom: 20px;
    position: relative;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, 
        transparent,
        rgba(139, 181, 177, 0.2),
        transparent
    );
    transition: 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--background-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Animation for filtering */
.col-lg-6 {
    transition: all 0.4s ease-out;
}

.col-lg-6.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.col-lg-6.visible {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes borderFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-section {
        padding: 15px 0;
        margin-bottom: 15px;
    }

    .filter-container {
        gap: 10px;
        padding: 0 15px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .filter-container {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}
