/* Locations Page Styles */

/* Hero Section */
.locations-hero {
    background: url('../images/doctor-bg.png');
    /* Reuse doctors hero bg for now */
    padding: 30px 0 60px 0px;
    background-size: cover;
    background-position: center;
}

.locations-hero-title {
    font-family: "Inter-SemiBold", sans-serif;
    font-size: 40px;
    color: #ffffff;
    margin-bottom: 0;
    font-weight: 600;
    text-align: left;
}

/* Search Section - Reusing common search styles logic but scoped or duplicated for safety */
.locations-search-section {
    position: relative;
    margin-top: -35px;
    z-index: 20;
}

.locations-search-wrapper {
    max-width: 800px;
    margin: 0;
}

.locations-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 16px 24px;
    box-shadow: 0px 2px 32px 0px #0000001A;
    transition: all 0.3s ease;
    border: 1.5px solid #352D74;
}

.locations-search-bar .search-icon {
    font-size: 20px;
    color: #352D74;
    margin-right: 15px;
    flex-shrink: 0;
}

.locations-search-bar .search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1F2937;
    background: transparent;
    font-family: inherit;
    width: 100%;
}

.locations-search-bar .search-input::placeholder {
    color: #352D74;
    font-family: "Inter-Regular", sans-serif;
    font-size: 16px;
}

/* Locations Content */
.locations-content-section {
    padding: 80px 0;
    background: #f9f9f9;
    /* Light background for contrast */
}

.locations-list-header {
    margin-bottom: 40px;
}

.locations-count h3 {
    font-family: "Inter-Medium", sans-serif;
    font-size: 20px;
    color: #000000;
}

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Location Card */
.location-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.location-card-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    background-color: #e5e5e5;
}

.location-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.location-card-title {
    font-family: "Inter-Bold", sans-serif;
    font-size: 20px;
    color: #000000;
    margin-bottom: 15px;
}

.location-info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #555555;
    font-size: 14px;
    font-family: "Inter-Regular", sans-serif;
    line-height: 1.5;
}

.location-info-icon {
    color: #DC2626;
    /* Red color for location icon */
    font-size: 18px;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.location-info-icon.phone {
    color: #84CC16;
    /* Green for phone */
}

.location-info-icon.web {
    color: #352D74;
    /* Theme blue for web */
}

.location-website-link {
    color: #352D74;
    text-decoration: underline;
    font-weight: 500;
}

.location-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
}

.location-btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-family: "Inter-Medium", sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-directions {
    background-color: #352D74;
    color: #ffffff;
    border: 1px solid #352D74;
}

.btn-directions:hover {
    background-color: #2a235c;
}

.btn-call {
    background-color: transparent;
    color: #352D74;
    border: 1px solid #352D74;
}

.btn-call:hover {
    background-color: #f0f0f5;
}

/* Responsive */
@media screen and (max-width: 991px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .locations-hero-title {
        font-size: 28px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .locations-search-bar {
        padding: 12px 16px;
    }

    .locations-content-section {
        padding: 40px 0;
    }

    .location-card-content {
        padding: 12px 12px 20px 12px;
    }

    .location-btn {
        font-size: 12px;
    }

    .locations-hero {
        padding: 30px 0px 60px 0px;
    }

    /* .location-card {
        padding: 15px;
    } */
}