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

:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e5e5e5;
}

[data-theme="dark"] {
  --background: #0a0a0a;
  --foreground: #fafafa;
  --muted: #1a1a1a;
  --muted-foreground: #a3a3a3;
  --border: #262626;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
.text-minimal {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.text-architectural {
  letter-spacing: -0.02em;
}

/* Navigation */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

[data-theme="dark"] .navigation {
  background: rgba(10, 10, 10, 0.95);
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 1.5rem;
}

.theme-toggle:hover {
  border-color: var(--foreground);
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--foreground);
  stroke-width: 1.5;
  fill: none;
}

.theme-toggle .sun-icon {
  display: block;
}

.theme-toggle .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--foreground);
  text-decoration: none;
  height: 50px;
}

.logo img{
  height: 50px;
}

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

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--foreground);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('../images/hero-property.jpg') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.8) 50%, rgba(15, 15, 35, 0.9) 100%);
}

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

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  padding: 0 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  letter-spacing: 0.05em;
  max-width: 42rem;
  margin: 0 auto 3rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-btn {
  display: inline-block;
  background: white;
  color: black;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.scroll-line {
  width: 1px;
  height: 4rem;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 auto;
}

.scroll-text {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  transform: rotate(90deg);
}

/* Services Section */
.services {
  padding: 8rem 0;
  background: var(--background);
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem 5rem;
}

.service-item {
  display: flex;
  gap: 1.5rem;
}

.service-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.service-icon svg {
  width: 2rem;
  height: 2rem;
  stroke: var(--muted-foreground);
  stroke-width: 1.5;
  fill: none;
}

.service-number {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* About Section */
.about {
  padding: 8rem 0;
  background: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

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

.about-text p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.approach-item {
  border-left: 2px solid var(--foreground);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.approach-item h5 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.approach-item p {
  color: var(--muted-foreground);
}

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

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 300;
}

/* Portfolio Section */
.portfolio {
  padding: 8rem 0;
  background: var(--muted);
}

.portfolio-header {
  text-align: center;
  margin-bottom: 5rem;
}

.portfolio-header p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 1.5rem auto 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  text-align: center;
}

.portfolio-image {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-overlay span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio-item h4 {
  font-size: 1.25rem;
  font-weight: 300;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.portfolio-item p {
  color: var(--muted-foreground);
}

/* Contact Section */
.contact {
  padding: 8rem 0;
  background: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

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

.contact-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.contact-info a,
.contact-info address {
  font-size: 1.25rem;
  color: var(--foreground);
  text-decoration: none;
  font-style: normal;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--muted-foreground);
}

.social-links a {
  display: block;
  font-size: 1.25rem;
  color: var(--foreground);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--muted-foreground);
}

.contact-text {
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.contact-text p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  margin-top: 8rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

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

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer p {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--foreground);
  margin-left: 1rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
}
