/* ESTILO PADRÃO PARA TODOS OS ARQUIVOS. */

@font-face {
    font-family: 'Adobe Garamond';
    src: url(FONTES/adobe-garamond.otf);
}

@font-face {
    font-family: 'Greycliff';
    src: url(FONTES/Fontspring-DEMO-greycliffcf-light.otf);
}

html, body {
  margin: 0;
  padding: 0;
}

/******************* NAVEGADOR PRINC. ***************** */
#header-fixo {
  position: fixed;
  width: 100%;
  background: white;
  top: 0;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: 0.5s ease-in-out;
}

#titulo{
    font-family: 'Adobe Garamond';
    display: block;
    font-size: 50px;
    color: #634647;
    text-align: center;
}

#titulo::after{
  content: " ";
  bottom: 5px;
  left: 20px;
  position: absolute;
  height: 1px;
  width: 100%;
  background-color: #634647 ;
}

/* ========== MENU DESKTOP ========== */
.nav-desktop {
  display: block; /* Visível por padrão no desktop */
}

.nav_inicio{
  font-family: 'Greycliff';
  text-align: center;
  justify-content: center;
  margin-top: 110px;
  margin-bottom: 15px;
}

.nav_inicio a{
  color: black;
  text-decoration: none;
  padding: 0px 40px 10px 10px;
  font-size: 17px;
  position: relative;
  transition: color 0.3s ease;
}

.nav_inicio a::after{
  content: " ";
  width: 0%;
  height: 3px;
  background-color: black;
  position: absolute;
  bottom: 0;
  left: 5px;
  right: 5px;
  transition: 0.5s ease-in-out;
}

.nav_inicio a:hover::after{
  width: 70%;
}

.nav_inicio a:hover {
  color: #5c4033; /* Cor mais escura no hover */
}

/* CARRINHO DESKTOP */
.carrinho-link {
  display: flex;
  flex-direction: row;
  font-family: 'Greycliff';
  font-size: 18px !important;
  position: absolute;
  top: 15.8%;
  right: 5%;
  color: black;
  text-decoration: none; 
  transition: color 0.3s ease;
}

.emoji-car{
  font-size: 30px;
  margin-top: -10px;
}

.carrinho a::after{
  content: " ";
  width: 0%;
  height: 3px;
  background-color: black;
  position: absolute;
  bottom: -3px;
  right: 5px;
  left: 5px;
  transition: 0.5s ease-in-out;
}

.carrinho a:hover::after{
  width: 80%;
}

.carrinho-link:hover {
  color: #5c4033;
}

  
  /* ********* FOOTER ********* */
