/* ─── RESET & BASE ─────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ─── HEADER ────────────────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #fff;
  text-decoration: none;
  user-select: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  transition: color 0.2s ease;
}

nav ul a:hover {
  color: #9ca3af;
}

/* ─── HERO ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 1) 100%
  );
}

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

.hero-content h1 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
  line-height: 1;
}

.hero-content p {
  font-size: clamp(0.75rem, 2vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  color: #d1d5db;
}

/* ─── SHARED LAYOUT ─────────────────────────────────────────────────────────── */
section {
  padding: 6rem 1.5rem;
}

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

.container-narrow {
  max-width: 56rem;
  margin: 0 auto;
}

.container-wide {
  max-width: 72rem;
  margin: 0 auto;
}

.section-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-align: center;
  margin-bottom: 4rem;
}

/* ─── PORTFOLIO ─────────────────────────────────────────────────────────────── */
#portfolio {
  background: #000;
}

.portfolio-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.portfolio-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
}

.portfolio-card-tall {
  aspect-ratio: 4 / 5;
}

.portfolio-card-wide {
  aspect-ratio: 16 / 10;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: flex-end;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-label {
  padding: 2rem;
}

.portfolio-label h3 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  margin-bottom: 0.4rem;
}

.portfolio-label p {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #d1d5db;
}

/* ─── ABOUT ─────────────────────────────────────────────────────────────────── */
#about {
  background: #0a0a0a;
}

.about-text {
  color: #d1d5db;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text p {
  letter-spacing: 0.03em;
}

/* ─── SERVICES ──────────────────────────────────────────────────────────────── */
#services {
  background: #000;
}

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

.service-card {
  text-align: center;
}

.service-img-wrap {
  width: 10rem;
  height: 10rem;
  margin: 0 auto 1.5rem;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
}

.service-card h3 {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
}

.service-card p {
  color: #9ca3af;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

/* ─── CONTACT ───────────────────────────────────────────────────────────────── */
#contact {
  background: #0a0a0a;
  text-align: center;
}

.contact-tagline {
  font-size: 1.1rem;
  color: #d1d5db;
  margin-bottom: 3rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: #9ca3af;
}

.contact-phone {
  color: #9ca3af;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

/* ─── FOOTER ────────────────────────────────────────────────────────────────── */
footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 1.5rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #9ca3af;
}

/* ─── SCROLL TO TOP ─────────────────────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, background-color 0.3s ease, color 0.3s ease;
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#scroll-top:hover {
  background: #fff;
  color: #000;
}

#scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    gap: 1.25rem;
  }

  nav ul a {
    font-size: 0.7rem;
  }

  .brand {
    font-size: 1.1rem;
  }

  .portfolio-top,
  .portfolio-bottom {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  nav ul {
    gap: 0.75rem;
  }

  .hero-content h1 {
    letter-spacing: 0.08em;
  }
}
