:root {
  --primary: #0c3e32;
  --text: #1a1a1a;
  --muted: #777;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fbfaf8;
  overflow-x: hidden;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  color: #0c3e32;
}



a, a:hover {
  text-decoration: none;
  color:#f3e9d5;
}

@media (max-width:900px) {
  h1, h2{
  text-align: center;
}
}
  

strong {
  color: #0c3e32;
}

section{
  background: url("../img/bg-floral.jpg") no-repeat top right;
}

#margem{
  display: block;
  width: 90%;
  height: auto;
  padding: 5px;
  margin: 0 auto;
  text-align: center;
}

#border {
  border: 8px solid #0c3e32;;

}

.banner-cardapio{
  background: url("../img/banner-cardapio.jpg") no-repeat top left;
  display: block;
  width: 100%;
  height: 250px;
}
@media (max-width:900px) {
  .banner-cardapio{
      background: url("../img/banner-cardapio.jpg") no-repeat top right;

  }
}

.banner-cardapio-content {
  width: 50%;
  height: auto;
  padding: 20px;
  margin: 0 auto;
  display: block;
  text-align: center;
}

@media (max-width:900px){
  .banner-cardapio-content{
    width: 80%;
  }
}

/* HEADER */
.header {
  border-bottom: 1px solid #eee;
  background:#0c3e32;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

/* MENU MOBILE */
.menu {
  display: none;
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  background: #0c3e32;
  flex-direction: column;
  gap: 1.5rem;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.menu a, .menu a:hover {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.menu a:hover {
  color: #bebebe;

}

/* MENU ATIVO */
.menu.active {
  display: flex;
}

/* HAMBURGER */
.hamburger {
  width: 30px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  margin: 6px 0;
}

/* DESKTOP (opcional, ajuste breakpoint se quiser) */
@media (min-width: 768px) {
  .menu {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    padding: 0;
    margin-left: auto;
    align-items: center;
  }

  .hamburger {
    display: none;
  }
}




@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
  }

  .menu {
    margin-left: auto;
    justify-content: flex-end;

  }
}



 /* SLIDER */

.slider-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  min-height: 500px;
}


    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      z-index: 0;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .slide.active {
      opacity: 1;
      z-index: 1;
    }

    .slider-nav {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      padding: 0 20px;
      z-index: 2;
    }

    .slider-nav button {
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      padding: 5px 10px;
      cursor: pointer;
      font-size: 12px;
      border-radius: 50%;
    }

    .slider-nav button:hover {
      background-color: rgba(0, 0, 0, 0.7);
    }

    .slider-overlay{
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 10;
  max-width: 800px;
  background: rgba(0, 77, 150, 0.6);
  padding:40px;
}

.slider-overlay h1{
  font-size: 42px;
  margin-bottom: 15px;
}

.slider-overlay p{
  margin-bottom: 20px;
  font-size: 18px;
}

.btn-slider{
  display: inline-block;
  background: #14ac00;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.btn-slider:hover{
  background: #16304a;
}

 @media (max-width: 768px) {
  .slider-container {
    min-height: 0;
    height: clamp(220px, 50vw, 600px);
  }
}

@media (max-width: 768px) {
  .slider-nav button {
    font-size: 16px;
    padding: 10px 14px;
  }
}



.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
  padding: 80px 0;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero img {
  width: 100%;
  border-radius: 16px;
  transition: 0.5s;
}

.hero img:hover {
  transform: scale(1.03);
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  color: var(--muted);
  margin: 20px 0;
}

.btn, .btn-cardapio {
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid;
  cursor: pointer;
  transition: 0.3s;
}

.btn-cardapio {
  background: #f3e9d5;
  color: #6e4932;
  border-color: #6e4932;
  width: 30%;
  float: left;
  text-align: center;
  margin:0 20px 0 200px;

}

@media (max-width:900px) {
  .btn-cardapio{
      float: none;
      margin: 10px;
      width: 80%;
      padding: 5px;

  }
}

.btn:hover, .btn-cardapio:hover  {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* GRID */
.grid {
  display: grid;
  gap: 25px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* CARDS */
.card {
  padding: 25px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* IMAGEM */
.img-box {
  overflow: hidden;
  border-radius: 16px;
}

.img-box img {
  width: 100%;
  transition: 0.4s;
  cursor: pointer;
}

.img-box:hover img {
  transform: scale(1.08);
}

/* BANNER */
.banner img {
  width: 100%;
  border-radius: 20px;
}

/* GALERIA */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* VIDEO */
.video-thumb {
  height: 200px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

/* CONTATO */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.map iframe {
  width: 100%;
  height: 250px;
  border-radius: 12px;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  padding: 30px;
  text-align: center;
}

/* LIGHTBOX PRO */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.8);
  transition: 0.4s;
}

.lightbox.active img {
  transform: scale(1);
}

/* ANIMAÇÃO */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */
@media(max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}
