/* ==========================================
   Hennani Art – Premium Mobile-First Styles
   iPhone • iPad • Laptop
   Clean + No duplicates + No conflicts
========================================== */

/* ---------- VARIABLES ---------- */
:root{
  --bg: #fff7ef;
  --card: rgba(255,255,255,.92);
  --text: #3b2a24;
  --muted: #6a5046;
  --accent: #a0522d;
  --border: rgba(59,42,36,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 18px;
}

/* ---------- RESET + SAFETY ---------- */
*{ box-sizing: border-box; }

html,body{
  margin:0;
  padding:0;
  max-width:100%;
  overflow-x:hidden;
}

body{
  font-family: 'Playfair Display', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img{
  max-width:100%;
  height:auto;
  display:block;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* ---------- NAV ---------- */
nav{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,247,239,.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

nav ul{
  list-style:none;
  display:flex;
  justify-content:center;
  gap:20px;
  padding:14px;
  margin:0;
  flex-wrap: wrap;
}

nav a{
  text-decoration:none;
  color:var(--text);
  font-weight:700;
}
nav a:hover{ color:var(--accent); }

/* ---------- LAYOUT ---------- */
.container{
  width:min(1100px,92%);
  margin:auto;
}

.container.page{
  width: min(980px, 92%);
}

.section{ margin:18px 0; }

.card{
  background:var(--card);
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  padding:18px;
}

.center{ text-align:center; }

/* ---------- TYPOGRAPHY ---------- */
h1,h2{ margin:0; }

h2{
  font-size: clamp(20px, 2.4vw, 28px);
}

.section-title{
  margin-bottom: 10px;
}

.home-h1{
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: .2px;
  margin: 0 0 8px;
}

.lead{
  font-size: 16px;
  color: var(--text);
  margin: 6px 0 10px;
}

.micro{
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.inline-link{
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.inline-link:hover{ color: var(--accent); }

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:14px;
  background:var(--text);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  margin-top: 14px;
}
.btn:hover{ background:var(--accent); }

.btn-ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.75);
}

.cta-row{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 6px;
}

/* ==========================================
   HOME HERO (background + logo overlay)
========================================== */

.hero-full{
  position: relative;
  width: 100%;
  height: clamp(520px, 76vh, 860px);
  overflow: hidden;
  background: #000;
}

/* Background image */
.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.01);
  filter: saturate(1.02) contrast(1.04);
}

/* Elegant overlay (not too dark) */
.hero-full::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(0,0,0,.06),
    rgba(0,0,0,.52)
  );
}

/* Content layer */
.hero-center{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 16px;
  padding: 22px 18px;
  text-align: center;
}

/* Logo overlay */
.hero-logo{
  width: min(420px, 78vw);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.55));
  transform: translateY(-6px);
  margin-bottom: 2px;
}

/* CTA row */
.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content:center;
}

/* CTA buttons */
.hero-cta{
  display:inline-block;
  padding: 14px 26px;
  border-radius: 0;
  background: rgba(0,0,0,.78);
  color:#fff;
  text-decoration:none;
  letter-spacing: .8px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.14);
}

.hero-cta:hover{
  background: rgba(0,0,0,.90);
}

.hero-cta--ghost{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(7px);
}
.hero-cta--ghost:hover{
  background: rgba(255,255,255,.16);
}

