/* ==========================================================
   Vani Designs - Aari Creations
   Static HTML/CSS (converted from Next.js + Tailwind)
   Mobile-first, responsive on every page.
   Breakpoints: 640px (sm) | 768px (md) | 900px (nav) | 1024px (lg)
   ========================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.5;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; }

/* ---------- Tokens ---------- */
:root {
  --primary-red: #7A1021;
  --dark-red: #4A0812;
  --card: #5B0F1A;
  --gold: #D4AF37;
  --cream: #F8F0E3;
  --soft: #E7D9C1;
  --header-h: 80px;
}

/* ---------- Helpers ---------- */
.container { max-width: 80rem; margin-inline: auto; padding-inline: 24px; }
.bg-maroon { background: var(--dark-red); color: var(--cream); }
.text-center { text-align: center; }
.icon { width: 1em; height: 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.h-xl { font-size: clamp(2.25rem, 7vw, 3rem); line-height: 1.1; font-weight: 700; color: var(--gold); }
.h-xxl { font-size: clamp(2.5rem, 9vw, 4.5rem); line-height: 1.05; font-weight: 700; color: var(--gold); }
.lead { color: var(--soft); line-height: 2rem; }
.gold-rule { width: 112px; height: 4px; background: var(--gold); margin: 20px auto 0; }

.btn-gold {
  display: inline-block; padding: 12px 32px; border-radius: 999px;
  background: var(--gold); color: #000; font-weight: 600;
  transition: background .3s, color .3s;
}

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Header / Navbar ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--dark-red); border-bottom: 1px solid var(--gold);
}
.nav-bar { max-width: 80rem; margin-inline: auto; padding-inline: 16px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; }
.brand-name { color: var(--gold); font-weight: 700; font-size: 1.25rem; line-height: 1; }
.brand-sub { color: var(--cream); font-size: .875rem; margin-top: 4px; }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(212,175,55,.5); border-radius: 8px; flex: none; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--gold); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--dark-red); border-bottom: 1px solid var(--gold);
  max-height: 0; overflow: hidden; visibility: hidden;
  transition: max-height .35s ease, visibility .35s;
}
.nav-menu.is-open { max-height: 80vh; visibility: visible; overflow-y: auto; }
.nav-menu a { display: block; padding: 16px 24px; color: var(--cream); font-weight: 500; border-top: 1px solid rgba(212,175,55,.18); transition: color .3s, background .3s; }
.nav-menu a[aria-current="page"] { color: var(--gold); background: rgba(0,0,0,.18); }

@media (min-width: 900px) {
  .nav-bar { padding-inline: 32px; }
  .nav-toggle { display: none; }
  .nav-menu { position: static; display: flex; align-items: center; gap: 32px; max-height: none; visibility: visible; overflow: visible; background: none; border: 0; }
  .nav-menu a { padding: 0; border: 0; background: none !important; }
}
@media (max-width: 380px) {
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { font-size: .75rem; }
}

main { padding-top: var(--header-h); }

/* ---------- Hero slider ---------- */
.hero { position: relative; overflow: hidden; background: #000; }
.hero-track { display: flex; transition: transform .6s ease; will-change: transform; touch-action: pan-y; }
.hero-track.no-anim { transition: none; }
.hero-slide { flex: 0 0 100%; min-width: 0; }
.hero-slide img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; align-items: center; gap: 8px; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; background: #fff; opacity: .5; transition: opacity .3s, background .3s; }
.hero-dots button.is-active { background: var(--gold); opacity: 1; }
@media (min-width: 1024px) {
  .hero-slide img { height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); object-fit: cover; object-position: center; }
}

