/* Theme: Mar & Vidro (glassmorphism) */
:root {
  --bg: #0a2540;
  /* azul profundo do mar */
  --bg-2: #062033;
  --accent: #3ec5ff;
  /* reflexos de vidro/água */
  --text: #e9f3ff;
  --muted: #b6c6d9;
  --glass: rgba(255, 255, 255, 0.10);
  --glass-br: rgba(255, 255, 255, 0.35);
  --radius: 18px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .35);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto;
  color: var(--text);
  background: radial-gradient(1200px 800px at 70% -10%, rgba(62, 197, 255, .18), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  line-height: 1.6;
}

/* Containers */
.container {
  width: min(1100px, 90%);
  margin-inline: auto
}

.section {
  padding: 88px 0
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.00));
}

.grid {
  display: grid;
  gap: 24px
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Glass cards */
.glass {
  background: var(--glass);
  backdrop-filter: saturate(140%) blur(12px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pad {
  padding: 24px
}

/* Typography */
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 12px
}

h1 {
  font-size: clamp(38px, 5vw, 56px)
}

h2 {
  font-size: clamp(28px, 4vw, 36px)
}

h3 {
  font-size: clamp(20px, 2.6vw, 24px)
}

p {
  margin: 0 0 12px
}

.subtitle {
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .9
}

.lead {
  font-size: 1.1rem;
  max-width: 70ch
}

.muted {
  color: var(--muted)
}

/* Buttons */
.btn {
  border: none;
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #9be2ff);
  color: #00213a;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(62, 197, 255, .35);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.btn:hover {
  transform: translateY(-2px)
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--text);
  box-shadow: none;
}

.btn.small {
  padding: 8px 12px;
  font-size: .9rem
}

form.form .btn {
  margin-inline: auto;
}


/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 4px auto;
  padding: 10px 0;
  width: min(1100px, 92%)
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none
}

.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 18px;
  opacity: .9
}

.nav a:hover {
  opacity: 1
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: end;
  justify-content: center;
  padding-bottom: 64px;
  background:
    url('https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1c/6e/aa/6b/barco-marisco.jpg?w=1000&h=-1&s=1') center/cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(10, 37, 64, .85));
}

.hero__content {
  position: relative;
  margin-top: 16vh;
  padding: 26px
}

.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  fill: rgba(255, 255, 255, .06)
}

/* Cards */
.card {
  padding: 20px;
  border-radius: var(--radius)
}

.card.placeholder {
  border: 1px dashed rgba(255, 255, 255, .25);
  text-align: center;
  color: var(--muted);
}

/* Tags & features */
.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 12px 0 0;
  list-style: none
}

.tags li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(62, 197, 255, .12);
  border: 1px solid rgba(62, 197, 255, .35)
}

.features {
  margin: 8px 0 0;
  padding-left: 18px
}

/* Hours */
.hours {
  display: grid;
  gap: 8px;
  margin-top: 10px
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1)
}

.hours span:first-child {
  font-weight: 600
}

/* Gallery */
.gallery {
  columns: 1;
  column-gap: 16px
}

.gallery img {
  width: 100%;
  margin: 0 0 16px;
  border-radius: 16px;
  display: block;
  filter: saturate(110%) contrast(104%);
  box-shadow: var(--shadow)
}

@media(min-width:640px) {
  .gallery {
    columns: 2
  }
}

@media(min-width:980px) {
  .gallery {
    columns: 3
  }
}

/* ---- Animação suave na galeria ---- */
.gallery img {
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
  will-change: transform, box-shadow, filter;
  transform-origin: center center;
}

.gallery img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 35px rgba(0, 0, 0, .45);
  filter: saturate(115%) contrast(106%);
}


/* Map */
.map-wrap {
  margin-top: 12px;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15)
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0
}

/* Footer */
.footer {
  padding: 28px 0 40px
}

.footer__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between
}

.footer__links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 14px
}

.footer__links a:hover {
  color: var(--text)
}

/* To top button */
#toTop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  background-image: url("assets/site/SapateiraSeta.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
}

#toTop.show {
  display: flex;
}


/* ---- Menu com abas ---- */
.tabs {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius);
  margin: 12px 0 16px
}

.tab {
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: transform .15s ease, background .2s ease, opacity .2s;
}

.tab:hover {
  transform: translateY(-1px)
}

.tab.active {
  background: linear-gradient(135deg, var(--accent), #9be2ff);
  color: #00213a
}

.tab-panels {
  border-radius: var(--radius);
}

.tab-panel {
  display: none
}

.tab-panel.active {
  display: block
}

.menu-block {
  max-width: 760px;
  margin-inline: auto
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 28px;
  display: grid;
  gap: 12px
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.menu-list li span {
  font-weight: 500
}

.menu-list li strong {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  white-space: nowrap;
}

/* ---- Formulário de reservas ---- */
form.form {
  display: grid;
  gap: 14px;
  margin-top: 14px
}

form.form input,
form.form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

form.form input::placeholder,
form.form textarea::placeholder {
  color: var(--muted)
}

form.form textarea {
  resize: vertical;
  min-height: 120px
}

.btn.form-submit {
  width: max-content;
  margin-inline: auto;
  background: linear-gradient(135deg, #cfffad, #a4ff78);
  color: #001b2e;
  font-weight: 700;
  padding: 12px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

/* ----- NAV: comportamento móvel ----- */
@media (max-width: 720px) {
  .nav__inner{
    flex-direction: column;          /* logo em cima, navegação em baixo */
    align-items: center;
    gap: 10px;
    padding: 10px 14px;              /* um bocadinho mais de respiro */
  }

  .nav nav{
    display: flex;
    flex-wrap: wrap;                 /* deixa os links partirem para 2 linhas */
    justify-content: center;
    gap: 8px 12px;                   /* em vez de margin-left em cada <a> */
  }

  .nav a{
    margin-left: 0;                  /* anulamos a margem lateral dos links */
    font-size: 0.95rem;              /* ligeiro ajuste para caber melhor */
  }

  .btn.small{
    padding: 8px 12px;               /* mantém o botão compacto */
  }

  /* Evita “apertos” extra no herói por causa do header mais alto */
  .hero{
    min-height: 72vh;
    padding-bottom: 56px;
  }
}

/* Muito pequenos (ex.: 360px) — micro ajuste */
@media (max-width: 380px){
  .nav a{ font-size: 0.9rem; }
  .btn.small{ padding: 7px 11px; }
}
