/*
Theme Name: Bar Cicci
Theme URI: https://barcicci.com
Author: Bar Cicci
Author URI: https://barcicci.com
Description: Official coming soon splash page theme for Bar Cicci, Philadelphia.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
License URI: #
Text Domain: bar-cicci
Tags: one-page, full-screen, restaurant, coming-soon
*/

/* ─── Webfont ─────────────────────────────────────────────── */
@font-face {
  font-family: 'Nondescript';
  src: url('fonts/nondescript-webfont.woff2') format('woff2'),
       url('fonts/nondescript-webfont.woff')  format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ─── Tokens ──────────────────────────────────────────────── */
:root {
  --orange:       #E84A00;
  --orange-dark:  #C43D00;
  --white:        #FFFFFF;
  --white-70:     rgba(255,255,255,0.70);
  --white-45:     rgba(255,255,255,0.45);
  --font:         'Nondescript', 'Helvetica Neue', Arial, sans-serif;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);

  /* Customizer-overridable */
  --hero-tint:    rgba(80, 0, 18, 0.38);
  --footer-bg:    var(--orange);
}

/* ─── Page shell ──────────────────────────────────────────── */
html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: var(--font);
  background: #111;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 90px); /* leave room for footer */
  overflow: hidden;
  padding: 3rem 2rem;
}

/* ── Background photo */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* sepia + orange tint via mix-blend-mode approach */
  filter: sepia(0.55) contrast(1.05);
  transform: scale(1.03); /* slight zoom for parallax feel */
  transition: transform 12s ease-out;
}

/* tint overlay */
.hero__tint {
  position: absolute;
  inset: 0;
  background: var(--hero-tint);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* subtle vignette */
.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

/* ── Hero content */
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* "COMING SOON" – arched SVG */
.hero__eyebrow {
  width: clamp(260px, 38vw, 480px);
  height: auto;
  display: block;
  margin-bottom: 0.6rem;
  overflow: visible;
  animation: fadeDown 1s var(--ease) 0.1s both;
}

.hero__eyebrow text,
.hero__eyebrow textPath {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  fill: var(--white);
}

/* Logo image (BAR Cicci graphic) */
.hero__logo {
  width: clamp(220px, 42vw, 560px);
  height: auto;
  animation: fadeUp 1.1s var(--ease) 0.2s both;
  /* filter removed – upload your logo as-is, no forced white */
}

/* Offerings tagline */
.hero__offerings {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  animation: fadeUp 1s var(--ease) 0.38s both;
}

.hero__offerings span {
  font-family: var(--font);
  font-size: clamp(0.58rem, 1.3vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════
   FOOTER BAR
══════════════════════════════════════════════════════════ */
.footer-bar {
  background: var(--footer-bg);
  flex-shrink: 0;
  padding: 0 2.5rem;
}

/* Desktop: single-row flex */
.footer-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 90px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer typography */
.footer-bar p,
.footer-bar a,
.footer-bar span {
  font-family: var(--font);
  font-size: clamp(0.6rem, 1.1vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.6;
}

.footer-bar a:hover {
  opacity: 0.75;
  transition: opacity 0.2s;
}

/* Social icon */
.footer-social {
  align-items: flex-end;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: opacity 0.2s, transform 0.2s var(--ease);
}

.footer-social__link:hover {
  opacity: 0.75;
  transform: scale(1.08);
}

.footer-social__link svg {
  width: 28px;
  height: 28px;
}

/* Extra social icons row */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* "BY / HIGH STREET" */
.footer-col--by {
  text-align: right;
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE – Mobile
══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  .hero {
    min-height: 62vw;
    padding: 2.2rem 1.2rem 2.5rem;
  }

  .hero__logo {
    width: clamp(220px, 82vw, 420px);
  }

  .footer-bar {
    padding: 1.6rem 1.4rem 1.8rem;
  }

  /* Stack into a 2-col grid on mobile */
  .footer-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.2rem 0.5rem;
    min-height: unset;
    align-items: start;
  }

  .footer-col--hours   { grid-column: 1; grid-row: 1; }
  .footer-col--days    { grid-column: 2; grid-row: 1; }
  .footer-col--phone   { grid-column: 1 / span 2; grid-row: 2; }
  .footer-col--address { grid-column: 1; grid-row: 3; }
  .footer-col--by      { grid-column: 2; grid-row: 3; text-align: left; }
  .footer-col--social  { 
    grid-column: 2; 
    grid-row: 1; 
    align-items: flex-end;
    justify-self: end;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .footer-bar__inner {
    gap: 0.6rem;
    padding: 0;
  }
  .footer-bar p,
  .footer-bar a,
  .footer-bar span {
    font-size: 0.62rem;
  }
}