/* ---------- Home: about preview ---------- */
.section { padding-block: 64px; }
.section-lg { padding-block: 80px; }
.about-head h2 { font-size: clamp(1.9rem, 6.5vw, 3rem); font-weight: 700; text-transform: uppercase; color: var(--gold); line-height: 1.15; }
.about-head h3 { font-size: clamp(1.25rem, 4.5vw, 1.875rem); font-weight: 600; margin-top: 16px; color: var(--cream); }
.msme { margin: 32px auto 0; max-width: 280px; width: 100%; object-fit: contain; border-radius: 8px; border: 1px solid var(--gold); }
.about-intro { margin-top: 40px; }
.about-intro p { color: var(--soft); font-size: 1.05rem; line-height: 2rem; }
.gold-strong { color: var(--gold); font-weight: 700; }
.award-grid { display: grid; gap: 32px; margin-top: 48px; }
.frame-img { width: 100%; border-radius: 12px; border: 2px solid var(--gold); object-fit: cover; transition: transform .5s; }
.award-main { height: auto; }
.award-side-box { background: #5B0F1A; padding: 24px; border-radius: 12px; border: 1px solid var(--gold); }
.award-side-box p { color: var(--soft); font-size: 1.05rem; line-height: 2rem; }
.award-side-title { text-align: center; font-size: 1.875rem; font-weight: 700; color: var(--gold); margin: 40px 0 24px; }
.award-copy { margin-top: 32px; }
.award-copy p { color: var(--soft); font-size: 1.05rem; line-height: 2rem; }
.award-copy p + p { margin-top: 24px; }
@media (min-width: 768px) {
  .about-intro p, .award-copy p, .award-side-box p { text-align: justify; font-size: 1.125rem; line-height: 2.25rem; }
}
@media (min-width: 1024px) {
  .award-grid { grid-template-columns: 2fr 1fr; }
  .award-main { height: 540px; }
}

/* ---------- Home: our works & services cards ---------- */
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head p { margin-top: 16px; color: var(--soft); }
.sec-head p.muted { color: #9ca3af; max-width: 48rem; margin-inline: auto; margin-top: 24px; }
.card-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card-grid.gap-lg { gap: 40px; }

.work-card { display: block; background: var(--card); border: 1px solid rgba(212,175,55,.4); border-radius: 12px; overflow: hidden; transition: border-color .3s; }
.work-card .thumb { overflow: hidden; }
.work-card .thumb img { width: 100%; height: 240px; object-fit: cover; transition: transform .5s; }
.work-card .info { padding: 24px; }
.work-card h3 { color: var(--gold); font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; line-height: 1.25; }
.work-card p { color: var(--soft); line-height: 2rem; }
.work-card .more { margin-top: 24px; color: var(--gold); font-weight: 600; }
@media (min-width: 640px) { .work-card .thumb img { height: 288px; } }

.svc-card { display: block; background: var(--card); border: 1px solid rgba(212,175,55,.4); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 25px -5px rgba(0,0,0,.4); transition: border-color .3s, transform .5s; }
.svc-card .thumb { position: relative; height: 300px; overflow: hidden; }
.svc-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.svc-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); }
.svc-card .info { padding: 28px; }
.svc-card h3 { text-align: center; color: var(--gold); font-size: clamp(1.6rem, 5vw, 1.875rem); font-weight: 700; margin-bottom: 20px; }
.svc-card p { color: var(--soft); line-height: 2rem; text-align: left; }
.svc-card .cta { margin-top: 32px; text-align: center; }
@media (min-width: 768px) { .svc-card p { text-align: justify; } .svc-card .thumb { height: 350px; } }

