/*
Theme Name: Hanover Luxury
Theme URI: https://hanoverluxury.com
Author: Hanover Luxury
Description: Custom marketing theme for Hanover Luxury Condominiums and The Canopy Penthouse in Historic Ashland Park.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hanover-luxury
*/
:root {
  --navy: #082a4a;
  --navy-deep: #061d33;
  --gold: #c6a457;
  --gold-light: #e1c77d;
  --brick: #873a2d;
  --ivory: #f8f5ed;
  --paper: #fffdf8;
  --ink: #1f2529;
  --muted: #646a6e;
  --line: rgba(8, 42, 74, 0.14);
  --shadow: 0 24px 70px rgba(6, 29, 51, 0.14);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  margin: 0 0 14px;
  color: var(--gold);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .76rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.02; color: var(--navy-deep); margin-top: 0; }
h1 { font-size: clamp(3.2rem, 7vw, 6.8rem); font-weight: 600; letter-spacing: -.035em; }
h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 600; letter-spacing: -.025em; }
h3 { font-size: clamp(1.55rem, 2vw, 2rem); font-weight: 600; }
p { margin-top: 0; }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.35rem); color: #4e5559; max-width: 700px; }
.small { font-size: .86rem; color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: .04em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(255,255,255,.65); color: white; background: rgba(6,29,51,.12); backdrop-filter: blur(4px); }
.btn-dark { background: var(--navy); color: white; }
.btn-link { color: var(--navy); padding: 0; min-height: auto; border-bottom: 1px solid var(--gold); border-radius: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248,245,237,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 132px; max-height: 60px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 21px; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 650; color: var(--navy-deep); }
.nav a:hover { color: var(--brick); }
.menu-button { display: none; border: 0; background: transparent; font-size: 1.5rem; color: var(--navy); }

.hero {
  min-height: 760px;
  position: relative;
  display: grid;
  align-items: end;
  color: white;
  background: linear-gradient(90deg, rgba(3,20,35,.77), rgba(3,20,35,.16) 65%), url('assets/images/exterior.jpg') center/cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(6,29,51,.32)); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 850px; padding: 90px 0 95px; }
.hero h1 { color: white; margin-bottom: 18px; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 740px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-kicker { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 32px; font-size: .92rem; color: rgba(255,255,255,.82); }
.hero-kicker span::before { content: "◆"; color: var(--gold); margin-right: 9px; font-size: .65rem; }

.trust-strip { background: var(--navy-deep); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 28px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--gold-light); font-family: var(--serif); font-size: 1.55rem; }
.trust-item span { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); }

.section { padding: 105px 0; }
.section-compact { padding: 72px 0; }
.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.grid-2.reverse { grid-template-columns: .95fr 1.05fr; }
.image-card { position: relative; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); }
.image-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.image-card::after { content: "Artist rendering"; position: absolute; right: 12px; bottom: 10px; color: white; background: rgba(6,29,51,.7); padding: 5px 9px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.feature-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px 24px; margin: 30px 0; padding: 0; list-style: none; }
.feature-list li { padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); position: relative; }
.feature-list li::before { content: "◆"; color: var(--gold); position: absolute; left: 0; top: 17px; font-size: .72rem; }

.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 42px; }
.card { background: var(--paper); border: 1px solid var(--line); padding: 32px; min-height: 220px; box-shadow: 0 8px 30px rgba(6,29,51,.05); }
.card .number { color: var(--gold); font-family: var(--serif); font-size: 2.5rem; }
.card p { color: var(--muted); }

.dark-section { background: var(--navy-deep); color: rgba(255,255,255,.83); }
.dark-section h2, .dark-section h3 { color: white; }
.dark-section .lead { color: rgba(255,255,255,.72); }

