/* Studioforma styles
   Black and white only. Minimal, premium, editorial. */

/* ---------- Base ---------- */

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

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #000;
  background-color: #fff;
  line-height: 1.6;
  /* leave room for the fixed vertical nav on the right (from sketch) */
  margin-right: 180px;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.2rem; margin: 0.8rem 0 0.4rem; }

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

a {
  color: #000;
}

section {
  padding: 4rem 3rem;
}

/* ---------- Header: logo + vertical nav (right side, from sketch) ---------- */

.site-header .logo {
  width: 200px;
  margin: 2rem 3rem 0;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  padding: 2rem 1.5rem;
  background-color: #000;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav a:hover,
.site-nav a.active {
  border-bottom: 1px solid #fff;
  width: fit-content;
}

/* ---------- Hero ---------- */

.hero {
  padding: 2rem 3rem 4rem;
}

.hero-image {
  width: 100%;
  border: 1px solid #000;
}

.hero-text {
  max-width: 640px;
  margin-top: 2.5rem;
}

.hero-text p {
  margin: 1rem 0 2rem;
  color: #444;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  font-family: inherit;
  cursor: pointer;
  width: fit-content;
}

.btn:hover {
  background-color: #fff;
  color: #000;
  outline: 1px solid #000;
}

.btn-outline {
  background-color: #fff;
  color: #000;
  outline: 1px solid #000;
}

.btn-outline:hover {
  background-color: #000;
  color: #fff;
}

/* ---------- Product highlights (grid) ---------- */

.products {
  background-color: #f5f5f3;
}

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

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #000;
}

.product-card p {
  color: #444;
  font-size: 0.95rem;
}

/* ---------- About brief ---------- */

.about-brief {
  max-width: 720px;
}

.about-brief blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid #000;
  font-style: italic;
  font-size: 1.15rem;
}

.about-brief .btn-outline {
  margin-top: 0.5rem;
}

/* ---------- Page content (inner pages) ---------- */

.page-content {
  max-width: 800px;
}

.page-content p {
  margin-bottom: 1.2rem;
}

.page-content ul {
  margin: 0 0 1.2rem 1.4rem;
}

/* ---------- Gallery (grid for catalogues / projects) ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery figure img {
  width: 100%;
  border: 1px solid #000;
}

.gallery figcaption {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.6rem;
}

.gallery-note {
  margin-top: 2rem;
}

/* ---------- Contact form ---------- */

.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2rem;
}

.contact-form label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #000;
  font-family: inherit;
  font-size: 1rem;
  margin-top: 0.3rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #000;
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: #000;
  color: #fff;
  padding: 2.5rem 3rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: #fff;
}

/* ---------- Responsive: nav moves to top on small screens ---------- */

@media (max-width: 768px) {
  body {
    margin-right: 0;
  }

  .site-nav {
    position: static;
    height: auto;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
  }

  .site-header .logo {
    width: 160px;
    margin: 1.5rem auto 1rem;
  }

  section,
  .hero {
    padding: 2.5rem 1.25rem;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
}
