/* ==========================================================
   1. RESET & BASIC STYLES
========================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
  background-color: #fdfaf4;
  min-height: 100vh;
}

@font-face {
  font-family: 'pizza';
  src: url('../fonts/suace.otf') format('otf');
  font-weight: normal;
  font-style: normal;
}

/* ==========================================================
   2. GLOBAL LAYOUT CONTAINERS
========================================================== */
header, .main-content {
  width: 100%;
}

.content-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 30px;
}

/* ==========================================================
   3. HEADER
========================================================== */
.pizza-header {
  background: white;
  padding: 15px 30px;
  border-bottom: 2px solid #FBBF24;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; 
}

.header-logo {
  width: 140px;
  height: 140px;
  object-fit: cover; 
  display: block;
}

.info-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-box {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FBBF24;
  color: #1e293b;
  font-size: 20px;
  flex-shrink: 0;
}

.info-text-box {
  display: flex;
  flex-direction: column;
}

.label {
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d97706;
  font-weight: 700;
}

.detail {
  font-size: 20px;
  color: #1e293b;
  font-weight: 600;
}

.detail a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================
   4. HERO VIDEO
========================================================== */
.videoContainer {
  position: relative;
  width: 100%;
  height: clamp(420px, 65vh, 750px);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(25px, 5vw, 50px);
}

.video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.videoContainer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 800px;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-shadow: 0 4px 12px rgba(0,0,0,.4);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: clamp(20px, 4vw, 35px);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 14px 30px;
  border-radius: 30px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-solid {
  background: #FBBF24;
  color: #1e293b;
}

.btn-outline {
  color: white;
  border: 2px solid white;
}

/* ==========================================================
   5. PIZZA INFINITE CAROUSEL SECTION
========================================================== */
.section-title {
  color: #1e293b;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: clamp(40px, 6vw, 60px) 0 25px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #FBBF24;
  margin-top: 8px;
  border-radius: 2px;
}

.pizzaContainer {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  background: transparent;
  padding: 20px 0;
  margin-bottom: 50px;
}

.track {
  display: flex;
  width: max-content;
  gap: 40px; 
  animation: scrollMenu 25s linear infinite;
}

.pizza {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pizza img {
  width: clamp(120px, 15vw, 180px);
  height: clamp(120px, 15vw, 180px);
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@keyframes scrollMenu {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================
   6. FOOTER
========================================================== */
.pizzeria-footer {
  background: #FBBF24;
  color: #1e293b;
  padding: 40px 20px 20px;
  margin-top: 50px;
}

.footer-top-row {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3 {
  margin-bottom: 12px;
  font-weight: 800;
}

.footer-col p {
  margin: 6px 0;
}

.footer-col a {
  color: inherit;
  text-decoration: none;
}

.footer-logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
}

.footer-logo-placeholder i {
  font-size: 2.5rem;
  margin-bottom: 5px;
}

.social-col {
  display: flex;
  gap: 20px;
}


.social-link {
  font-size: 1.25rem;
  color: #1e293b;                     /* Theme dark slate text */
  background-color: transparent;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-link :hover{
  background-color: #ffffff;          /* Clean white pop against the yellow footer */
  color: #d97706;                     /* Theme accent orange */
  border-color: #d97706;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.25);
}

.btn-solid:hover {
  background: #d97706; /* Darker warm orange on hover */
  border-color: #d97706;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
}

.btn-outline:hover {
  background: #ffffff;
  color: #1e293b;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}


.detail a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 50%;
  background-color: #d97706;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.detail a:hover {
  color: #d97706;
}

.detail a:hover::after {
  width: 100%;
}

.footer-col a {
  color: blue;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-col a:hover {
  color: #000000;
  transform: translateX(4px); /* Subtle shift to the right */
}



@media(max-width: 990px) {
  /* Text downsizing to fix layout breaking */
  .label {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .detail {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Header mobile layout */
   .header-container {
    flex-wrap: nowrap;   /* prevent wrapping */
    gap: 10px;
    padding: 0.75rem;
  }
   .detail a p{

  font-size: small;

  }

  .logo-box .header-logo {
    width: 110px;
    height: 110px;
  }

  /* Forces icons inline next to text left-aligned */
  .info-group {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    width: 100%;
    max-width: 310px;
    margin: 0 auto;
    gap: 15px;
  }

  .icon-box {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-top: 2px;
  }

  /* Hero Section */
  .hero-title { font-size: 2.4rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-btn { width: 90%; max-width: 300px; }

  /* Footer Mobile Fixes */
  .pizzeria-footer {
    padding: 40px 15px 30px;
  }

  .footer-top-row {
    flex-direction: row;
    text-align: center;
    align-items: center;
    gap: 30px;
  }

  .footer-col {
    width: auto;
    min-width: unset
  }

  .footer-col:not(:last-child) {
    border-bottom: 1px solid rgba(30, 41, 59, 0.15);
    padding-bottom: 25px;
  }

  .social-col {
    justify-content: center;
  }
}
