/* ============================================================================
   Samana Builders & Developers — Corporate Landing Page
   Premium, art-directed: earthy charcoal/beige + forest green + bronze accents,
   serif display type (Playfair) over a geometric sans (Inter).
   ============================================================================ */

:root {
  --ink: #1c1b19;
  --ink-soft: #4a4640;
  --paper: #faf7f1;
  --paper-2: #f1ece2;
  --forest: #1f3d2f;
  --forest-deep: #16291f;
  --clay: #b5651d;
  --bronze: #b08d2f;
  --bronze-light: #d8b95a;
  --line: rgba(28, 27, 25, 0.12);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(28, 27, 25, 0.06);
  --shadow-md: 0 16px 40px rgba(28, 27, 25, 0.12);
  --shadow-lg: 0 30px 80px rgba(28, 27, 25, 0.18);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--bronze); outline-offset: 2px;
}

.container { width: min(var(--container), 92%); margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  letter-spacing: 0.02em; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--bronze); color: #fff; box-shadow: 0 8px 24px rgba(176,141,47,.35); }
.btn-gold:hover { background: #9c7c26; }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.24); }

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
  padding: 20px 0;
}
.navbar.scrolled { background: rgba(250,247,241,.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); padding: 12px 0; }
.nav-container { width: min(var(--container), 92%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.brand .samana { color: var(--forest); }
.brand .builders { color: var(--bronze); }
.navbar:not(.scrolled) .brand .samana { color: #fff; }
.navbar:not(.scrolled) .brand .builders { color: var(--bronze-light); }

.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); position: relative; transition: color .2s ease; }
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,.85); }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--bronze); transition: width .25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 600; color: var(--ink); }
.navbar:not(.scrolled) .nav-phone { color: rgba(255,255,255,.85); }
.nav-staff-login { font-weight: 600; color: var(--ink-soft); }
.navbar:not(.scrolled) .nav-staff-login { color: rgba(255,255,255,.85); }
.hamburger { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 34px; flex-direction: column; justify-content: center; gap: 6px; }
.hamburger span { display: block; height: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.navbar:not(.scrolled) .hamburger span { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 6px; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a:not(.btn) { font-family: var(--serif); font-size: 26px; font-weight: 600; padding: 10px; color: var(--ink); }
.mobile-menu .btn { margin-top: 12px; }
.mobile-menu-close {
  position: absolute; top: 18px; right: 18px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-close:hover { background: var(--paper-2); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--forest-deep); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(18,30,23,.92) 0%, rgba(18,30,23,.55) 55%, rgba(18,30,23,.25) 100%); }
.hero-content { position: relative; z-index: 2; width: min(var(--container), 92%); margin: 0 auto; padding: 140px 0 100px; }
.hero-content > div { max-width: 720px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 100px; background: rgba(216,185,90,.16); border: 1px solid rgba(216,185,90,.4); color: var(--bronze-light); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-title { color: #fff; font-size: clamp(42px, 6vw, 76px); font-weight: 700; letter-spacing: -0.02em; margin: 26px 0 22px; }
.hero-title .accent { color: var(--bronze-light); font-style: italic; }
.hero-tagline { color: rgba(255,255,255,.82); font-size: 18px; max-width: 520px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.hero-scroll .mouse::after { content: ''; position: absolute; top: 6px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: scrollDot 1.8s ease infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.hero-form-card { background: #fff; border-radius: 20px; padding: 34px; box-shadow: var(--shadow-lg); }
.hero-form-card h3 { font-size: 24px; margin-bottom: 6px; }
.hero-form-card .sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }
.form-group { position: relative; margin-bottom: 16px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--bronze); box-shadow: 0 0 0 4px rgba(176,141,47,.12); }
.form-textarea { resize: vertical; min-height: 110px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 110px 0; }
.section.alt { background: var(--paper-2); }
.section-heading { max-width: 680px; margin-bottom: 56px; }
.section-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; }
.section-title { font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.section-title .accent { color: var(--bronze); font-style: italic; }
.section-lead { color: var(--ink-soft); font-size: 17px; margin-top: 16px; }

/* ── About ───────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-image img { width: 100%; height: 520px; object-fit: cover; }
.about-copy p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 16px; }
.about-copy strong { color: var(--forest); }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.stat { border-top: 1px solid var(--line); padding-top: 20px; }
.stat .num { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--forest); }
.stat .label { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }

/* ── Vision & Mission ────────────────────────────────────────────────────── */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.vm-card { background: #fff; border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--bronze); transition: transform .3s ease, box-shadow .3s ease; }
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.vm-card.vision { border-top-color: var(--forest); }
.vm-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(176,141,47,.14); color: var(--bronze); margin-bottom: 22px; }
.vm-card.vision .vm-icon { background: rgba(31,61,47,.12); color: var(--forest); }
.vm-icon svg { width: 24px; height: 24px; }
.vm-card h3 { font-size: 26px; margin-bottom: 14px; }
.vm-card p { color: var(--ink-soft); font-size: 16px; margin: 0; }

/* ── Features ────────────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--paper-2); color: var(--forest); margin-bottom: 20px; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* ── Projects ────────────────────────────────────────────────────────────── */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.project-card .img-wrap { overflow: hidden; position: relative; height: 260px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover img { transform: scale(1.08); }
.project-badge { position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--forest); }
.project-body { padding: 24px; }
.project-body h3 { font-size: 22px; margin-bottom: 6px; }
.project-loc { color: var(--ink-soft); font-size: 14px; display: flex; align-items: center; gap: 6px; }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonial { max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial blockquote { font-family: var(--serif); font-size: 28px; font-style: italic; color: var(--ink); line-height: 1.4; margin: 0 0 24px; }
.testimonial .who { font-weight: 600; color: var(--forest); font-family: var(--sans); }
.testimonial .role { color: var(--ink-soft); font-size: 14px; }

/* ── Location ────────────────────────────────────────────────────────────── */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 400px; background: var(--paper-2); }
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; }
.map-placeholder { text-align: center; color: var(--ink-soft); padding: 40px; }
.map-placeholder svg { color: var(--bronze); margin-bottom: 12px; }
.location-info h3 { font-size: 26px; margin-bottom: 22px; }
.location-item { display: flex; gap: 16px; margin-bottom: 22px; }
.location-item svg { flex-shrink: 0; color: var(--bronze); width: 20px; height: 20px; margin-top: 3px; }
.location-item .label { font-weight: 600; color: var(--forest); }
.location-item .val { color: var(--ink-soft); }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-card { background: #fff; border-radius: 20px; padding: 44px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-note { color: var(--ink-soft); font-size: 14px; margin-top: 14px; text-align: center; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { background: var(--forest-deep); color: rgba(255,255,255,.78); padding: 80px 0 0; }
.footer-grid { width: min(var(--container), 92%); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; }
.footer .brand .samana { color: #fff; }
.footer .brand .builders { color: var(--bronze-light); }
.footer-tagline { margin: 16px 0 22px; font-size: 14.5px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); transition: all .25s ease; }
.footer-social a:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }
.footer-heading { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: 15px; transition: color .2s ease; }
.footer-links a:hover { color: var(--bronze-light); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14.5px; }
.footer-contact svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--bronze-light); margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.78); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; text-align: center; font-size: 14px; color: rgba(255,255,255,.5); }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { padding-top: 120px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-phone, .nav-staff-login, .btn-book { display: none; }
  .hamburger { display: flex; }
  .hero-scroll { display: none; }
  .hero-title { font-size: clamp(34px, 9vw, 50px); }
  .about-grid, .vm-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-strip { grid-template-columns: 1fr; gap: 12px; }
  .stat { padding-top: 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image img { height: 340px; }
}
