:root {
  --azul-900: #0F1E2E;
  --azul-700: #183B5D;
  --amarelo: #F4B000;
  --branco: #FFFFFF;
  --cinza-900: #1D2330;
  --cinza-600: #6B7280;
  --bg-page: #f6f8fb;
}

/* -------------------- BASE -------------------- */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

body {
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--cinza-900);
  background-color: var(--bg-page);
  padding-top: 80px;
}

/* -------------------- NAVBAR -------------------- */
.glass-nav {
  background: rgba(15,30,46,.95);
  backdrop-filter: blur(6px);
  padding-top: 4px;
  padding-bottom: 4px;
  display: flex;
  align-items: center;
  height: 40px;
}

.navbar .nav-link {
  color: #eaf0f7 !important;
  font-weight: 700;
  letter-spacing: .2px;
}

.navbar .nav-link:hover {
  color: var(--amarelo) !important;
}

/* força o tamanho da logo da navbar */
.navbar-brand img,
.brand-logo {
  height: 170px !important;
  width: auto !important;
  object-fit: contain;
}

@media (max-width: 991px) {
  .navbar-brand img,
  .brand-logo {
    height: 80px !important;
  }
}

/* -------------------- HERO -------------------- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: start;
  color: #fff;
  background:
  linear-gradient(180deg, rgba(15,30,46,0.55), rgba(24,59,93,0.55)),
  url("https://hunterdogclub.com.br/assets/images/header.jpg") center center / cover no-repeat;
  padding: 60px 0;
}

.hero h1 {
  font-weight: 800;
  text-shadow: 0 3px 10px rgba(0,0,0,.3);
}

.hero p {
  font-size: 1.2rem;
  opacity: .95;
}

.btn-brand {
  background: var(--amarelo);
  border: none;
  color: #1a1a1a;
  font-weight: 700;
}

.btn-brand:hover {
  filter: brightness(.9);
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
}

/* -------------------- SEÇÕES -------------------- */
.section {
  padding: 80px 0;
}

.section-title {
  font-weight: 800;
  color: var(--azul-900);
  text-align: center;
}

.section-sub {
  color: var(--cinza-600);
  text-align: center;
  margin-bottom: 40px;
}

/* -------------------- CARDS -------------------- */
.service-card {
  border: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transition: .3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--azul-700), var(--azul-900));
  color: #fff;
  font-size: 22px;
}

/* -------------------- GALERIA -------------------- */
.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

/* -------------------- MAPA -------------------- */
.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

/* -------------------- SOBRE -------------------- */
.about-logo {
  height: 200px;
  width: auto;
  object-fit: contain;
  margin-bottom: 25px;
}

/* -------------------- FOOTER -------------------- */
footer {
  background: linear-gradient(135deg, var(--azul-900), var(--azul-700));
  color: #eaf0f7;
  padding-top: 60px;
  padding-bottom: 40px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: var(--amarelo);
}

.footer-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.footer-col h6 {
  font-weight: 800;
}

/* -------------------- WHATSAPP -------------------- */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
  transition: .2s;
  z-index: 999;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

/* Força o tamanho da logo na navbar acima de qualquer outro estilo */
.navbar-brand img {
  height: 130px !important;
  width: auto !important;
  object-fit: contain;
}

/* Mantém centralizado verticalmente na barra */
.navbar-brand {
  display: flex;
  align-items: center;
}

/* Reduz a altura da barra azul */
.glass-nav {
  background: rgba(15,30,46,0.95);
  backdrop-filter: blur(6px);
  height: 85px !important;
  padding: 0 !important;
}

/* ====== Galeria Admin ====== */
.gallery-admin .card {
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gallery-admin .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.gallery-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.05);
}

.btn-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(220, 53, 69, 0.9);
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .3s;
  opacity: 0;
}

.gallery-thumb:hover .btn-delete {
  opacity: 1;
}

.btn-delete:hover {
  background: #dc3545;
}

/* ====== MENU MOBILE CORRIGIDO ====== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(15, 30, 46, 0.97) !important;
    backdrop-filter: blur(8px);
    border-radius: 12px 0 0 12px;
    padding: 20px 15px;
    position: absolute;
    top: 100%;
    right: 0;
    width: 70%;
    z-index: 999;
    box-shadow: -2px 6px 20px rgba(0, 0, 0, 0.25);
    text-align: right;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  /* Quando o menu abre */
  .navbar-collapse.show {
    transform: translateX(0);
  }

  .navbar-nav {
    align-items: flex-end;
  }

  .navbar-nav .nav-item {
    margin: 10px 0;
  }

  .navbar-nav .nav-link {
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    text-align: right;
    transition: background-color 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
  }

  .navbar-toggler {
    border: none;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }
}
