/* Location Page Specific Styles */

/* Hero Section Styles - Locations use base/hero.css for styling */

/* Treatment Cards */
.treatment-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.treatment-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.treatment-card:hover img {
    transform: scale(1.1);
}

.treatment-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 110%;
    background: linear-gradient(to top, 
        rgba(139, 181, 177, 0.8) 0%,
        rgba(139, 181, 177, 0.8) 50%,
        rgba(139, 181, 177, 0) 100%
    );
    color: var(--background-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-info {
    transform: translateY(0);
}

.treatment-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.treatment-text {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.treatment-card .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
}

.treatment-card:hover .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Standard Section Styles */
.section-title {
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: none;
}


/* Standard Section Padding */
.treatments-section,
.facilities-section,
.booking-section {
    padding: 80px 0;
}

/* Add these new styles to your existing locations.css */

/* Services Section */
.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--very-light-grey);
    color: var(--dark-grey);
}

.services-list li:last-child {
    border-bottom: none;
}

.contact-info {
    background-color: var(--very-light-grey);
    padding: 25px;
    border-radius: 10px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Map Section */
.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#map {
    height: 100%;
    width: 100%;
}

/* Manager Section */
.manager-image img {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.manager-image img:hover {
    transform: scale(1.05);
}

.manager-info {
    padding: 20px;
}

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

.manager-bio {
    color: var(--dark-grey);
    line-height: 1.6;
}

/* Team Section */
.team-card {
    background-color: var(--background-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-title {
    color: var(--dark-grey);
    font-weight: bold;
    margin-bottom: 5px;
}

.team-specialty {
    color: var(--dark-grey);
    font-size: 0.9rem;
}

/* Photo Gallery Section */
.gallery-section {
    padding: 2rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 250px);
    gap: 1.5rem;
    padding: 1.5rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Desktop layout positioning */
@media (min-width: 992px) {
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item:nth-child(3) {
        grid-column: 3;
        grid-row: span 2;
    }

    .gallery-item:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }

    .gallery-item:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }

    .gallery-item:nth-child(6) {
        grid-column: span 2;
        grid-row: 3;
        width: 100%;
        height: 100%;
    }

    .gallery-item:nth-child(6) img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Tablet layout */
@media (min-width: 768px) and (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
        gap: 1rem;
    }

    .gallery-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Mobile layout */
@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 1rem;
    }

    .gallery-item:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
    }
}

.about-section .section-title {
    margin-bottom: 0px;
}
