:root {
    --main-red: #d32f2f;
    --main-white: #fff;
}

/* 1) Kill accidental horizontal scroll */
html, body { overflow-x: hidden; }

/* 2) Make all media responsive by default */
img, video, canvas, iframe { max-width: 100%; height: auto; }

/* 3) Utility for cover images inside ratio boxes */
.img-cover { width: 100%; height: 100%; object-fit: cover; }


.body {
  overflow-x: hidden;
}

/* Make navbar items bold */
.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Add white underline on hover */
.navbar-nav .nav-link:hover {
  text-decoration: underline;
  text-decoration-color: white;
}

.lang_switcher:hover {
  background-color: transparent;
  text-decoration: underline;
  text-decoration-color: white;
}
/* Optional: Add padding for better clickable area */
.navbar-nav .nav-link {
  padding: 10px 15px;
}

/* Language Switcher in Navbar */
#languageSwitcher {
  background: transparent;
  border: none;
  color: var(--main-white);
  font-weight: bold;
  font-size: 1rem;
  padding: 8px 12px;
  cursor: pointer;
  appearance: none; /* Removes default arrow in most browsers */
  -webkit-appearance: none;
  -moz-appearance: none;
  text-align: center;
  transition: all 0.3s ease;
}

/* Add a subtle custom arrow */
#languageSwitcher {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23fff' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
  padding-right: 24px; /* space for arrow */
}

/* Hover / focus underline (same as nav links) */
#languageSwitcher:hover,
#languageSwitcher:focus {
  background-color: transparent;
  text-decoration: underline;
  text-decoration-color: white;
  outline: none;
}

/* Dropdown options styling */
#languageSwitcher option {
  background-color: var(--main-red);
  color: var(--main-white);
  font-weight: bold;
}


.quick-info-header {
  background-color: #222;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.quick-info-header .container {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.info-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.address-text {
  color: #ccc;
  font-weight: 400;
}

/* Hide address on mobile */
@media (max-width: 767.98px) {
  .address-text {
    display: none;
  }
}

.info-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.phone-link, .social-link {
  color: #ffdd57;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
}

.phone-link i, .social-link i {
  font-size: 1.2rem;
}

.phone-link:hover, .social-link:hover {
  color: #ffa726; /* Slightly lighter gold on hover */
}

.btn-red {
    background-color: var(--main-red);
    color: var(--main-white);
}
.btn-red:hover {
    background-color: #b71c1c;
    color: var(--main-white);
}
.bg-hero {
    background: url('/images/hero-bg.jpg') center center/cover no-repeat;
    color: white;
}
.highlight-card {
    border: 2px solid var(--main-red);
    transition: transform 0.2s ease;
}
.highlight-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.3);
}

:root {
  --brand: #8B0000; /* Kebizza deep red */
}

.hero-video {
  min-height: 70vh;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
}

#soundToggle {
  width: 48px; height: 48px;              /* bigger tap target */
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.6);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem); /* lift above iOS home bar */
  right: calc(env(safe-area-inset-right, 0px) + 1rem);
}
#soundToggle:hover { background: rgba(0,0,0,.5); }

/* Video fills and gently zooms (Ken Burns) */
.hero-video__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.02);
  animation: kenburns 18s ease-in-out infinite alternate;
}

/* Readability scrim + brand tint */
.hero-video::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
}

/* Content sits above */
.hero-video__content { position: relative; z-index: 2; }

/* Smooth zoom */
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.10); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video__media { animation: none; }
}


/* animated icon styling */
/* Info Card Setup */
.info-card {
  position: relative;
  overflow: hidden; /* Prevent overflow */
}

