/* ==========================================================
   TOVIA CATERING – custom styles
   1. Brand colours (edit here – no rebuild needed)
   2. Base, motion and component helpers
   ========================================================== */
:root {
  --c-ink: 27 35 64;       /* Midnight Indigo #1B2340 */
  --c-copper: 199 123 74;  /* Burnished Copper #C77B4A */
  --c-bronze: 150 83 40;   /* Copper, darkened for readable small text */
  --c-oat: 242 233 219;    /* Oat Linen #F2E9DB */
  --c-olive: 127 143 106;  /* Olive Leaf #7F8F6A */
  --c-clay: 221 181 154;   /* Clay Rose #DDB59A */
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: Manrope, system-ui, sans-serif; color: rgb(var(--c-ink)); background: #fff; -webkit-font-smoothing: antialiased; }
.font-display { letter-spacing: -0.01em; }
.wordmark { font-family: "Bodoni Moda", Georgia, serif; letter-spacing: .3em; }

:focus-visible { outline: 3px solid rgb(var(--c-copper)); outline-offset: 3px; border-radius: 4px; }

/* Arch frame: photography is cropped to the brand's arch outline.
   Put any photo inside; object-fit keeps it filled. */
.arch { border-radius: 9999px 9999px 0 0; overflow: hidden; }
.arch-outline { border: 1.5px solid rgb(var(--c-copper)); border-radius: 9999px 9999px 0 0; }
.img-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; font-weight: 700; font-size: .95rem;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .15s; }
.btn:active { transform: scale(.97); }
.btn-ink { background: rgb(var(--c-ink)); color: #fff; }
.btn-ink:hover { background: rgb(var(--c-bronze)); }
.btn-copper { background: rgb(var(--c-copper)); color: rgb(var(--c-ink)); }
.btn-copper:hover { background: rgb(var(--c-clay)); }
.btn-outline { border-color: rgb(var(--c-ink)); color: rgb(var(--c-ink)); }
.btn-outline:hover { background: rgb(var(--c-ink)); color: #fff; }

/* Service cards + toggle chips */
.service-card { transition: transform .35s ease, box-shadow .35s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -22px rgb(var(--c-ink) / .45); }
.service-card .card-img img { transition: transform .6s ease; }
.service-card:hover .card-img img { transform: scale(1.05); }
.chip { font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; border: 1px solid currentColor; opacity: .85; cursor: pointer;
  background: transparent; color: inherit; transition: background-color .2s, color .2s, opacity .2s; }
.chip:hover { opacity: 1; }
.chip[aria-pressed="true"] { background: rgb(var(--c-copper)); border-color: rgb(var(--c-copper)); color: rgb(var(--c-ink)); opacity: 1; }

/* Mobile menu: smooth open/close */
#mobile-menu { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
#mobile-menu.open { max-height: 28rem; }

/* Form fields */
.field { width: 100%; padding: .8rem 1rem; background: #fff; border: 1.5px solid rgb(var(--c-ink) / .25); border-radius: .5rem; font: inherit; color: rgb(var(--c-ink)); transition: border-color .2s; }
.field:focus { outline: none; border-color: rgb(var(--c-copper)); box-shadow: 0 0 0 3px rgb(var(--c-copper) / .25); }
.field[aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .85rem; margin-top: .3rem; min-height: 1.1rem; }

/* Motion: one page-load sequence in the hero, gentle reveal elsewhere */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-in { opacity: 0; animation: rise .8s ease forwards; }
.hero-in:nth-child(2) { animation-delay: .12s; } .hero-in:nth-child(3) { animation-delay: .24s; } .hero-in:nth-child(4) { animation-delay: .36s; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
/*typing animation */
.typing { clip-path: inset(0 100% 0 0); animation: type 2.5s steps(30) .5s forwards; }
@keyframes type { to { clip-path: inset(0); } }
@media (prefers-reduced-motion: reduce) { .typing { clip-path: none; } }

/*end of typing anymation*/

/*shimmer animation*/
css
.shimmer-title {
  display: inline-block; /* Keeps the gradient tight to the text width */
  background: linear-gradient(90deg, #0f172a 0%, #6366f1 50%, #0f172a 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
/*end of shimmer animation*/

/*lamp glow effect */
.lamp-glow { animation: lamp 3.5s ease-in-out infinite; }
@keyframes lamp {
  0%, 100% { box-shadow: 0 0 0 0 rgb(var(--c-copper) / .45); }
  50%      { box-shadow: 0 0 0 12px rgb(var(--c-copper) / 0); }
}

/*end of lamp glow effect */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-in, .reveal { opacity: 1 !important; transform: none !important; }
}



.clear-link { justify-self: start; font-size: .875rem; font-weight: 700; text-decoration: underline; cursor: pointer; }
.clear-link:hover { color: rgb(var(--c-bronze)); }
.clear-link[hidden] { display: none; }

/* Brief highlight on the quote box after Get Quote */
@keyframes flash { from { box-shadow: 0 0 0 0 rgb(var(--c-copper) / .6); } to { box-shadow: 0 0 0 14px rgb(var(--c-copper) / 0); } }
.flash { border-radius: .5rem; animation: flash 1.2s ease-out 2; }


/*animation hero*/
/* css/styles.css */
/*.hero-photo img { animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08); } }*/

/*.float-slow { animation: floaty 8s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }*/

.hero-photo { position: relative; }
.hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 40%, rgb(255 255 255 / .22) 50%, transparent 60%);
  transform: translateX(-100%); animation: sweep 7s ease-in-out infinite; }
@keyframes sweep { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
