/* =========================================================
   LOCATION MAP PAGE — PREMIUM DESIGN
   Matches floor-plan.php visual language
   ========================================================= */

:root {
    --loc-navy: #0d1b2a;
    --loc-gold: #d7b56d;
    --loc-grey: #f5f5f7;
    --loc-text: #555;
    --loc-dark: #333;
}

/* --- GOOGLE MAP EMBED --- */
.loc-map-embed {
    line-height: 0;
}

.loc-map-embed iframe {
    width: 100%;
    height: 450px;
    display: block;
    filter: grayscale(40%) contrast(1.05);
    transition: filter .5s ease;
}

.loc-map-embed iframe:hover {
    filter: grayscale(0%) contrast(1);
}

/* --- HERO --- */
.loc-hero {
    position: relative;
    height: 60vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loc-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: locHeroZoom 20s ease-out forwards;
}

@keyframes locHeroZoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.loc-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(13,27,42,0.88) 0%,
        rgba(13,27,42,0.5) 50%,
        rgba(13,27,42,0.8) 100%);
}

.loc-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 80px 5% 0;
}

/* Breadcrumb */
.loc-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    font-family: sans-serif;
    font-size: 13px;
    animation: locFadeDown 0.8s 0.1s both;
}

.loc-breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.loc-breadcrumb a:hover { color: var(--loc-gold); }

.loc-breadcrumb__sep {
    color: rgba(255,255,255,0.3);
    font-size: 10px;
}

.loc-breadcrumb__current {
    color: var(--loc-gold);
    font-weight: 600;
}

.loc-hero__eyebrow {
    color: var(--loc-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0 0 14px;
    font-weight: 700;
    font-family: sans-serif;
    animation: locFadeDown 0.8s 0.2s both;
}

.loc-hero__title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-family: 'Georgia', serif;
    margin: 0 0 16px;
    letter-spacing: 0.02em;
    animation: locFadeDown 0.8s 0.4s both;
}

.loc-hero__sub {
    font-size: 15px;
    font-family: sans-serif;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0;
    animation: locFadeDown 0.8s 0.6s both;
}

/* Scroll indicator */
.loc-hero__scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 70px;
    background: rgba(255,255,255,0.12);
    z-index: 2;
    overflow: hidden;
}

.loc-hero__scroll span {
    display: block;
    width: 100%;
    height: 50%;
    background: var(--loc-gold);
    animation: locScrollDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes locScrollDrop {
    0%  { transform: translateY(-100%); }
    50% { transform: translateY(100%); }
    100%{ transform: translateY(200%); }
}

@keyframes locFadeDown {
    0%   { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- SHARED ELEMENTS --- */
.loc-label {
    display: block;
    font-size: 12px;
    font-family: sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--loc-gold);
    margin-bottom: 14px;
}

.loc-section-heading {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-family: 'Georgia', serif;
    color: var(--loc-navy);
    margin: 0 0 10px;
}

.loc-gold-rule {
    width: 50px;
    height: 3px;
    background: var(--loc-gold);
    margin: 16px auto 0;
}

/* --- INTRO SECTION --- */
.loc-intro {
    padding: 10vh 5%;
    background: #fff;
    text-align: center;
}

.loc-intro__inner {
    max-width: 800px;
    margin: 0 auto;
}

.loc-intro__text {
    font-size: 17px;
    line-height: 1.85;
    color: var(--loc-text);
    margin: 30px 0 0;
    font-family: sans-serif;
}

.loc-intro__text strong {
    color: var(--loc-navy);
}

/* --- MAP SECTION (Dark Background) --- */
.loc-map-section {
    background: var(--loc-navy);
    padding: 8vh 5%;
    position: relative;
    overflow: hidden;
}

/* Decorative glow */
.loc-map-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215,181,109,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.loc-map__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.loc-map__frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
    padding: 40px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-map__frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

.loc-map__frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-map__frame:hover img {
    transform: scale(1.03);
}

.loc-map__hover {
    position: absolute;
    inset: 0;
    background: rgba(13,27,42,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.4s ease;
    gap: 10px;
}

.loc-map__hover i {
    color: var(--loc-gold);
    font-size: 18px;
}

.loc-map__frame:hover .loc-map__hover {
    opacity: 1;
}

/* --- FEATURES SECTION --- */
.loc-features {
    padding: 10vh 5%;
    background: var(--loc-grey);
}

.loc-features__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.loc-features__header {
    text-align: center;
    margin-bottom: 60px;
}

.loc-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.loc-feat-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.loc-feat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--loc-gold);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-feat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: rgba(215,181,109,0.15);
}

.loc-feat-card:hover::after {
    transform: scaleX(1);
}

.loc-feat-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(215,181,109,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--loc-gold);
    flex-shrink: 0;
    transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease;
}

.loc-feat-card:hover .loc-feat-card__icon {
    background: var(--loc-gold);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.loc-feat-card__body h4 {
    font-size: 16px;
    font-family: 'Georgia', serif;
    color: var(--loc-navy);
    margin: 0 0 6px;
}

.loc-feat-card__body p {
    font-size: 14px;
    line-height: 1.5;
    color: #777;
    margin: 0;
    font-family: sans-serif;
}

/* --- GMADA NOTE STRIP --- */
.loc-note-section {
    padding: 8vh 5%;
    background: #fff;
}

.loc-note__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 36px 40px;
    background: var(--loc-grey);
    border-radius: 16px;
    border-left: 5px solid var(--loc-navy);
}

.loc-note__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--loc-navy);
    color: var(--loc-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.loc-note__content h3 {
    font-size: 20px;
    font-family: 'Georgia', serif;
    color: var(--loc-navy);
    margin: 0 0 10px;
}

.loc-note__content p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--loc-text);
    margin: 0;
    font-family: sans-serif;
}

/* --- CTA SECTION --- */
.loc-cta {
    padding: 10vh 5%;
    background: var(--loc-navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.loc-cta::before,
.loc-cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(215,181,109,0.04);
    pointer-events: none;
}

.loc-cta::before {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -200px;
    animation: locFloat 12s ease-in-out infinite;
}

.loc-cta::after {
    width: 350px;
    height: 350px;
    bottom: -120px;
    right: -80px;
    animation: locFloat 9s ease-in-out infinite reverse;
}

@keyframes locFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -20px) scale(1.05); }
}

.loc-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.loc-cta__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-family: 'Georgia', serif;
    color: #fff;
    margin: 0 0 16px;
}

.loc-cta__text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    margin: 0 0 40px;
    font-family: sans-serif;
}

.loc-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.loc-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.loc-cta__btn--primary {
    background: var(--loc-gold);
    color: var(--loc-navy);
}

.loc-cta__btn--primary:hover {
    background: #e8c87e;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(215,181,109,0.3);
}

.loc-cta__btn--secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.loc-cta__btn--secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-3px);
}

.loc-cta__partner {
    margin-top: 40px;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    font-family: sans-serif;
}

.loc-cta__partner strong {
    color: var(--loc-gold);
}

/* --- LIGHTBOX --- */
.loc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.loc-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.loc-lightbox__close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s;
}

.loc-lightbox__close:hover {
    color: var(--loc-gold);
}

.loc-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-lightbox.active .loc-lightbox__img {
    transform: scale(1);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .loc-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .loc-hero {
        height: 50vh;
        min-height: 360px;
    }

    .loc-hero__content {
        padding-top: 60px;
    }

    .loc-features__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .loc-feat-card {
        padding: 24px 20px;
    }

    .loc-map__frame {
        padding: 20px;
    }

    .loc-note__inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 30px 24px;
    }

    .loc-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .loc-cta__btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
