@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&display=swap");

:root {
  --primary-color: #ff6b6b;
  --secondary-color: #4ecdc4;
  --accent-color: #ffe66d;
  --dark-color: #292f36;
  --light-color: #f7fff7;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--dark-color);
  background-color: var(--light-color);
}

/* ===================== NAVBAR ===================== */
.navbar-custom {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 800;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.navbar-brand:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--dark-color);
  padding: 0.5rem 1rem;
  transition: all 0.3s;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

/* ===================== HERO ===================== */
.hero-section {
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.3;
  z-index: 0;
}

.hero-section::before {
  top: -50px;
  right: -50px;
  background-color: var(--accent-color);
}

.hero-section::after {
  bottom: -50px;
  left: -50px;
  background-color: var(--secondary-color);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--dark-color);
}

/* ===================== TITULOS DE SEÇÃO ===================== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.section-title.text-start::after {
  left: 0;
  transform: none;
}

/* ===================== PAGE HEADER ===================== */
.page-header {
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url("/images/page-header-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before,
.page-header::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 0;
}

.page-header::before {
  top: -30px;
  right: -30px;
  background-color: var(--accent-color);
}

.page-header::after {
  bottom: -30px;
  left: -30px;
  background-color: var(--secondary-color);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--dark-color);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===================== BOTÕES ===================== */
.btn-custom,
.btn-outline-custom {
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-custom {
  background-color: var(--primary-color);
  border: none;
  color: white;
}

.btn-custom:hover {
  background-color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: white;
}

.btn-outline-custom {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===================== CARDS ===================== */
.card,
.category-card {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  margin-bottom: 30px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover,
.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top,
.category-img {
  height: 200px;
  object-fit: cover;
}

.card-title,
.category-title {
  font-weight: 700;
  color: var(--dark-color);
}

.card-text {
  color: #666;
}

/* ===================== FILTROS / CATEGORIAS ===================== */
.category-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.category-count {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-left: 10px;
}

/* ===================== FORMULÁRIO DE BUSCA ===================== */
.search-form {
  position: relative;
  max-width: 300px;
}

.search-form .form-control {
  padding: 10px 45px 10px 20px;
  border-radius: 50px;
  border: 1px solid #e0e0e0;
  box-shadow: none;
  background-color: #f8f8f8;
  font-size: 14px;
}

.search-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.15);
}

.search-form .btn {
  position: absolute;
  right: 3px;
  top: 4px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.search-form .btn:hover {
  background-color: #ff5252;
  transform: none;
  box-shadow: none;
}

.search-form .btn i {
  font-size: 16px;
}

/* ===================== CARRINHO ===================== */
.cart-icon {
  position: relative;
  font-size: 1.2rem;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================== DROPDOWN ===================== */
.dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.dropdown-item {
  border-radius: 5px;
  padding: 8px 15px;
  transition: all 0.3s;
}

.dropdown-item:hover {
  background-color: rgba(255, 107, 107, 0.1);
  color: var(--primary-color);
}

.dropdown-item.text-danger:hover {
  background-color: rgba(220, 53, 69, 0.1);
}

/* ===================== LISTA DE SUBCATEGORIAS ===================== */
.subcategory-list {
  list-style: none;
  padding-left: 0;
}

.subcategory-list li {
  margin-bottom: 8px;
}

.subcategory-list a {
  color: var(--dark-color);
  text-decoration: none;
  transition: all 0.3s;
}

.subcategory-list a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

/* ===================== FORMULÁRIOS ===================== */
.form-label {
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  border-radius: 8px;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  margin-bottom: 10px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

/* ===================== ACCORDION ===================== */
.accordion-item {
  border-radius: 10px !important;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(255, 107, 107, 0.1);
  color: var(--primary-color);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(255, 107, 107, 0.25);
}

.accordion-button::after {
  background-size: 16px;
}

/* ===================== FOOTER ===================== */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 50px 0;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0.1;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* ===================== TESTEMUNHOS ===================== */
.testimonial {
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  position: relative;
}

.testimonial::before {
  content: "\201C";
  font-size: 5rem;
  position: absolute;
  top: -15px;
  left: 10px;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
}

/* ===================== ANIMAÇÕES ===================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}
.delay-500 {
  animation-delay: 0.5s;
}

/* ===================== RESPONSIVO ===================== */
@media (max-width: 991.98px) {
  .search-form {
    max-width: 100%;
    margin: 15px 0;
  }

  .navbar-collapse {
    padding: 15px 0;
  }

  .navbar-nav {
    margin-bottom: 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .page-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .page-header {
    padding: 40px 0;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}
.custom-rounded {
  border-radius: 25px;
}
