/* ============================================================
   MAIN.CSS — Cheers Irish Pub Barcelona
   Master stylesheet — imports all partials in load order.
   Add new section stylesheets here as you build each phase.
   ============================================================ */

/* 1. Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@400;600;700;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Raleway:wght@300;400;500;600;700&display=swap');

/* 2. Foundation */
@import 'reset.css';
@import 'variables.css';

/* 3. Global systems */
@import 'typography.css';
@import 'utilities.css';

/* 4. Layout components */
@import 'navigation.css';
@import 'footer.css';

/* ── Phase 2: built ──────────────────────────────────────── */
@import 'hero.css';
@import 'ticker.css';
@import 'about.css';

/* ── Phase 3: built ──────────────────────────────────────── */
@import 'guinness.css';
@import 'drinks.css';

/* ── Phase 4: built ──────────────────────────────────────── */
@import 'events.css';
@import 'reviews.css';
@import 'gallery.css';
@import 'contact.css';


/* ──────────────────────────────────────────
   HERO PLACEHOLDER (Phase 1 only)
   Will be replaced by hero.css in Phase 2.
────────────────────────────────────────── */

.hero-placeholder {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;

  /* Dark cinematic gradient — placeholder for real hero image */
  background:
    radial-gradient(ellipse at 50% 40%, #0d2d0d 0%, #050e05 55%, #020702 100%);
}

/* Grain texture overlay */
.hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero-placeholder__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-8) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  animation: fadeInUp 1s var(--ease-out) both;
}

/* CSS Logo Badge (Phase 1 placeholder) */
.logo-badge {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.logo-badge__ring {
  position: relative;
  width: clamp(220px, 35vw, 320px);
  height: clamp(220px, 35vw, 320px);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #1a3d1a, #0a1f0a);
  border: 3px solid var(--gold-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: glowPulse 3.5s ease-in-out infinite;
  outline: 6px solid rgba(45, 255, 110, 0.08);
  outline-offset: 6px;
}

/* Inner ring */
.logo-badge__ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold-a20);
}

.logo-badge__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.logo-badge__location {
  font-family: var(--font-heading);
  font-size: clamp(0.55rem, 1.2vw, 0.7rem);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-cream-dim);
  margin: 0;
}

.logo-badge__name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  letter-spacing: 0.10em;
  text-shadow: 0 0 14px var(--gold-a40), 0 2px 6px rgba(0,0,0,0.9);
  animation: textGlow 3.5s ease-in-out infinite;
}

.logo-badge__type {
  font-family: var(--font-heading);
  font-size: clamp(0.6rem, 1.3vw, 0.75rem);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-cream);
  margin: 0;
}

.logo-badge__est {
  font-family: var(--font-body);
  font-size: clamp(0.5rem, 1vw, 0.6rem);
  letter-spacing: var(--tracking-widest);
  color: var(--text-cream-faint);
  margin: 0;
}

.logo-badge__top-text {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: clamp(0.42rem, 0.9vw, 0.55rem);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-cream-dim);
  white-space: nowrap;
  background: var(--green-deep);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-dark);
}

.logo-badge__bottom {
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--green-deep);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-dark);
}

.logo-badge__bottom span {
  font-family: var(--font-heading);
  font-size: clamp(0.5rem, 1vw, 0.62rem);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--gold-primary);
  white-space: nowrap;
}

.logo-badge__shamrock {
  font-size: clamp(0.7rem, 1.4vw, 0.9rem);
  color: var(--gold-primary) !important;
}

/* Tagline below badge */
.hero-placeholder__sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--text-cream-dim);
  max-width: 480px;
  margin: 0;
  animation: fadeInUp 1s 0.3s var(--ease-out) both;
}

.hero-placeholder__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s 0.5s var(--ease-out) both;
}

/* Phase indicator note — remove in Phase 2 */
.hero-placeholder__note {
  font-size: var(--text-xs);
  color: var(--text-cream-faint);
  letter-spacing: var(--tracking-wide);
  margin-top: var(--space-8);
  padding: var(--space-3) var(--space-6);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  animation: fadeInUp 1s 0.7s var(--ease-out) both;
}


/* ──────────────────────────────────────────
   AMBIENT PARTICLE SYSTEM
   Site-wide atmospheric dust/carbonation.
   Populated by js/hero.js → initParticles().
   Fixed to viewport, z-index behind content.
────────────────────────────────────────── */

.ambient-particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.ambient-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation:
    ambientRise var(--duration, 9s) var(--delay, 0s) ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes ambientRise {
  0%   { opacity: 0;    transform: translateY(0)       translateX(0); }
  12%  { opacity: var(--max-opacity, 0.28); }
  75%  { opacity: calc(var(--max-opacity, 0.28) * 0.4); }
  100% { opacity: 0;    transform: translateY(-130px)  translateX(var(--drift, 18px)); }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-particle { animation: none !important; opacity: 0 !important; }
}