/* Info Icon Base */
.info-icon {
  font-size: 3rem;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Truck and Person Initial Position: Centered initially */
.info-card .icon-truck, .info-card .icon-run {
  transform: translateX(0); /* Start at the center */
  opacity: 1; /* Fully visible */
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Smooth transition */
}

/* On hover, the truck will move off and disappear */
.info-card:hover .icon-truck {
  animation: driveOffDisappear 2s forwards;
}

/* On hover, the person will move off and disappear */
.info-card:hover .icon-run {
  animation: runOffDisappear 2s forwards;
}

/* Keyframe animation for truck: Move off and disappear */
@keyframes driveOffDisappear {
  0% {
    transform: translateX(0); /* Start in the original position */
    opacity: 1; /* Fully visible */
  }
  50% {
    transform: translateX(120px); /* Move to the right */
    opacity: 0; /* Make the truck disappear */
  }
  100% {
    transform: translateX(120px); /* Stay at the end */
    opacity: 0; /* Stay disappeared */
  }
}

/* Keyframe animation for person running: Move off and disappear */
@keyframes runBouncyExit {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
  20% {
    transform: translateX(20px) translateY(-8px);
    opacity: 0.9;
  }
  40% {
    transform: translateX(40px) translateY(0px);
    opacity: 0.7;
  }
  60% {
    transform: translateX(70px) translateY(-5px);
    opacity: 0.5;
  }
  80% {
    transform: translateX(100px) translateY(0px);
    opacity: 0.3;
  }
  100% {
    transform: translateX(140px) translateY(0px);
    opacity: 0;
  }
}


/* On hover, the person should bounce and move to the right */
.info-card:hover .icon-run {
  animation: runBouncyExit 1s ease-in-out forwards; /* Bounce and move right */
}

/* When hover ends, the person should come back from the left */
.info-card .icon-run.reappear {
  transform: translateX(-120px); /* Start offscreen to the left */
  opacity: 0; /* Initially hidden */
  animation: returnToCenter 2s forwards; /* Animate back to center */
}

/* When hover ends, the truck should come back from the left */
.info-card .icon-truck.reappear {
  transform: translateX(-120px); /* Start offscreen to the left */
  opacity: 0; /* Initially hidden */
  animation: returnToCenter 2s forwards; /* Animate back to center */
}

/* Keyframe for running back from left to center */
@keyframes returnToCenter {
  0% {
    transform: translateX(-120px); /* Start off the card */
    opacity: 0; /* Hidden */
  }
  50% {
    transform: translateX(0); /* Move to the center */
    opacity: 1; /* Visible */
  }
  100% {
    transform: translateX(0); /* Centered */
    opacity: 1; /* Fully visible */
  }
}

/* Clock ticking animation */
.clock-stack {
    position: relative;
    width: 3rem;
    height: 3rem;
    margin: 0 auto;
    margin-bottom: 5vh;
}

.clock-icon {
  width: 100%;         /* This will make the icon take up the full width of the container */
  height: 100%;        /* This will make the icon take up the full height of the container */
}

.clock-face {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 3rem;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s ease;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-play-state: paused;
}

.clock-3  { animation-name: timeCycle3; }
.clock-6  { animation-name: timeCycle6; }
.clock-9  { animation-name: timeCycle9; }
.clock-12 { animation-name: timeCycle12; }

.info-card:hover .clock-3,
.info-card:hover .clock-6,
.info-card:hover .clock-9,
.info-card:hover .clock-12 {
  animation-play-state: running;
}

@keyframes timeCycle3 {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  25% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}
@keyframes timeCycle6 {
  0%, 25% {
    opacity: 0;
    transform: scale(0.9);
  }
  25%, 50% {
    opacity: 1;
    transform: scale(1);
  }
  50%, 100% {
    opacity: 0;
    transform: scale(0.9);
  }
}

@keyframes timeCycle9 {
  0%, 50%    { 
    opacity: 0; 
    transform: scale(0.9);
    }
  50%, 75%   { 
    opacity: 1; 
    transform: scale(1);}
  75%, 100%  { 
    opacity: 0; 
    transform: scale(0.9);
    }
}
@keyframes timeCycle12 {
  0%, 75%    { 
    opacity: 0; 
    transform: scale(0.9);}
  75%, 100%  { 
    opacity: 1; 
    transform: scale(1);
    }
}


@media (max-width: 767px) {

  .info-card {
    cursor: default; /* No pointer cursor on mobile */
  }
  .info-card:hover .icon-truck,
  .info-card.hover-anim .icon-truck {
    animation: driveOffDisappear 2s forwards;
  }
  .info-card:hover .icon-run,
  .info-card.hover-anim .icon-run {
    animation: runBouncyExit 1s ease-in-out forwards;
  }
}


/*Landing Pizza Why Us*/
/* Pizza Container Scales with Screen */
.pizza-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.pizza-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Keeps it square like a pizza */
}

/* Pizza Background */
.pizza-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Toppings (positioned over pizza) */
.topping {
  position: absolute;
  transform: translate(-50%, -50%); /* Center at the point */
  width: clamp(150px, 25vw, 250px);
  text-align: center;
  background: rgba(172, 2, 2, 0.733);
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Hover animation */
.topping:hover {
  transform: translate(-50%, -50%) scale(1.1) rotate(2deg);
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.8);
  animation: sizzle 0.5s linear infinite alternate;
}

