@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@200..800&display=swap');

/* --- ARKITEKT DESIGN SYSTEM --- */
/* 
  ========================================================
  NEXUS DESIGN STYLE GUIDE:
  - Change the root CSS variables below to change colors instantly!
  ========================================================
*/
:root {
  --bg-light: #ffffff;
  --bg-secondary: #f6f6f6;
  --text-dark: #111111;
  --text-muted: #666666;
  --accent-brass: #b89a75;
  --accent-brass-hover: #a1835d;
  --border-dark: #111111;
  --border-light: #e0e0e0;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 1s cubic-bezier(0.25, 1, 0.5, 1);
  
  --container-width: 1200px;
}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- UTILITIES --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.text-serif {
  font-family: var(--font-serif);
}

.text-brass {
  color: var(--accent-brass);
}

.section-padding {
  padding: 10rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.6rem;
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-dark);
  border-radius: 0;
}

.btn-dark {
  background-color: var(--text-dark);
  color: var(--bg-light);
}

.btn-dark:hover {
  background-color: var(--accent-brass);
  border-color: var(--accent-brass);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-dark);
  color: var(--text-dark);
}

.btn-outline:hover {
  background-color: var(--text-dark);
  color: var(--bg-light);
  transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  transition: var(--transition-smooth);
}

header.scrolled .nav-wrapper {
  height: 80px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo span {
  color: var(--accent-brass);
}

.nav-menu {
  display: flex;
  gap: 3.5rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  background-color: var(--text-dark);
  margin: 7px 0;
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background-color: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--border-light);
    visibility: hidden;
  }
  .nav-menu.active {
    right: 0;
    visibility: visible;
  }
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 6rem;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
  max-width: 520px;
}

@media (max-width: 992px) {
  .hero-desc {
    margin: 0 auto 3.5rem auto;
  }
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Image zoom box */
.hero-img-box {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  padding: 1.5rem;
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.hero-img-box:hover img {
  transform: scale(1.04);
}

/* --- PHILOSOPHY --- */
.philosophy {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}

@media (max-width: 992px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.phil-quote {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.3;
  color: var(--text-dark);
}

.phil-desc p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* --- GALLERY / PROJECTS --- */
.projects-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .projects-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.project-item {
  display: flex;
  flex-direction: column;
}

.project-img-wrapper {
  width: 100%;
  height: 450px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
  background-color: var(--bg-secondary);
  position: relative;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.project-item:hover .project-img-wrapper img {
  transform: scale(1.05);
}

/* Custom placeholder for missing project images */
.project-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #eef1f6 0%, #d5dde6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(17,17,17,0.04);
}

.project-info h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-brass);
  font-weight: 600;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--border-light);
  padding: 8rem 0 4rem 0;
  background-color: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 6rem;
  margin-bottom: 6rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.footer-col h3 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  font-size: 1.4rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.footer-col p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col ul li a:hover {
  color: var(--text-dark);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* --- SCROLL ANIMATIONS --- */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }


/* --- LUCIDE ICONS STYLE --- */
.lucide {
  stroke-width: 1.5;
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  margin-right: 0.5rem;
  display: inline-block;
  color: var(--text-dark);
}

/* --- ARCHITECTURAL DECORATIVE MARKS --- */
.arch-grid-marker {
  position: absolute;
  top: 2.5rem;
  left: 3rem;
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 5;
  text-transform: uppercase;
}
.arch-grid-marker::before {
  content: '+ ';
  color: var(--accent);
  font-weight: bold;
}


/* --- SOCIAL LINKS --- */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}
.social-links a svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}
