@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Karla:wght@200;300;400&display=swap');

:root {
  --ivory: #F9F7F2;
  --terra: #C4724A;
  --sage: #8A9A5B;
  --ink: #1A1A1A;
  --stone: #6B6B6B;
  --mist: #E2E2E2;
  --warm: #F2EDE4;
  --deep: #141414;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Karla', sans-serif;
  background-color: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 600;
  overflow-x: hidden;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

nav.scrolled {
  padding: 1.2rem 5rem;
  background: rgba(249, 247, 242, 0.9);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.3rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #FFFFFF !important;
  font-weight: 800;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  background: rgba(196, 114, 74, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 2.2rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(196, 114, 74, 0.3);
  transition: all 0.4s ease;
}

.logo:hover {
  transform: translateY(-2px);
  background: var(--terra);
  box-shadow: 0 15px 40px rgba(196, 114, 74, 0.4);
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #FFFFFF !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  padding: 0.8rem 1.6rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-links a:hover {
  background: rgba(0, 0, 0, 0.9);
  color: var(--terra) !important;
  border-color: var(--terra);
}

.nav-links a:hover {
  background: var(--terra);
  color: var(--ivory);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  background: var(--ink);
  transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* HERO */
.section-content {
  padding: 8rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5rem 8rem;
  position: relative;
  overflow: hidden;
}

.hero-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  animation: heroZoom 20s infinite alternate linear;
}

.hero-content {
  max-width: 900px;
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

.hero-eyebrow {
  font-size: 0.75rem !important;
  letter-spacing: 0.45em !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  margin-bottom: 2rem !important;
  display: inline-block !important;
  padding: 0.7rem 1.6rem !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.eyebrow-glass {
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.eyebrow-vivid {
  background: var(--terra) !important;
  backdrop-filter: none !important;
  border: none !important;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 1rem;
  display: inline;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  padding: 0.3rem 1.4rem;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: 1.15rem;
  color: #FFFFFF;
  max-width: 600px;
  font-weight: 300;
  display: block;
  margin-top: 2.2rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  padding: 1.2rem 1.8rem;
  border-radius: 4px;
  line-height: 1.8;
  border-left: 3px solid var(--terra);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--terra);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--ink);
}

/* SECTIONS */
section {
  padding: 10rem 5rem;
}

.section-title {
  font-size: 3.5rem;
  margin-bottom: 4rem;
  max-width: 800px;
}

.mission {
  background: var(--warm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.mission-text p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--stone);
  margin-bottom: 2rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse .section-content {
  direction: ltr;
}

.section-content p {
  font-size: 1.1rem;
  color: var(--stone);
  margin-bottom: 2rem;
}

.section-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--terra);
}

.service-card p {
  color: var(--stone);
  font-size: 0.9rem;
}

/* FOOTER */
footer {
  background: var(--deep);
  color: var(--ivory);
  padding: 8rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--ivory);
}

footer p {
  font-size: 0.95rem;
  opacity: 0.7;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

footer a {
  text-decoration: none;
  color: #FFFFFF !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--terra) !important;
  opacity: 1;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav, section, .hero, footer {
    padding: 2rem;
  }
  
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    transition: all 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
    z-index: 105;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .mission {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}
