/* ============================================================
   main.css — Arbuda Wallpaper  |  Identical to React index.css
   All Tailwind utility classes are written as explicit CSS
   Compatible: Chrome, Firefox, Safari, Edge (modern)
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────────── */
/* Loaded via <link> in head.php */

/* ── CSS Custom Properties ───────────────────────────────────── */
:root {
  --color-primary:       #D4AF37;
  --color-primary-dark:  #C9A227;
  --color-primary-light: #F2D57E;
  --color-secondary:     #1A1A1A;
  --color-accent:        #E6C65C;
  --color-surface:       #F8F6F2;
  --color-surface-alt:   #FFFFFF;
  --font-heading:        'Outfit', sans-serif;
  --font-body:           'Inter', sans-serif;
}

/* ── Reset / Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.5;
  font-weight: 400;
  color: #1A1A1A;
  background: linear-gradient(180deg, #F8F6F2 0%, #EFEAE3 100%);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; height: auto; display: block; }

button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #F0EBE2; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #D4AF37, #C9A227); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #B8900A; }

/* ── Utility Classes (Tailwind-equivalent) ───────────────────── */
.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.flex-grow     { flex-grow: 1; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.justify-center{ justify-content: center; }
.justify-between{ justify-content: space-between; }
.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }
.relative      { position: relative; }
.absolute      { position: absolute; }
.fixed         { position: fixed; }
.sticky        { position: sticky; }
.inset-0       { inset: 0; }
.overflow-hidden{ overflow: hidden; }
.overflow-auto { overflow: auto; }
.w-full        { width: 100%; }
.h-full        { height: 100%; }
.min-h-screen  { min-height: 100vh; }
.hidden        { display: none !important; }
.block         { display: block; }
.inline-block  { display: inline-block; }
.inline-flex   { display: inline-flex; }
.grid          { display: grid; }
.gap-2         { gap: 0.5rem; }
.gap-3         { gap: 0.75rem; }
.gap-4         { gap: 1rem; }
.gap-5         { gap: 3.25rem; }
.gap-6         { gap: 1.5rem; }
.gap-8         { gap: 2rem; }
.gap-10        { gap: 2.5rem; }
.gap-12        { gap: 3rem; }
.gap-16        { gap: 4rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-5 > * + * { margin-left: 1.25rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.p-2  { padding: 0.5rem; }
.p-3  { padding: 0.75rem; }
.p-4  { padding: 1rem; }
.p-5  { padding: 1.25rem; }
.p-6  { padding: 1.5rem; }
.p-7  { padding: 1.75rem; }
.p-8  { margin-top: 3rem;padding: 1rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.px-4 { padding-left: 1rem;   padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem;  padding-right: 1.5rem; }
.px-8 { padding-left: 2rem;    padding-right: 2rem; }
.py-2 { padding-top: 0.5rem;   padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem;  padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem;     padding-bottom: 1rem; }
.py-5 {padding-left: 1.25rem;padding-right: 1.25rem;padding-top: 1.25rem;  padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem;   padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem;     padding-bottom: 2rem; }
.py-10{ padding-top: 2.5rem;   padding-bottom: 2.5rem; }
.py-12{ padding-top: 3rem;     padding-bottom: 3rem; }
.py-16{ padding-top: 4rem;     padding-bottom: 4rem; }
.py-20{ padding-top: 5rem;     padding-bottom: 5rem; }
.py-24{ padding-top: 6rem;     padding-bottom: 6rem; }
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-24 { margin-top: 6rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-5  { margin-bottom: 1.25rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.mr-3    { margin-right: 0.75rem; }
.mr-4    { margin-right: 1rem; }
.rounded-full   { border-radius: 9999px; }
.rounded-xl     { border-radius: 0.75rem; }
.rounded-2xl    { border-radius: 1rem; }
.rounded-3xl    { border-radius: 1.5rem; }
.border         { border-width: 1px; border-style: solid; }
.border-0       { border: none; }
.border-t       { border-top-width: 1px; border-top-style: solid; }
.border-b       { border-bottom-width: 1px; border-bottom-style: solid; }
.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black     { font-weight: 900; }
.text-xs   { font-size: 0.75rem; }
.text-sm   { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }
.text-6xl  { font-size: 3.75rem; }
.text-7xl  { font-size: 4.5rem; }
.uppercase     { text-transform: uppercase; }
.capitalize    { text-transform: capitalize; }
.italic        { font-style: italic; }
.leading-tight { line-height: 1.25; }
.leading-snug  { line-height: 1.375; }
.leading-relaxed{ line-height: 1.625; }
.tracking-tight  { letter-spacing: -0.05em; }
.tracking-tighter{ letter-spacing: -0.05em; }
.tracking-wide   { letter-spacing: 0.025em; }
.tracking-wider  { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shrink-0 { flex-shrink: 0; }
.object-cover   { object-fit: cover; }
.object-contain { object-fit: contain; }
.select-none    { user-select: none; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.cursor-grab    { cursor: grab; }
.resize-none    { resize: none; }
.appearance-none{ appearance: none; }
.z-0  { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.opacity-0  { opacity: 0; }
.opacity-60 { opacity: 0.6; }
.opacity-100{ opacity: 1; }
.transition-all      { transition: all 0.15s ease; }
.transition-colors   { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.transition-transform{ transition: transform 0.15s ease; }
.duration-200  { transition-duration: 200ms; }
.duration-300  { transition-duration: 300ms; }
.duration-500  { transition-duration: 500ms; }
.ease-out      { transition-timing-function: ease-out; }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.10); }
.rotate-180    { transform: rotate(180deg); }
.-translate-x-2{ transform: translateX(-0.5rem); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-0 { transform: translateY(0); }
.-translate-y-8{ transform: translateY(-2rem); }
.blur-\[120px\]{ filter: blur(120px); }
.backdrop-blur-md  { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.backdrop-blur-xl  { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.backdrop-blur-3xl { backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px); }
.shadow-sm  { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow-xl  { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1),0 10px 10px -5px rgba(0,0,0,0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-lg  { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05); }
.max-w-7xl { max-width: 80rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-md  { max-width: 28rem; }
.max-w-sm  { max-width: 24rem; }

/* ── Component Classes (from React index.css) ────────────────── */
.luxury-gradient {
  background: linear-gradient(180deg, #F8F6F2 0%, #EFEAE3 60%, #F8F6F2 100%);
}

.cinematic-bg {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.10) 0%, transparent 65%),
    linear-gradient(180deg, #F8F6F2 0%, #EFEAE3 50%, #F8F6F2 100%);
}

.section-aura::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(212,175,55,0.12) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.gold-text-gradient {
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 40%, #F2D57E 70%, #C9A227 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 6px rgba(212,175,55,0.20));
}

.glass {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}

.dark-glass {
  background: rgba(20, 15, 5, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.gold-glow {
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.25),
    0 8px 30px rgba(212,175,55,0.22),
    0 24px 60px rgba(212,175,55,0.10);
}

.premium-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.14);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 12px 36px rgba(0,0,0,0.07);
  transition: all 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 20px 50px rgba(0,0,0,0.10), 0 0 0 1px rgba(212,175,55,0.30);
}

.stat-card {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.30);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.95);
  transition: all 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212,175,55,0.55);
  box-shadow: 0 8px 30px rgba(212,175,55,0.18), 0 20px 50px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

.cinematic-overlay {
  background: linear-gradient(165deg, rgba(248,246,242,0.12) 0%, rgba(20,15,5,0.40) 50%, rgba(20,15,5,0.65) 100%);
}

.gold-tint {
  mix-blend-mode: soft-light;
  background: radial-gradient(ellipse at 30% 60%, rgba(212,175,55,0.10), transparent 70%);
  pointer-events: none;
}

.gold-btn-gradient {
  background: linear-gradient(135deg, #D4AF37 0%, #F2D57E 60%, #C9A227 100%);
  box-shadow: 0 6px 22px rgba(212,175,55,0.30);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  color: #1A1A1A;
  font-weight: 700;
}
.gold-btn-gradient:hover {
  background: linear-gradient(135deg, #C9A227 0%, #D4AF37 60%, #F2D57E 100%);
  box-shadow: 0 10px 36px rgba(212,175,55,0.42);
  transform: translateY(-3px) scale(1.04);
}

.section-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #D4AF37;
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
  border: none;
  margin: 0;
}

/* ── Grid layouts ────────────────────────────────────────────── */
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .sm\:flex-row    { flex-direction: row !important; }
  .sm\:items-center{ align-items: center !important; }
  .sm\:hidden      { display: none !important; }
  .sm\:block       { display: block !important; }
}
@media (min-width: 768px) {
  .md\:grid-cols-2  { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3  { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4  { grid-template-columns: repeat(4, 1fr); }
  .md\:col-span-2   { grid-column: span 2; }
  .md\:flex-row     { flex-direction: row !important; }
  .md\:text-left    { text-align: left !important; }
  .md\:hidden       { display: none !important; }
  .md\:block        { display: block !important; }
  .md\:flex         { display: flex !important; }
  .md\:text-2xl     { font-size: 1.5rem; }
  .md\:text-3xl     { font-size: 1.875rem; }
  .md\:text-4xl     { font-size: 2.25rem; }
  .md\:text-5xl     { font-size: 3rem; }
  .md\:text-6xl     { font-size: 3.75rem; }
  .md\:p-12         { padding: 3rem; }
  .md\:px-6         { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:py-0         { padding-top: 0; padding-bottom: 0; }
  .md\:justify-between { justify-content: space-between !important; }
  .md\:items-end    { align-items: flex-end !important; }
  .md\:text-center  { text-align: center !important; }
  .md\:items-center { align-items: center !important; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2  { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3  { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4  { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-5  { grid-template-columns: repeat(5, 1fr); }
  .lg\:col-span-2   { grid-column: span 2; }
  .lg\:col-span-3   { grid-column: span 3; }
  .lg\:col-span-5   { grid-column: span 5; }
  .lg\:hidden       { display: none !important; }
  .lg\:block        { display: block !important; }
  .lg\:flex         { display: flex !important; }
  .lg\:px-8         { padding-left: 2rem; padding-right: 2rem; }
  .lg\:text-7xl     { font-size: 2.5rem; }
  .lg\:gap-12       { gap: 3rem; }
  .lg\:gap-24       { gap: 6rem; }
  .lg\:flex-row     { flex-direction: row !important; }
  .lg\:items-center { align-items: center !important; }
  .lg\:items-end    { align-items: flex-end !important; }
  .lg\:order-last   { order: 9999 !important; }
  .lg\:order-first  { order: -9999 !important; }
  .lg\:col-span-2   { grid-column: span 2; }
  .lg\:w-half       { width: 50% !important; }
  /* Contact / Footer column spans */
  .lg\:col-span-5   { grid-column: span 5; }
  .lg\:sticky       { position: sticky; }
  .lg\:top-28       { top: 7rem; }
}

.three-d-grid { display: grid; grid-template-columns: 1fr; gap: 5rem; align-items: center; }
@media (min-width: 1024px) {
  .three-d-grid { grid-template-columns: minmax(32rem, 1.1fr) minmax(30rem, 1fr); }
}
.three-d-right { margin-top: 0; }
.three-d-image-card { min-width: 100%; }
@media (min-width: 1024px) {
  .three-d-right { margin-top: 0; }
}

.footer-main-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: start; justify-items: stretch; }
@media (min-width: 768px) {
  .footer-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer-main-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.footer-main-grid > div { min-width: 0; }
.footer-heading { font-size: 1.25rem; font-weight: 900; color: #1A1A1A; font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 2.5rem; position: relative; display: inline-block; }
.footer-heading::after { content: ''; position: absolute; bottom: -0.75rem; left: 0; width: 4rem; height: 4px; border-radius: 9999px; background: linear-gradient(135deg, #D4AF37 0%, #F2D57E 60%, #C9A227 100%); }
.footer-contact-label { font-size: 0.65rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(26,26,26,0.3); margin-bottom: 0.35rem; }
.footer-contact-value { color: #1A1A1A; font-weight: 900; font-size: 1.05rem; display: block; text-decoration: none; transition: color 0.2s; }
.footer-contact-value:hover { color: #D4AF37; }

/* ── Hero Slider ─────────────────────────────────────────────── */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }

/* ── Product Card ─────────────────────────────────────────────── */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.75rem;
  overflow: hidden;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212,175,55,0.1);
  transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 12px 45px rgba(0,0,0,0.06);
}
.product-card:hover {
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 24px 80px rgba(212,175,55,0.15);
}
.product-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover::after { opacity: 1; }
.product-card .card-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.product-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.product-card:hover .card-img-wrap img { transform: scale(1.1); }
.product-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.8), transparent);
  opacity: 0;
  transition: opacity 0.7s ease;
}
.product-card:hover .card-overlay { opacity: 1; }
.product-card .card-body {
  padding: 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: rgba(255,255,255,0.4);
}
.product-card:hover .card-body h3 { color: #D4AF37; }

/* ── Testimonial carousel ────────────────────────────────────── */
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testimonial-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
}
.testimonial-track:hover { animation-play-state: paused; }

/* ── Before/After Slider ─────────────────────────────────────── */
.before-after-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 2rem;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.before-after-container .after-img,
.before-after-container .before-wrap { position: absolute; inset: 0; }
.before-after-container img { width: 100%; height: 100%; object-fit: cover; }
.before-after-container .before-wrap { overflow: hidden; border-right: 2px solid #fff; }
.before-after-container .before-wrap img { position: absolute; inset: 0; width: 100vw; max-width: none; }
.slider-handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 4px;
  background: white;
  pointer-events: none;
}
.slider-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.5rem; height: 2.5rem;
  background: white;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
}

/* ── Lightbox ────────────────────────────────────────────────── */
#lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
}
#lightbox-overlay img {
  max-width: 90vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

/* ── Reveal animation ────────────────────────────────────────── */
.reveal {
  /* Matches React index.css — opacity:0 removed to prevent hidden sections */
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Text colors ─────────────────────────────────────────────── */
.text-primary    { color: #D4AF37; }
.text-secondary  { color: #1A1A1A; }
.text-white      { color: #ffffff; }
.text-gray-400   { color: #9CA3AF; }
.text-gray-500   { color: #6B7280; }
.text-gray-600   { color: #4B5563; }
.text-gray-700   { color: #374151; }
.text-gray-800   { color: #1F2937; }
.text-slate-400  { color: #94A3B8; }
.text-slate-500  { color: #64748B; }
.text-slate-700  { color: #334155; }
.text-slate-800  { color: #1E293B; }
.text-slate-900  { color: #0F172A; }
.text-red-500    { color: #EF4444; }
.text-red-600    { color: #DC2626; }
.text-rose-500   { color: #F43F5E; }
.text-rose-600   { color: #E11D48; }
.text-emerald-500{ color: #10B981; }
.text-emerald-600{ color: #059669; }

/* ── Background colors ───────────────────────────────────────── */
.bg-white        { background-color: #ffffff; }
.bg-gray-50      { background-color: #F9FAFB; }
.bg-gray-100     { background-color: #F3F4F6; }
.bg-slate-50     { background-color: #F8FAFC; }
.bg-slate-900    { background-color: #0F172A; }
.bg-primary      { background-color: #D4AF37; }
.bg-secondary    { background-color: #1A1A1A; }
.bg-red-50       { background-color: #FEF2F2; }
.bg-red-500      { background-color: #EF4444; }
.bg-red-600      { background-color: #DC2626; }
.bg-emerald-50   { background-color: #ECFDF5; }
.bg-emerald-500  { background-color: #10B981; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-from, #000), var(--tw-gradient-to, #fff)); }
.from-red-50      { --tw-gradient-from: #FEF2F2; }
.to-slate-100    { --tw-gradient-to: #F3F4F6; }

/* ── Border colors ───────────────────────────────────────────── */
.border-white    { border-color: #ffffff; }
.border-gray-100 { border-color: #F3F4F6; }
.border-gray-200 { border-color: #E5E7EB; }
.border-slate-200{ border-color: #E2E8F0; }
.border-slate-200\/80 { border-color: rgba(226,232,240,0.8); }
.border-primary  { border-color: #D4AF37; }
.border-primary\/15 { border-color: rgba(212,175,55,0.15); }
.border-white\/40 { border-color: rgba(255,255,255,0.4); }

/* ── Text colors ─────────────────────────────────────────────── */
.text-gray-300   { color: #D1D5DB; }
.text-secondary\/60 { color: rgba(26,26,26,0.6); }
.text-secondary\/50 { color: rgba(26,26,26,0.5); }
.text-secondary\/40 { color: rgba(26,26,26,0.4); }

/* ── Background opacity helpers ───────────────────────────────── */
.bg-white\/60 { background-color: rgba(255,255,255,0.6); }

/* ── Utility helpers ─────────────────────────────────────────── */
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.h-fit { height: fit-content; }
.max-w-xs { max-width: 20rem; }
.flex-wrap { flex-wrap: wrap; }
.order-first { order: -9999; }
.order-last { order: 9999; }
.rounded-\[4rem\] { border-radius: 4rem; }
.rounded-\[2\.5rem\] { border-radius: 2.5rem; }
.text-\[10px\] { font-size: 0.625rem; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }

/* ── Interaction helpers ─────────────────────────────────────── */
.hover\:text-primary:hover { color: var(--color-primary); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px rgba(0,0,0,0.07); }
.active\:scale-95:active { transform: scale(0.95); }
.hover\:gold-btn-gradient:hover,
.group:hover .group-hover\:gold-btn-gradient {
  background: linear-gradient(135deg, #D4AF37 0%, #F2D57E 60%, #C9A227 100%);
  box-shadow: 0 10px 36px rgba(212,175,55,0.42);
  color: #1A1A1A;
}
.group:hover .group-hover\:text-rose-600 {
  color: #E11D48 !important;
}
.bg-\[\#25D366\] { background-color: #25D366; }

/* ── Hero banner ─────────────────────────────────────────────── */
.hero-banner {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}
.hero-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.hero-banner:hover .hero-banner-bg { transform: scale(1.05); }
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero-banner-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 0 1rem;
}
.hero-banner-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, white, transparent);
  z-index: 5;
}

/* Product intro images: default tall aspect on mobile, square on large screens */
.product-intro-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 1s ease;
  display: block;
}
@media (min-width: 1024px) {
  .product-intro-img { aspect-ratio: 1/1; }
}

/* ── HeroBanner for Home (full slider) ───────────────────────── */
.home-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION — matches React ContactFormSection.jsx exactly
   Screenshot: gold left panel + white right form card
   ═══════════════════════════════════════════════════════════════ */

/* Section wrapper */
.cs-section {
  padding: 6rem 0;
  background: #fff;
  overflow: hidden;
}

/* Inner max-width container */
.cs-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Optional header block above the two columns */
.cs-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}
.cs-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #1A1A1A;
  margin-top: 1rem;
  line-height: 1.1;
  font-family: 'Outfit', sans-serif;
}

/* ── Two-column grid: left (info) + right (form) ── */
.cs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  /* React: lg:grid-cols-5 — info takes 2, form takes 3 */
  .cs-grid { grid-template-columns: 2fr 3fr; gap: 2.5rem; }
}

/* ══════════════════════════════
   LEFT: Gold Contact Info Panel
   ══════════════════════════════ */
.cs-info {
  background: #D4AF37;
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
/* Subtle inner glow — matches React gold card style */
.cs-info::before {
  content: '';
  position: absolute;
  top: -4rem; right: -4rem;
  width: 12rem; height: 12rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  pointer-events: none;
}
.cs-info::after {
  content: '';
  position: absolute;
  bottom: -3rem; left: -3rem;
  width: 9rem; height: 9rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

/* "Contact Information" heading */
.cs-info-title {
  font-size: 1.375rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 2rem 0;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

/* Each contact item: icon + text side by side */
.cs-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

/* Circular icon container — white semi-transparent */
.cs-item-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition: background 0.25s;
}
.cs-item:hover .cs-item-icon {
  background: rgba(255,255,255,0.32);
}

/* Text block: label + value */
.cs-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.cs-item-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cs-item-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  line-height: 1.45;
  word-break: break-word;
}
.cs-item-value:hover { text-decoration: underline; }

/* Social icons — pushed to bottom of info card */
.cs-social {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}
.cs-social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s;
}
.cs-social-btn:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-3px);
}

/* ══════════════════════════════
   RIGHT: White form card
   ══════════════════════════════ */
.cs-form-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(226,232,240,0.9);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .cs-form-card { padding: 2.5rem; } }
@media (min-width: 1024px) { .cs-form-card { padding: 3rem; } }

/* Form rows */
.cs-form-row {
  margin-bottom: 1.25rem;
}
.cs-form-row:last-child { margin-bottom: 0; }

/* Two-column row */
.cs-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cs-two-col { grid-template-columns: 1fr 1fr; } }

/* Field: label + input stacked */
.cs-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

/* Labels — React: text-sm font-semibold text-gray-700 */
.cs-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  padding-left: 0.125rem;
}

/* Inputs, select, textarea */
.cs-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #E5E7EB;
  background: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  color: #1A1A1A;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  line-height: 1.5;
}
.cs-input::placeholder { color: #9CA3AF; }
.cs-input:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}

/* Select wrapper for custom arrow */
.cs-select-wrap {
  position: relative;
}
.cs-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}
.cs-select-arrow {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #9CA3AF;
}

/* Textarea */
.cs-textarea {
  resize: vertical;
  min-height: 7rem;
}

/* Submit button — React: bg-secondary (black), full width, white bold text, rounded, icon */
.cs-submit {
  width: 100%;
  background: #1A1A1A;
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  letter-spacing: 0.01em;
}
.cs-submit:hover {
  background: #333;
  transform: translateY(-1px);
}
.cs-submit:active { transform: translateY(0); }

/* ── Legacy class aliases (kept for backward compat) ── */
.contact-form-card { background: #fff; border-radius: 1.5rem; padding: 2rem; border: 1px solid rgba(226,232,240,0.9); }
@media(min-width:768px){ .contact-form-card { padding: 2.5rem; } }
.contact-form-card input, .contact-form-card select, .contact-form-card textarea {
  width: 100%; padding: 0.875rem 1rem; border-radius: 0.75rem;
  border: 1px solid #E5E7EB; background: #fff; font-family: inherit;
  font-size: 0.875rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box;
}
.contact-form-card input:focus, .contact-form-card select:focus, .contact-form-card textarea:focus {
  border-color: #D4AF37; box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}
/* Legacy contact-card kept for contact.php quick-info cards */
.contact-card {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 2rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 60px rgba(0,0,0,0.12);
  border-color: rgba(212,175,55,0.35);
}
.contact-card-icon {
  width: 4rem; height: 4rem;
  border-radius: 1.5rem;
  background: rgba(212,175,55,0.06);
  display: flex; align-items: center; justify-content: center;
  color: #D4AF37;
  margin-bottom: 1.25rem;
}
.contact-card-title { font-size: 1.25rem; font-weight: 900; color: #1A1A1A; margin-bottom: 0.5rem; }
.contact-card-text { color: rgba(26,26,26,0.6); font-size: 0.875rem; font-weight: 600; }
.faq-item {
  background: #fff;
  border-radius: 2rem;
  overflow: hidden;
}
.faq-item + .faq-item {
  margin-top: 1rem;
}
.faq-question {
  width: 100%;
  padding: 1.5rem 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 300ms ease, opacity 300ms ease;
}
.faq-answer.open {
  max-height: 1000px;
  opacity: 1;
}
.faq-item.faq-open .faq-toggle-icon {
  background: linear-gradient(135deg,#D4AF37,#F2D57E,#C9A227) !important;
  border-color: transparent !important;
  transform: rotate(180deg);
}
.faq-item.faq-open .faq-toggle-icon svg { stroke: #1A1A1A !important; }
.faq-item.faq-open .faq-plus { display: none !important; }
.faq-item.faq-open .faq-minus { display: block !important; }
.faq-item.faq-open .faq-question > span {
  background: linear-gradient(135deg,#B8860B,#D4AF37,#F2D57E,#C9A227);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Blog grid ───────────────────────────────────────────────── */
.blog-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,0.8);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
 .blog-card-img {
  /* Use square image aspect to match React blog card layout */
  aspect-ratio: 1/1;
  background: #F8FAFC;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* match React blog image presentation */
  object-position: center;
  transition: transform 0.7s ease;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  display: block;
}
.blog-card:hover .blog-card-img img { transform: scale(1.03); }

/* Enforce equal card heights and smaller overall size (approx -20%) */
.blog-card {
  height: 28rem; /* desktop fixed height to keep uniform cards */
}
@media (max-width: 1023px) {
  .blog-card { height: 24.5rem; } /* tablet slightly smaller */
}
@media (max-width: 767px) {
  .blog-card { height: auto; } /* mobile: natural height for single column */
}

/* Ensure content area uses flex to push Read More to bottom */
.blog-card > div {
  display: flex !important;
  flex-direction: column !important;
  padding: 1.5rem !important;
  flex-grow: 1 !important;
}
.blog-card > div p { flex-grow: 1; }
/* Target the last anchor inside the content block (Read More) and pin it to bottom */
.blog-card > div a:last-child { margin-top: auto !important; display: inline-flex; align-items: center; gap: 0.5rem; }

/* Title sizing and clamps: ensure consistent 2-line clamp */
.blog-card h2 {
  font-size: 1.125rem !important;
  font-weight: 900 !important;
  color: #1E293B !important;
  line-height: 1.35 !important;
  margin-bottom: 0.5rem !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

/* Description clamp to 3 lines and consistent color */
.blog-card p {
  font-size: 0.875rem !important;
  color: #64748B !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}

/* ── Gallery filter buttons ──────────────────────────────────── */
.filter-btn {
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
  background: rgba(212,175,55,0.05);
  color: rgba(26,26,26,0.4);
  border: 1px solid transparent;
  cursor: pointer;
}
.filter-btn:hover {
  background: rgba(212,175,55,0.1);
  color: #1A1A1A;
  border-color: rgba(212,175,55,0.2);
}
.filter-btn.active {
  background: linear-gradient(135deg, #D4AF37 0%, #F2D57E 60%, #C9A227 100%);
  color: #1A1A1A;
  box-shadow: 0 10px 25px rgba(212,175,55,0.3);
  transform: scale(1.1);
}

/* ── Gallery card ────────────────────────────────────────────── */
/* Masonry-style gallery: convert existing grid into CSS Columns masonry
   - Keeps all existing hover effects and overlays intact
   - Uses column-count responsive breakpoints to match design
   - Overrides inline grid styles in PHP with !important to avoid editing PHP
*/

/* Gallery container: enable CSS columns and control gap */
#gallery-grid {
  display: block !important; /* override inline grid */
  column-gap: 20px !important; /* horizontal gap between columns */
  -webkit-column-gap: 20px !important;
  /* default: mobile 2 columns */
  column-count: 2 !important;
  -webkit-column-count: 2 !important;
}
@media (min-width: 768px) {
  #gallery-grid {
    column-count: 3 !important; /* tablet */
    -webkit-column-count: 3 !important;
  }
}
@media (min-width: 1024px) {
  #gallery-grid {
    column-count: 4 !important; /* desktop */
    -webkit-column-count: 4 !important;
  }
}

/* ── Gallery cards — React: h-[400px] md:h-[500px] rounded-[3.5rem] group relative overflow-hidden bg-white shadow-2xl border border-white hover:border-primary/30 transition-all duration-700 ── */
.gallery-card {
  position: relative;
  height: 400px;
  border-radius: 3.5rem;
  overflow: hidden;
  background: white;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  border: 1px solid white;
  transition: border-color 0.7s ease, box-shadow 0.7s ease;
  cursor: pointer;
  display: block;
  width: 100%;
}
.gallery-card:hover { border-color: rgba(212,175,55,0.3); }
/* React: w-full h-full object-cover transition-transform duration-[2s] group-hover:scale-110 */
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 2s ease;
}
.gallery-card:hover img { transform: scale(1.1); }
/* React overlay: absolute inset-0 bg-secondary/80 translate-y-full group-hover:translate-y-0 transition-transform duration-700 flex flex-col items-center justify-center p-10 text-center backdrop-blur-md z-20 */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2.5rem; text-align: center; z-index: 20;
}
.gallery-card:hover .gallery-card-overlay { transform: translateY(0); }
/* React: md:h-[500px] */
@media (min-width: 768px) {
  .gallery-card { height: 500px; }
}

/* Product detail gallery (square grid) — mirrors ProductPageTemplate.jsx */
#product-gallery-grid {
  display: grid !important;
  gap: 2.5rem !important;
  grid-template-columns: repeat(1, 1fr) !important;
  padding-bottom: 4rem !important;
}
@media (min-width: 640px) {
  #product-gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (min-width: 768px) {
  #product-gallery-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (min-width: 1024px) {
  #product-gallery-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
/* Product benefit items — React: group hover:scale-110 on icon, group-hover:text-primary on title */
.benefit-item:hover .benefit-icon { transform: scale(1.1); }
.benefit-item:hover .benefit-title { color: #D4AF37; }

#product-gallery-grid > div {
  border-radius: 3rem;
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
  position: relative;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border: 1px solid rgba(212,175,55,0.15);
  transition: transform 0.35s ease;
}
#product-gallery-grid > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.5s ease;
}
#product-gallery-grid > div:hover img { transform: scale(1.05); }

/* Work Photos gallery — matches React responsive grid layout */
#gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(1, 1fr) !important;
  gap: 2rem !important;
}
@media (min-width: 640px) {
  #gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (min-width: 1024px) {
  #gallery-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

#product-gallery-grid > div {
  border-radius: 3rem;
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
  position: relative;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border: 1px solid rgba(212,175,55,0.15);
  transition: transform 0.35s ease;
}
#product-gallery-grid > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.5s ease;
}
#product-gallery-grid > div:hover img { transform: scale(1.05); }

/* ── Admin layout ────────────────────────────────────────────── */
.admin-sidebar {
  position: fixed; left: 0; top: 0; height: 100%;
  width: 260px;
  background: white;
  border-right: 1px solid rgba(226,232,240,0.8);
  z-index: 50;
  transition: transform 0.3s ease, width 0.3s ease;
  box-shadow: 0 0 30px rgba(0,0,0,0.03);
  overflow: hidden;
}
.admin-main {
  padding-left: 260px;
  min-height: 100vh;
  background: #F8FAFC;
  transition: padding-left 0.3s ease;
}
.admin-topbar {
  height: 72px;
  background: white;
  border-bottom: 1px solid #F1F5F9;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  position: sticky; top: 0; z-index: 40;
}
.admin-nav-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748B;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.admin-nav-link:hover { background: #F8FAFC; color: #1E293B; }
.admin-nav-link.active { background: #DC2626; color: white; box-shadow: 0 4px 14px rgba(220,38,38,0.2); }

/* ── Form inputs (admin) ─────────────────────────────────────── */
.admin-input {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.admin-input:focus {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.admin-btn-primary {
  background: linear-gradient(to right, #DC2626, #EF4444);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(220,38,38,0.15);
  border: none;
  cursor: pointer;
}
.admin-btn-primary:hover { transform: scale(1.02); }
.admin-btn-primary:active { transform: scale(0.98); }
.admin-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── Toast notifications ─────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 1rem; right: 1rem;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 0.5rem;
  pointer-events: none;
}
.toast {
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  pointer-events: auto;
  max-width: 320px;
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast.success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.toast.error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.toast.info    { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ── Loading spinner ─────────────────────────────────────────── */
.spinner {
  width: 2.5rem; height: 2.5rem;
  border: 4px solid rgba(212,175,55,0.2);
  border-top-color: #D4AF37;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Animate on scroll ───────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ── Responsive: mobile sidebar ─────────────────────────────── */
@media (max-width: 1024px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { padding-left: 0; }
}

/* ── Aspect ratio utilities ──────────────────────────────────── */
.aspect-video  { aspect-ratio: 16/9; }
.aspect-square { aspect-ratio: 1/1; }
.aspect-\[4\/5\] { aspect-ratio: 4/5; }
.aspect-\[16\/9\] { aspect-ratio: 16/9; }

/* ── Product slider scroll container ────────────────────────── */
.products-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding: 0 1rem 4rem;
  margin: 0 auto;
  max-width: 80rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  align-items: stretch;
}
.products-scroll:active { cursor: grabbing; }
.products-scroll::-webkit-scrollbar { display: none; }
.products-scroll .product-slide {
  display: flex;
  flex-direction: column;
  width: min(100%, 18rem);
  flex-shrink: 0;
  scroll-snap-align: center;
  min-height: 0;
}
@media (min-width: 640px)  { .products-scroll .product-slide { width: min(100%, 20rem); } }
@media (min-width: 768px)  { .products-scroll .product-slide { width: min(100%, 22.5rem); } }
@media (min-width: 1024px) { .products-scroll .product-slide { width: min(23rem, calc((100% - 4.5rem) / 4)); } }
.products-scroll .product-slide .product-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
}

.product-slider-header {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}
.product-slider-header-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .product-slider-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.5rem;
  }
}
.slider-controls {
  display: flex;
  gap: 1rem;
}
@media (min-width: 768px) {
  .slider-controls { gap: 1.25rem; }
}
.slider-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 1px solid rgba(212,175,55,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
@media (min-width: 768px) {
  .slider-btn { width: 4rem; height: 4rem; }
}
.slider-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.35);
  background: rgba(255,255,255,0.8);
}
.slider-btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2.5;
}
@media (min-width: 768px) {
  .slider-btn-icon { width: 1.75rem; height: 1.75rem; }
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #1A1A1A;
  font-weight: 900;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.2s;
}
@media (min-width: 768px) {
  .card-cta { font-size: 1rem; }
}
.card-cta:hover { color: #D4AF37; }
.cta-pill {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(212,175,55,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
@media (min-width: 768px) {
  .cta-pill { width: 2.5rem; height: 2.5rem; }
}
.card-cta:hover .cta-pill { background: rgba(212,175,55,0.18); }
.cta-pill-icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.5;
}
@media (min-width: 768px) {
  .cta-pill-icon { width: 1.25rem; height: 1.25rem; }
}

/* ── Custom scrollbar for small containers ───────────────────── */
.custom-scrollbar { scrollbar-width: thin; scrollbar-color: #D4AF37 transparent; }
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 4px; }

/* ── Video section ───────────────────────────────────────────── */
.video-section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 768px) {
  .video-section-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .video-section-grid { grid-template-columns: repeat(4, 1fr); }
}
.video-card {
  aspect-ratio: 9/16;
  position: relative;
  overflow: hidden;
  background: #0F172A;
}
.video-card iframe,
.video-card video {
  width: 100%; height: 100%;
  object-fit: cover;
  border: none;
}
.video-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Line clamp utilities ────────────────────────────────────── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── ADDITIONAL CLASSES REQUIRED BY HOME + PRODUCT PAGES ─── */

/* Italic */
.italic { font-style: italic; }

/* Aspect ratios */
.aspect-\[9\/16\] { aspect-ratio: 9/16; }
.aspect-\[4\/5\]  { aspect-ratio: 4/5; }

/* Skew */
.skew-y-2  { transform: skewY(2deg); }

/* lg: grid columns */
@media(min-width:1024px){
  .lg\:grid-cols-2  { grid-template-columns: repeat(2, 1fr); }
  .lg\:col-span-2   { grid-column: span 2; }
  .lg\:order-last   { order: 9999; }
  .lg\:order-first  { order: -9999; }
  .lg\:items-end    { align-items: flex-end; }
  .lg\:gap-24       { gap: 6rem; }
}

/* sm: grid columns — already defined above, keeping only missing utilities */
@media(min-width:640px){
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:flex-row    { flex-direction: row; }
  .sm\:items-center{ align-items: center; }
}

/* md: extra utilities */
@media(min-width:768px){
  .md\:text-7xl { font-size: 4.5rem; }
  .md\:w-44     { width: 11rem; }
  .md\:items-end    { align-items: flex-end; }
  .md\:flex-row     { flex-direction: row !important; }
  .md\:justify-between { justify-content: space-between !important; }
}

/* Product page section spacing */
.py-24 { padding-top: 3rem; padding-bottom: 3rem; }

/* Overflow-y auto */
.overflow-y-auto { overflow-y: auto; }

/* Max height for scroll containers */
.max-h-72  { max-height: 18rem; }
.max-h-\[60vh\] { max-height: 60vh; }

/* Order utilities */
.order-first { order: -9999; }
.order-last  { order: 9999; }
.-order-first { order: -1; }

/* Text wrap */
.whitespace-pre-line { white-space: pre-line; }

/* Word break */
.break-word { word-break: break-word; }
.break-all  { word-break: break-all; }

/* Margin auto - left/right */
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

/* Admin page overflow visible */
.overflow-visible { overflow: visible !important; }

/* Additional responsive md:flex-row alignment — consolidated above */

/* Gallery card hover overlay visible */
.gallery-card-item:hover .gallery-hover-overlay { opacity: 1; }
.gallery-hover-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,0.8);
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2.5rem; text-align: center; z-index: 20;
}
.gallery-card-item:hover .gallery-hover-overlay {
  transform: translateY(0);
}

/* Home hero responsive adjustments */
@media(min-width:640px){
  .hero-inner-grid { gap: 3rem; }
}
@media(min-width:1024px){
  .hero-inner-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero-text-col { text-align: left; }
}

/* Panoramic section on mobile */
@media(max-width:767px){
  .panoramic-section, .cta-video-section { height: 50vh; min-height: 300px; }
}

/* Stat card padding responsive — matches React p-10 md:p-14 */
@media(min-width:768px){
  .stat-card { padding: 3.5rem; }
}
