/* ─── ARCH CORE STYLE SHEET ────────────────────────── */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream-bg: #eae8e3;
  --cream-text: #eae8e3;
  --dark-text: #1c1b18;
  --dark-bg: #111110;
  --accent: #c8a96e;
  --text-muted-dark: rgba(28, 27, 24, 0.6);
  --text-dim-dark: rgba(28, 27, 24, 0.35);
  --text-muted-light: rgba(234, 232, 227, 0.55);
  --text-dim-light: rgba(234, 232, 227, 0.3);
}

html, body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--cream-bg);
  font-family: 'Inter', sans-serif;
  color: var(--dark-text);
  -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 80px;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 20px 80px;
  background: rgba(17, 17, 16, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.5em;
  color: #eae8e3;
  line-height: 1;
}

/* Adjust colors for subpages that might be light-themed on load */
body.light-theme-nav .navbar:not(.scrolled) .brand-name {
  color: var(--dark-text);
}
body.light-theme-nav .navbar:not(.scrolled) .brand-tagline {
  color: var(--text-muted-dark);
}
body.light-theme-nav .navbar:not(.scrolled) .nav-links a {
  color: var(--text-muted-dark);
}
body.light-theme-nav .navbar:not(.scrolled) .nav-links a:hover {
  color: var(--dark-text);
}
body.light-theme-nav .navbar:not(.scrolled) .btn-consultation {
  color: var(--dark-text);
  border-color: rgba(28, 27, 24, 0.4);
}
body.light-theme-nav .navbar:not(.scrolled) .btn-consultation:hover {
  background: var(--dark-text);
  color: var(--cream-bg);
}
body.light-theme-nav .navbar:not(.scrolled) .menu-btn {
  border-color: rgba(28, 27, 24, 0.3);
}
body.light-theme-nav .navbar:not(.scrolled) .menu-icon span {
  background: var(--dark-text);
}

.brand-tagline {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(234, 232, 227, 0.55);
  text-transform: uppercase;
}

.nav-links {
  position: absolute;
  left: 340px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 44px;
  list-style: none;
}

.nav-links a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(234, 232, 227, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-consultation {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #eae8e3;
  background: transparent;
  border: 1px solid rgba(234, 232, 227, 0.4);
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-consultation:hover {
  background: #eae8e3;
  color: #111110;
  border-color: #eae8e3;
}

.menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(234, 232, 227, 0.3);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: rgba(234, 232, 227, 0.1);
}

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-icon span {
  display: block;
  width: 14px;
  height: 1px;
  background: #eae8e3;
  transition: all 0.3s ease;
}

.menu-btn:hover .menu-icon span {
  width: 14px;
  background: #ffffff;
}

/* ─── CTA & FOOTER SECTION ──────────────────────── */
.cta-sec {
  position: relative;
  background: var(--dark-bg);
  padding: 100px 80px 60px 80px;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(17, 17, 16, 0.65), rgba(17, 17, 16, 0.85)), url('arch_back_view.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.footer-left-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.cta-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 300;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.btn-consultation-footer {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-consultation-footer:hover {
  background: #ffffff;
  color: var(--dark-bg);
  border-color: #ffffff;
}

.footer-bottom-item {
  margin-top: auto;
  display: flex;
  align-items: center;
}

.copyright-item {
  gap: 16px;
}

.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: #ffffff;
  font-weight: 400;
}

.footer-copyright-text {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(234, 232, 227, 0.45);
  text-transform: uppercase;
}

.links-item {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.footer-link {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(234, 232, 227, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-right-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.cta-right-desc {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(234, 232, 227, 0.6);
  max-width: 300px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 360px;
  background: rgba(17, 17, 16, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 4px 4px 4px 18px;
  transition: border-color 0.3s ease;
}

.newsletter-form:focus-within {
  border-color: var(--accent);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.newsletter-input::placeholder {
  color: rgba(234, 232, 227, 0.35);
}

.newsletter-submit {
  background: #ffffff;
  color: #111110;
  border: none;
  outline: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.newsletter-submit svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.newsletter-submit:hover {
  background: var(--accent);
  color: #ffffff;
}

.social-item {
  justify-content: flex-end;
}

.social-links {
  display: flex;
  gap: 28px;
}

.social-icon {
  color: rgba(234, 232, 227, 0.45);
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-icon:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

/* ─── GLOBAL SUBPAGE HEADER HERO ────────────────── */
.subpage-hero {
  padding: 160px 80px 80px 80px;
  background: var(--dark-bg);
  color: #ffffff;
  width: 100%;
}
.subpage-hero-container {
  max-width: 1440px;
  margin: 0 auto;
}
.subpage-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: inline-block;
}
.subpage-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ─── KEYFRAMES & ANIMATIONS ────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translate(32px, 0); }
  to   { opacity: 1; transform: translate(0, 0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 1024px) {
  .navbar {
    background: var(--cream-bg);
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  .nav-links {
    display: none;
  }
  .btn-consultation {
    color: var(--dark-bg);
    border-color: var(--dark-bg);
  }
  .btn-consultation:hover {
    background: var(--dark-bg);
    color: var(--cream-text);
  }
  .menu-btn {
    border-color: rgba(28, 27, 24, 0.2);
    background: rgba(28, 27, 24, 0.04);
  }
  .menu-btn .menu-icon span {
    background: var(--dark-text);
  }

  .cta-sec {
    padding: 80px 24px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-col {
    min-height: auto;
    gap: 24px;
  }
  .footer-bottom-item {
    margin-top: 0;
  }
  .links-item {
    justify-content: flex-start;
  }
  .social-item {
    justify-content: flex-start;
  }
  .subpage-hero {
    padding: 120px 24px 60px 24px;
  }
}
