/* ==========================================================================
   ACROPOLIS HERITAGE & TRAVEL PORTAL — COMPLIANT STYLESHEET
   ========================================================================== */
:root {
  --primary-blue: #0d233a;
  --gold-accent: #c5a059;
  --gold-hover: #a8843e;
  --bg-cream: #faf9f6;
  --bg-card: #ffffff;
  --text-dark: #1f2937;
  --text-muted: #4b5563;
  --border-light: #e5e7eb;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & Mobile Navigation */
header {
  background-color: var(--primary-blue);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--gold-accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-accent);
}

.burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Google Policy Compliant Disclaimer Banner */
.disclaimer-banner {
  background: #fffbeb;
  border-bottom: 1px solid #fef08a;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: #854d0e;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Buttons & SVGs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background-color: var(--gold-accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.88rem;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background-color: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--primary-blue);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(13, 35, 58, 0.75), rgba(13, 35, 58, 0.92)),
              url('https://images.unsplash.com/photo-1555993539-1732b0258235?w=1600') center/cover no-repeat;
  padding: 60px 0;
  color: #fff;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.25;
  margin-bottom: 15px;
}

.hero p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  margin-bottom: 25px;
  max-width: 720px;
  color: #e5e7eb;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Grids & Cards */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.section-title::after {
  content: '';
  display: block;
  width: 45px;
  height: 3px;
  background-color: var(--gold-accent);
  margin-top: 8px;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin-top: 25px;
}

.card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-accent);
  border-radius: 8px;
  margin-bottom: 12px;
}

.icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Gallery Lightbox */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.gallery-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
  font-size: 0.9rem;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

.lightbox-modal.active { display: flex; }
.lightbox-modal img { max-width: 90%; max-height: 80vh; border-radius: 6px; }

/* Footer */
footer {
  background-color: var(--primary-blue);
  color: #9ca3af;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.footer-col a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--gold-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

/* Mobile Media Query */
@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--primary-blue);
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
  }
  .nav-links.active { max-height: 400px; padding: 15px 0; }
  .nav-links a { display: block; padding: 12px 20px; text-align: center; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
}

/* Google Compliant Disclaimer Banner */
.affiliate-disclaimer-banner {
  background-color: #fffbeb;
  border-bottom: 1px solid #fef08a;
  color: #713f12;
  font-size: 0.83rem;
  line-height: 1.45;
  padding: 10px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.affiliate-disclaimer-banner strong {
  color: #854d0e;
  font-weight: 600;
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 640px) {
  .affiliate-disclaimer-banner {
    font-size: 0.78rem;
    padding: 8px 12px;
    line-height: 1.35;
  }
}