/* ==============================================================
   CALL JIMMY'S — DESIGN TOKENS
   Palette is pulled from the logo: warm black with a gold gradient
   running from pale champagne to deep antique gold.
   Edit the values below to re-theme the whole site from one place.
   ============================================================== */
:root {
  /* Surfaces */
  --ink:        #0D0C0A;  /* page background */
  --panel:      #15130F;  /* cards / bands */
  --panel-2:    #1D1A13;  /* raised surfaces */

  /* Gold (from the logo gradient) */
  --gold-1:     #F8E39B;  /* champagne highlight */
  --gold-2:     #D9AE3F;  /* main gold */
  --gold-3:     #B07F10;  /* deep antique gold */
  --gold-grad:  linear-gradient(135deg, #F8E39B 0%, #D9AE3F 52%, #B07F10 100%);

  /* Text */
  --ivory:      #F7F1DE;  /* headings */
  --text:       #D8D2C2;  /* body copy */
  --muted:      #A39D8C;  /* secondary text */
  --error:      #E8957A;

  --line:       rgba(217, 174, 63, 0.20);
  --line-soft:  rgba(217, 174, 63, 0.10);

  /* Type */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius: 14px;
  --header-h: 76px;
  --logo-h: 50px;          /* header logo height — change this to resize the logo */
  --gutter: 24px;
}

/* ==============================================================
   RESET
   ============================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ivory); margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; }
section { padding: 96px var(--gutter); scroll-margin-top: var(--header-h); }

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-2);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  border-radius: 2px;
  background: var(--gold-grad);
  flex-shrink: 0;
}
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 16px; letter-spacing: -0.005em; }
.section-desc { max-width: 560px; color: var(--muted); }
.section-head { max-width: var(--max-width); margin: 0 auto 56px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--gold-grad); color: #1A1405; }
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 8px 24px rgba(217, 174, 63, 0.30); }
.btn-ghost { border-color: var(--line); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-2); background: rgba(217, 174, 63, 0.08); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ==============================================================
   HEADER / NAV
   ============================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(13, 12, 10, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5); border-bottom-color: var(--line); }

.navbar {
  width: 100%;
  max-width: calc(var(--max-width) + 2 * var(--gutter)); /* lines the logo up with the page content edge */
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo: sized by height so it stays compact whatever the source image size */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: var(--logo-h);
  width: auto;
  max-width: 100%;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--gold-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover { color: var(--gold-1); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold-grad);
  color: #1A1405 !important;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 999px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { filter: brightness(1.07); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
}
.nav-toggle span {
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--gold-1);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.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); }

/* ==============================================================
   HERO
   The logo's concentric arcs are the one signature element: they
   draw themselves in once on load, then sit quietly behind the copy.
   ============================================================== */
.hero {
  min-height: min(calc(100vh - var(--header-h)), 780px);
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 88px;
  padding-bottom: 88px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 46%, rgba(217, 174, 63, 0.16), transparent 58%),
    var(--ink);

     background: linear-gradient(180deg, rgba(13,12,10,.6), rgba(13,12,10,.95)), url('Wallpaper.jpeg') center / cover;
}

.hero-arcs {
  position: absolute;
  top: 50%;
  right: -4%;
  width: min(54vw, 640px);
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}
.arc {
  stroke-dasharray: 1;
  animation: draw-arc 1.8s cubic-bezier(0.3, 0.7, 0.2, 1) backwards;
}
.arc-1 { animation-delay: 0.1s; }
.arc-2 { animation-delay: 0.45s; }
.arc-3 { animation-delay: 0.8s; }
.arc-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: pop-dot 0.7s ease-out 1.5s backwards;
}
@keyframes draw-arc { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop-dot { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.hero-content { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; width: 100%; }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 14ch;
  margin-bottom: 24px;
}
.hero-desc { max-width: 520px; font-size: 1.08rem; color: var(--text); }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ==============================================================
   OUR WORK — rotating image blocks
   ============================================================== */
.work { background: var(--panel); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.work-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.work-block {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.rotator {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #26221A;
}
.rotator-track { position: relative; width: 100%; height: 100%; }
.rotator-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.rotator-img.is-active { opacity: 1; }

/* Gold shine sweep as the visitor hovers a photo */
.rotator::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(248, 227, 155, 0.20) 47%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.work-block:hover .rotator::after { transform: translateX(120%); }

.rotator-dots {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 1;
}
.rotator-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}
.rotator-dots span.is-active { background: var(--gold-2); transform: scale(1.25); }

.work-block-label { font-size: 1.15rem; padding: 18px 22px; }

/* ==============================================================
   PACKAGES
   ============================================================== */
.packages-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Two packages sections sit back to back — trim the gap between them */
#packages { padding-bottom: 48px; }
#more-services { padding-top: 48px; }

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 28px;
  transition: border-color 0.2s ease;
}
.package-card:hover { border-color: var(--gold-2); }
.package-card.is-featured {
  border-color: var(--gold-2);
  background: linear-gradient(180deg, #221D10 0%, var(--panel) 70%);
  box-shadow: 0 16px 40px rgba(217, 174, 63, 0.12);
}
.package-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--gold-grad);
  color: #1A1405;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 14px;
  border-radius: 999px;
}
.package-head {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.package-name { font-size: 1.35rem; margin-bottom: 8px; }
.package-price {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 700;
  margin: 0;
  color: var(--gold-2); /* fallback */
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.package-price span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
  margin-left: 6px;
}
.package-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.package-features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.93rem;
  color: var(--text);
}
.package-features li::before {
  content: '';
  position: absolute;
  left: 1px; top: 6px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--gold-2);
  border-bottom: 2px solid var(--gold-2);
  transform: rotate(-45deg);
}

