/* ARCHILINE Design System - Static CSS Export */

/* ============================================
   CSS Variables (Design Tokens)
   ============================================ */
:root {
  /* Primary backgrounds */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(0, 0%, 10%);
  
  /* Soft gray for alternate sections */
  --muted: hsl(0, 0%, 96%);
  --muted-foreground: hsl(0, 0%, 45%);

  /* Card/Popover */
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(0, 0%, 10%);

  /* Primary - Warm stone/beige accent */
  --primary: hsl(39, 30%, 69%);
  --primary-foreground: hsl(0, 0%, 10%);

  /* Secondary - Muted charcoal */
  --secondary: hsl(0, 0%, 17%);
  --secondary-foreground: hsl(0, 0%, 98%);

  /* Accent - Stone */
  --accent: hsl(39, 30%, 69%);
  --accent-foreground: hsl(0, 0%, 10%);

  /* Borders & Inputs */
  --border: hsl(0, 0%, 90%);
  --input: hsl(0, 0%, 90%);
  --ring: hsl(39, 30%, 69%);

  /* Custom tokens */
  --charcoal: hsl(0, 0%, 17%);
  --stone: hsl(39, 30%, 69%);
  --warm-gray: hsl(30, 10%, 94%);

  --radius: 0.5rem;
}

/* ============================================
   Base Styles
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

.text-white {
  color: hsl(0, 0%, 98%);
}

.text-dark {
  color: var(--foreground);
}

/* ============================================
   Typography
   ============================================ */
.heading-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .heading-display {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .heading-display {
    font-size: 3.75rem;
  }
}

.heading-section {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.875rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .heading-section {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .heading-section {
    font-size: 3rem;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: hsl(39, 30%, 60%);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: hsl(0, 0%, 25%);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: white;
  color: var(--foreground);
}

.btn-full {
  width: 100%;
}

.btn-cta-header {
  display: none;
  background: white;
  color: var(--foreground);
  padding: 0.625rem 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.btn-cta-header:hover {
  background: rgba(255, 255, 255, 0.9);
}

@media (min-width: 1024px) {
  .btn-cta-header {
    display: inline-flex;
  }
}

.header.scrolled .btn-cta-header {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.header.scrolled .btn-cta-header:hover {
  background: hsl(0, 0%, 25%);
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.5rem 0;
  transition: all 0.5s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-img {
    height: 3rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.header.scrolled .nav-link {
  color: var(--foreground);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 60;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.header.scrolled .hamburger-line {
  background: var(--foreground);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--background);
  padding-top: 6rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 3rem;
}

.mobile-nav-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mobile-cta {
  margin-top: 1rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 8rem 0 2rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 10rem);
  padding: 2rem 0;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.hero-text {
  color: white;
}

.hero-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-text .heading-display {
  color: white;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 1rem;
}

.hero-form {
  padding: 2rem;
}

@media (min-width: 1024px) {
  .hero-form {
    padding: 2.5rem;
  }
}

.form-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .form-title {
    font-size: 1.875rem;
  }
}

.form-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 185, 154, 0.2);
}

.form-input {
  height: 3rem;
}

.form-textarea {
  resize: none;
}

.form-input-muted {
  background: var(--muted);
  border: none;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
  animation: bounce 1.5s infinite;
  display: none;
}

@media (min-width: 1024px) {
  .scroll-indicator {
    display: block;
  }
}

.scroll-indicator:hover {
  color: white;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}

.section-muted {
  background: var(--muted);
}

.section-warm {
  background: var(--warm-gray);
}

.section-dark {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .section-header {
    margin-bottom: 5rem;
  }
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.section-header .heading-section {
  margin-top: 1rem;
  color: var(--foreground);
}

.section-description {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-top: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Projects Grid
   ============================================ */
.projects-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.project-tall {
  grid-row: span 1;
}

@media (min-width: 768px) {
  .project-tall {
    grid-row: span 2;
  }
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  height: 100%;
}

.project-tall .project-image-wrapper {
  aspect-ratio: 3/4;
}

@media (min-width: 768px) {
  .project-tall .project-image-wrapper {
    aspect-ratio: auto;
  }
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
  opacity: 0.6;
  transition: opacity 0.5s ease;
}

.project-card:hover .project-overlay {
  opacity: 0.8;
}

.project-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .project-content {
    padding: 2rem;
  }
}

.project-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .project-title {
    font-size: 1.5rem;
  }
}

.project-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  .project-desc {
    font-size: 1rem;
  }
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-text .section-label {
  margin-bottom: 0;
}

.about-text .heading-section {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .about-paragraphs {
    font-size: 1.125rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .stat-number {
    font-size: 3rem;
  }
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.6s ease;
}

@media (min-width: 1024px) {
  .about-image {
    height: 600px;
  }
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.03);
}

.about-deco-1 {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 8rem;
  height: 8rem;
  background: rgba(201, 185, 154, 0.2);
  border-radius: 50%;
  filter: blur(48px);
}

.about-deco-2 {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 6rem;
  height: 6rem;
  background: rgba(201, 185, 154, 0.3);
  border-radius: 50%;
  filter: blur(32px);
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.service-card {
  background: var(--background);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
}

@media (min-width: 1024px) {
  .service-card {
    padding: 2.5rem;
  }
}

.service-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.service-icon {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-icon svg {
  stroke: currentColor;
  fill: none;
}

.service-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .service-title {
    font-size: 1.875rem;
  }
}

.service-description {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--foreground);
}

.feature-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Animated Line Drawing */
.animate-draw {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.service-card.visible .animate-draw {
  animation: draw-line 1.5s ease forwards;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.cta-text .heading-section {
  margin-bottom: 1.5rem;
}

.cta-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(201, 185, 154, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.contact-value {
  color: var(--secondary-foreground);
  font-weight: 500;
}

.cta-form-wrapper {
  background: var(--background);
  border-radius: 1rem;
  padding: 2rem;
}

@media (min-width: 1024px) {
  .cta-form-wrapper {
    padding: 2.5rem;
  }
}

.cta-form-wrapper .form-title {
  margin-bottom: 1.5rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 4rem 0 5rem;
}

@media (min-width: 1024px) {
  .footer {
    padding: 5rem 0;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  height: 4rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-logo {
    height: 5rem;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-foreground);
  transition: background 0.3s ease;
}

.social-link:hover {
  background: rgba(201, 185, 154, 0.2);
}

.footer-divider {
  width: 100%;
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ============================================
   Animations
   ============================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fade-up 0.8s ease forwards;
  animation-delay: 0.4s;
}

.animate-slide-in {
  opacity: 0;
  transform: translateX(60px);
  animation: slide-in 0.8s ease forwards;
  animation-delay: 0.6s;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 767px) {
  .hero-grid {
    padding-top: 4rem;
  }
  
  .hero-form {
    order: 2;
  }
  
  .hero-text {
    order: 1;
  }
}
