
/* =========================================================
   COMMUNITY WEBSITE - MASTER STYLESHEET
   Homepage + Floor Plan Page
========================================================= */


/* =========================
   1. VARIABLES
========================= */

:root {
    --primary: #618c3b;
    --primary-dark: #47692b;
    --primary-light: #eaf0e4;
    --cream: #f8f7f3;
    --white: #ffffff;
    --dark: #242824;
    --gray: #666b65;
    --border: #e6e8e2;
}


/* =========================
   2. RESET & BASE STYLES
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

p {
    line-height: 1.7;
}


/* =========================
   3. HEADER & NAVIGATION
========================= */

.header {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: auto;
    padding: 18px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    border-radius: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-name {
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 15px;
}

.logo-subtitle {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gray);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .nav-apply {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.nav-links .nav-apply:hover {
    background: var(--primary-dark);
    color: var(--white);
}


/* Mobile Navigation Controls */

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-icon span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: 0.2s ease;
}


/* =========================
   4. BUTTONS
========================= */

.button {
    display: inline-block;
    padding: 15px 28px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
    text-align: center;
    cursor: pointer;
}

.button-primary {
    background: var(--primary);
    color: var(--white);
}

.button-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.button-light {
    border: 1px solid var(--white);
    color: var(--white);
}

.button-light:hover {
    background: var(--white);
    color: var(--dark);
}


/* =========================
   5. LABELS & LINKS
========================= */

.section-label {
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--primary);
}

.text-link {
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
}

.text-link span {
    margin-left: 8px;
    transition: margin 0.2s ease;
}

.text-link:hover span {
    margin-left: 15px;
}


/* =========================================================
   6. HOMEPAGE HERO
========================================================= */

.hero {
    min-height: 650px;
    height: 75vh;
    max-height: 850px;
    background-image: url('https://parksidetuscaloosa.com/image1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(20, 30, 20, 0.78) 0%,
        rgba(20, 30, 20, 0.45) 45%,
        rgba(20, 30, 20, 0.05) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: auto;
    padding: 80px 6%;
    color: var(--white);
}

.hero-eyebrow {
    font-size: 13px;
    letter-spacing: 4px;
    font-weight: 700;
    color: #d9e8c9;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 80px);
    margin: 20px 0;
    max-width: 700px;
}

.hero-content p {
    max-width: 550px;
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================================================
   7. HOMEPAGE INTRO
========================================================= */

.intro {
    background: var(--cream);
    padding: 100px 6%;
    text-align: center;
}

.intro-container {
    max-width: 850px;
    margin: auto;
}

.intro h2 {
    font-size: clamp(32px, 4vw, 50px);
    margin: 20px 0;
}

.intro p {
    font-size: 17px;
    color: var(--gray);
    max-width: 750px;
    margin: auto;
}


/* =========================================================
   8. HOMEPAGE FEATURES
========================================================= */

.features {
    max-width: 1400px;
    margin: auto;
    padding: 80px 6%;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    margin-bottom: 100px;
}

.feature-card:last-child {
    margin-bottom: 0;
}

.feature-reverse .feature-image {
    order: 2;
}

.feature-reverse .feature-content {
    order: 1;
}

.feature-image {
    min-height: 420px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
}

.floor-image {
    background-image: url('https://parksidetuscaloosa.com/image4.jpg');
}

.gallery-image {
    background-image: url('https://parksidetuscaloosa.com/image9.jpg');
}

.location-image {
    background-image: url('https://images.unsplash.com/photo-1642569803366-cd7e48284470?q=80&w=735&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=NHwxMjA3fDA%3D');
}

.feature-content {
    max-width: 550px;
}

.feature-content h2 {
    font-size: clamp(32px, 4vw, 45px);
    margin: 18px 0;
}

.feature-content p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 25px;
}


/* =========================================================
   9. HOMEPAGE CTA
========================================================= */

.cta {
    background: var(--primary-light);
    padding: 90px 6%;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: auto;
}

.cta h2 {
    font-size: clamp(35px, 4vw, 50px);
    margin: 20px 0;
}

.cta p {
    color: var(--gray);
    font-size: 17px;
    margin-bottom: 30px;
}


/* =========================================================
   10. FLOOR PLAN PAGE HERO
========================================================= */

.floor-hero {
    min-height: 420px;
    background-image: url('https://parksidetuscaloosa.com/image10.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.floor-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 39, 29, 0.58);
}

.floor-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: auto;
    padding: 75px 6%;
    color: var(--white);
}

.floor-hero h1 {
    font-size: clamp(42px, 5vw, 65px);
    margin: 20px 0;
}

.floor-hero-content p {
    max-width: 550px;
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}


/* =========================================================
   11. FLOOR PLAN INTRO
========================================================= */

.floor-intro {
    background: var(--cream);
    padding: 75px 6%;
    text-align: center;
}


/* =========================================================
   12. FLOOR PLAN LISTINGS
========================================================= */

.floor-listings {
    max-width: 1400px;
    margin: auto;
    padding: 70px 6%;
}

.floor-plan-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 55px;
    align-items: center;
    margin-bottom: 75px;
    padding-bottom: 75px;
    border-bottom: 1px solid var(--border);
}