/* ---------- Counters ---------- */
.counter-box { background: #C5B06A; border-radius: 12px; padding: 40px 24px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.3); }
.counter-grid { display: grid; gap: 40px; text-align: center; }
.counter-grid svg { width: 45px; height: 45px; margin: 0 auto 16px; color: #000; }
.counter-num { font-size: 3rem; line-height: 1; font-weight: 700; color: #000; }
.counter-label { margin-top: 12px; font-size: 1.25rem; color: #374151; text-transform: uppercase; }
@media (min-width: 768px) { .counter-box { padding: 48px 32px; } .counter-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Page banners ---------- */
.banner { position: relative; overflow: hidden; height: 300px; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner .overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px; background: rgba(0,0,0,.5); }
.banner .overlay.maroon { background: rgba(74,8,18,.7); }
.banner p { margin-top: 16px; font-size: 1.125rem; color: var(--cream); }
@media (min-width: 768px) { .banner { height: 400px; } .banner.tall { height: 500px; } .banner p { font-size: 1.5rem; } }

/* ---------- About page ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split h2 { font-size: clamp(1.9rem, 6.5vw, 3rem); line-height: 1.15; font-weight: 700; color: var(--gold); margin-bottom: 32px; }
.split p { color: var(--soft); line-height: 2rem; }
.split p + p { margin-top: 24px; }
.photo { width: 100%; border-radius: 12px; border: 1px solid rgba(212,175,55,.3); box-shadow: 0 20px 25px -5px rgba(0,0,0,.4); }
.bg-dark { background: #111; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.gallery img { width: 100%; border-radius: 12px; object-fit: cover; transition: transform .5s; }
@media (min-width: 768px) { .split p { text-align: justify; } .gallery { gap: 24px; } }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .gallery { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Services / Catalogue / Reviews galleries ---------- */
.page-top { padding-top: 40px; padding-bottom: 80px; }
.page-intro { text-align: center; margin-bottom: 64px; padding-inline: 24px; }
.page-intro p { margin: 24px auto 0; max-width: 56rem; color: var(--soft); line-height: 2rem; }
.svc-section { max-width: 80rem; margin: 0 auto 64px; padding-inline: 24px; }
.svc-section h2 { text-align: center; font-size: clamp(1.4rem, 5vw, 1.875rem); font-weight: 700; color: var(--gold); margin-bottom: 32px; line-height: 1.25; }
.tile-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .tile-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.tile { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid rgba(212,175,55,.4); background: var(--card); transition: border-color .3s, transform .5s; }
.tile .ph { position: relative; height: 360px; }
.tile .ph.tall { height: 460px; }
.tile .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s; }
.tile .ph.center img { object-position: center; }
.tile .cap { padding: 16px; text-align: center; color: var(--gold); font-weight: 600; }
@media (min-width: 768px) { .tile .ph.tall { height: 600px; } }

/* catalogue index */
.cat-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card { display: block; background: var(--card); border: 1px solid rgba(212,175,55,.4); border-radius: 12px; padding: 40px 24px; text-align: center; box-shadow: 0 10px 15px -3px rgba(0,0,0,.4); transition: border-color .5s, transform .5s; }
.cat-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.3); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.5rem; transition: transform .5s; }
.cat-card h2 { color: var(--gold); font-size: 1.5rem; font-weight: 700; }
.cat-card p { color: #9ca3af; margin-top: 16px; }
.cat-card .cta { margin-top: 24px; }

.back-link { display: inline-block; margin-top: 32px; padding: 12px 24px; background: var(--gold); color: #000; border-radius: 999px; font-weight: 600; transition: background .3s; }
.cat-detail-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cat-detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .cat-detail-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cat-detail-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-detail-grid .tile .ph { height: 350px; }
.cat-detail-grid .tile .ph img { object-position: center; }

/* reviews */
.reviews-intro { background: var(--card); padding-block: 64px; }
.reviews-intro h2.title { text-align: center; font-size: clamp(1.9rem, 6vw, 2.25rem); font-weight: 700; color: var(--gold); margin-bottom: 40px; }
.reviews-intro .split p { font-size: 1.05rem; text-align: left; }
@media (min-width: 768px) { .reviews-intro .split p { text-align: justify; font-size: 1.125rem; line-height: 2.25rem; } }
.review-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .review-grid { grid-template-columns: repeat(4, 1fr); } }
.review-grid .tile .ph { height: 420px; }
.review-grid .tile .ph img { object-position: center; }

/* ---------- Contact ---------- */
.contact-banner { background: #B08D2F; padding-block: 64px; }
.contact-banner h1 { font-size: clamp(2.5rem, 11vw, 4.5rem); line-height: 1.05; font-weight: 700; color: var(--cream); }
.contact-body { background: #f5f5f5; color: #000; padding-block: 64px; }
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; } .contact-banner { padding-block: 128px; } .contact-body { padding-block: 80px; } }
.contact-body h2 { font-size: clamp(1.9rem, 6vw, 2.25rem); font-weight: 700; margin-bottom: 8px; }
.contact-body .sub { color: #4b5563; }
.contact-body .rule { width: 80px; height: 4px; background: var(--gold); margin: 32px 0; }
.contact-body .note { color: #4b5563; margin-bottom: 40px; }
.form { display: grid; gap: 20px; }
.form .row { display: grid; gap: 20px; }
@media (min-width: 768px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form input, .form textarea { width: 100%; padding: 16px; background: #fff; border: 1px solid #d1d5db; border-radius: 8px; outline: none; font-size: 1rem; color: #000; }
.form input:focus, .form textarea:focus { border-color: var(--gold); }
.form textarea { resize: vertical; min-height: 180px; }
.form .send { justify-self: start; background: var(--gold); color: #000; padding: 16px 32px; border-radius: 999px; font-weight: 700; transition: background .3s, color .3s; }
.form-status { min-height: 1.5em; font-size: .95rem; color: #166534; }
.form-status.error { color: #b91c1c; }

.info-list { display: grid; gap: 40px; align-content: start; }
.info-item { display: flex; gap: 20px; align-items: flex-start; }
.info-ico { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--dark-red); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.info-item h3 { font-weight: 700; font-size: 1.35rem; margin-bottom: 8px; }
.info-item p { color: #374151; font-size: 1.05rem; }
.follow h3 { font-weight: 700; font-size: 1.35rem; margin-bottom: 20px; }
@media (min-width: 640px) { .info-ico { width: 80px; height: 80px; font-size: 1.9rem; } .info-item { gap: 24px; } .info-item h3, .follow h3 { font-size: 1.5rem; } }

/* social bubbles */
.social { display: flex; flex-wrap: wrap; gap: 16px; }
.social a { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: #000; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; transition: transform .3s, background .3s; }
.social.lg { gap: 20px; }
.social.lg a { width: 52px; height: 52px; font-size: 1.4rem; }
@media (min-width: 640px) { .social.lg a { width: 64px; height: 64px; font-size: 1.6rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-red); color: var(--cream); }
.footer-main { max-width: 80rem; margin-inline: auto; padding: 56px 24px; display: grid; gap: 40px; }
.footer-main img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.footer-main h3 { color: var(--gold); font-size: 1.25rem; font-weight: 700; margin-bottom: 24px; }
.footer-menu { display: grid; gap: 16px; }
.footer-menu a { transition: color .3s; }
.footer-contact { display: grid; gap: 20px; color: var(--soft); }
.footer-bottom { background: #C5B06A; color: #000; }
.footer-bottom .inner { max-width: 80rem; margin-inline: auto; padding: 20px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-bottom a { font-weight: 600; }
@media (min-width: 768px) {
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 48px; padding-block: 64px; }
  .footer-bottom .inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 1024px) { .footer-main { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px 24px; background: var(--dark-red); color: var(--cream); }
.notfound p { margin: 16px 0 8px; color: var(--soft); }

/* ---------- Hover effects (mouse devices only) ---------- */
@media (hover: hover) {
  .work-card:hover { border-color: var(--gold); }
  .work-card:hover .thumb img { transform: scale(1.1); }
  .svc-card:hover { border-color: var(--gold); transform: translateY(-12px); }
  .svc-card:hover .thumb img { transform: scale(1.1); }
  .svc-card:hover .btn-gold, .cat-card:hover .btn-gold { background: #fff; }
  .frame-img:hover { transform: scale(1.02); }
  .gallery img:hover { transform: scale(1.05); }
  .tile:hover { border-color: var(--gold); transform: translateY(-8px); }
  .tile:hover .ph img { transform: scale(1.1); }
  .review-grid .tile:hover { transform: none; }
  .cat-card:hover { border-color: var(--gold); transform: translateY(-8px); }
  .cat-card:hover .cat-icon { transform: scale(1.1); }
  .nav-menu a:hover { color: var(--gold); }
  .social a:hover { background: #fff; transform: scale(1.1); }
  .footer-menu a:hover { color: var(--gold); }
  .footer-bottom a:hover { text-decoration: underline; }
  .form .send:hover { background: var(--dark-red); color: var(--gold); }
  .back-link:hover, .btn-gold:hover { background: #fff; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
