/* ============================================================
   WCHRONO LTD — Luxury Watchmaking, London
   Global stylesheet — dark, elegant luxury aesthetic
   Palette: deep black (#0d0d0d) dark sections,
            white / #f5f5f5 light sections,
            titles #1a1a1a (light bg) / white (dark bg),
            body #333 (light bg) / #f0f0f0 (dark bg).
   Gold (#c9a24b) used ONLY for thin decorative lines — never text.
   ============================================================ */

/* ---------- CSS variables ---------- */
:root {
  --black: #0d0d0d;
  --black-soft: #141414;
  --light: #f5f5f5;
  --white: #ffffff;
  --title-dark: #1a1a1a;     /* titles on light bg */
  --body-dark: #333333;      /* body text on light bg */
  --body-light: #f0f0f0;     /* body text on dark bg */
  --muted: #888888;
  --gold: #c9a24b;           /* thin decorative lines only */
  --whatsapp: #25d366;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.30);
  --header-h: 92px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--body-dark);
  background: var(--white);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; color: var(--title-dark); }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  background: transparent;
}

.btn-white {
  background: var(--white);
  color: var(--title-dark);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-dark {
  background: var(--title-dark);
  color: var(--white);
  border-color: var(--title-dark);
}
.btn-dark:hover {
  background: transparent;
  color: var(--title-dark);
}

.btn-outline {
  background: transparent;
  color: var(--title-dark);
  border-color: var(--title-dark);
}
.btn-outline:hover {
  background: var(--title-dark);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--title-dark);
  border-color: var(--white);
}

/* ---------- Section titles ---------- */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 18px;
  text-align: center;
}
.section-title.on-dark { color: var(--white); }

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
  color: var(--muted);
  font-size: 1rem;
}

/* thin gold decorative divider */
.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 28px;
  border: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: var(--black);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
/* On inner pages (no hero), header is solid from the start */
.site-header.solid {
  background: var(--black);
}

.header-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo artwork is black on transparent; invert to white so it shows on the dark header */
.logo img {
  height: 70px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav-menu a {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.6px;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover { color: #fff; }

.nav-cta { display: flex; align-items: center; gap: 18px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.65) 60%, rgba(13,13,13,0.85) 100%);
  z-index: -1;
}
.hero-content {
  max-width: 820px;
  padding: 0 24px;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 28px;
}
.hero-text {
  font-size: 1.05rem;
  color: var(--body-light);
  max-width: 640px;
  margin: 0 auto 14px;
}
.hero-text + .hero-text { margin-bottom: 38px; }

/* scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-indicator span {
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scroll-dot 1.6s infinite;
}
@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ============================================================
   SERVICES (3 cards)
   ============================================================ */
.services {
  background: var(--light);
  padding: 100px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-strong);
}
/* middle card highlighted */
.service-card.featured {
  transform: scale(1.04);
  box-shadow: var(--shadow-strong);
}
.service-card.featured:hover { transform: scale(1.04) translateY(-12px); }

.service-img { overflow: hidden; height: 230px; }
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-img img { transform: scale(1.08); }

.service-body {
  padding: 30px 26px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-body h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service-body p { color: var(--body-dark); margin-bottom: 16px; flex: 1; }
.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.service-body .btn { align-self: center; }

/* ============================================================
   EXPERTISE (image left, text right)
   ============================================================ */
.expertise {
  background: var(--white);
  padding: 100px 0;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.split-text h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 24px;
}
.split-text p {
  margin-bottom: 18px;
  color: var(--body-dark);
}
.split-text .btn { margin-top: 14px; }

/* ============================================================
   RESTORATION (dark section, text left image right)
   ============================================================ */
.restoration {
  background: var(--black);
  color: var(--body-light);
  padding: 100px 0;
}
.restoration .split-text h2 { color: var(--white); }
.restoration .split-text p { color: var(--body-light); }
.restoration .quote {
  font-style: italic;
  font-size: 1.15rem;
  color: #fff;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin: 24px 0;
}
.restoration .restoration-line {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  background: var(--light);
  padding: 100px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease);
}
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  border-radius: 4px;
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.8rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 28px; right: 28px; }
.lightbox-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel-section {
  background: var(--black);
  padding: 90px 0;
}
.carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.carousel-track {
  display: flex;
  transition: transform 0.7s var(--ease);
}
.carousel-slide {
  min-width: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.carousel-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands {
  background: var(--white);
  padding: 70px 0;
}
.brands-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.brands-row img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.brands-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--light);
  padding: 100px 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}
.stars {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 18px;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--body-dark);
  margin-bottom: 22px;
  flex: 1;
  font-size: 0.98rem;
}
.testimonial-author {
  font-weight: 600;
  color: var(--title-dark);
}
.testimonial-city {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--white);
  padding: 100px 0;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e3e3e3;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 24px 8px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--title-dark);
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  color: var(--gold);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer p {
  padding: 0 8px 24px;
  color: var(--body-dark);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--black);
  color: var(--body-light);
  padding: 100px 0;
}
.contact .section-title { color: var(--white); }
.contact-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 46px;
  color: var(--body-light);
}
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  background: var(--black-soft);
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.hidden-field { display: none; }
.contact-form .btn { justify-self: center; margin-top: 6px; }
.form-status {
  text-align: center;
  color: var(--gold);
  margin-top: 12px;
  font-size: 0.95rem;
  min-height: 1.2em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: var(--body-light);
  padding-top: 0;
}
.footer-banner img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  opacity: 0.85;
}
.footer-main {
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col p,
.footer-col a {
  color: var(--body-light);
  font-size: 0.92rem;
  margin-bottom: 8px;
  display: block;
}
.footer-col a:hover { color: var(--gold); }
/* Same inversion in the dark footer */
.footer-logo img { height: 96px; margin-bottom: 18px; filter: brightness(0) invert(1); }

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  margin: 0;
}
.footer-social a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}
.footer-social svg { width: 18px; height: 18px; fill: #fff; }

.footer-bottom {
  border-top: 1px solid #222;
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  animation: wa-pulse 2.2s infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }
.whatsapp-float .wa-tooltip {
  position: absolute;
  right: 72px;
  background: #fff;
  color: #222;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow);
}
.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   TERMS PAGE
   ============================================================ */
.page-hero {
  background: var(--black);
  color: #fff;
  padding: calc(var(--header-h) + 60px) 0 60px;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); }
.terms-content {
  background: var(--white);
  padding: 80px 0;
}
.terms-content .container { max-width: 900px; }
.terms-content h2 {
  font-size: 1.4rem;
  margin: 38px 0 14px;
  color: var(--title-dark);
}
.terms-content h2:first-child { margin-top: 0; }
.terms-content p {
  margin-bottom: 14px;
  color: var(--body-dark);
}
.terms-content ul {
  margin: 0 0 14px 22px;
  color: var(--body-dark);
}
.terms-content li { margin-bottom: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .service-card.featured { transform: none; }
  .service-card.featured:hover { transform: translateY(-12px); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .restoration .split { direction: ltr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { font-size: 1.05rem; }
  .logo img { height: 56px; }
  .nav-cta .btn { display: none; }
  .carousel-slide img { height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .brands-row { gap: 32px; }
  .brands-row img { height: 42px; }
  section { /* keep paddings comfortable */ }
  .services, .expertise, .restoration, .gallery, .testimonials, .faq, .contact { padding: 70px 0; }
}

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