footer {
    background: linear-gradient(135deg, #5c4033 0%, #4a3327 100%);
    font-family: 'Adobe Garamond', serif;
    padding: 50px 20px 0;
    margin-top: 10px;
  }

  .footer-container {
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; 
 }

  /* textos */
  footer h2,
  footer h3,
  .footer-p {
    color: white;
    font-family: 'Adobe Garamond', serif;
  }

  footer h2 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
  }

  footer h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: #f7f1ec;
  }

  .contact-section h2:after{
  width: 180px;
  }

  .locations-section h2:after{
  width: 250px;
  }

  .footer-p {
    font-size: 16px;
    margin: 5px 0;
    line-height: 1.4;
  }

  /* divs */
  .contact-section {
    flex: 1;
    min-width: 300px;
    max-width: 360px;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 2px 0;
    transition: all 0.3s ease;
    border-radius: 4px;
  }

  .contact-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
  }

  .contact-item.redes {
    justify-content: flex-start;
    margin-top: 0px;
  }

  /* ícones */
  .social-icons {
    display: flex;
    gap: 8px;
  }

  .social-icons .icon {
    width: 22px;
    height: 22px;
  }

  .botao-branco {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
  }

  .botao-branco:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

  .icon {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
  }

  .icon.map {
    margin: 5px 0 0 -5px;
    height: 40px;
    width: 35px;
  }

  .icon.tel {
    width: 22px;
  }

  /* seção com o logo da Vila*/
  .brand-section {
    margin-top: 10px;
    text-align: left;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .brand-logo {
    width: 200px;
    height: 85px;
    margin-bottom: 10px;
    margin-left: 45px;
    transition: all 0.3s ease;
  }

  .brand-logo:hover {
    transform: scale(1.03);
  }

  .brand-slogan {
    font-family: 'Adobe Garamond';
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.4;
  }

  /*seção com o mapa */
  .locations-section {
    flex: 1;
    min-width: 300px;
  }

  .locations-section h2 {
    margin-bottom: 15px;
  }

  .locations-section iframe {
    margin-top: 10px;
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .locations-section iframe:hover {
    transform: translateY(-5px);
  }

  /*Frase final */
  .footer-copy {
    text-align: center;
    color: rgba(245, 245, 220, 0.8);
    font-size: 14px;
    padding: 15px 5px;
    border-top: 1px solid rgba(174, 171, 161, 0.3);
    margin-top: 40px;
    letter-spacing: 0.5px;
  }

  /* ******** MENU HAMBURGUER *******/
  i#burguer {
  color: #634647; 
  display: none;
  font-size: 36px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1003; /* acima de todo o resto */
  background: rgba(255, 255, 255, 0.85);
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Container do menu */
.menu-mobile {
  visibility: hidden;
  transition: visibility 0s, opacity 0.4s ease;
  background-color: white;
  backdrop-filter: blur(5px);
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
}

/* Quando aberto */
.menu-mobile.abrir {
  visibility: visible;
  opacity: 1;
}

/* Links dentro do menu */
.menu-mobile nav a,
.menu-mobile div a {
  position: relative;
  display: block;
  color: #634647;
  font-family: 'Adobe Garamond';
  text-decoration: none;
  font-size: 24px;
  margin: 5px 0px 12px 5px;
  transition: transform 0.2s ease, background-color 0.3s;
  padding: 5px 20px;
  border-radius: 8px;
}

.menu-mobile nav a:hover,
.menu-mobile div a:hover {
  background-color: rgba(255,255,255,0.1);
  transform: scale(1.05);
}

.menu-mobile nav a::after{
  content: " ";
  bottom: 5px;
  left: 20px;
  position: absolute;
  height: 1px;
  width: 95%;
  background-color: #634647 ;
}

  /******************************* RESPONSIVIDADE BÁSICA *************************************/
  /* Para celulares: */
/* CELULARES PEQUENOS (até 500px) */
  @media (max-width: 500px) {
   #titulo{
    font-size: 35px;
   }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 5px;
  }

  footer h2{
    font-size: 30px;
  }

  .footer-p{
    font-size: 12px;
  }

  .contact-section, .locations-section {
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }

  .contact-section{
    margin-top: -30px;
  }

  .contact-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }

  .icon {
    width: 20px;
    height: 20px;
  }

  .botao-branco {
    padding: 5px;
  }

  .social-icons {
    justify-content: center;
  }

  .brand-logo {
    width: 140px;
    height: auto;
    margin: 0 auto 10px;
  }

  .brand-slogan {
    font-size: 13px;
    text-align: left;
    margin: 0 auto;
  }

  .locations-section iframe {
    height: 240px;
  }

  .footer-copy {
    font-size: 12px;
    padding: 12px 10px;
  }
}

  
 @media(min-width: 501px) and (max-width: 760px){
   /************ Para tablets ****************/
   #titulo{
    font-size: 50px;
   }

   /* ******************** FOOTER --> tablets ************************* */
  .footer-p{
    font-size: 15px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 0 15px;
  }

  .contact-section, .locations-section {
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }

  .contact-section{
    margin-top: -30px;
  }

  .contact-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }

  .contact-item.redes{
    gap: 5px;
  }

  .icon {
    width: 20px;
    height: 20px;
  }

  .botao-branco {
    padding: 5px;
  }

  .social-icons {
    justify-content: center;
  }

  .brand-logo {
    width: 180px;
    height: auto;
    margin-left: 0px;
  }

  .brand-slogan {
    font-size: 13px;
    text-align: left;
    margin: 0 auto;
  }

  .locations-section iframe {
    height: 250px;
  }

  .footer-copy {
    font-size: 12px;
    padding: 12px 10px;
  }
 }

 @media screen and (max-width: 915px){
  .nav_inicio a, .carrinho{
    display: none;
  }

  .nav_incio{
    margin-top: 85px;
  }

  i#burguer{
    display: block;
  }

  .menu-mobile{
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  }

  .menu-mobile.abrir{
    visibility: visible;
    height: 58vh;
  }
 }

 @media screen and (max-width:500px){
  .nav_inicio{
    margin-top: 70px;
  }

  i#burguer{
    top: 12px;
    font-size: 26px;
  }

  .menu-mobile{
    top: 57px;
    z-index: 1002;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  }

  .menu-mobile nav a{
    font-size: 20px;
    margin-top: 5px;
    margin-bottom: 2px;
  }

  .menu-mobile.abrir{
    height: 45vh;
  }

  .emoji-car{
    font-size: 23px;
  }
 }

 