/* Sizzle effect */
@keyframes sizzle {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.2) contrast(1.1);
  }
}

/* Responsive typography inside toppings */
.topping i,
.topping h5 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}
.topping p{
  font-size: clamp(0.75rem, 1.75vw, 1rem);
}

@media (max-width: 767.98px) {
  .topping i {
    display: none;
  }
}

/*Landing Carousel*/

.carousel-wrapper {
  position: relative;
}

.review-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 1rem;
  padding: 1rem;
  scroll-behavior: smooth;
  /* no position here */
}


.review-carousel::-webkit-scrollbar {
  display: none;                /* Chrome, Safari, Opera */
}

.review-slide {
  flex: 0 0 80%;
  max-width: 80%;
  scroll-snap-align: center;
}

@media (min-width: 768px) {
  .review-slide {
    flex: 0 0 30%;
    max-width: 30%;
  }
}

.review {
  background: #fff;
  border-radius: 1rem;
  min-height: 250px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #555;
}

.review-author {
  font-size: 1rem;
  color: #000;
}

/* Nav buttons styling (optional) */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 2rem;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
  z-index: 100;
  border-radius: 50%;
  user-select: none;
}

.nav-button.prev {
  left: 1rem;
}

.nav-button.next {
  right: 1rem;
}

.star-rating {
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
}

.star-rating .star {
  margin-right: 0.2rem;
  color: #FFD700; /* gold stars */
}



.highlight-red { color: #d62828; }
.highlight-orange { color: #f77f00; }
.section-title { font-size: 2.25rem; font-weight: 700; }
.card-custom {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease;
}
.contact-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.team-photo {
    object-fit: cover;
    height: 250px;
}
.card-custom:hover {
    transform: translateY(-5px);
}
.card-img-top {
    object-fit: cover;
    height: 200px;
}

/* PIZZA QUIZ */
.result-box {
  display: none;
  margin-top: 20px;
}

.share-buttons a {
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.share-buttons a:hover {
  opacity: 0.85;
}



/*MENU*/

.custom-menu-btn {
  background-color: transparent !important;   /* Default: transparent background */
  color: #8B0000 !important;                   /* Dark red text */
  border: 2px solid #8B0000 !important;       /* Dark red border */
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
}

.custom-menu-btn.active {
  background-color: #8B0000 !important;       /* Filled dark red */
  color: #fff !important;                      /* White text */
  border-color: #8B0000 !important;
  pointer-events: none;
  cursor: default;
}

.custom-menu-btn:hover:not(.active),
.custom-menu-btn:focus:not(.active) {
  background-color: #4B0000 !important;       /* Slightly lighter dark red on hover */
  color: #fff !important;
  border-color: #8B0000 !important;
}

.menu-scroll-container {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}
.menu-scroll-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.scroll-content a {
  min-width: 120px;
}

.scroll-btn {
  background: rgba(194, 9, 9, 0.8);
  border-radius: 30px;
  color: white;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}


/* COOKIE BANNER*/
  #cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1rem;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #333;
    z-index: 10000;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  #cookie-banner.show {
    display: flex;
  }
  #cookie-banner p {
    margin: 0 0.5rem 0.5rem 0;
    flex: 1 1 100%;
    text-align: center;
  }
  #cookie-banner a {
    color: #d32f2f; /* Kebizza red */
    text-decoration: underline;
    margin: 0 0.25rem;
  }
  #cookie-banner button {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    flex: 1 1 auto;
    min-width: 80px;
  }
  #cookie-banner button:hover,
  #cookie-banner button:focus {
    background-color: #b71c1c;
    outline: none;
  }
  @media (min-width: 480px) {
    #cookie-banner p {
      flex: 1 1 auto;
      margin-bottom: 0;
      text-align: left;
    }
    #cookie-banner {
      padding: 1rem 2rem;
      justify-content: space-between;
    }
  }


  .admin-bar {
  display: flex;
  align-items: center;
  gap: 12px;           /* optional */
  padding: 8px 0;      /* optional */
}

.logout-form {
  margin-left: auto;   /* pushes it to the end (right) */
}

/* optional: make the button look nicer */
.logout-form button {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
