@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('header.css');
@import url('home.css');
@import url('menu.css');
@import url('testimonials.css');
@import url('location.css');
@import url('footer.css');

:root {
    --color-primary-1: #000000;
    --color-primary-2: #ffe8b4;
    --color-primary-3: #f8d477;
    --color-primary-4: #ffe100;
    --color-primary-5: #ffcb45;
    --color-primary-6: #B59D5D;

    --color-neutral-0: #fff;
    --color-neutral-1: #1d1d1d;
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-primary-1);
}

section {
    padding: 28px 8%;
}

.btn-default {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-5);
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 600;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color .3s ease;
}

.btn-default:hover {
    background-color: var(--color-primary-3);
}

.social-media-buttons {
    display: flex;
    gap: 18px;
}

.social-media-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 40px;
    background-color: var(--color-neutral-0);
    font-size: 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-neutral-1);;
    box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow .3s ease;
}

.social-media-buttons a:hover {
    box-shadow: 0px 0px 12px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: var(--color-primary-6);
    font-size: 1.563rem;
}

.section-subtitle {
    font-size: 2.1875rem;
} 

/* ===== Fundo com vídeo ===== */
.caixa-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* Fica atrás de todo o conteúdo */
}

.caixa-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* escurece o vídeo — ajuste entre 0.4 e 0.8 */
  transform: scale(1.1); /* pequeno zoom para evitar bordas */
}

/* ===== Máscara escura sobre o vídeo ===== */
.mascara {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* camada escura — ajuste a opacidade */
  z-index: 1; /* fica sobre o vídeo */
}

/* ==== CARROSSEL HOME ==== */
.carousel-container {
  position: relative;
  overflow: hidden;
  height: 90vh;
  width: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-size: cover;
}

.carousel-slide.active {
  left: 0;
  opacity: 1;
  z-index: 2;
}

.carousel-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 90%;
  margin: auto;
}

.carousel-content #cta {
  width: 40%;
  color: #fff;
}

.carousel-content #banner img {
  width: 450px;
  filter: drop-shadow(0px 0px 15px #000);
}

/* Botões de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00000070;
  border: none;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

.carousel-btn:hover {
  background: #ff0000a0;
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
  .carousel-content {
    flex-direction: column;
    text-align: center;
  }

  .carousel-content #cta {
    width: 90%;
  }

  .carousel-content #banner img {
    width: 300px;
  }
}

/* =============================== */
/* === RESPONSIVIDADE COMPLETA === */
/* =============================== */

/* --- Tablets (até 1024px) --- */
@media (max-width: 1024px) {

  section {
    padding: 40px 5%;
  }

  header nav {
    padding: 20px;
  }

  #nav_list {
    gap: 20px;
  }

  #home {
    flex-direction: column;
    text-align: center;
  }

  #cta {
    width: 80%;
    align-items: center;
  }

  #banner img {
    max-width: 350px;
  }

  #menu #dishes {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  #testimonials {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #testimonial_chef {
    width: 300px;
  }

  iframe {
    width: 100%;
    height: 300px;
  }

  footer {
    text-align: center;
  }
}

/* --- Celulares (até 768px) --- */
@media (max-width: 768px) {

  /* HEADER */
  #navbar {
    justify-content: space-between;
    padding: 10px 20px;
  }

  #nav_list {
    display: none;
  }

  #mobile_btn {
    display: block;
  }

  #mobile_menu {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    padding: 20px;
    z-index: 999;
    text-align: center;
  }

  #mobile_menu.active {
    display: flex;
  }

  /* HOME */
  #home {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  #cta {
    width: 100%;
    text-align: center;
  }

  #cta .title {
    font-size: 2rem;
  }

  #cta_buttons {
    flex-direction: column;
    gap: 10px;
  }

  #banner img {
    max-width: 280px;
    margin-top: 20px;
  }

  /* MENU */
  #menu #dishes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .dish {
    width: 90%;
  }

  /* TESTEMUNHOS */
  #testimonials {
    flex-direction: column;
    align-items: center;
  }

  #testimonial_chef {
    width: 240px;
    margin-bottom: 20px;
  }

  /* LOCALIZAÇÃO */
  iframe {
    width: 100%;
    height: 250px;
  }

  #cta .title {
    font-size: 1.8rem;
  }

  .social-media-buttons {
    justify-content: center;
  }

  /* FOOTER */
  footer img {
    display: none;
  }

  #footer_items {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

/* --- Telas pequenas (até 480px) --- */
@media (max-width: 480px) {

  .section-title {
    font-size: 1.2rem;
  }

  .section-subtitle {
    font-size: 1.4rem;
  }

  #cta .title {
    font-size: 1.6rem;
  }

  .btn-default {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
  }

  .dish img {
    width: 100%;
  }

  iframe {
    height: 200px;
  }

  .carousel-btn {
    display: none;
  }
}