.gallery { display: grid; grid-template-columns: repeat(12,1fr); grid-auto-rows: 220px; gap: 16px; margin-top: 42px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 3px; background: #ddd; }
.gallery figure:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery figure:nth-child(2) { grid-column: span 5; }
.gallery figure:nth-child(3) { grid-column: span 5; }
.gallery figure:nth-child(4), .gallery figure:nth-child(5), .gallery figure:nth-child(6) { grid-column: span 4; }
.gallery figure:nth-child(7), .gallery figure:nth-child(8) { grid-column: span 6; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption { position: absolute; left: 14px; bottom: 12px; color: white; background: rgba(6,29,51,.72); padding: 7px 10px; font-size: .8rem; }

.journal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 38px; }
.journal-card { background: var(--paper); border-top: 4px solid var(--gold); padding: 28px; }
.journal-card time { color: var(--brick); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.journal-card h3 { margin: 10px 0; }

.location-panel { background: linear-gradient(135deg, var(--paper), #eee7da); border: 1px solid var(--line); padding: 46px; }
.location-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 30px; list-style: none; padding: 0; margin: 26px 0 0; }
.location-list li { border-bottom: 1px solid var(--line); padding: 12px 0; }

.form-section { background: var(--navy); color: white; }
.form-section h2 { color: white; }
.form-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.form-panel { background: white; color: var(--ink); padding: 35px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
input, select, textarea { width: 100%; border: 1px solid #ccd2d5; padding: 14px; background: #fff; font: inherit; color: var(--ink); border-radius: 2px; }
textarea { min-height: 112px; resize: vertical; }
.form-field { margin-bottom: 15px; }
.form-success { display: none; margin-top: 16px; padding: 14px; background: #edf6e9; color: #31552c; border: 1px solid #bad3b3; }

.unit-hero { background: var(--navy-deep); color: white; padding: 80px 0 0; }
.unit-hero h1 { color: white; font-size: clamp(3rem, 7vw, 6rem); }
.unit-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: end; }
.unit-hero-image { min-height: 560px; background: url('assets/images/living.jpg') center/cover no-repeat; }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.2); margin-top: 28px; }
.stat { background: var(--navy-deep); padding: 20px 12px; }
.stat strong { display: block; font-family: var(--serif); color: var(--gold-light); font-size: 1.45rem; }
.stat span { font-size: .75rem; color: rgba(255,255,255,.68); text-transform: uppercase; letter-spacing: .08em; }
.floorplan-placeholder { min-height: 360px; display: grid; place-items: center; border: 1px dashed rgba(8,42,74,.35); background: rgba(255,255,255,.5); text-align: center; padding: 30px; }

.site-footer { background: #041523; color: rgba(255,255,255,.68); padding: 55px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 45px; }
.footer-logo { width: 240px; margin-bottom: 18px; }
.site-footer h3 { color: white; font-size: 1.4rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 38px; padding-top: 20px; font-size: .77rem; }

.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.fade-in.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav { position: absolute; display: none; top: 76px; left: 0; right: 0; padding: 22px; background: var(--ivory); flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .menu-button { display: block; }
  .header-cta { display: none; }
  .hero { min-height: 680px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .grid-2, .grid-2.reverse, .form-grid, .unit-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .card-grid, .journal-grid { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 200px; }
  .gallery figure { grid-column: span 6 !important; grid-row: span 1 !important; }
  .gallery figure:nth-child(1) { grid-column: span 12 !important; grid-row: span 2 !important; }
  .unit-hero-image { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand img { width: 112px; }
  .section { padding: 78px 0; }
  .hero-content { padding-bottom: 70px; }
  .trust-grid, .feature-list, .form-row, .location-list, .stat-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .gallery { display: block; }
  .gallery figure { height: 250px; margin-bottom: 14px; }
  .form-panel, .location-panel { padding: 25px; }
}

/* WordPress additions */
.admin-bar .site-header { top: 32px; }
.brand img { width: 170px; max-height: 68px; }
.footer-logo { background: transparent; }
.unit-hero-copy { padding-bottom: 70px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-success.visible { display: block; margin-bottom: 18px; }
.content-main { padding: 110px 0; min-height: 60vh; }
.content-narrow { max-width: 820px; }
.entry-content > * { max-width: 100%; }
.entry-content img, .post-featured img { height: auto; border-radius: 3px; }
.post-featured { margin: 30px 0; }
.post-meta { color: var(--muted); }
.post-list { display: grid; gap: 24px; }
.post-card h2 { font-size: 2.25rem; margin: 12px 0; }
.journal-card a { text-decoration: none; }
.navigation.pagination { margin-top: 35px; }
.nav-links { display: flex; gap: 12px; }
.page-numbers { padding: 8px 12px; border: 1px solid var(--line); text-decoration: none; }

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .brand img { width: 135px; } }


/* Version 1.3 — Custom Finish Program and staged collections */
.custom-program { background: linear-gradient(135deg, #f4efe4, #fffdf8); }
.custom-program .program-intro { max-width: 860px; }
.finish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.finish-card { background: var(--paper); border: 1px solid var(--line); padding: 30px; box-shadow: 0 10px 34px rgba(6,29,51,.06); }
.finish-card .number { display: block; color: var(--gold); font-family: var(--serif); font-size: 2.2rem; margin-bottom: 8px; }
.finish-card p { color: var(--muted); }
.program-note { margin-top: 28px; padding: 22px 26px; border-left: 4px solid var(--gold); background: rgba(255,255,255,.66); }
.program-note p:last-child { margin-bottom: 0; }
.release-section { background: #eee7da; }
.release-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 38px; }
.release-card { background: var(--paper); border: 1px solid var(--line); padding: 36px; min-height: 280px; position: relative; }
.release-card .collection-label { color: var(--brick); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; }
.release-card h3 { margin: 10px 0 15px; }
.release-card ul { padding-left: 20px; }
.release-card li { margin-bottom: 8px; }
.custom-hero { background: var(--navy-deep); color: white; padding: 95px 0; }
.custom-hero h1 { color: white; max-width: 900px; }
.custom-hero .lead { color: rgba(255,255,255,.78); max-width: 820px; }
.selection-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px 30px; padding: 0; list-style: none; margin: 30px 0; }
.selection-list li { border-bottom: 1px solid var(--line); padding: 12px 0 12px 28px; position: relative; }
.selection-list li::before { content: "◆"; color: var(--gold); position: absolute; left: 0; top: 16px; font-size: .7rem; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 38px; }
.process-card { background: var(--paper); border-top: 4px solid var(--gold); padding: 26px; }
.process-card strong { display: block; color: var(--brick); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; margin-bottom: 10px; }
.disclaimer-panel { background: #f0eadf; border: 1px solid var(--line); padding: 28px; }
.signature-callout { background: var(--navy); color: rgba(255,255,255,.8); padding: 34px; margin-top: 32px; }
.signature-callout h3 { color: white; }
.signature-callout p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .finish-grid, .release-grid, .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .finish-grid, .release-grid, .process-grid, .selection-list { grid-template-columns: 1fr; }
  .custom-hero { padding: 72px 0; }
}