.floor-plan-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}


/* Floor plan images */

.floor-plan-image {
    min-height: 420px;
    width: 100%;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.floor-plan-one {
    background-image: url(1br.png);
}

.floor-plan-two {
background-image: url(2br.png);
}

.floor-plan-three {
background-image: url(3br.png);;
}


/* Image labels */

.floor-image-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    color: var(--primary-dark);
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* Floor plan text */

.floor-plan-details {
    max-width: 600px;
}

.floor-plan-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.floor-plan-heading h2 {
    font-size: clamp(32px, 4vw, 45px);
    margin: 12px 0 25px;
}


/* Garage badge */

.floor-plan-feature-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* Specs */

.floor-plan-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--cream);
    border-radius: 5px;
    padding: 22px 15px;
    margin-bottom: 25px;
}

.spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid #dfe2d9;
}

.spec:last-child {
    border-right: none;
}

.spec strong {
    font-size: 23px;
    color: var(--primary-dark);
}

.spec span {
    font-size: 12px;
    color: var(--gray);
    margin-top: 3px;
}


/* Description */

.floor-plan-description {
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 25px;
}


/* Pricing */

.floor-price {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.floor-price span {
    font-size: 13px;
    color: var(--gray);
}

.floor-price strong {
    font-size: 27px;
    color: var(--primary-dark);
    font-weight: 700;
}


/* Apply button */

.floor-apply {
    min-width: 180px;
}


/* =========================================================
   13. FOOTER
========================================================= */

.footer {
    background: #242824;
    color: var(--white);
    padding: 60px 6% 30px;
}

.footer-container {
    max-width: 1400px;
    margin: auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.footer .logo-mark {
    background: var(--primary);
}

.footer .logo-subtitle {
    color: #b9c0b7;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 35px;
}

.footer-links a {
    font-size: 14px;
    color: #e0e4df;
}

.footer-links a:hover {
    color: #a9ce88;
}

.footer-copy {
    font-size: 12px;
    color: #a7ada6;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 25px;
}


/* =========================================================
   14. TABLET RESPONSIVENESS
========================================================= */

@media (max-width: 900px) {

    .nav-container {
        padding: 18px 5%;
    }

    .nav-links {
        gap: 20px;
    }

    .feature-card {
        gap: 35px;
    }

    .feature-image {
        min-height: 350px;
    }

    .floor-plan-card {
        gap: 35px;
    }

    .floor-plan-image {
        min-height: 350px;
    }

}


/* =========================================================
   15. MOBILE RESPONSIVENESS
========================================================= */

@media (max-width: 700px) {

    /* Navigation */

    .nav-container {
        flex-wrap: wrap;
    }

    .menu-icon {
        display: flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 20px;
    }

    .menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links .nav-apply {
        margin-top: 15px;
        padding: 14px;
        text-align: center;
        border-bottom: none;
    }


    /* Homepage Hero */

    .hero {
        min-height: 550px;
        height: auto;
        background-position: center;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(20, 30, 20, 0.75),
            rgba(20, 30, 20, 0.35)
        );
    }

    .hero-content {
        padding: 80px 7%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
    }


    /* Homepage Intro */

    .intro {
        padding: 70px 7%;
    }

    .intro h2 {
        font-size: 36px;
    }


    /* Homepage Features */

    .features {
        padding: 60px 7%;
    }

    .feature-card {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 70px;
        align-items: stretch;
    }

    .feature-reverse .feature-image {
        order: 0;
    }

    .feature-reverse .feature-content {
        order: 0;
    }

    .feature-image {
        min-height: 300px;
        width: 100%;
    }

    .feature-content h2 {
        font-size: 36px;
    }


    /* Homepage CTA */

    .cta {
        padding: 70px 7%;
    }


    /* Floor Hero */

    .floor-hero {
        min-height: 400px;
    }

    .floor-hero-content {
        padding: 65px 7%;
    }

    .floor-hero h1 {
        font-size: 42px;
    }

    .floor-hero-content p {
        font-size: 16px;
    }


    /* Floor Intro */

    .floor-intro {
        padding: 65px 7%;
    }


    /* Floor Listings */

    .floor-listings {
        padding: 55px 7%;
    }

    .floor-plan-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
        margin-bottom: 60px;
        padding-bottom: 60px;
    }

    .floor-plan-image {
        min-height: 300px;
        width: 100%;
    }

    .floor-plan-details {
        width: 100%;
    }

    .floor-plan-heading h2 {
        font-size: 35px;
    }

    .floor-plan-specs {
        padding: 18px 10px;
    }

    .spec strong {
        font-size: 20px;
    }

    .spec span {
        font-size: 11px;
    }

    .floor-plan-feature-badge {
        font-size: 10px;
    }

    .floor-apply {
        width: 100%;
    }


    /* Footer */

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

}


