/* ============================================================
   Just One Step — justonestep.eu
   style.css — shared across all pages
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
/* Cormorant Garamond: display / headings / body
   Raleway:            nav / buttons / labels / UI          */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Raleway:wght@300;400;500;600&display=swap');
/* ── Custom Properties ────────────────────────────────────── */
:root {
  --cream:    #f5f0e8;
  --dark:     #1a1a1a;
  --olive:    #4a5540;
  --text:     #2a2a2a;
  --text-dark:#2a2a2a;
  --muted:    #888880;
  --white:    #ffffff;
  --nav-h:    80px;
  --gap:      3px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Raleway', sans-serif;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body {
  font-family: var(--font-display);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }


/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: transparent;
  transition: background 0.5s ease, backdrop-filter 0.5s ease;
}

/* Scrolled — 50% dark, still see-through */
nav.scrolled {
  background: rgba(26, 26, 24, 0.50);
  backdrop-filter: blur(6px);
}

/* Inner pages start at 50% dark immediately */
nav.dark-default {
  background: rgba(26, 26, 24, 0.50);
  backdrop-filter: blur(6px);
}

/* Nav links — animated underline left → right */
.nav-link {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.88;
  position: relative;
  padding-bottom: 3px;
  transition: opacity 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.35s ease;
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { width: 100%; }

/* Logo — centred, size defined once here for all pages */
.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.nav-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile full-screen menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(26, 26, 24, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.82;
  transition: opacity 0.2s;
}
.mobile-menu a:hover { opacity: 1; }


/* ============================================================
   SHARED COMPONENTS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: currentColor;
  border: 1px solid currentColor;
  padding: 14px 36px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.btn:hover {
  background-color: rgba(0,0,0,0.08);
}

/* Form utilities */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(44,44,42,0.2);
  padding: 8px 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(44,44,42,0.3);
  font-style: italic;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--text);
}
.form-group textarea {
  resize: none;
  min-height: 100px;
}

.btn-send {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: var(--olive);
  color: var(--white);
  border: none;
  padding: 18px 40px;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.25s;
}
.btn-send:hover { background: var(--dark); }
.form-message {
  margin-top: 16px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  min-height: 18px;
}
.form-message.success { color: var(--olive); }
.form-message.error   { color: #a04040; }

.form-notice {
  margin: 16px 0 4px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  min-height: 18px;
  text-align: left;
}
.form-notice.success {
  color: var(--olive);
}
.form-notice.error {
  color: #a04040;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.section-column {
  display: flex;
  flex-direction: column;
}

.rule {
  width: 40px;
  height: 1px;
  background: currentColor;
  margin: 0 auto 20px;
  opacity: 0.35;
}

/* Thin line after CTA button (visible in screenshot) */
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--muted);
  margin: 32px auto 36px;
  opacity: 0.35;
}


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  text-align: center;
  padding: 36px 24px 28px;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 16px;
}
.footer-social a {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--white); }


.footer-copy {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.28);
  line-height: 2;
}
.footer-copy a {
  color: rgba(255,255,255,0.42);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer-copy a:hover { color: var(--white); }


/* ============================================================
   HOME — HERO
   Background image set via style="" on .hero-bg in index.html
   Max-width of text block: 385px (point 8)
   ============================================================ */
.hero {
  position: relative;
  height: 385px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.22) 0%,
    rgba(0,0,0,0.06) 40%,
    rgba(0,0,0,0.50) 100%
  );
}
.hero-text {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  color: var(--white);
  padding: 0 16px;
}
.hero-text h1 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.01em;
}


/* ============================================================
   HOME — INTRO
   ============================================================ */
.intro {
  background: var(--cream);
  text-align: center;
  padding: 80px 24px 70px;
}
.intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.intro p {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(15px, 1.3vw, 15px);
  font-weight: 300;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 36px;
}


/* ============================================================
   HOME — SPLIT PANELS
   Both are <a> tags — whole panel is clickable
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 520px;
}
.split-panel {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
}
.split-panel img { transition: transform 0.6s ease; }
.split-panel:hover img { transform: scale(1.04); }
.split-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
}
.split-content {
  position: absolute;
  bottom: 28px;
  left: 28px;
  color: var(--white);
  pointer-events: none;
}
.split-content .btn { pointer-events: auto; }
.split-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fcf947;
  margin-bottom: 6px;
}
.split-content h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 18px;
}


/* ============================================================
   HOME — DREAM (olive)
   ============================================================ */
