/* =========================================================
   RULL PHOTOGRAPH — custom styles
   Design system diadaptasi dari tema Wiso (FOXTHEMES)
   ========================================================= */

:root {
  --bg: #ffffff;
  --ink: #111111;          /* near-black */
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --accent: #d21f28;       /* crimson red */
  --accent-dark: #a4141b;
  --surface: #f5f4f2;      /* neutral off-white */
  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --sans: "Montserrat", "Lato", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .3s ease, opacity .3s ease; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 50px; }

/* ---------- typography helpers ---------- */
.serif { font-family: var(--serif); }
.eyebrow {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: .5px;
}
.lead { color: var(--muted); font-size: 16px; max-width: 620px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px; position: relative;
}
.search-box { display: flex; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.search-box input {
  border: 0; background: transparent; outline: none;
  font-family: var(--serif); font-style: italic; font-size: 15px; width: 130px; color: var(--ink);
}
.search-box input::placeholder { color: var(--muted); }
.search-box .fa { color: var(--muted); font-size: 13px; }

.nav { display: flex; gap: 34px; }
.nav a {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; color: var(--ink);
}
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--accent); transition: width .35s ease;
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after { width: 100%; }
.logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-weight: 700; font-size: 34px; letter-spacing: 6px;
}
.logo span { display: block; font-family: var(--sans); font-size: 8px; letter-spacing: 7px; font-weight: 600; color: var(--accent); margin-top: 2px; }

.cart { font-size: 17px; color: var(--ink); }

/* menu toggle (mobile) */
.menu-toggle { display: none; font-size: 20px; cursor: pointer; background: none; border: 0; }

/* ---------- hero ---------- */
.hero { padding: 152px 0 60px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.9fr 1fr; gap: 34px; align-items: stretch;
  height: 66vh; min-height: 460px;
}
.hero-grid figure { overflow: hidden; position: relative; }
.hero-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hero-grid figure:hover img { transform: scale(1.05); }

.hero-caption { text-align: center; margin-top: 44px; }
.hero-caption .counter { font-size: 15px; letter-spacing: 3px; color: var(--muted); }
.hero-caption .counter b { color: var(--ink); font-weight: 600; }
.hero-caption .counter .sep { margin: 0 14px; color: var(--line); }
.hero-caption h1 { font-family: var(--serif); font-size: clamp(26px, 3vw, 44px); font-weight: 700; margin-top: 14px; }

/* ---------- section spacing ---------- */
.section { padding: 110px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 54px; }
.section-head .lead { margin-top: 14px; }

/* ---------- gallery grid ---------- */
.masonry { columns: 3; column-gap: 26px; }
.masonry a { display: block; margin-bottom: 26px; break-inside: avoid; position: relative; overflow: hidden; }
.masonry img { width: 100%; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.masonry a:hover img { transform: scale(1.06); }
.masonry .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 22px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
  color: #fff; opacity: 0; transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}
.masonry a:hover .cap { opacity: 1; transform: none; }
.masonry .cap small { display: block; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.8); }
.masonry .cap b { font-family: var(--serif); font-size: 20px; font-weight: 700; }

/* ---------- statement / about ---------- */
.statement { text-align: center; max-width: 820px; margin: 0 auto; }
.statement .section-title { margin: 22px 0 26px; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about img { width: 100%; }
.about p { color: var(--muted); margin-bottom: 18px; }
.stat-row { display: flex; gap: 46px; margin-top: 34px; }
.stat b { font-family: var(--serif); font-size: 40px; display: block; line-height: 1; }
.stat span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.service { border-top: 2px solid var(--accent); padding-top: 26px; }
.service i { font-size: 26px; color: var(--accent); }
.service h3 { font-family: var(--serif); font-size: 22px; margin: 16px 0 10px; }
.service p { color: var(--muted); }

/* ---------- cta band ---------- */
.cta-band {
  background: #0d0d0d; color: #fff; text-align: center; padding: 130px 0;
  background-image: linear-gradient(rgba(13,13,13,.72), rgba(120,12,16,.58)), url("../img/andrew-pons-57133.jpg");
  background-size: cover; background-position: center; background-attachment: fixed;
}
.cta-band .section-title { color: #fff; margin: 20px 0 30px; }
.cta-band .eyebrow { color: rgba(255,255,255,.7); }

.btn {
  display: inline-block; padding: 16px 42px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600;
  transition: all .35s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-gold { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn-gold:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.field { margin-bottom: 26px; }
.field label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0; font-family: var(--sans); font-size: 15px; outline: none; background: transparent;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item i { color: var(--accent); font-size: 18px; margin-top: 4px; }
.info-item b { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.info-item span { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 3px solid var(--accent); padding: 66px 0 40px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-logo { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: 4px; }
.social { display: flex; gap: 18px; }
.social a { color: var(--muted); font-size: 16px; }
.social a:hover { color: var(--ink); }
.copy { font-size: 12px; letter-spacing: 1px; color: var(--muted); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 999; background: rgba(12,12,12,.94);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 28px; right: 38px; color: #fff; font-size: 30px; cursor: pointer; background: none; border: 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; height: auto; }
  .hero-grid figure { height: 60vh; }
  .masonry { columns: 2; }
  .about, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .services { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .header-inner { height: 74px; }
  .search-box { display: none; }
  .logo { font-size: 24px; letter-spacing: 4px; }
  .section { padding: 72px 0; }
  .masonry { columns: 1; }
  .stat-row { gap: 30px; flex-wrap: wrap; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200; background: #fff;
  transform: translateX(100%); transition: transform .45s cubic-bezier(.5,0,.2,1);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
}
.drawer.open { transform: none; }
.drawer a { font-family: var(--serif); font-size: 28px; }
.drawer-close { position: absolute; top: 26px; right: 30px; font-size: 30px; background: none; border: 0; cursor: pointer; }