/* Micro tagline */
.hero-micro{
  margin: 2px 0 0;
  color: rgba(255,255,255,.92);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .3px;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* Mobile polish */
@media (max-width: 520px){
  .hero-full{
    height: 74vh;
    min-height: 540px;
  }
  .hero-logo{
    width: min(360px, 84vw);
    transform: translateY(-4px);
  }
  .hero-cta{
    padding: 13px 20px;
    letter-spacing: .6px;
  }
}

/* iPad refinement */
@media (min-width: 700px) and (max-width: 1199px){
  .hero-full{
    height: clamp(520px, 66vh, 720px);
  }
  .hero-logo{
    width: min(360px, 52vw);
  }
}

/* Desktop refinement */
@media (min-width: 1200px){
  .hero-full{
    height: clamp(560px, 70vh, 780px);
  }
  .hero-logo{
    width: 420px;
  }
}

/* ==========================================
   REVIEWS
========================================== */
.stars{
  font-size: 22px;
  letter-spacing: 2px;
  margin: 6px 0 10px;
}

.review{
  margin: 0 auto 12px;
  max-width: 720px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

.review-name{
  display:block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

/* ==========================================
   QR SECTION
========================================== */
.qr-wrap{
  display:flex;
  justify-content:center;
  margin: 12px 0 8px;
}

.qr{
  width: 210px;
  max-width: 70vw;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}

/* ==========================================
   BREADCRUMB PILLS
========================================== */
.breadcrumb{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom: 10px;
}

.pill{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.pill:hover{ color: var(--accent); }

.subtitle{
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

/* ==========================================
   ✅ UNIVERSAL GALLERY GRID
========================================== */
.gallery,
.gallery-grid,
.portrait-gallery{
  display: grid;
  gap: 14px;
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 700px){
  .gallery,
  .gallery-grid,
  .portrait-gallery{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1100px){
  .gallery,
  .gallery-grid,
  .portrait-gallery{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.gallery img,
.gallery-grid img,
.portrait-gallery img{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
  background: rgba(255,255,255,.65);
}

.gallery img:hover,
.gallery-grid img:hover,
.portrait-gallery img:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}

.thumb{ margin: 0; padding: 0; }

/* ==========================================
   ✅ LIGHTBOX
========================================== */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 2000;
}

.lightbox.open{ display:flex; }

.lightbox figure{
  position: relative;
  margin: 0;
  width: min(980px, 92vw);
  max-height: 86vh;
  display:flex;
  align-items:center;
  justify-content:center;
}

.lightbox img{
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  background: rgba(0,0,0,.20);
}

.close-btn,
.nav-btn{
  position: absolute;
  border: none;
  cursor: pointer;
  color: #fff;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.close-btn{
  top: -10px;
  right: -10px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.nav-btn{
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 60px;
  border-radius: 14px;
  font-size: 34px;
}

.nav-btn.prev{ left: -10px; }
.nav-btn.next{ right: -10px; }

.close-btn:hover,
.nav-btn:hover{
  background: rgba(0,0,0,.75);
}

@media (max-width: 360px){
  .gallery,
  .gallery-grid,
  .portrait-gallery{
    grid-template-columns: 1fr;
  }
  .nav-btn{ width: 40px; height: 56px; }
}

/* ---------- FOOTER ---------- */
footer{
  margin-top:30px;
  padding:20px;
  text-align:center;
  color:var(--muted);
  border-top:1px solid var(--border);
  background: rgba(255,247,239,.92);
}

footer a{
  color:var(--text);
  text-decoration:none;
  font-weight:700;
}
footer a:hover{ color:var(--accent); }

/* ==========================================
   GALLERY LANDING PAGE (gallery.html)
========================================== */

.category-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.category-card{
  grid-column: span 6;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}

.category-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,.14);
}

.category-thumb{
  width: 100%;
  height: clamp(180px, 26vh, 260px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.category-body{
  padding: 12px 14px 14px;
}

.category-title{
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.category-sub{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 520px){
  .category-card{ grid-column: span 12; }
  .category-thumb{ height: 220px; }
}

@media (min-width: 820px) and (max-width: 1199px){
  .category-card{ grid-column: span 6; }
  .category-grid{ gap: 16px; }
  .category-thumb{ height: 240px; }
}

@media (min-width: 1200px){
  .category-card{ grid-column: span 3; }
  .category-grid{ gap: 22px; }
  .category-thumb{ height: 240px; }
}

.category-card::after{
  content: "Tap to View Gallery";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 13px;
  color: #fff;
  background: rgba(0,0,0,.38);
  opacity: 0;
  transition: opacity .25s ease;
}

.category-card:hover::after{
  opacity: 1;
}

@media (hover: none){
  .category-card::after{
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(0,0,0,.55),
      rgba(0,0,0,.15)
    );
    align-items: flex-end;
    padding-bottom: 14px;
  }
}

@media (min-width: 820px) and (max-width: 1199px){
  .card{ padding: 16px; }
  .cta-row{ gap: 10px; }
  .btn{ padding: 12px 16px; }
}

@media (min-width: 1200px){
  .card{ padding: 16px; }
  .section{ margin: 14px 0; }
}
/* ==========================================
   CONTACT / BOOKING PAGE (Premium)
   Adds: form polish, service type cards, preferred contact radios,
   What happens next timeline, FAQ accordion, sticky mobile button
========================================== */

/* Page title */
.page-title{
  text-align:center;
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 0 0 8px;
}

/* Form base */
form{
  margin-top: 14px;
}

label{
  display:block;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--text);
}

.label-top{ margin-top: 6px; }

input, select, textarea{
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.86);
  color: var(--text);
  outline: none;
}

input:focus, select:focus, textarea:focus{
  border-color: rgba(160,82,45,.45);
  box-shadow: 0 0 0 4px rgba(160,82,45,.12);
}

textarea{
  min-height: 150px;
  resize: vertical;
}

.form-title{
  margin: 6px 0 2px;
  font-size: 18px;
}

/* 2-column rows */
.form-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-col-6{ width: 100%; }

@media (min-width: 760px){
  .form-row{ grid-template-columns: 1fr 1fr; }
}

.form-divider{
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

/* Preferred contact method pills */
.choice-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.choice{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.78);
  cursor: pointer;
  user-select: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.choice:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.07);
}

.choice input{ width:auto; }

/* Service type cards grid */
.choice-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}

@media (min-width: 640px){
  .choice-grid{ grid-template-columns: 1fr 1fr; }
}

.choice-card{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.84);
  cursor: pointer;
  user-select: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.choice-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
}

.choice-card input{ width:auto; }

.note{
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
}

.link{
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}
.link:hover{ color: var(--accent); }

/* ==========================================
   What Happens Next (timeline)
========================================== */

.timeline{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 12px;
}

.timeline li{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.82);
}

.step{
  display:inline-block;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  background: rgba(0,0,0,.08);
}

/* ==========================================
   FAQ (accordion)
========================================== */

.faq details{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,.82);
  margin: 10px 0;
}

