body {
    font-family: 'Hemi Head', sans-serif;
    background-image: url('images/InShot_20250305_101445569.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100vw;
  }
  .styled-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-width: 100vw;
    height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    padding: 0 50px;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.2);
    z-index: 1000;
    border-bottom: 2px solid #f12400;
    box-sizing: border-box;
  }
  .logo img {
    height: 80px;
    transition: transform 0.3s ease;
  }
  .logo img:hover {
    transform: scale(1.05);
  }
  .main-nav ul {
    list-style: none;
    display: flex;
    gap: 50px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
  }
  .main-nav ul li a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
  }
  .main-nav ul li a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: #f12400;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -6px;
    left: 0;
  }
  .main-nav ul li a:hover::after {
    width: 100%;
  }
  .main-nav ul li a:hover {
    color: #f12400;
    transform: scale(1.05);
  }
  
  /* MENU MOBILE */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
    width: 32px;
    height: 32px;
    justify-content: center;
    transition: transform 0.3s;
  }
  .hamburger span {
    width: 100%;
    height: 4px;
    background-color: #f12400;
    border-radius: 2px;
    transition: 0.3s;
    display: block;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  @media (max-width: 768px) {
    .hamburger {
      display: flex;
    }
    .styled-header{
      padding: 0 12px;
    }
    .main-nav {
      display: none;
      position: absolute;
      top: 110px;
      left: 0;
      width: 100%;
      background-color: #000;
      flex-direction: column;
      align-items: center;
      padding: 20px 0;
    }
    .main-nav.show {
      display: flex;
    }
    .main-nav ul {
      flex-direction: column;
      gap: 15px;
    }
    .main-nav ul li a {
      font-size: 20px;
    }
  }
  
  /* MAIN & SECTION */
  main {
    margin-top: 130px;
  }
  section {
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 10px;
    padding: 40px 30px 30px 30px;
    margin: 30px auto 40px auto;
    width: 92%;
    max-width: 1150px;
    box-shadow: 0 4px 32px #0008;
  }
  #galeria h1 {
    color: #f12400;
    font-size: 2.1rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    font-family: 'Hemi Head', sans-serif;
  }
  
  /* GRID DA GALERIA */
  .foto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 28px 18px;
    justify-items: center;
    align-items: stretch;
  }
  .foto-item {
    position: relative;
    overflow: hidden;
    background: #181818;
    border-radius: 13px;
    box-shadow: 0 2px 14px #f1240022;
    transition: box-shadow 0.2s;
  }
  .foto-item img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    border-radius: 13px;
    transition: transform 0.34s cubic-bezier(.12,.97,.58,1.06), box-shadow 0.28s;
    box-shadow: 0 1px 6px #f1240036;
    cursor: pointer;
  }
  .foto-item:hover {
    box-shadow: 0 10px 32px #f1240026, 0 2px 8px #fff3;
  }
  .foto-item:hover img {
    transform: scale(1.07) rotate(-2deg);
    box-shadow: 0 6px 28px #f1240070, 0 1px 6px #fff3;
  }
  
  /* FOOTER igual ao Home */
  footer {
    text-align: center;
    padding: 40px 5px;
    background-color: #000;
    color: #888;
    font-size: 14px;
    margin-top: 50px;
    border-top: 2px solid #f12400;
  }
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-social {
    margin-bottom: 10px;
  }
  .footer-social a {
    background-color: #111;
    padding: 13px;
    border-radius: 50%;
    margin: 0 6px;
    text-decoration: none !important;
    outline: none;
    box-shadow: none;
    display: inline-block;
    transition: background 0.23s;
  }
  .footer-social a i {
    font-size: 25px;
    color: #f12400;
    transition: color 0.22s, transform 0.22s;
  }
  .footer-social a:hover i {
    color: #ff4c4c;
    transform: scale(1.22);
  }
  .footer-logo {
    width: 150px;   /* antes era 160px */
    height: auto;
    margin-bottom: 12px;
  }
  .footer-links {
    margin-top: 6px;
  }
  footer a {
    color: #f12400 !important;
    text-decoration: none !important;
    font-weight: bold;
  }
  footer a:hover {
    color: #ff4c4c !important;
    text-decoration: underline;
  }
  
  /* RESPONSIVO */
  @media (max-width: 700px) {
    .foto-grid {
      grid-template-columns: 1fr;
    }
    .foto-item img {
      width: 98vw;
      height: auto;
      max-width: 440px;   /* pode ajustar como preferir */
      min-width: 160px;
      margin: 0 auto;
      display: block;
    }
  }
  
  
  /* LIGHTBOX MODAL */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.96);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.25s;
  }
  .lightbox.open {
    display: flex;
    animation: lightboxFadeIn 0.24s;
  }
  @keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .lightbox-img {
    max-width: 95vw;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 4px 40px #f1240033;
    margin-bottom: 20px;
    background: #111;
    transition: transform 0.2s;
  }
  .lightbox-zoomed {
    max-width: none !important;
    max-height: none !important;
    width: 95vw !important;
    height: 88vh !important;
    cursor: zoom-out;
  }
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 2.4rem;
    color: #f12400;
    background: #000b;
    border: none;
    border-radius: 50%;
    padding: 6px 14px 8px 14px;
    cursor: pointer;
    z-index: 1011;
    transition: background 0.18s, color 0.18s;
  }
  .lightbox-close:hover {
    background: #fff5;
    color: #fff;
  }
 
  
  .lightbox-close:hover { color: #f12400; }
  
  .lightbox-controls {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 5px;
  }
  .lightbox-controls button {
    background: #111;
    border: none;
    border-radius: 50%;
    color: #f12400;
    font-size: 2rem;
    padding: 16px 19px;
    margin: 0 2px;
    cursor: pointer;
    transition: background 0.22s, color 0.22s, transform 0.15s;
    outline: none;
    box-shadow: 0 2px 10px #0007;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .lightbox-controls button:hover {
    background: #f12400;
    color: #fff;
    transform: scale(1.12);
  }
  
  @media (max-width: 700px) {
    section#galeria {
      padding: 18px 0 18px 0;
      margin: 10px auto 18px auto;
      width: 100%;
      max-width: 100vw;
      border-radius: 0;
      box-shadow: none;
    }
    .foto-grid {
     background: #000;
      grid-template-columns: 1fr;
      gap: 16px 0;
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
    }
    .foto-item {
        background: #000;
      width: 100%;
      max-width: 100%;
    }
    .foto-item img {
      width: 85%;
      min-width: 0;
      max-width: 100%;
      height: auto;
      margin: 0 auto;
      display: block;
    }
    .lightbox-img {
      max-width: 99vw;
      width: 99vw;
    }
  }
  
  /* --- GALERIA OTIMIZADA --- */
/* GALERIA OTIMIZADA COM VER MAIS — FIX */
.hidden-fotos {
  display: none;
  width: 100%;
}
.hidden-fotos.show {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px 18px;
  justify-items: center;
  align-items: stretch;
  margin-top: 25px;
}

#verMais {
  display: block;
  margin: 30px auto 10px auto;
  background: #f12400;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-family: 'Hemi Head', sans-serif;
  letter-spacing: 1px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 18px #f1240044;
  transition: background 0.25s, transform 0.25s;
}
#verMais:hover {
  background: #b00020;
  transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 700px) {
  .hidden-fotos.show {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }
  #verMais {
    width: 80%;
    font-size: 1rem;
  }
}
