:root {
  --mammamia_color: #cdb081;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 0;
}

.navbar {
  background-color: transparent !important;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--mammamia_color) !important;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  margin-left: 1rem;
}

.hero {
  height: 100vh;
  background: url('img/ardoise.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

.hero-logo-container {
  position: relative;
  display: inline-block;
  z-index: 3;
}

.hero-logo-container img.pizza-img {
    position: absolute;
    bottom: -230px; /* ← plus haut pour qu’elle monte derrière le logo */
    left: 50%;
    transform: translateX(-50%);
    max-width: 800px;
    max-height: 400px;
    z-index: 2; /* toujours derrière le logo */
	animation: float 4s ease-in-out infinite; /* animation douce et continue */
}

.hero-logo-container img.logo-img {
    position: relative;
    max-width: 500px;
    z-index: 3;
    top: -75px;
}

.hero-text-below {
  margin-top: 14rem; /* assez pour passer sous la pizza */
  z-index: 3;
  position: relative;
}

.hero-text-below p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-family: 'Titan One', cursive;
  font-size: 1.8rem;
  color: white;
}

.product-section {
  background-color: #000;
  color: #000;
  padding: 4rem 0;
  padding-top: 150px; 
}

.section-title {
  color: var(--mammamia_color) !important;
  font-family: 'Titan One', cursive; 
}

.product-card {
  display: flex;
  height: 200px;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent */
  border: 1px solid #cdb081;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.product-card img {
  height: 100%;
  width: auto;
  max-width: 50%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  /* Dégradé de transparence à droite */
  mask-image: linear-gradient(to right, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
}

.product-content {
  color: white;
  padding: 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.product-content h5,
.product-content p {
  margin: 0;
  padding: 0.2rem 0;
}

.product-content .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
  font-weight: bold;
  background-color: var(--mammamia-color);
  border: none;
  color: white;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

footer {
  background-color: #111;
  color: #aaa;
  text-align: center;
  padding: 2rem 0;
}

/* Hamburger button */
.navbar-custom {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
}

.hamburger {
  width: 30px;
  height: 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  height: 4px;
  background: var(--mammamia_color);
  border-radius: 4px;
  transition: 0.3s;
}

/* Menu overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

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

.menu-overlay ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.menu-overlay ul li {
  margin: 1rem 0;
}

.menu-overlay ul li a {
  font-size: 2rem;
  color: var(--mammamia_color);
  text-decoration: none;
  font-weight: bold;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

.video-banner {
  position: relative;
  overflow: hidden;
}

.video-banner video {
  filter: brightness(70%);
}

.video-banner h2,
.video-banner p {
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.about-section {
  background-color: #000000; 
  padding: 3rem 0; 
}

.about-section img {
  max-height: 450px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

.about-section img:hover {
  transform: scale(0.95);
  box-shadow: 0 0 30px 10px var(--mammamia-color); 
  z-index: 2;
  position: relative;
}

.about-section h3,
.about-section p {
  font-family: 'Titan One', cursive;
}

.contact-info-cell {
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem; /* espace entre les cellules */
  transition: transform 0.3s ease;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent */
  border: 1px solid #cdb081;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.contact-info-cell:hover {
  transform: translateY(-5px);
}

.map-container {
  width: 100%;
  max-width: 650px;
  aspect-ratio: 650 / 435; /* Maintient le bon ratio */
  margin: 0 auto; /* Centrage */
  position: relative;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px; /* optionnel pour l’esthétique */
}

@media (max-width: 768px) {
	
  .hero-logo-container img.logo-img {
    top: 0px;
    max-width: 80%;
  }
	
  .hero-logo-container img.pizza-img {
    bottom: -110px;
    max-width: 80%;
    max-height: 250px;
  }

  .hero-text-below {
    margin-top: 8rem;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px); 
  }
}