/* STUDIO HOCINI — Static Rebuild */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

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

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-300: #d4d4d4;
  --gray-500: #737373;
  --gray-700: #404040;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, Helvetica Neue, sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

/* HAMBURGER */
.hamburger {
  position: fixed;
  top: 1.5rem;
  left: 2rem;
  z-index: 200;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* NAV OVERLAY */
.nav-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.98);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.nav-overlay nav {
  text-align: center;
}
.nav-overlay nav a {
  display: block;
  font-size: 1.5rem;
  font-weight: 300;
  padding: 0.75rem 0;
  color: var(--gray-500);
  transition: color 0.2s;
  letter-spacing: 0.05em;
}
.nav-overlay nav a:hover {
  color: var(--black);
}

/* PORTFOLIO GRID */
.portfolio {
  padding-top: 100px;
  padding-bottom: 2rem;
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.portfolio-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  opacity: 0;
  transition: opacity 0.3s;
}

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

.portfolio-item .overlay h3 {
  color: white;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Full-width items */
.portfolio-item.full {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}

/* FOOTER */
.site-footer {
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.8;
  border-top: 1px solid var(--gray-100);
}

.site-footer a {
  color: var(--gray-500);
  transition: color 0.2s;
}
.site-footer a:hover {
  color: var(--black);
}

.footer-col-right {
  text-align: right;
}

.footer-social a {
  font-size: 1.2rem;
  display: inline-block;
  margin-top: 0.5rem;
}

/* PROJECT PAGE */
.project-page {
  padding-top: 100px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.project-header {
  margin-bottom: 2rem;
}

.project-header h1 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.project-images {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 4rem;
}

.project-images img {
  width: 100%;
  height: auto;
  display: block;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  letter-spacing: 0.05em;
}
.back-link:hover { color: var(--black); }

/* IMPRESSUM / DATENSCHUTZ */
.legal-page {
  padding-top: 120px;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 4rem;
}
.legal-page h1 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}
.legal-page p, .legal-page a {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-item.full {
    aspect-ratio: 4/3;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-col-right {
    text-align: left;
  }
  .site-header {
    padding: 1rem 1.5rem;
  }
  .logo img {
    height: 45px;
  }
}
