@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --navy:   #0B192C;
  --navy2:  #0f2240;
  --gold:   #C9A84C;
  --gold2:  #e8c96a;
  --light:  #F5F3EE;
  --white:  #FFFFFF;
  --muted:  #6B7280;
  --border: #E5E0D8;
  --dark:   #1C2B3A;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, .serif { font-family: 'Cormorant Garamond', serif; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ─── NAVBAR ─── */
nav {
  position: fixed; width: 100%; top: 0; z-index: 1000;
  padding: 22px 6%;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(11, 25, 44, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: padding 0.4s ease;
}
nav.scrolled { padding: 14px 6%; }

.logo-wrap { display: flex; align-items: center; gap: 14px; }
.logo-box {
  border: 1.5px solid var(--gold);
  padding: 6px 11px;
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 2px;
}
.logo-text { color: var(--white); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; }
.logo-sub  { color: var(--gold); font-size: 10px; letter-spacing: 2px; display: block; margin-top: 2px; opacity: 0.9; }

.nav-links { display: flex; align-items: center; gap: 10px; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 8px 16px;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 11px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: transparent; color: var(--gold); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 11px 24px;
  text-decoration: none;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 0 6% 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,25,44,0.97) 0%, rgba(11,25,44,0.75) 55%, rgba(11,25,44,0.4) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 750px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(201,168,76,0.4);
  padding: 7px 14px;
  color: var(--gold);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 28px;
  background: rgba(201,168,76,0.07);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 700;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 44px;
  font-weight: 300;
  line-height: 1.8;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: flex; gap: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 36px;
}
.stat-item {}
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--white); font-weight: 600; line-height: 1; }
.stat-num span { color: var(--gold); }
.stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ─── SECTIONS ─── */
.section { padding: 100px 6%; }
.section-label {
  font-size: 10px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 12px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.15;
}
.section-title.light { color: var(--white); }

/* ─── ABOUT SECTION ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.9;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.about-tag {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 12px;
}
.about-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.about-img-wrap {
  overflow: hidden;
  position: relative;
}
.about-img-wrap:first-child { grid-row: span 2; }
.about-img-wrap:hover .about-img { filter: brightness(1); transform: scale(1.04); }

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}
.service-card {
  background: var(--white);
  padding: 44px 36px;
  border-bottom: 3px solid transparent;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(11,25,44,0.08); }
.service-icon { margin-bottom: 24px; }
.service-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 14px; }
.service-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ─── FOUNDER ─── */
.founder-section {
  background: var(--navy);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.founder-img-side {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.founder-img-side img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.founder-img-side::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 70%, var(--navy) 100%);
}
.founder-content-side {
  padding: 80px 70px 80px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.founder-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--white);
  font-style: italic;
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 28px 0;
}
.founder-bio { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.85; margin-bottom: 36px; }

/* ─── PROJECTS PAGE ─── */
.page-hero {
  background: var(--navy);
  padding: 160px 6% 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1920&q=80') center/cover;
  opacity: 0.12;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.6); margin-top: 16px; font-size: 1rem; max-width: 500px; }

.filter-bar {
  display: flex; gap: 8px; padding: 40px 6% 0;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'DM Sans', sans-serif;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--gold); color: var(--navy); background: var(--white); }
.filter-btn.active { background: var(--navy); color: var(--gold); border-color: var(--navy); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  padding: 40px 6% 100px;
}
.project-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(11,25,44,0.1); }
.project-img-wrap { position: relative; height: 240px; overflow: hidden; }
.project-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.project-card:hover .project-img { transform: scale(1.07); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,25,44,0.85) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s ease;
  display: flex; align-items: flex-end; padding: 20px;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay-text { color: var(--white); font-size: 12px; letter-spacing: 1px; }
.status-badge {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 12px;
  font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: var(--gold); color: var(--navy);
}
.status-badge.inprogress { background: #1e4620; color: #6ee77e; }

.project-info { padding: 28px; }
.project-client { font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 8px; display: block; }
.project-info h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.project-location { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* ─── CONTACT PAGE ─── */
.contact-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  padding-top: 80px;
}
.contact-left {
  background: var(--navy);
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.contact-left::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1621905251189-08b1489462be?auto=format&fit=crop&w=800&q=80') center/cover;
  opacity: 0.07;
}
.contact-left-content { position: relative; z-index: 1; }
.contact-founder-img {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2px solid var(--gold);
  margin-bottom: 28px;
  display: block;
}
.contact-left h2 { font-size: 2.6rem; color: var(--white); line-height: 1.1; margin-bottom: 16px; }
.contact-left p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.8; margin-bottom: 40px; }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 1; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-icon { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.contact-info-text { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.6; }
.contact-info-label { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); font-weight: 600; margin-bottom: 4px; display: block; }

.contact-right {
  background: var(--white);
  padding: 80px 70px;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-right h3 { font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.contact-right .sub { font-size: 13px; color: var(--muted); margin-bottom: 44px; line-height: 1.7; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--navy); margin-bottom: 8px;
}
.form-control {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--border);
  background: var(--light);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: var(--dark);
  transition: border-color 0.3s, background 0.3s;
  outline: none;
  appearance: none;
}
.form-control:focus { border-color: var(--gold); background: var(--white); }
.form-control::placeholder { color: #aaa; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

.submit-btn {
  width: 100%; padding: 16px;
  background: var(--navy); color: var(--gold);
  border: 2px solid var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 8px;
}
.submit-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
  display: none;
  text-align: center; padding: 50px 30px;
}
.form-success.show { display: block; }
.success-icon { margin-bottom: 20px; }
.form-success h4 { font-size: 1.6rem; color: var(--navy); margin-bottom: 12px; }
.form-success p { color: var(--muted); font-size: 14px; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 70px 6% 30px;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 260px; margin-top: 16px; }
.footer-col h5 { color: var(--gold); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.footer-col a, .footer-col p { display: block; font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(255,255,255,0.35);
}

/* ─── ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.30s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ─── LOADING STATE ─── */
.loading-state {
  grid-column: 1/-1;
  display: flex; flex-direction: column; align-items: center;
  padding: 80px;
  color: var(--muted);
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .founder-section { grid-template-columns: 1fr; }
  .founder-img-side { min-height: 400px; }
  .founder-content-side { padding: 60px 6%; }
  .contact-page { grid-template-columns: 1fr; }
  .contact-left { padding: 60px 6%; }
  .contact-right { padding: 60px 6%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links .btn-primary { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.8rem; }
  .about-images { grid-template-rows: 160px 160px; }
  .hero-stats { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}