/* ============================================
   Oblio's Pizzeria — Clean CSS
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s ease;
}

.header-main {
  background-color: rgba(34, 34, 34, 0.98);
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}

.nav-list {
  display: flex;
  gap: 10px;
}

.nav-list a {
  color: #fff;
  font-size: 16px;
  padding: 8px 16px;
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.nav-list a:hover,
.nav-list a.active {
  color: #ccc;
}

.covid-banner {
  background-color: #ff6161;
  text-align: center;
  padding: 8px 20px;
}

.covid-banner p {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'Cookie', cursive;
  font-size: clamp(60px, 10vw, 100px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-social {
  margin-top: 30px;
  font-size: 18px;
}

.hero-social a {
  color: #fff;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.hero-social a:hover {
  opacity: 0.8;
}

/* --- About Section --- */
.about {
  background: #fff;
  padding: 0;
}

.about-inner {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-text {
  max-width: 700px;
  margin: -60px auto 0;
  position: relative;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px 40px;
  text-align: center;
  color: #fff;
  font-size: 17px;
  line-height: 1.7;
  border-radius: 4px;
}

/* --- Menu CTA (Parallax) --- */
.menu-cta {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.parallax-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  position: absolute;
  top: -10%;
}

.menu-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.menu-cta-box {
  border: 4px solid rgba(255, 255, 255, 0.7);
  padding: 40px 50px;
  background: rgba(34, 34, 34, 0.3);
}

.menu-cta-box a {
  font-family: 'Enriqueta', serif;
  font-size: clamp(24px, 4vw, 39px);
  color: #fff;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.menu-cta-box a:hover {
  opacity: 0.8;
}

/* --- Events Section --- */
.events {
  background: #fff;
  padding: 60px 0 80px;
  text-align: center;
}

.events-heading {
  font-size: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  color: #222;
}

.events-card {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.events-card img {
  width: 246px;
  height: 328px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 4px;
}

.events-info h3 {
  font-family: Impact, sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.events-info p {
  font-size: 17px;
  line-height: 1.7;
  color: #535353;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #222;
  color: #222;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  text-align: center;
}

.btn:hover {
  background: #222;
  color: #fff;
}

.section-divider {
  height: 4px;
  background: #222;
  width: 100%;
}

/* --- Contact / Location Section --- */
.contact {
  background: #fff;
  padding: 60px 0 40px;
  text-align: center;
}

.contact-phone {
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: clamp(22px, 4vw, 39px);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.contact-phone a {
  color: #222;
  transition: color 0.3s;
}

.contact-phone a:hover {
  color: #DE5021;
}

.location-heading {
  font-size: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
  padding: 10px 30px;
  display: inline-block;
  border-top: 4px solid #222;
  border-bottom: 4px solid #222;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto 30px;
}

.location-block h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.location-block p {
  font-size: 16px;
  color: #535353;
  line-height: 1.6;
}

.location-block a {
  color: #535353;
  text-decoration: underline;
  transition: color 0.3s;
}

.location-block a:hover {
  color: #DE5021;
}

.btn-directions {
  margin-top: 10px;
}

/* --- Gallery Section --- */
.gallery {
  background: #f5f5f5;
  padding: 40px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* --- Footer --- */
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}

.footer p {
  font-size: 14px;
  color: #999;
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: rgba(34, 34, 34, 0.7);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 90;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: rgba(34, 34, 34, 0.95);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .header-main .container {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: rgba(34, 34, 34, 0.98);
    flex-direction: column;
    padding: 80px 20px 40px;
    gap: 0;
    transition: right 0.3s ease;
    z-index: 200;
  }

  .nav-list.open {
    right: 0;
  }

  .nav-list a {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 150;
  }

  .menu-overlay.active {
    display: block;
  }

  .about-text {
    margin-top: 0;
    border-radius: 0;
  }

  .events-card {
    flex-direction: column;
    text-align: center;
  }

  .events-info h3 {
    font-size: 36px;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .covid-banner p {
    font-size: 13px;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 50px;
  }

  .menu-cta {
    height: 350px;
  }

  .menu-cta-box {
    padding: 30px 25px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
