/* ================================================================
   ClicksWithMeetu — Main Stylesheet
   Typography : Playfair Display (headings) + Inter (body)
   Theme      : Dark luxury photography with warm gold accents
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ----------------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  /* --- Background --- */
  --bg-primary:    #090909;
  --bg-secondary:  #111111;
  --bg-tertiary:   #181818;
  --bg-card:       rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass:      rgba(9, 9, 9, 0.80);

  /* --- Accent Gold --- */
  --accent:        #c9a96e;
  --accent-hover:  #d9bc8a;
  --accent-dim:    rgba(201, 169, 110, 0.12);
  --accent-border: rgba(201, 169, 110, 0.22);
  --accent-glow:   0 0 40px rgba(201, 169, 110, 0.25);

  /* --- Text --- */
  --text-primary:   #f5f1eb;
  --text-secondary: #b5aa9e;
  --text-muted:     #6e6560;
  --text-inverse:   #0a0909;

  /* --- Borders --- */
  --border:         rgba(255, 255, 255, 0.07);
  --border-accent:  rgba(201, 169, 110, 0.22);
  --border-hover:   rgba(201, 169, 110, 0.45);

  /* --- Shadows --- */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.65);

  /* --- Typography --- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* --- Spacing (8px grid) --- */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* --- Layout --- */
  --container-max: 1200px;
  --nav-height:    80px;

  /* --- Radius --- */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* --- Transitions --- */
  --t-fast:   150ms ease;
  --t-base:   250ms ease;
  --t-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----------------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ----------------------------------------------------------------
   LAYOUT
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section        { padding: var(--sp-20) 0; }
.section--lg    { padding: var(--sp-32) 0; }
.section--sm    { padding: var(--sp-12) 0; }

/* ----------------------------------------------------------------
   SECTION HEADERS
   ---------------------------------------------------------------- */
.section-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
}

.section-header        { margin-bottom: var(--sp-12); }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto; }

/* Gold divider line */
.divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: var(--sp-4) 0;
}
.divider--center { margin: var(--sp-4) auto; }

/* ----------------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}
p { line-height: 1.7; }

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 13px 30px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--accent-glow);
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-border);
}
.btn--secondary:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--border-accent);
  color: var(--accent);
}

.btn--sm  { padding: 10px 22px; font-size: 0.8rem; }
.btn--lg  { padding: 16px 40px; font-size: 1rem; }
.btn--xl  { padding: 18px 48px; font-size: 1.05rem; }

/* ----------------------------------------------------------------
   TAG / BADGE
   ---------------------------------------------------------------- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

/* ----------------------------------------------------------------
   PAGE HERO BANNER  (inner pages)
   ---------------------------------------------------------------- */
.page-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 64px) var(--sp-6) 80px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.07) 0%, transparent 68%);
  pointer-events: none;
}
.page-hero__eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}
.page-hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible           { opacity: 1; transform: translateY(0); }
.reveal-delay-1           { transition-delay: 0.1s; }
.reveal-delay-2           { transition-delay: 0.2s; }
.reveal-delay-3           { transition-delay: 0.3s; }
.reveal-delay-4           { transition-delay: 0.4s; }
.reveal-delay-5           { transition-delay: 0.5s; }

/* ----------------------------------------------------------------
   HEADER / NAVIGATION
   ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  color: var(--accent);
  transition: all var(--t-base);
  flex-shrink: 0;
}
.nav__logo-icon img,
.nav__logo-icon svg {
  width: 22px;
  height: 22px;
}
.nav__logo:hover .nav__logo-icon {
  background: var(--accent);
  box-shadow: var(--accent-glow);
}
.nav__logo:hover .nav__logo-icon img,
.nav__logo:hover .nav__logo-icon svg {
  filter: brightness(0) invert(1);
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__logo-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.3px;
}
.nav__logo-sub {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 3px;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--r-md);
  transition: color var(--t-fast);
  position: relative;
}
.nav-link:hover,
.nav-link.active { color: var(--text-primary); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--accent);
  border-radius: var(--r-full);
}

/* Nav CTA area */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 0;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--t-base);
}

/* Mobile overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-8);
}
.mobile-nav.open { display: flex; }

.mobile-nav .nav-link {
  font-size: 1.6rem;
  font-family: var(--font-display);
  padding: var(--sp-3) var(--sp-8);
  font-weight: 600;
}
.mobile-nav__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1.4rem;
  transition: all var(--t-fast);
}
.mobile-nav__close:hover {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
}
.mobile-nav__cta {
  margin-top: var(--sp-6);
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--sp-20) 0 var(--sp-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-16);
}
.footer__brand-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: var(--sp-5) 0 var(--sp-6);
  max-width: 270px;
}
.footer__social {
  display: flex;
  gap: var(--sp-3);
}
.footer__social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all var(--t-base);
  text-decoration: none;
}
.footer__social-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer__col-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer__link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.footer__link:hover { color: var(--accent); }

.footer__bottom {
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer__copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer__copyright span { color: var(--accent); }

.footer__bottom-links {
  display: flex;
  gap: var(--sp-6);
}
.footer__bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer__bottom-links a:hover { color: var(--accent); }

/* ----------------------------------------------------------------
   SCROLL TO TOP BUTTON
   ---------------------------------------------------------------- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--t-base);
  box-shadow: var(--shadow-md);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

/* ----------------------------------------------------------------
   LIGHTBOX
   ---------------------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: var(--sp-10);
}
.lightbox.active { display: flex; }

.lightbox__img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  animation: lightboxIn 0.3s ease;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1.4rem;
  transition: all var(--t-base);
}
.lightbox__close:hover {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(9, 9, 9, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1.2rem;
  transition: all var(--t-base);
}
.lightbox__nav:hover {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
}
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: center;
  white-space: nowrap;
}
.lightbox__counter {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 2px;
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

/* ----------------------------------------------------------------
   COMMON CARD STYLES
   ---------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: all var(--t-base);
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card--featured {
  border-color: var(--accent-border);
  background: linear-gradient(135deg, rgba(201,169,110,0.07) 0%, rgba(201,169,110,0.02) 100%);
}
.card--featured:hover {
  box-shadow: var(--shadow-lg), var(--accent-glow);
}

/* ----------------------------------------------------------------
   STARS RATING
   ---------------------------------------------------------------- */
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-4);
}
.stars span { color: var(--accent); font-size: 0.875rem; }

/* ----------------------------------------------------------------
   UTILITY CLASSES
   ---------------------------------------------------------------- */
.text-accent    { color: var(--accent); }
.text-muted     { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center    { text-align: center; }
.italic         { font-style: italic; }
.font-display   { font-family: var(--font-display); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-4       { gap: var(--sp-4); }
.gap-6       { gap: var(--sp-6); }

.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }

/* ----------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  .nav__links,
  .nav__actions .btn { display: none; }
  .nav__hamburger { display: flex; }

  .section     { padding: var(--sp-12) 0; }
  .section--lg { padding: var(--sp-20) 0; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer__brand-desc { max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }
  .btn--xl   { padding: 15px 32px; }
}
