/* ──────────────────────────────────────────
   George Vulaj | GNS Realty — Styles
   Emerald Green + Cream · Warm & Friendly
────────────────────────────────────────── */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;
  --cream:       #fefdf8;
  --cream-warm:  #faf8f0;
  --cream-dark:  #f5f0e1;
  --stone-50:    #fafaf9;
  --stone-100:   #f5f5f4;
  --stone-200:   #e7e5e4;
  --stone-300:   #d6d3d1;
  --stone-500:   #78716c;
  --stone-600:   #57534e;
  --stone-700:   #44403c;
  --stone-800:   #292524;
  --stone-900:   #1c1917;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --shadow-sm:   0 1px 3px rgba(6,78,59,.06), 0 1px 2px rgba(6,78,59,.04);
  --shadow-md:   0 4px 16px rgba(6,78,59,.08), 0 2px 6px rgba(6,78,59,.06);
  --shadow-lg:   0 12px 40px rgba(6,78,59,.10), 0 4px 12px rgba(6,78,59,.06);
  --shadow-xl:   0 20px 60px rgba(6,78,59,.12), 0 8px 20px rgba(6,78,59,.08);
  --font-serif:  'DM Serif Display', 'Lora', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--stone-800);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--emerald-600); }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; color: var(--stone-900); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { color: var(--stone-600); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── TYPOGRAPHY ── */
.overline {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--emerald-700);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  padding: .3em .8em;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.h2 { margin-bottom: .5em; }
.section-sub {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .95rem;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: .75em 1.6em;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn--emerald {
  background: var(--emerald-700);
  color: #fff;
  border-color: var(--emerald-700);
}
.btn--emerald:hover {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.25);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--emerald-700);
  border-color: var(--emerald-200, #a7f3d0);
}
.btn--outline:hover {
  background: var(--emerald-50);
  border-color: var(--emerald-600);
  color: var(--emerald-800);
}
.btn--sm { padding: .5em 1.2em; font-size: .85rem; }
.btn--lg { padding: .9em 2em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(254,253,248,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stone-200);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(254,253,248,.95);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 70px;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--stone-900);
  text-decoration: none;
}
.nav-logo:hover { color: var(--emerald-700); }
.nav-logo-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--stone-500);
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-menu a {
  padding: .4em .85em;
  font-size: .88rem;
  font-weight: 500;
  color: var(--stone-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-menu a:hover { color: var(--emerald-700); background: var(--emerald-50); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--stone-700);
  padding: .5em;
  border-radius: var(--radius-sm);
  margin-left: auto;
}
.nav-toggle:hover { background: var(--stone-100); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,78,59,.82) 0%,
    rgba(4,120,87,.70) 50%,
    rgba(6,95,70,.78) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--emerald-100);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: .4em 1em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.hero-headline {
  color: #fff;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.hero-cred {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.hero-cred-item {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
}
.hero-cred-item svg { opacity: .8; }

/* ── SECTIONS ── */
.section {
  padding: 6rem 0;
}
.section:nth-child(even) {
  background: var(--cream-warm);
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-blob {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/6;
}
.about-image-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  color: var(--emerald-600);
  opacity: .3;
  z-index: -1;
}
.about-text .h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; }
.about-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stone-200);
}
.stat {
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--emerald-700);
}
.stat-label {
  font-size: .78rem;
  color: var(--stone-500);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--stone-200);
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.services .section:nth-child(even) .service-card {
  background: var(--cream-warm);
}
.service-card:hover {
  border-color: var(--emerald-200, #a7f3d0);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-md);
  color: var(--emerald-700);
  margin-bottom: 1.25rem;
}
.service-card .h3 { margin-bottom: .6em; }
.service-card p { margin-bottom: 1rem; font-size: .95rem; }
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5em;
}
.service-list li {
  position: relative;
  padding-left: 1.4em;
  font-size: .9rem;
  color: var(--stone-600);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  background: var(--emerald-500);
  border-radius: 50%;
}

/* ── AREAS ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.area-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--stone-200);
  transition: all var(--transition);
}
.area-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.area-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.area-card-body {
  padding: 1.5rem;
}
.area-card-body .h3 { margin-bottom: .5em; }
.area-card-body p { font-size: .92rem; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--cream-warm);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.quote-mark {
  color: var(--emerald-200, #6ee7b7);
  margin-bottom: 1rem;
  opacity: .6;
}
.testimonial-card p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--stone-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testimonial-name {
  font-family: var(--font-sans);
  font-size: .85rem;
  font-style: normal;
  color: var(--stone-500);
  font-weight: 500;
}

/* ── FAQ ── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: var(--cream-warm);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item[open] {
  border-color: var(--emerald-200, #a7f3d0);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--stone-800);
  list-style: none;
  transition: color var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--emerald-700); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--stone-400);
  transition: transform var(--transition);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--emerald-600); }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: .95rem;
  line-height: 1.7;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info .h2 { margin-bottom: 1rem; }
.contact-info .section-sub { margin-bottom: 2rem; max-width: none; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  flex-shrink: 0;
  color: var(--emerald-600);
  margin-top: .15em;
}
.contact-detail strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--stone-700);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .2em;
}
.contact-detail p, .contact-detail a {
  font-size: .95rem;
  color: var(--stone-600);
  margin: 0;
}
.contact-detail a:hover { color: var(--emerald-700); text-decoration: underline; }
.contact-cta {
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.contact-cta-text {
  font-size: .88rem;
  color: var(--emerald-800);
  margin: 0;
}

/* ── FORM ── */
.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4em;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--stone-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--stone-800);
  background: var(--cream-warm);
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-sm);
  padding: .7em .9em;
  transition: all var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,.12);
  background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--stone-400);
}
.form-privacy {
  font-size: .78rem;
  color: var(--stone-500);
  text-align: center;
  margin-top: .75rem;
}
.form-success {
  text-align: center;
  padding: 2rem;
}
.form-success .success-icon {
  color: var(--emerald-500);
  margin-bottom: 1rem;
}
.form-success .h3 { margin-bottom: .5em; color: var(--emerald-800); }
.form-success p { margin-bottom: 1.5rem; }

/* ── FOOTER ── */
.footer {
  background: var(--stone-900);
  color: var(--stone-300);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .6em;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.footer-logo:hover { color: var(--emerald-400); }
.footer-logo small {
  display: block;
  font-size: .75rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--stone-500);
  text-transform: uppercase;
}
.footer-brand p { font-size: .9rem; color: var(--stone-400); max-width: 280px; }
.footer-links strong,
.footer-contact strong {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--stone-200);
  margin-bottom: 1rem;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: .5em;
}
.footer-links a {
  color: var(--stone-400);
  font-size: .9rem;
  padding: 0;
}
.footer-links a:hover { color: var(--emerald-400); text-decoration: none; background: none; }
.footer-contact address {
  font-size: .9rem;
  color: var(--stone-400);
  display: flex;
  flex-direction: column;
  gap: .4em;
}
.footer-contact a { color: var(--stone-400); }
.footer-contact a:hover { color: var(--emerald-400); }
.footer-bottom {
  border-top: 1px solid var(--stone-800);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
}
.footer-bottom p { font-size: .8rem; color: var(--stone-500); margin: 0; }
.footer-disclaimer { font-size: .75rem; }

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-wrap { max-width: 480px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(254,253,248,.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem 24px;
    gap: .5rem;
    border-bottom: 1px solid var(--stone-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-menu a { padding: .7em 0; font-size: 1rem; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .hero-content { padding: 100px 20px 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-cred { gap: 1rem; }
  .areas-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .about-accent { display: none; }
}