/* ==============================================================
   ABOUT US
   ============================================================== */
.about {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 64px;
  align-items: center;
}
.emblem {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 45%, rgba(217, 174, 63, 0.18), var(--panel) 68%);
}
.emblem svg { width: 74%; height: auto; }

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about-stats li { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-2);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}
.stat-label { font-size: 0.85rem; color: var(--muted); }

/* ==============================================================
   ENQUIRY
   ============================================================== */
.enquiry {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-card {
  margin-top: 28px;
  padding: 20px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.contact-label { font-size: 0.85rem; color: var(--muted); }
.contact-phone { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ivory); }
.contact-phone:hover { color: var(--gold-1); }

.enquiry-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.9rem; font-weight: 600; color: var(--ivory); }
.form-row input, .form-row textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;   /* 16px stops iOS zooming into the field */
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #7A7566; }
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(217, 174, 63, 0.18);
  outline: none;
}
.form-status { margin: 14px 0 0; font-size: 0.92rem; min-height: 1.2em; }
.form-status.is-success { color: var(--gold-1); }
.form-status.is-error { color: var(--error); }

/* ==============================================================
   FOOTER
   ============================================================== */
.site-footer { border-top: 1px solid var(--line); background: var(--panel); padding: 56px var(--gutter) 24px; }
.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-logo { height: 44px; width: auto; }
.footer-tagline { font-size: 0.92rem; color: var(--muted); margin: 14px 0 0; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.95rem; color: var(--text); }
.footer-links a:hover { color: var(--gold-1); }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.social-icons { display: flex; gap: 12px; margin-top: 14px; }
.social-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { color: var(--gold-1); border-color: var(--gold-2); background: rgba(217, 174, 63, 0.08); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ==============================================================
   RESPONSIVE
   ============================================================== */
@media (max-width: 1000px) {
  .packages-grid:not(.services-grid) { grid-template-columns: 1fr; max-width: 560px; }
  .hero-arcs { width: min(64vw, 520px); right: -14%; }
}

@media (max-width: 900px) {
  .about, .enquiry { grid-template-columns: 1fr; gap: 40px; }
  .emblem { max-width: 240px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --logo-h: 40px; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav-links.is-open { max-height: 380px; visibility: visible; transition: max-height 0.25s ease; }
  .nav-links li { width: 100%; }
  .nav-link { display: block; padding: 16px var(--gutter); width: 100%; }
  .nav-link::after { display: none; }
  .nav-cta { margin: 12px var(--gutter) 18px; width: calc(100% - 48px); text-align: center; }
  .nav-toggle { display: flex; }

  .work-grid { grid-template-columns: 1fr; }

  /* Arcs move behind the copy as a soft watermark */
  .hero { min-height: auto; padding-top: 72px; padding-bottom: 72px; }
  .hero-arcs { width: 110vw; right: -42%; top: 42%; opacity: 0.22; }
}

@media (max-width: 520px) {
  :root { --gutter: 20px; --header-h: 66px; --logo-h: 36px; }
  section { padding-top: 64px; padding-bottom: 64px; }
  .section-head { margin-bottom: 36px; }
  #packages { padding-bottom: 32px; }
  #more-services { padding-top: 32px; }
  .hero-title { max-width: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .enquiry-form { padding: 22px; }
  .package-card { padding: 30px 22px 24px; }
  .about-stats { gap: 18px 28px; }
  .footer-logo { height: 40px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arc, .arc-dot { animation: none; }
  .rotator::after { transition: none; }
  .rotator-img { transition: none; }
  .nav-toggle span, .nav-links { transition: none; }
}