/* =========================================================
   16. SMALL MOBILE DEVICES
========================================================= */

@media (max-width: 400px) {

    .logo-name {
        font-size: 12px;
    }

    .logo-subtitle {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .floor-hero h1 {
        font-size: 38px;
    }

}

/* =========================================================
   PHOTO GALLERY PAGE
========================================================= */


/* =========================
   GALLERY HERO
========================= */

.gallery-hero {
    min-height: 420px;
    background-image: url('https://parksidetuscaloosa.com/image5.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 39, 29, 0.58);
}

.gallery-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: auto;
    padding: 75px 6%;
    color: white;
}

.gallery-hero h1 {
    font-size: clamp(42px, 5vw, 65px);
    margin: 20px 0;
}

.gallery-hero-content p {
    max-width: 550px;
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}


/* =========================
   GALLERY INTRO
========================= */

.gallery-intro {
    background: var(--cream);
    padding: 75px 6%;
    text-align: center;
}

.gallery-intro-container {
    max-width: 850px;
    margin: auto;
}

.gallery-intro h2 {
    font-size: clamp(32px, 4vw, 50px);
    margin: 20px 0;
}

.gallery-intro p {
    font-size: 17px;
    color: var(--gray);
    max-width: 750px;
    margin: 0 auto 30px;
}

.virtual-tour-button span {
    margin-left: 8px;
}


/* =========================
   GALLERY GRID
========================= */

.gallery-section {
    max-width: 1500px;
    margin: auto;
    padding: 70px 6%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
    background: var(--cream);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.92);
}


/* =========================
   LIGHTBOX
========================= */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 18, 15, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 70px 60px;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 28px;
    background: rgba(255,255,255,0.12);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-arrow:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    letter-spacing: 1px;
}


/* =========================
   GALLERY RESPONSIVENESS
========================= */

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .gallery-hero {
        min-height: 400px;
    }

    .gallery-hero-content {
        padding: 65px 7%;
    }

    .gallery-hero h1 {
        font-size: 42px;
    }

    .gallery-hero-content p {
        font-size: 16px;
    }

    .gallery-intro {
        padding: 65px 7%;
    }

    .gallery-section {
        padding: 45px 7%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item {
        aspect-ratio: 4 / 3;
    }

    .gallery-lightbox {
        padding: 60px 15px;
    }

    .gallery-lightbox img {
        max-width: 100%;
        max-height: 75vh;
    }

    .lightbox-arrow {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        right: 15px;
        top: 15px;
    }

}


/* =========================================================
   LOCATION PAGE
========================================================= */


/* =========================
   LOCATION HERO
========================= */

.location-hero {
    min-height: 480px;
    background-image: url('https://parksidetuscaloosa.com/image2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.location-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 39, 29, 0.58);
}

.location-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: auto;
    padding: 75px 6%;
    color: var(--white);
}

.location-hero h1 {
    font-size: clamp(42px, 5vw, 65px);
    margin: 20px 0;
}

.location-hero-content p {
    max-width: 550px;
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}


/* =========================
   LOCATION INTRO
========================= */

.location-intro {
    background: var(--cream);
    padding: 80px 6%;
    text-align: center;
}

.location-intro-container {
    max-width: 850px;
    margin: auto;
}

.location-intro h2 {
    font-size: clamp(32px, 4vw, 50px);
    margin: 20px 0;
}

.location-intro p {
    font-size: 17px;
    color: var(--gray);
}