.faq summary{
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

/* remove default marker in some browsers */
.faq summary::-webkit-details-marker{ display:none; }

.faq summary::after{
  content: "＋";
  float: right;
  font-weight: 900;
  color: rgba(59,42,36,.55);
}

.faq details[open] summary::after{
  content: "—";
}

.faq p{ margin: 10px 0 0; }

/* ==========================================
   Sticky mobile booking button
========================================== */

.sticky-book-btn{
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1200;
  text-align: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(0,0,0,.86);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  box-shadow: 0 16px 38px rgba(0,0,0,.22);
}

/* Avoid covering footer content on small screens */
@media (max-width: 900px){
  footer{ padding-bottom: 86px; }
}

@media (min-width: 900px){
  .sticky-book-btn{ display:none; }
}
/* ==========================================
   CONTACT / BOOKING PAGE (Premium Form + Timeline + FAQ)
   Paste at the BOTTOM of styles.css
========================================== */

.page-title{
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 0 0 6px;
  letter-spacing: .2px;
}

.ha-form label{
  display:block;
  margin: 14px 0 6px;
  font-weight: 700;
  color: var(--text);
}

.ha-form input,
.ha-form select,
.ha-form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  color: var(--text);
  outline: none;
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
}

.ha-form input:focus,
.ha-form select:focus,
.ha-form textarea:focus{
  border-color: rgba(160,82,45,.45);
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
}

.ha-form textarea{
  min-height: 130px;
  resize: vertical;
}

.form-row{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}

.form-col-6{
  flex: 1 1 260px;
  min-width: 240px;
}

.field{
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 12px 10px;
  background: rgba(255,255,255,.72);
}

.field legend{
  padding: 0 8px;
  font-weight: 800;
  color: var(--text);
}

.choice-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.choice{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  cursor: pointer;
  user-select: none;
}

.choice input{
  width: auto;
  margin: 0;
  box-shadow: none;
}

.form-note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.72);
  color: var(--text);
}

.form-submit{
  margin-top: 16px;
}

/* Timeline */
.timeline{
  display:flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.step{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
}

.step-badge{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  background: rgba(59,42,36,.92);
  color: #fff;
  flex: 0 0 34px;
}

.step-title{
  font-weight: 800;
  margin-bottom: 2px;
}

.step-sub{
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

/* FAQ */
.faq{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.faq-item{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  padding: 10px 12px;
}

.faq-item summary{
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker{ display:none; }

.faq-item p{
  margin: 10px 0 0;
}

/* Sticky submit (mobile) */
.sticky-submit{
  display:none;
}

@media (max-width: 640px){
  .sticky-submit{
    display:block;
    position: sticky;
    bottom: 0;
    margin-top: 14px;
    padding: 10px 0 2px;
    background: linear-gradient(to top, rgba(255,247,239,.96), rgba(255,247,239,.0));
  }
  .sticky-btn{
    width: 100%;
    text-align:center;
    padding: 14px 18px;
  }

  /* add breathing room so sticky doesn't cover content */
  .ha-form{
    padding-bottom: 60px;
  }
}
