/* ============================================================
   ROHMANN CONSTRUCTION — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --black:   #0A1520;
  --dark:    #0C2D4A;
  --white:   #FFFFFF;
  --accent:  #CC9242;
  --accent-light: #E0A850;
  --light:   #F3F5F7;
  --gray:    #7A8A96;
  --mid:     #2C3E50;
  --nav-h:   80px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.05;
}
h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: 1.3rem; }
p  { color: var(--mid); line-height: 1.75; }

/* ── Utility ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.accent { color: var(--accent); }
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--mid);
  transform: translateY(-2px);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .logo-main {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.1em;
  color: var(--white);
}
.nav-logo .logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1px;
}
/* When logo image is present */
.nav-logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.2));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links .nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.75rem;
}
.nav-links .nav-cta:hover {
  background: var(--accent-light);
  color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── PAGE OFFSET ── */
.page-body { padding-top: var(--nav-h); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 780px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-logo {
  display: block;
  height: 150px;
  width: auto;
  margin: 24px auto 0;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.6));
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.80) 0%,
    rgba(0,0,0,0.40) 50%,
    rgba(0,0,0,0.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 52px;
  width: 100%;
}
.hero-content .container { text-align: left; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-tag::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.hero h1 { color: var(--white); margin-bottom: 22px; max-width: 900px; font-size: clamp(2.4rem, 5.5vw, 5rem); }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── PAGE HERO (smaller) ── */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
  width: 100%;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 5rem); }

/* ── SECTION DEFAULTS ── */
section { padding: 100px 0; }
.section-dark { background: var(--dark); }
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.65); }
.section-light { background: var(--light); }

/* ── SERVICES GRID (home preview) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--dark);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width 0.4s ease;
}
.service-card:hover::before { width: 100%; }
.service-card:hover { background: #1c1c1c; }
.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  margin-bottom: 20px;
}
.service-card h3 { color: var(--white); margin-bottom: 14px; }
.service-card p { color: rgba(255,255,255,0.55); font-size: 0.92rem; }
.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--accent);
}

/* ── SERVICES PAGE GRID ── */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.service-detail-card {
  border-top: 3px solid var(--accent);
  padding-top: 32px;
}
.service-detail-card h3 { margin-bottom: 14px; }
.service-detail-card p { font-size: 0.95rem; }

/* ── SPLIT SECTION ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
}
.split-img {
  position: relative;
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.split-img:hover img { transform: scale(1.04); }
.split-text {
  display: flex;
  align-items: center;
  padding: 80px 70px;
}
.split-text-inner { max-width: 480px; }
.split-text h2 { margin-bottom: 20px; }
.split-text p { margin-bottom: 28px; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--accent);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* ── PHOTO GRID ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.photo-grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #111;
}
.photo-grid-item.tall { aspect-ratio: 3/4; }
.photo-grid-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
.photo-grid-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s;
}
.photo-grid-item:hover img {
  transform: scale(1.06);
  opacity: 0.85;
}

/* ── PROPERTY CARD (Just Sold) ── */
.property-section { padding: 80px 0; border-bottom: 1px solid #eee; }
.property-section:last-child { border-bottom: none; }
.property-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.property-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 18px;
  margin-bottom: 14px;
}
.property-address {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.property-location {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.property-links { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── PROCESS STEPS ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: var(--accent);
  opacity: 0.3;
}
.process-step { padding: 0 24px; text-align: center; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.process-step h4 { margin-bottom: 10px; }
.process-step p { font-size: 0.88rem; }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--black);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'ROHMANN';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18vw;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.55); max-width: 500px; margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info-block { margin-bottom: 40px; }
.contact-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}
.contact-info-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--black);
}
.contact-info-value a:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border: 1.5px solid #ddd;
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── ABOUT PAGE ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.value-item { border-top: 2px solid var(--accent); padding-top: 24px; }
.value-item h4 { margin-bottom: 10px; }
.value-item p { font-size: 0.9rem; }

/* ── FOOTER ── */
.footer {
  background: var(--black);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
.footer-brand .logo-main {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--white);
}
.footer-brand .logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}
.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  margin-top: 16px;
  max-width: 260px;
}
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: var(--accent); }

/* ── SOLD STAMP ── */
.sold-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2.5px solid var(--accent);
  color: var(--accent);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  padding: 6px 16px;
  transform: rotate(-2deg);
  margin-bottom: 12px;
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-img { height: 320px; }
  .split-text { padding: 56px 32px; }
  .split-text-inner { max-width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-grid::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid-item.wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .hero-content { padding: 0 0 32px; }
  .hero-logo { height: 90px; margin-top: 16px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.6rem); margin-bottom: 16px; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .nav-logo img { height: 56px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.98);
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }
  .nav-links.open a { font-size: 1rem; }
  .page-hero { height: 260px; }
  .page-hero-content { padding-bottom: 28px; }
  .page-hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .values-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid-item.wide { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .property-header { flex-direction: column; }
  .property-links { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .contact-form-card { padding: 28px 20px !important; }
  .contact-form-col { order: -1; }
  .split-text { padding: 40px 20px; }
}