/* =========================
   ADDRESS SECTION
========================= */

.location-address-section {
    padding: 85px 6%;
}

.location-address-container {
    max-width: 1400px;
    margin: auto;
}

.location-section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 65px;
}

.location-section-heading h2 {
    font-size: clamp(35px, 4vw, 50px);
    margin: 20px 0;
}

.location-section-heading p {
    color: var(--gray);
    font-size: 17px;
}

.address-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.address-card:last-child {
    margin-bottom: 0;
}

.address-card-reverse .address-card-image {
    order: 2;
}

.address-card-reverse .address-card-content {
    order: 1;
}

.address-card-image {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
}

.address-image-one {
    background-image: url('psf4.png');
}

.address-image-two {
    background-image: url('https://parksidetuscaloosa.com/image1.jpg');
}

.address-card-content {
    max-width: 600px;
}

.address-card-content h3 {
    font-size: clamp(32px, 4vw, 45px);
    margin: 15px 0 5px;
}

.address-text {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.address-card-content > p:not(.address-text) {
    color: var(--gray);
    margin-bottom: 30px;
}


/* =========================
   MAP SECTION
========================= */

.location-map-section {
    background: var(--cream);
    padding: 80px 6%;
}

.location-map-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.location-map-heading h2 {
    font-size: clamp(35px, 4vw, 50px);
    margin: 20px 0;
}

.location-map-heading p {
    color: var(--gray);
    font-size: 17px;
}

.location-map-container {
    max-width: 1400px;
    margin: auto;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
}

.location-map-container iframe {
    display: block;
    width: 100%;
}

.location-map-buttons {
    max-width: 1400px;
    margin: 30px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}


/* =========================
   LOCATION HIGHLIGHTS
========================= */

.location-highlights {
    max-width: 1500px;
    margin: auto;
    padding: 85px 6%;
}

.location-highlights-heading {
    max-width: 850px;
    text-align: center;
    margin: 0 auto 50px;
}

.location-highlights-heading h2 {
    font-size: clamp(35px, 4vw, 50px);
    margin: 20px 0;
}

.location-highlights-heading p {
    color: var(--gray);
    font-size: 17px;
}

.location-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.location-highlight-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.location-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.location-highlight-image {
    height: 260px;
    background-size: cover;
    background-position: center;
}

.location-highlight-content {
    padding: 25px;
}

.highlight-category {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
}

.location-highlight-content h3 {
    font-size: 27px;
    margin: 12px 0;
}

.location-highlight-content p {
    color: var(--gray);
    font-size: 15px;
}


/* Highlight images */

.highlight-park {
    background-image: url('https://images.unsplash.com/photo-1519331379826-f10be5486c6f?auto=format&fit=crop&w=1200&q=85');
}

.highlight-skate {
    background-image: url('https://images.unsplash.com/photo-1520045892732-304bc3ac5d8e?auto=format&fit=crop&w=1200&q=85');
}

.highlight-tennis {
    background-image: url('https://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?auto=format&fit=crop&w=1200&q=85');
}

.highlight-university {
    background-image: url('https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1200&q=85');
}

.highlight-medical {
    background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1200&q=85');
}

.highlight-shopping {
    background-image: url('https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1200&q=85');
}


/* =========================
   LOCATION MOBILE
========================= */

@media (max-width: 900px) {

    .location-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .address-card {
        gap: 35px;
    }

}


@media (max-width: 700px) {

    .location-hero {
        min-height: 420px;
    }

    .location-hero-content {
        padding: 65px 7%;
    }

    .location-hero h1 {
        font-size: 42px;
    }

    .location-hero-content p {
        font-size: 16px;
    }

    .location-intro {
        padding: 65px 7%;
    }

    .location-address-section {
        padding: 65px 7%;
    }

    .location-section-heading {
        margin-bottom: 45px;
    }

    .address-card {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 65px;
        align-items: stretch;
    }

    .address-card-reverse .address-card-image {
        order: 0;
    }

    .address-card-reverse .address-card-content {
        order: 0;
    }

    .address-card-image {
        min-height: 300px;
        width: 100%;
    }

    .address-card-content {
        width: 100%;
    }

    .address-card-content h3 {
        font-size: 35px;
    }

    .location-map-section {
        padding: 65px 7%;
    }

    .location-map-container iframe {
        height: 350px;
    }

    .location-map-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .location-highlights {
        padding: 65px 7%;
    }

    .location-highlight-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .location-highlight-image {
        height: 280px;
    }

}
