/*
Theme Name: Heidi Logan
Theme URI: https://heidilogan.com
Author: Heidi Logan
Description: Luxury real estate theme for Center City Philadelphia condominiums.
Version: 1.0
License: Private
Text Domain: heidi-logan
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --black:      #0f0f0f;
    --black-deep: #080808;
    --gold:       #b08d57;
    --warm-white: #f9f9f7;
    --off-white:  #f2f1ed;
    --near-black: #111111;
    --mid-text:   #6b6b68;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', sans-serif;
    background: var(--warm-white);
    color: var(--near-black);
}

/* ─── NAVIGATION ─── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 56px;
    background: rgba(8,8,8,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-bhhs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding-right: 20px;
    border-right: 1px solid rgba(249,249,247,0.1);
}
.nav-bhhs-mark {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(249,249,247,0.5);
    text-transform: uppercase;
    line-height: 1;
}
.nav-bhhs-sub {
    font-family: 'Jost', sans-serif;
    font-weight: 200;
    font-size: 7px;
    letter-spacing: 1.5px;
    color: rgba(249,249,247,0.25);
    text-transform: uppercase;
}
.nav-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 17px;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: var(--warm-white);
    line-height: 1;
}
.nav-sub {
    font-family: 'Jost', sans-serif;
    font-weight: 200;
    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(176,141,87,0.55);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}
.nav-links a {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(249,249,247,0.5);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-search-link {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(249,249,247,0.5);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s;
}
.nav-search-link:hover { color: var(--gold); }
.nav-search-icon {
    width: 13px;
    height: 13px;
    opacity: 0.5;
}
.nav-connect {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 9.5px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(176,141,87,0.45);
    padding: 9px 22px;
    text-decoration: none;
    transition: all 0.25s;
}
.nav-connect:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--warm-white);
}

/* ─── HERO ─── */
.hero {
    height: 100vh;
    min-height: 680px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black-deep);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.62);
}
.hero-line {
    position: absolute;
    left: 56px;
    top: 140px;
    bottom: 72px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(176,141,87,0.2) 25%, rgba(176,141,87,0.2) 75%, transparent);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 0 40px;
}
.hero-geo {
    font-family: 'Jost', sans-serif;
    font-weight: 200;
    font-size: 9px;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: rgba(176,141,87,0.7);
    margin-bottom: 28px;
}
.hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(56px, 8.5vw, 100px);
    letter-spacing: 12px;
    text-transform: uppercase;
    color: var(--warm-white);
    line-height: 0.95;
    margin-bottom: 28px;
}
.hero-rule {
    width: 36px;
    height: 1px;
    background: rgba(176,141,87,0.45);
    margin: 0 auto 28px;
}
.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(15px, 1.8vw, 20px);
    letter-spacing: 2px;
    color: rgba(249,249,247,0.42);
    margin-bottom: 52px;
    text-transform: uppercase;
}
.hero-cta {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(249,249,247,0.65);
    border: 1px solid rgba(249,249,247,0.15);
    padding: 14px 44px;
    text-decoration: none;
    transition: all 0.3s;
}
.hero-cta:hover {
    border-color: rgba(176,141,87,0.5);
    color: var(--gold);
}
.hero-bottom {
    position: absolute;
    bottom: 32px;
    left: 0; right: 0;
    padding: 0 56px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.hero-brokerage {
    font-family: 'Jost', sans-serif;
    font-weight: 200;
    font-size: 8px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(249,249,247,0.15);
}
.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}
.hero-scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(176,141,87,0.35), transparent);
}
.hero-scroll-label {
    font-family: 'Jost', sans-serif;
    font-size: 7px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(249,249,247,0.2);
    writing-mode: vertical-rl;
}

/* ─── SECTION UTILITIES ─── */
.section-header {
    display: flex;
    align-items: baseline;
    gap: 28px;
    margin-bottom: 52px;
}
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 32px;
    letter-spacing: 1.5px;
    color: var(--near-black);
    white-space: nowrap;
}
.section-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(176,141,87,0.35), transparent);
}
.section-link {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    white-space: nowrap;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.section-link:hover { opacity: 1; }

/* ─── AVAILABLE PROPERTIES ─── */
.section-properties {
    padding: 96px 56px 80px;
    background: var(--warm-white);
}
.properties-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 2px;
}
.prop-card { position: relative; overflow: hidden; }
.prop-img {
    width: 100%;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #111;
    overflow: hidden;
}
.prop-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.prop-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 220px;
    background: linear-gradient(to top, rgba(5,5,5,0.9), transparent);
}
.prop-dot {
    position: absolute;
    top: 20px; left: 20px;
    z-index: 3;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.8;
}
.prop-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 22px 24px;
    z-index: 3;
}
.prop-price {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 24px;
    color: var(--warm-white);
    margin-bottom: 5px;
}
.prop-address {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: rgba(249,249,247,0.42);
}

