/* ================================================
   Locations Page Redesign - Additional Styles
   ================================================ */

/* Search Box Styling */
#locationSearch {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E91E8C;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#locationSearch:focus {
    outline: none;
    border-color: #C91878;
    box-shadow: 0 0 8px rgba(233, 30, 140, 0.3);
}

#locationSearch::placeholder {
    color: #999;
}

/* Location Cards */


.location-card {
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 0px;
}

.location-card:hover {
    transform: translateY(-4px);
}

.location-card:hover .row {
    box-shadow: 0 6px 20px rgba(0,0,0,0.2) !important;
}

/* Card Inner Styling */
.location-card .row > div {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.location-card .row > div:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Location Title */
.location-card h2 {
    color: #E91E8C !important;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 20px;
}

/* Location Image */
.location-card img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    height: 200px;
}

/* Icon Row Styling */
.location-card svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Links */
.location-card a {
    color: #E91E8C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-card a:hover {
    color: #C91878;
    text-decoration: underline;
}

/* CTA Buttons */
.location-card .btn {
    background: #E91E8C !important;
    color: white !important;
    padding: 14px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.location-card .btn:hover {
    background: #C91878 !important;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(233, 30, 140, 0.4);
}

/* Banner Section - Responsive Design */
.locations-banner-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
}

.locations-banner-container {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.locations-banner-container:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.locations-banner-image {
    flex: 1 1 40%;
    min-width: 280px;
    position: relative;
    overflow: hidden;
}

.locations-banner-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.locations-banner-container:hover .locations-banner-image img {
    transform: scale(1.05);
}

.locations-banner-content {
    flex: 1 1 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.locations-banner-title {
    color: #E91E8C;
    font-weight: 900;
    margin-bottom: 20px;
    font-size: 32px;
    line-height: 1.2;
}

.locations-banner-text {
    margin-bottom: 30px;
}

.locations-banner-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #333;
}

.locations-banner-text p:last-child {
    margin-bottom: 0;
}

.locations-banner-cta {
    background: #E91E8C;
    color: white !important;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none !important;
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.locations-banner-cta:hover {
    background: #C91878;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 140, 0.4);
    color: white !important;
}

/* Tablet Responsive - Between 787px and 980px (col-md range) */
@media (min-width: 787px) and (max-width: 980px) {
    .locations-banner-content {
        padding: 25px;
    }
    
    .locations-banner-title {
        font-size: 24px;
    }
    
    .locations-banner-text p {
        font-size: 14px;
    }
    
    /* Ensure columns stay side-by-side in this range */
    .row .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    } 
}

/* Tablet Responsive - Below 992px */
@media (max-width: 991px) {
    .locations-banner-content {
        padding: 30px;
    }
    
    .locations-banner-title {
        font-size: 26px;
    }
    
    .locations-banner-text p {
        font-size: 15px;
    }
}

/* Mobile Responsive - Below 768px */
@media (max-width: 767px) {
    .locations-banner-container {
        flex-direction: column;
    }
    
    .locations-banner-image {
        flex: 1 1 100%;
        min-width: 100%;
        max-height: 250px;
    }
    
    .locations-banner-image img {
        min-height: 250px;
        height: 250px;
    }
    
    .locations-banner-content {
        flex: 1 1 100%;
        padding: 25px 20px;
    }
    
    .locations-banner-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .locations-banner-text {
        margin-bottom: 20px;
    }
    
    .locations-banner-text p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .locations-banner-cta {
        width: 100%;
        padding: 14px 30px;
        font-size: 15px;
    }
}

/* Small Mobile - Below 576px */
@media (max-width: 575px) {
    .locations-banner-wrapper {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .locations-banner-image {
        max-height: 200px;
    }
    
    .locations-banner-image img {
        min-height: 200px;
        height: 200px;
    }
    
    .locations-banner-content {
        padding: 20px 15px;
    }
    
    .locations-banner-title {
        font-size: 20px;
    }
}

/* Main Title */
.location-main-title {
    color: #E91E8C;
    font-weight: bold;
    margin: 30px 0;
    text-align: center;
    font-size: 24px;
}

@media (max-width: 768px) {
    .location-card img {
        height: 180px;
        margin-bottom: 15px;
    }
    
    .location-card h2 {
        font-size: 18px;
    }
    
    .location-banner {
        padding: 20px;
    }
    
    .location-banner h2 {
        font-size: 22px;
    }
    
    .location-banner p {
        font-size: 14px;
    }
    
    #locationSearch {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .location-card .btn {
        margin-bottom: 10px;
    }
    
    .location-card img {
        height: 150px;
    }
}

/* Truck Catering Banner - Between 787px and 980px */
@media (min-width: 787px) and (max-width: 980px) {
    .truck-banner-heading {
        font-size: 32px !important;
    }
    
    .truck-banner-truck-image {
        max-width: 280px !important;
    }
    
    .truck-banner-button {
        padding: 14px 40px !important;
        font-size: 16px !important;
    }
}

/* Animation for filtered results */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-card {
    animation: fadeIn 0.3s ease;
}
