@import url('fonts.css');

:root {
  --bg: #0a0a0a;
  --bg-alt: #1a1a1a;
  --primary: #c9a961;
  --primary-dark: #a88a4d;
  --accent: #d4c5a0;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --border-soft: #2a2a2a;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('../img/tlo.png');
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: 3.8rem 0;
}

h1, h2, h3 {
  font-family: 'Cormorant', serif;
  color: var(--text);
  font-weight: 400;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  overflow: hidden;
  display: block;
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.3);
}

.logo-text {
  font-size: 0.95rem;
}

.main-nav ul {
  display: flex;
  gap: 1.7rem;
  list-style: none;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding-bottom: 0.3rem;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

/* ── PAGE HERO ── */
.page-hero {
  padding: 3.3rem 0 1.3rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 2.6vw + 1.2rem, 2.4rem);
  margin-bottom: 0.6rem;
}

.page-hero p {
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ── INTRO + STARS ── */
.reviews-intro {
  padding-bottom: 1.5rem;
}

.stars-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1.2rem;
}

.star {
  font-size: 1.9rem;
  color: var(--primary);
  line-height: 1;
}

.stars-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 0.6rem;
  letter-spacing: 0.05em;
}

.intro-text {
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.98rem;
  margin-bottom: 1.8rem;
}

.review-cta-top {
  margin-bottom: 0;
}

/* ── REVIEWS MASONRY GRID ── */
.reviews-section {
  padding-top: 0;
}

.reviews-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 3rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.loader-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(201, 169, 97, 0.15);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.reviews-error {
  text-align: center;
  padding: 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}

.reviews-empty {
  text-align: center;
  padding: 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.reviews-counter {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.reviews-masonry {
  columns: 3 280px;
  column-gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ── PAGINATION ── */
.reviews-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.reviews-pagination .page-info {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.reviews-pagination button {
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid rgba(201, 169, 97, 0.3);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.reviews-pagination button:hover:not(:disabled) {
  background: rgba(201, 169, 97, 0.25);
  border-color: rgba(201, 169, 97, 0.55);
}

.reviews-pagination button:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ── REVIEW CARD ── */
.review-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 97, 0.18);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  transform: translateY(18px);
}

.review-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 0.4rem;
  right: 0.9rem;
  font-family: 'Cormorant', serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(201, 169, 97, 0.13);
  pointer-events: none;
  user-select: none;
}

.review-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 169, 97, 0.38);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.review-stars {
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.06em;
  line-height: 1;
}

.review-text {
  font-size: 0.93rem;
  line-height: 1.75;
  color: rgba(245, 245, 245, 0.85);
  margin: 0;
  padding: 0;
  border: none;
  flex: 1;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(201, 169, 97, 0.12);
  padding-top: 0.75rem;
  margin-top: auto;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-date {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}



.fb-direct-link {
  text-align: center;
  padding: 2rem 0;
}

.fb-direct-link p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ── CTA ── */
.cta-section {
  padding: 2rem 0 1rem;
}

.cta-box {
  background: rgba(201, 169, 97, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.25);
}

.cta-box h2 {
  color: var(--text);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.cta-box p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #0a0a0a;
  box-shadow: 0 16px 32px rgba(212, 175, 55, 0.3);
  font-weight: 600;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
}

.btn.outline {
  background: transparent;
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--text);
}

.btn.outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
}

/* ── FOOTER ── */
.site-footer {
  background: #000000;
  color: #f5f5f5;
  padding: 2.4rem 0 1.6rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  align-items: flex-start;
}

.footer-contact h3,
.footer-social h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--primary);
  font-weight: 300;
}

.footer-contact p,
.footer-social a {
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.7);
}

.footer-social ul {
  list-style: none;
}

.footer-social li + li {
  margin-top: 0.25rem;
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.5);
  align-self: flex-end;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 1.5rem;
  }

  .main-nav li a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    position: sticky;
  }

  .fb-wrapper {
    padding: 0.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}