/* ─── POSITIONING STRIP ─── */
.section-positioning {
    background: var(--black);
    padding: 108px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: center;
}
.pos-label {
    font-family: 'Jost', sans-serif;
    font-weight: 200;
    font-size: 8px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(176,141,87,0.5);
    margin-bottom: 28px;
}
.pos-quote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(22px, 2.8vw, 36px);
    line-height: 1.5;
    color: var(--warm-white);
}
.pos-divider {
    width: 28px;
    height: 1px;
    background: rgba(176,141,87,0.35);
    margin: 36px 0;
}
.pos-body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 2;
    color: rgba(249,249,247,0.42);
    margin-bottom: 40px;
}
.pos-link {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    opacity: 0.75;
    border-bottom: 1px solid rgba(176,141,87,0.25);
    padding-bottom: 4px;
    transition: opacity 0.2s, border-color 0.2s;
}
.pos-link:hover { opacity: 1; border-color: rgba(176,141,87,0.6); }

/* ─── THE BUILDINGS ─── */
.section-buildings {
    padding: 96px 56px;
    background: var(--off-white);
}
.buildings-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.building-card { overflow: hidden; }
.building-img {
    width: 100%;
    height: 296px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}
.building-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.building-card:hover .building-img { transform: scale(1.025); }
.building-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,0.6) 0%, transparent 55%);
}
.building-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: var(--near-black);
    margin-bottom: 6px;
}
.building-desc {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(176,141,87,0.7);
}

/* ─── NEWSLETTER ─── */
.section-newsletter {
    background: var(--black);
    padding: 108px 56px;
    text-align: center;
    position: relative;
}
.section-newsletter::before {
    content: '';
    position: absolute;
    top: 0; left: 56px; right: 56px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(176,141,87,0.15), transparent);
}
.nl-label {
    font-family: 'Jost', sans-serif;
    font-weight: 200;
    font-size: 8px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: rgba(176,141,87,0.55);
    margin-bottom: 18px;
}
.nl-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: 3px;
    color: var(--warm-white);
    line-height: 1.1;
    margin-bottom: 14px;
}
.nl-sub {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    color: rgba(249,249,247,0.32);
    margin-bottom: 52px;
}
.nl-form {
    display: flex;
    justify-content: center;
    max-width: 420px;
    margin: 0 auto;
}
.nl-input {
    flex: 1;
    padding: 13px 18px;
    background: rgba(249,249,247,0.04);
    border: 1px solid rgba(249,249,247,0.08);
    border-right: none;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    color: var(--warm-white);
    outline: none;
    transition: border-color 0.2s;
}
.nl-input::placeholder {
    color: rgba(249,249,247,0.2);
    font-size: 9px;
    letter-spacing: 1.5px;
}
.nl-input:focus { border-color: rgba(176,141,87,0.3); }
.nl-btn {
    padding: 13px 24px;
    background: transparent;
    border: 1px solid rgba(176,141,87,0.4);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    cursor: pointer;
    transition: all 0.25s;
}
.nl-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--warm-white);
}

/* ─── FOOTER ─── */
footer {
    background: var(--black-deep);
    padding: 60px 56px 40px;
    border-top: 1px solid rgba(176,141,87,0.07);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}
.footer-brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 22px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--warm-white);
    margin-bottom: 7px;
}
.footer-brand-loc {
    font-family: 'Jost', sans-serif;
    font-weight: 200;
    font-size: 8px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(176,141,87,0.45);
}
.footer-nav {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}
.footer-nav a {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(249,249,247,0.22);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-contact p {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 11px;
    color: rgba(249,249,247,0.28);
    line-height: 1.9;
    text-align: right;
}
.footer-bottom {
    border-top: 1px solid rgba(249,249,247,0.04);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-legal, .footer-licenses {
    font-family: 'Jost', sans-serif;
    font-weight: 200;
    font-size: 8px;
    letter-spacing: 1.5px;
    color: rgba(249,249,247,0.15);
    text-transform: uppercase;
}

/* ─── BLOG STYLES ─── */
.blog-main {
    padding: 120px 56px 80px;
    background: var(--warm-white);
    min-height: 60vh;
}
.blog-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 40px;
    letter-spacing: 2px;
    color: var(--near-black);
    margin-bottom: 52px;
}
.blog-post {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}
.blog-post h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 26px;
    margin-bottom: 10px;
}
.blog-post h2 a {
    color: var(--near-black);
    text-decoration: none;
    transition: color 0.2s;
}
.blog-post h2 a:hover { color: var(--gold); }
.blog-post-meta {
    font-family: 'Jost', sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(176,141,87,0.6);
    margin-bottom: 14px;
}
.blog-post p {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.9;
    color: var(--mid-text);
}
.single-post-main {
    padding: 120px 56px 80px;
    max-width: 860px;
    margin: 0 auto;
}
.single-post-main h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 44px;
    letter-spacing: 1px;
    color: var(--near-black);
    margin-bottom: 14px;
    line-height: 1.2;
}
.single-post-main .post-meta {
    font-family: 'Jost', sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(176,141,87,0.6);
    margin-bottom: 40px;
}
.single-post-main .post-content p {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 2;
    color: var(--mid-text);
    margin-bottom: 24px;
}
.single-post-main .post-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--near-black);
    margin: 40px 0 16px;
}