.dream {
  background: var(--olive);
  text-align: center;
  padding: 88px 48px;
  color: var(--white);
}
.dream h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.dream p {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(15px, 1.3vw, 15px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 36px;
}


/* ============================================================
   HOME — PHOTO GRID
   Wider, closer to screenshot proportions
   ============================================================ */
.grid-section {
  background: var(--dark);
  padding: 56px 0 0;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 8px;
}
.photo-grid-item {
  aspect-ratio: 1;
  overflow: hidden;
}
.photo-grid-item img { transition: transform 0.5s ease; }
.photo-grid-item:hover img { transform: scale(1.06); }
.instagram-link {
  text-align: center;
  padding: 26px 0 48px;
}
.instagram-link a {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.instagram-link a:hover { color: var(--white); }


/* ============================================================
   HOME — CTA
   ============================================================ */
.cta {
  background: var(--cream);
  text-align: center;
  padding: 80px 48px;
}
.cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}


/* ============================================================
   INNER PAGES
   ============================================================ */
.content-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px;
}
.content-section h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  margin-bottom: 20px;
}
.content-section p {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 24px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 80px;
}
.card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark);
}
.card img { transition: transform 0.5s ease; }
.card:hover img { transform: scale(1.05); }
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 55%);
}
.card-body {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: var(--white);
}
.card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  margin-bottom: 6px;
}
.card-body p {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 14px;
  color: var(--white);
}
.card-body .btn { font-size: 9px; padding: 8px 16px; }

/* Contact page */
.contact-section {
  background: var(--cream);
  padding: 100px 60px 90px;
}

/* Left column */
.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}
.contact-rule {
  width: 36px;
  height: 2px;
  background: #b8882a;
  margin-bottom: 32px;
}
.contact-left p {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 380px;
}
.contact-meta { margin-top: 36px; }
.contact-meta-item { margin-bottom: 20px; }
.contact-meta-label {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-meta-value {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 400;
  color: var(--text);
}

/* Olive explore section */
.contact-explore {
  background: var(--olive);
  text-align: center;
  padding: 90px 24px;
  color: var(--white);
}
.contact-explore h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.contact-explore p {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 300;
  line-height: 1.85;
  opacity: 0.78;
  max-width: 420px;
  margin: 0 auto;
}
.contact-explore p a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.9;
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-body {
  background-color: var(--cream);
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 48px 100px;
}
.about-body h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 22px;
}
.about-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 18px;
}
.about-body p {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.85;
  margin-bottom: 22px;
}
.about-body blockquote {
  border-left: 2px solid rgba(44,44,42,0.18);
  margin: 28px 0;
  padding: 2px 0 2px 20px;
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  line-height: 1.85;
}

.timeline {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0 0 2rem;
}
.timeline li {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}
.timeline li::before {
  content: '•';
  position: absolute;
  left: 4px;
  font-size: 10px;
  color: var(--muted);
  opacity: 0.5;
  top: 5px;
}
.simple-list { margin: 0; }
.simple-list li {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
}

.about-cta {
  background: var(--cream);
  text-align: center;
  padding: 90px 24px 80px;
  margin-top: 80px;
  border-top: 1px solid rgba(44,44,42,0.07);
}
.about-cta h2 {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 400;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
  color: var(--text);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-link  { display: none; }
  .hamburger { display: flex; }

  .hero-text { max-width: 320px; }
  .hero-text h1 { font-size: clamp(26px, 8vw, 38px); }

  .split { grid-template-columns: 1fr; height: auto; }
  .split-panel { height: 320px; }

  .photo-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; padding: 0 4px; }

  .intro  { padding: 60px 20px 50px; }
  .dream  { padding: 70px 20px; }
  .cta    { padding: 70px 20px 60px; }

  .card-grid       { grid-template-columns: 1fr; }
  .content-section { padding: 60px 20px; }
  .section-grid    { grid-template-columns: 1fr; gap: 48px; }
  .about-body      { padding: 48px 20px 0; }
  .about-intro     { padding: 56px 20px 0; }
  .about-hero-text { padding: 0 24px; }
  .about-hero-text h1 { font-size: clamp(22px, 6vw, 34px); }
  .about-cta       { padding: 70px 20px 60px; }
}

@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .footer-social { gap: 18px; flex-wrap: wrap; }
}
