/* ===========================
   RESET BÁSICO E GERAIS
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background-color: #fdfdfd;
  color: #333;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===========================
   HEADER
   =========================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.4rem;
}

.logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  color: #333;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  height: 2px;
  width: 20px;
  background: #333;
}

/* RESPONSIVO - MENU MOBILE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    background: #fff;
    top: 70px;
    right: 2rem;
    gap: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* ===========================
   HERO E CAROUSEL PRINCIPAL
   =========================== */
/* Carousel Container */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  transition: opacity 0.5s ease-in-out;
}

.carousel-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* Navigation Buttons */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: white;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  z-index: 10;
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  content: '';
  display: inline-block;
  border: solid white;
  width: 10px;
  height: 10px;
  border-width: 0 3px 3px 0;
  padding: 3px;
}

.carousel-control-prev-icon::before {
  transform: rotate(135deg);
}

.carousel-control-next-icon::before {
  transform: rotate(-45deg);
}


/* ===========================
   CONTROLES DE FILTRO
   =========================== */
.filter-controls {
  text-align: center;
  padding: 2rem 1rem;
}

.filter-controls button {
  padding: 0.6rem 1.2rem;
  margin: 0 0.5rem;
  border: none;
  border-radius: 30px;
  background: #e0e0e0;
  cursor: pointer;
  transition: background 0.3s;
}

.filter-controls button.active,
.filter-controls button:hover {
  background: #1ca89e;
  color: #fff;
}

/* ===========================
   GALERIA E CARTÕES
   =========================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-content {
  padding: 1rem;
}

.card-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* ===========================
   SEÇÃO SOBRE
   =========================== */
.about {
  padding: 4rem 2rem;
  background: #f1fbfb;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
}

/* ===========================
   CONTATO
   =========================== */
.contact {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact button {
  padding: 0.8rem;
  background: #1ca89e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: #159287;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #8fc0be;
  color: #333;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

footer .social a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-size: 1.5rem;
  transition: color 0.3s;
}

footer .social a:hover {
  color: #0077b6;
}

footer .direct-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #82a2ac;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
}

footer .direct-link:hover {
  text-decoration: underline;
}

footer .shopee-link {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  color: #ee4d2d;
  font-weight: bold;
  text-decoration: none;
}

footer .shopee-link:hover {
  text-decoration: underline;
}

footer .copyright {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #666;
}

footer .dev-credit {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #444;
}

footer .dev-credit a {
  color: #0077b6;
  font-weight: 500;
  text-decoration: none;
}

footer .dev-credit a:hover {
  text-decoration: underline;
}

/* ===========================
   CAROUSEL DE PRODUTOS
   =========================== */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  max-width: 100%;
  margin-bottom: 1rem;
}

.slides-wrapper {
  display: flex;
  width: 100%;
  position: relative;
  transition: transform 0.3s ease-in-out;
}

.slide {
  display: none;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.slide.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel-btn {
    font-size: 1.2rem;
    padding: 0.2rem 0.5rem;
  }
}

/* ===========================
   INSTAGRAM PREVIEW
   =========================== */
.instagram-preview {
  text-align: center;
  margin: 2rem 0;
}

.insta-profile-link {
  display: inline-block;
  color: #000;
  text-decoration: none;
  transition: transform 0.2s;
}

.insta-profile-link:hover {
  transform: scale(1.03);
}

.insta-profile-link img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

/* ===========================
   MELHORIAS RESPONSIVAS MOBILE
   =========================== */

/* Menu hamburguer com transição suave */
.nav-links {
  transition: all 0.3s ease-in-out;
}

/* Aumenta o toque em botões e fontes no mobile */
@media (max-width: 480px) {
  .nav-links a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .filter-controls button {
    margin: 0.3rem 0.2rem;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .card-content h3 {
    font-size: 1rem;
  }

  .card-content p {
    font-size: 0.9rem;
  }

  .contact h2, .about h2 {
    font-size: 1.6rem;
  }

  .contact form {
    padding: 0 1rem;
  }

  .footer .dev-credit,
  .footer .copyright {
    font-size: 0.75rem;
  }
}

/* Layout da galeria com 1 coluna */
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1.5rem;
  }
}
