/* ==========================================================
   Don Gino’s Pizza — Style Sheet
   Author: Bob
   Last Updated: 2025-10-13
   ========================================================== */



:root {
  --red: #ED1625;
  --green: #2E7D33;
  --white: #FFFFFF;
  --black: #000000;
  --teal: #00A79D;
  --yellow: #F4C542;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
}

/* =========================================
   HEADER / HERO SECTION
   ========================================= */

.hero {
  position: relative;
  height: 31vh;           /* ⬆️ was 28vh — about 10% taller */
  min-height: 230px;      /* slightly taller on small screens */
  background: url('images/pep_pizza.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroSlide 24s infinite;
}


/* Slideshow rotation */
@keyframes heroSlide {
  0%,25%   { background-image: url('images/pep_pizza.jpg'); }
  25%,50%  { background-image: url('images/multi_item_pizza.jpg'); }
  50%,75%  { background-image: url('images/stromboli.jpg'); }
  75%,100% { background-image: url('images/wings.jpg'); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  z-index: 2;
}

/* Centered logo */
.hero-logo {
  width: 240px;              /* ↓ smaller */
  max-width: 45%;
  display: block;
    margin: 50px auto 16px; /* top 20px, bottom 16px */
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Compact heading */
.hero h1 {
  font-family: 'Lobster', cursive;
  font-size: 1.6rem;         /* ↓ smaller text */
  line-height: 1.2;
  margin-bottom: 12px;
}

/* Centered call button */
.hero-buttons {
  display: flex;
  justify-content: center;
}

.secondary-btn {
  background: var(--teal);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.25s ease;
}

.secondary-btn:hover {
  background: var(--green);
}

/* --- Mobile scaling --- */
@media (max-width: 768px) {
  .hero {
    height: 27vh;        /* ⬆️ proportionally increased */
    min-height: 200px;
    padding: 20px;
  }
  .hero-logo {
    width: 130px;
  }
  .hero h1 {
    font-size: 1.3rem;
  }
}




/* =========================================
   ABOUT SECTION
   ========================================= */
section.about {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 70px 20px;
}

section.about h2 {
  font-family: 'Lobster', cursive;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

section.about p {
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
}

/* =========================================
   GALLERY SECTION
   ========================================= */
section.gallery {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

section.gallery h2 {
  color: var(--red);
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.grid img:hover {
  transform: scale(1.05);
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
section.testimonials {
  background: #f9f9f9;
  text-align: center;
  padding: 70px 20px;
}

section.testimonials h2 {
  color: var(--red);
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

.review {
  background: var(--white);
  border-left: 6px solid var(--green);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.review p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.review .name {
  font-weight: bold;
  color: var(--green);
  font-size: 1.05rem;
}

/* =========================================
   HOURS SECTION
   ========================================= */
section.hours {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}

section.hours h2 {
  font-family: 'Lobster', cursive;
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.hours-table {
  margin: auto;
  border-collapse: collapse;
  font-size: 1.1rem;
}

.hours-table td {
  padding: 6px 14px;
}

/* =========================================
   MAP SECTION
   ========================================= */
section.map {
  text-align: center;
  padding: 60px 20px;
  background: #f8f8f8;
}

section.map h2 {
  color: var(--red);
  font-size: 2rem;
  margin-bottom: 20px;
}

section.map iframe {
  width: 100%;
  max-width: 900px;
  height: 350px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 30px 10px;
  font-size: 0.9rem;
}

footer a {
  color: var(--yellow);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================================
   RESPONSIVE TWEAKS
   ========================================= */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }

  .cta-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }

  section.about h2,
  section.gallery h2,
  section.testimonials h2,
  section.hours h2,
  section.map h2 {
    font-size: 1.8rem;
  }
}


/* =========================================
   RESPONSIVE ORDER PAGE LAYOUT
   ========================================= */

/* --- Menu grid --- */
#menuContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 0 auto;
  max-width: 1200px;
  text-align: left;
}

/* Each menu card */
.card, .item-row {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 16px;
}

/* For smaller devices, stack everything */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr; /* stack menu and cart */
  }

  .menu-section {
    padding: 40px 15px;
  }

  .cart-section {
    padding: 40px 15px;
  }

  #menuContainer {
    grid-template-columns: 1fr; /* one column menu items */
  }

  .item-row {
    grid-template-columns: 1fr; /* stack name and button */
    gap: 10px;
  }

  .line {
    flex-direction: column;
    align-items: flex-start;
  }

  .qty {
    width: 70px;
  }

  .price {
    text-align: left;
  }

  #btnCheckout {
    width: 100%;
    font-size: 1.1rem;
  }
}

/* For very small phones */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.3rem;
  }
  .hero-logo {
    width: 120px;
  }
  .card, .item-row {
    padding: 12px;
  }
}

