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

:root {
  --bg:      #f2e5d3;   /* dominant cream from 4.png */
  --bg2:     #ecdcca;   /* slightly deeper cream */
  --accent:  #e07535;   /* orange from the Sincko logo */
  --text:    #2a1a0e;   /* dark warm brown */
  --muted:   #8a7060;   /* warm muted tone */
  --border:  rgba(42, 26, 14, 0.1);
  --radius:  14px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 400; }
em { color: var(--accent); font-style: italic; }

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

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn:hover { background: var(--accent); color: #fff; }

/* ─── Nav ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 5%;
  background: rgba(242, 229, 211, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition);
}
nav.scrolled { padding: 1rem 5%; }

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
nav ul a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
nav ul a:hover { color: var(--accent); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}

/* ─── Hero ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 5% 40px;
  position: relative;
}

.hero-image-wrap {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(42, 26, 14, 0.12);
}
.hero-image-wrap img {
  object-fit: contain;
  background: #f2e5d3;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
}
.hero-scroll-hint span {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ─── Work panels ──────────────────────────────────────────── */
#work {
  padding: 100px 5%;
  background: var(--bg2);
}

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

.work-panel {
  display: flex;
  justify-content: center;
  margin-bottom: 5rem;
}
.work-panel:last-child { margin-bottom: 0; }

.work-panel-image {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 64px rgba(42, 26, 14, 0.14);
  transition: transform var(--transition), box-shadow var(--transition);
}
.work-panel-image:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(42, 26, 14, 0.2);
}
.work-panel-image img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.panel-label {
  position: absolute;
  top: -2rem;
  left: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-panel-image { position: relative; }

/* alternating side offset */
.work-panel { justify-content: flex-start; padding-left: 5%; }
.work-panel.reverse { justify-content: flex-end; padding-left: 0; padding-right: 5%; }

/* ─── Services ─────────────────────────────────────────────── */
#services {
  padding: 100px 5%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--bg);
  padding: 2.5rem;
  transition: background var(--transition);
}
.service-card:hover { background: var(--bg2); }

.service-num {
  display: block;
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}
.service-card h3 { margin-bottom: 0.8rem; color: var(--text); }
.service-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }

/* ─── Contact ──────────────────────────────────────────────── */
#contact {
  padding: 100px 5%;
  background: var(--bg2);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.contact-text h2 { margin-bottom: 1.2rem; }
.contact-text p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-details a {
  color: var(--accent);
  font-size: 0.9rem;
  transition: opacity 0.2s;
}
.contact-details a:hover { opacity: 0.75; }
.contact-details span { color: var(--muted); font-size: 0.85rem; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: 0.5; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group select option { background: var(--bg); color: var(--text); }
.form-group textarea { resize: vertical; }

.btn-submit { align-self: flex-start; }

/* ─── Footer ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 5%;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
footer p { font-size: 0.8rem; color: var(--muted); }

.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* ─── Fade-in animation ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .work-panel,
  .work-panel.reverse { justify-content: center; padding-left: 0; padding-right: 0; }
}

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }

  nav ul { display: none; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    padding: 2rem 5%;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .menu-toggle { display: flex; }

  .hero-image-wrap { max-width: 90vw; }
}

@media (max-width: 600px) {
  section { padding: 70px 5%; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .work-panel-image { max-width: 100%; }
}
