
/* =====================================
   LOCATION DETAILS PAGE
===================================== */

.location-details-page {
    background: #f5f6f8;
    min-height: 100vh;
    color: #263746;
    padding-bottom: 70px;
}

/* Hero section */

.location-hero {
    min-height: 420px;
    background-color: #172d40;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.location-hero-content {
    width: 1150px;
    max-width: 90%;
    margin: 0 auto;
    padding: 65px 0;
    color: white;
}

.location-breadcrumb {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: #d0d9e0;
    margin-bottom: 35px;
}

.location-breadcrumb a {
    color: #d0d9e0;
    text-decoration: none;
}

.location-breadcrumb a:hover {
    color: white;
}

.location-type {
    display: inline-block;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.3);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.location-hero h1 {
    color: white;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.15;
    max-width: 750px;
    margin: 0 0 15px;
    font-weight: 700;
}

.hero-address {
    color: #e1e7ec;
    font-size: 15px;
    margin-bottom: 28px;
}

.hero-address i {
    margin-right: 7px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,.5);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
}

.back-button:hover {
    background: white;
    color: #172d40;
}


/* Main container */

.location-main-container {
    max-width: 1150px;
    width: 90%;
    margin: -35px auto 0;
    position: relative;
}


/* Quick information cards */

.location-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 45px;
}

.location-stat-card {
    background: white;
    padding: 22px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
    min-width: 0;
}

.stat-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background: #edf2f6;
    color: #234b68;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.location-stat-card span {
    color: #89939b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.location-stat-card h3 {
    color: #263746;
    font-size: 15px;
    margin: 5px 0 0;
    overflow-wrap: anywhere;
}


/* Main content grid */

.location-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 35px;
    align-items: start;
}

.location-description {
    background: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0,0,0,.035);
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading span {
    color: #54758e;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.section-heading h2 {
    font-size: 27px;
    color: #243b4d;
    margin: 8px 0 0;
}

.location-description > p {
    font-size: 15px;
    line-height: 1.9;
    color: #64717c;
    white-space: pre-line;
}

.location-feature-image {
    margin-top: 30px;
}

.location-feature-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 7px;
    display: block;
}


/* Sidebar */

.location-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-info-card {
    background: white;
    padding: 27px;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0,0,0,.035);
}

.location-info-card h3 {
    font-size: 19px;
    color: #263d50;
    margin: 0 0 25px;
}

.info-row {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #edf0f2;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row > i {
    color: #52758e;
    margin-top: 3px;
    width: 18px;
}

.info-row div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.info-row span {
    color: #929ba2;
    font-size: 12px;
}

.info-row strong {
    color: #344b5d;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.explore-map-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #234b68;
    color: white;
    padding: 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
}

.explore-map-button:hover {
    background: #172d40;
    color: white;
}


/* Responsive */

@media (max-width: 900px) {
    .location-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .location-hero {
        min-height: 360px;
    }

    .location-hero-content {
        padding: 45px 0;
    }

    .location-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .location-stat-card {
        padding: 15px 10px;
        gap: 9px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .location-stat-card h3 {
        font-size: 13px;
    }

    .location-description {
        padding: 22px;
    }

    .location-info-card {
        padding: 22px;
    }

    .location-main-container {
        width: 92%;
    }
}
