/* ============================================
   Belgrade Flea Market — Stylesheet
   Charcoal + Coral | Clean Minimalist
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --charcoal-900: #1A1A1A;
  --charcoal-800: #2D2D2D;
  --charcoal-700: #3D3D3D;
  --charcoal-600: #555555;
  --charcoal-500: #6B6B6B;
  --coral-500: #E07A5F;
  --coral-400: #E8896F;
  --coral-300: #F2A08A;
  --coral-100: #FDEEE8;
  --coral-50:  #FFF5F0;
  --cream: #FAFAF8;
  --white: #FFFFFF;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--charcoal-800);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--coral-500);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--coral-400); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--charcoal-900);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 16px;
  color: var(--white);
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 29, 29, 0.06);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 1px 20px rgba(26, 26, 26, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ---------- LOGO ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal-900);
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  font-style: italic;
  color: var(--coral-500);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--coral-500);
  border-radius: 50%;
}

.logo-text {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.938rem;
  letter-spacing: -0.01em;
}

/* ---------- NAV ---------- */
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list a {
  color: var(--charcoal-600);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--coral-500);
  transition: width var(--transition);
}

.nav-list a:hover { color: var(--charcoal-900); }
.nav-list a:hover::after { width: 100%; }

.nav-cta {
  background: var(--charcoal-900);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.813rem;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  background: var(--charcoal-700);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* ---------- MOBILE NAV TOGGLE ---------- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--charcoal-800);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--charcoal-900) 0%,
    #2A1F1A 30%,
    var(--coral-500) 70%,
    var(--coral-300) 100%
  );
  z-index: 0;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(224, 122, 95, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(26, 26, 26, 0.5) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.813rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral-300);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--coral-300);
}

.hero-sub {
  font-size: 1.063rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.938rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--coral-500);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--coral-400);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 122, 95, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.4);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 100px 0;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-500);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal-900);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.section-title--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 6 / 4.8;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  color: var(--charcoal-600);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(29, 29, 29, 0.08);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--coral-500);
  line-height: 1;
}

.stat-label {
  font-size: 0.813rem;
  color: var(--charcoal-500);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ---------- OFFERINGS ---------- */
.offerings {
  background: var(--white);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.offering-card {
  padding: 40px 36px;
  border: 1px solid rgba(29, 29, 29, 0.07);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.offering-card:hover {
  border-color: var(--coral-300);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(224, 122, 95, 0.08);
}

.offering-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--coral-50);
  color: var(--coral-500);
  margin-bottom: 24px;
}

.offering-card h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--charcoal-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.offering-card p {
  color: var(--charcoal-500);
  font-size: 0.938rem;
  line-height: 1.7;
}

/* ---------- GALLERY STRIP ---------- */
.gallery-strip {
  padding: 0 0 100px;
  background: var(--cream);
}

.gallery-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ---------- VISIT ---------- */
.visit {
  background: var(--charcoal-900);
  color: var(--white);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.visit-info .section-eyebrow { color: var(--coral-300); }
.visit-info .section-title { color: var(--white); }

.visit-details {
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.visit-details strong {
  color: var(--white);
  font-weight: 500;
}

.visit-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral-300);
  text-decoration: none;
  font-size: 1.063rem;
  font-weight: 500;
  transition: color var(--transition);
}

.visit-phone:hover {
  color: var(--coral-400);
}

.visit-hours {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.visit-hours h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.visit-hours p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.938rem;
  line-height: 1.7;
}

.visit-hours-note {
  margin-top: 8px;
  font-size: 0.813rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
  font-style: italic;
}

.visit-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.visit-actions .btn-primary {
  background: var(--coral-500);
}

.visit-actions .btn-primary:hover {
  background: var(--coral-400);
}

.visit-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.visit-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  aspect-ratio: 4 / 3;
  filter: saturate(0.8) contrast(1.05);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--charcoal-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.938rem;
}

.footer-brand .logo-mark {
  width: 32px;
  height: 32px;
  font-size: 1.125rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.813rem;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    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; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-grid,
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrap {
    aspect-ratio: 16 / 10;
  }

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

  .gallery-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .visit-map {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid rgba(29, 29, 29, 0.06);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list li {
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease;
  }

  .nav-list.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-list.open li:nth-child(1) { transition-delay: 0.05s; }
  .nav-list.open li:nth-child(2) { transition-delay: 0.1s; }
  .nav-list.open li:nth-child(3) { transition-delay: 0.15s; }
  .nav-list.open li:nth-child(4) { transition-delay: 0.2s; }

  .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(29, 29, 29, 0.06);
  }

  .nav-list a::after { display: none; }

  .nav-list li:last-child a {
    border-bottom: none;
    margin-top: 8px;
  }

  .nav-cta {
    text-align: center;
    display: block;
    padding: 14px 20px;
  }

  .hero {
    min-height: 90vh;
    padding: 100px 20px 60px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 72px 0;
  }

  .about-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .gallery-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .visit-actions {
    flex-direction: column;
  }

  .visit-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .gallery-strip-inner {
    grid-template-columns: 1fr;
  }
}
