/* MB Creations — styles */
:root {
  --paper: #FFF3D6;
  --paper-2: #FBE6B8;
  --ink: #3B1424;
  --ink-soft: #6B4452;
  --rani: #C2185B;
  --rani-d: #8E0F42;
  --marigold: #F29F05;
  --leaf: #2F6B3A;
  --wa: #1E8E4E;
  --white: #FFFDF8;
  --display: "Yatra One", "Mukta", Georgia, serif;
  --body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: var(--rani-d); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); color: var(--rani-d); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .7em 1.35em; border-radius: 999px; border: 2px solid var(--rani);
  background: var(--rani); color: var(--white); font: 500 1rem/1.2 var(--body);
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--rani-d); border-color: var(--rani-d); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-outline { background: transparent; color: var(--rani-d); }
.btn-outline:hover { background: var(--rani); color: var(--white); }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: #156D3B; border-color: #156D3B; }
.btn-light { background: var(--white); border-color: var(--white); color: var(--rani-d); }
.btn-light:hover { background: var(--paper-2); border-color: var(--paper-2); }
.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--rani-d); }
.btn-sm { padding: .45em 1em; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.link { font-weight: 500; }

/* ---------- Header with toran ---------- */
#site-header { position: relative; background: var(--paper); z-index: 20; }
.toran {
  height: 58px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='58' viewBox='0 0 120 58'%3E%3Cpath d='M0 4 Q60 48 120 4' fill='none' stroke='%23B8860B' stroke-width='2'/%3E%3Cg fill='%232F6B3A'%3E%3Cpath d='M60 30 C52 38 54 48 60 56 C66 48 68 38 60 30Z'/%3E%3Cpath d='M0 6 C-7 14 -5 24 0 30 C5 24 7 14 0 6Z'/%3E%3Cpath d='M120 6 C113 14 115 24 120 30 C125 24 127 14 120 6Z'/%3E%3C/g%3E%3Cg fill='%23F29F05'%3E%3Ccircle cx='20' cy='16' r='7'/%3E%3Ccircle cx='40' cy='24' r='7'/%3E%3Ccircle cx='60' cy='26' r='7.5'/%3E%3Ccircle cx='80' cy='24' r='7'/%3E%3Ccircle cx='100' cy='16' r='7'/%3E%3C/g%3E%3Cg fill='%23D9480F'%3E%3Ccircle cx='20' cy='16' r='3'/%3E%3Ccircle cx='40' cy='24' r='3'/%3E%3Ccircle cx='60' cy='26' r='3.2'/%3E%3Ccircle cx='80' cy='24' r='3'/%3E%3Ccircle cx='100' cy='16' r='3'/%3E%3C/g%3E%3C/svg%3E") repeat-x top center,
    linear-gradient(var(--rani-d), var(--rani-d)) top / 100% 4px no-repeat;
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .25rem 0 1rem; }
.brand { font-family: var(--display); font-size: 1.7rem; color: var(--rani-d); text-decoration: none; line-height: 1.1; }
.brand .logo { height: 76px; width: auto; }
.foot .brand .logo { height: 72px; }
.foot-items { font-size: .92rem; color: #C9AEB8; max-width: 44ch; }
.nav { display: flex; align-items: center; gap: .35rem; }
.nav a:not(.btn) { padding: .4em .8em; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 999px; }
.nav a:not(.btn):hover { background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--rani-d); box-shadow: inset 0 -3px 0 var(--marigold); border-radius: 0; }
.nav .btn { margin-left: .5rem; }
.menu-btn { display: none; }

/* ---------- Home hero: temple-arch photo frames ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding: 2.5rem 0 4.5rem; }
.hero-text h1 { max-width: 14ch; }
.arches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; }
.arch { margin: 0; aspect-ratio: 3 / 4.6; border-radius: 999px 999px 14px 14px; overflow: hidden;
  border: 5px solid var(--white); box-shadow: 0 0 0 2px var(--marigold); background: var(--paper-2); }
.arch.a2 { aspect-ratio: 3 / 5.6; }
.arch img, .arch .ph { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Placeholder when a photo is missing ---------- */
.ph { display: grid; place-items: center; text-align: center; padding: 1rem; min-height: 160px;
  background: repeating-linear-gradient(45deg, var(--paper-2) 0 12px, #F7DCA0 12px 24px);
  color: var(--ink-soft); font-weight: 500; }

/* ---------- Categories ---------- */
.band { background: var(--white); padding: 4rem 0; border-block: 1px solid #EED9A8; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.5rem 1.25rem; margin-top: 1.5rem; }
.cat { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.cat-pic { display: block; aspect-ratio: 1; border-radius: 999px 999px 10px 10px; overflow: hidden; background: var(--paper-2); margin-bottom: .75rem; }
.cat-pic img, .cat-pic .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cat:hover .cat-pic img { transform: scale(1.05); }
.cat-name { font-family: var(--display); font-size: 1.3rem; line-height: 1.25; margin-bottom: .2rem; color: var(--rani-d); }
.cat-blurb { font-size: .95rem; color: var(--ink-soft); line-height: 1.4; }
.cat-count { font-size: .85rem; color: var(--leaf); font-weight: 500; margin-top: .3rem; }

/* ---------- About + steps ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 4.5rem 0; align-items: start; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.steps li { counter-increment: s; position: relative; padding-left: 3.6rem; color: var(--ink-soft); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center; border-radius: 50%; background: var(--marigold); color: var(--ink);
  font-family: var(--display); font-size: 1.25rem; }
.steps b { display: block; color: var(--ink); font-size: 1.1rem; }

/* ---------- Recent work tiles ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1rem 0 4.5rem; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.tile img, .tile .ph { width: 100%; height: 100%; object-fit: cover; }
.tile span { position: absolute; inset: auto 0 0; padding: 2.5rem 1rem .9rem; color: var(--white); font-weight: 500;
  background: linear-gradient(transparent, rgba(59, 20, 36, .85)); }

/* ---------- Reel band ---------- */
.reel-band { background: var(--rani-d); color: var(--white); padding: 3.5rem 0; }
.reel-band h2 { color: var(--white); }
.reel-band p { color: #F6D9E3; margin: 0; }
.reel-band-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.reel-band .actions { margin: 0; }

/* ---------- Inner pages ---------- */
.page-head { padding: 2rem 0 1.5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filters button { font: 500 .95rem var(--body); padding: .45em 1.1em; border-radius: 999px; cursor: pointer;
  border: 1.5px solid #E2C27F; background: var(--white); color: var(--ink); }
.filters button:hover { border-color: var(--rani); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.gallery { columns: 3 260px; column-gap: 1.25rem; padding-bottom: 4rem; }
.g-item { break-inside: avoid; margin: 0 0 1.25rem; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid #EED9A8; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-open img { width: 100%; height: auto; }
.g-item figcaption { padding: .85rem 1rem 1rem; display: grid; gap: .15rem; }
.g-title { font-weight: 700; line-height: 1.3; }
.g-cat { font-size: .88rem; color: var(--leaf); margin-bottom: .55rem; }
.g-item .btn { justify-self: start; }
.empty { text-align: center; padding: 3rem 1rem 5rem; color: var(--ink-soft); }
.empty p { max-width: 46ch; margin: 0 auto 1.25rem; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(30, 8, 18, .9); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox figure { margin: 0; justify-self: center; max-width: min(900px, 100%); }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--white); padding: .9rem .25rem; flex-wrap: wrap; }
.lightbox small { display: block; color: #E8C9D4; }
.lb-nav, .lb-close { background: rgba(255, 253, 248, .12); color: var(--white); border: 0; cursor: pointer;
  width: 3rem; height: 3rem; border-radius: 50%; font-size: 2rem; line-height: 1; margin: 1rem; }
.lb-nav:hover, .lb-close:hover { background: rgba(255, 253, 248, .25); }
.lb-close { position: absolute; top: 0; right: 0; }

/* Reels */
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; padding-bottom: 4rem; justify-items: center; }
.reel { width: 100%; max-width: 360px; }
.reel .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.reel-fb iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 12px; background: var(--ink); }
.reel-fb a { display: inline-block; margin-top: .4rem; font-size: .9rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; padding-bottom: 4.5rem; align-items: start; }
.form { display: grid; gap: 1rem; background: var(--white); padding: 1.75rem; border-radius: 14px; border: 1px solid #EED9A8; }
.form label { display: grid; gap: .35rem; font-weight: 500; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input, .form select, .form textarea { font: 400 1rem var(--body); color: var(--ink); padding: .7em .85em;
  border: 1.5px solid #E2C27F; border-radius: 8px; background: var(--paper); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--rani); box-shadow: 0 0 0 3px rgba(194, 24, 91, .18); }
.form .actions { margin-top: .25rem; }
.status { color: var(--leaf); font-weight: 500; margin: 0; min-height: 1.5em; }
.details { display: grid; gap: .75rem; }
.detail { display: flex; gap: .9rem; align-items: center; padding: .9rem 1rem; border-radius: 12px; background: var(--white);
  border: 1px solid #EED9A8; text-decoration: none; color: var(--ink); }
.detail:hover { border-color: var(--rani); }
.detail svg { width: 1.6rem; height: 1.6rem; color: var(--rani); flex: none; }
.detail b { display: block; }
.detail span { line-height: 1.35; color: var(--ink-soft); }
.detail-note { color: var(--ink-soft); padding: .5rem 1rem; line-height: 1.8; }
.detail-note b { color: var(--ink); }

/* ---------- Footer ---------- */
#site-footer { background: var(--ink); color: #E9D6DC; padding: 3rem 0 1.5rem; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.foot .brand { color: var(--marigold); display: block; margin-bottom: .4rem; }
.foot a, .foot span { display: block; color: #E9D6DC; text-decoration: none; padding: .1rem 0; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot-h { font-weight: 700; color: var(--white); margin-bottom: .4rem; }
.social { display: flex; gap: .6rem; margin-top: .6rem; }
.social a { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.social svg { width: 1.2rem; height: 1.2rem; }
.copy { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .9rem; color: #BFA3AD; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(30, 142, 78, .4); z-index: 30; }
.wa-float svg { width: 2rem; height: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero, .split, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-top: 1rem; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .menu-btn { display: inline-block; font: 500 1rem var(--body); padding: .45em 1em; border-radius: 999px;
    border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: var(--paper); padding: .5rem 1.25rem 1.25rem; border-bottom: 2px solid var(--marigold); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .75em .25em; border-radius: 0; border-bottom: 1px solid #EED9A8; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin: .75rem 0 0; justify-content: center; }
  .brand .logo { height: 54px; }
  .toran { height: 46px; background-size: 96px 46px, 100% 4px; }
  .form .row { grid-template-columns: 1fr; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; padding: 0 .75rem; }
  .lb-nav.prev { grid-row: 2; justify-self: start; }
  .lb-nav.next { grid-row: 2; justify-self: end; }
}
@media (max-width: 480px) {
  .tile-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .tile span { font-size: .85rem; padding: 2rem .6rem .6rem; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
