@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  --custom-primary: #ff4400;
  --custom-primary-hover: #e63e00;
  --white: #fff;
  --gray: #f8fff8;
  --black: #191b1c;
  --title-color: #878787;
  --font-family: 'Rubik', var(--bs-font-sans-serif);
}

.btn-custom-primary {
  background-color: var(--custom-primary);
  border-color: var(--custom-primary);
  color: var(--white);
}

.btn-custom-primary:hover,
.btn-custom-primary:focus,
.btn-custom-primary:active {
  background-color: var(--custom-primary-hover) !important;
  border-color: var(--custom-primary-hover) !important;
  color: var(--white) !important;
  filter: brightness(0.9) !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

h1 {
  color: var(--white);
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
}

h2 {
  color: var(--title-color);
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
}

h3 {
  color: var(--title-color);
  font-size: 22px;
  font-weight: 300;
  text-transform: uppercase;
}

p {
  color: var(--black);
}

section {
  padding: 70px 0px;
}

section:nth-of-type(even) {
  background-color: var(--white);
}

.bt a {
  display: block;
  text-decoration: none;
  color: var(--white);
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  background-color: var(--custom-primary);
  padding: 14px 44px;
  transition: all 0.3s ease;
  width: fit-content;
}

.bt a:hover {
  background-color: var(--custom-primary-hover);
  filter: brightness(0.9);
}

.orange {
  color: var(--custom-primary);
}

.logo {
  width: 100px;
}

.navbar {
  background-color: transparent;
}

.nav-link {
  color: var(--black);
  border-bottom: 2px solid transparent;
  font-weight: 400;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--custom-primary);
  border-bottom: 2px solid var(--custom-primary);
}

.hero-section {
  background-image: url('../images/banner-fenix-brindes-principal.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home {
  padding: 160px 0px;
}

.img-brinde {
  display: grid;
  place-items: center;
}

.sabores .title h2::after {
  content: "";
  display: block;
  margin: 12px auto 0 auto;
  width: 120px;
  height: 4px;
  background: var(--custom-primary);
  border-radius: 2px;
}

.embalagens .title h2::after {
  content: "";
  display: block;
  margin: 12px auto 0 auto;
  width: 120px;
  height: 4px;
  background: var(--custom-primary);
  border-radius: 2px;
}

.sabores .box {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0px 20px;
}

.sabores .box img {
  max-width: 220px;
  height: auto;
  margin-bottom: 12px;
}

.sabores .bt {
  display: grid;
  place-items: center;
}

.porque .content p {
  position: relative;
}

.porque .content p::after {
  content: "";
  display: block;
  margin: 12px auto 0 auto;
  width: 120px;
  height: 4px;
  background: var(--custom-primary);
  border-radius: 2px;
}

.embalagens .box {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0px 20px;
}

.embalagens .box img {
  max-width: 320px;
  height: auto;
  margin-bottom: 12px;
}

.embalagens .bt {
  display: grid;
  place-items: center;
}

.clientesSwiper {
  width: 100%;
  max-width: 90%;
  margin: 40px auto;
  padding: 20px 0 60px 0;
}

.clientesSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.clientesSwiper .swiper-slide img {
  height: 90%;
  width: auto;
  object-fit: contain;
}

.clientesSwiper .swiper-pagination {
  bottom: 0;
}

.clientesSwiper .swiper-pagination-bullet {
  background: var(--custom-primary);
  opacity: 0.3;
  width: 10px;
  height: 10px;
}

.clientesSwiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.img-about {
  display: grid;
  place-items: center;
}

footer {
  background-color: var(--gray) !important;
}

footer .footer-logo {
  display: flex;
  align-items: center;
}

footer h5 {
  color: var(--custom-primary);
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--custom-primary-hover) !important;
}

footer .fab {
  transition: all 0.3s ease;
}

footer .fab:hover {
  color: var(--custom-primary-hover) !important;
  transform: translateY(-2px);
}

.float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  transition: 0.5s;
}

.float:hover {
  transform: scale(1.1);
}

.float img {
  max-width: 110%;
}

/* RESPONSIVE UTILITIES */
@media screen and (max-width: 1024px) {
  /* Ensure images are responsive */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Prevent horizontal overflow */
  * {
    box-sizing: border-box;
  }
  
  /* Responsive tables */
  table {
    width: 100%;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
  
  /* Navbar responsive */
  .navbar {
    padding: 0.5rem 1rem;
  }
  
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    border: none;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* TABLET - 1024px */
@media screen and (max-width: 1024px) {
  .container {
    max-width: 95%;
    padding: 0 20px;
  }
  
  /* Header */
  .header .container {
    padding: 15px 20px;
  }
  
  .header .logo img {
    max-height: 40px;
  }
  
  /* Hero Section */
  .hero {
    padding: 40px 0;
  }
  
  .hero-section {
    padding: 40px 0;
  }
  
  .hero-headline {
    text-align: left;
  }
  
  .hero h1 {
    font-size: 36px;
    line-height: 1.3;
  }
  
  .hero p {
    font-size: 16px;
    margin: 20px 0;
  }
  
  /* Cards/Products */
  .card {
    margin-bottom: 20px;
  }
  
  .card img {
    max-width: 100%;
    height: auto;
  }
  
  /* Buttons */
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  /* About Section */
  .about {
    padding: 40px 0;
  }
  
  .about .row {
    margin: 0;
  }
  
  .about .col-md-6 {
    padding: 10px;
  }
  
  /* Clients Swiper */
  .clientesSwiper {
    max-width: 95%;
    padding: 20px 0 60px 0;
  }
}

/* MOBILE - 768px */
@media screen and (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  /* Header */
  .header {
    padding: 10px 0;
  }
  
  .header .container {
    padding: 10px 15px;
    flex-direction: column;
    gap: 15px;
  }
  
  .header .logo img {
    max-height: 35px;
  }
  
  /* Hero Section */
  .hero {
    padding: 30px 0;
    text-align: center;
  }
  
  .hero-section {
    padding: 30px 0;
  }
  
  .hero-headline {
    text-align: center;
  }

  .home {
    padding: 32px 10px;
  }
  
  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .hero p {
    font-size: 15px;
    margin: 15px 0;
    line-height: 1.5;
  }
  
  /* Grid/Columns */
  .row {
    margin: 0 -10px;
  }
  
  .col-md-6,
  .col-md-4,
  .col-md-3 {
    padding: 10px;
    margin-bottom: 20px;
  }
  
  /* Cards/Products */
  .card {
    margin-bottom: 25px;
    padding: 15px;
  }
  
  .card h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .card p {
    font-size: 14px;
    line-height: 1.4;
  }
  
  /* Buttons */
  .btn {
    padding: 12px 20px;
    font-size: 14px;
    width: 100%;
    margin: 10px 0;
  }
  
  /* About Section */
  .about {
    padding: 30px 0;
  }
  
  .about h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  
  .about p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  
  .img-about {
    margin-top: 20px;
  }
  
  .img-about img {
    max-width: 100%;
    height: auto;
  }
  
  /* Clients Swiper */
  .clientesSwiper {
    max-width: 90%;
    padding: 15px 0 50px 0;
  }
  
  .clientesSwiper .swiper-slide img {
    height: 90%;
  }
  
  .clientesSwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  
  /* Contact/Form Section */
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-control {
    padding: 12px;
    font-size: 14px;
  }
  
  /* Footer */
  footer {
    padding: 20px 24px;
  }
  
  .footer p {
    font-size: 12px;
    margin: 5px 0;
  }

  .bt a {
    width: 100%;
  }
}

/* MOBILE SMALL - 480px */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  /* Header */
  .header .logo img {
    max-height: 30px;
  }
  
  /* Hero Section */
  .hero {
    padding: 20px 0;
  }
  
  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 14px;
    margin: 12px 0;
  }
  
  /* Cards/Products */
  .card {
    padding: 12px;
    margin-bottom: 20px;
  }
  
  .card h3 {
    font-size: 18px;
  }
  
  .card p {
    font-size: 13px;
  }
  
  /* Buttons */
  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  /* About Section */
  .about {
    padding: 25px 0;
  }
  
  .about h2 {
    font-size: 24px;
  }
  
  .about p {
    font-size: 13px;
  }
  
  /* Clients Swiper */
  .clientesSwiper {
    max-width: 90%;
    padding: 10px 0 40px 0;
  }
  
  .clientesSwiper .swiper-slide img {
    height: 90%;
  }
  
  .clientesSwiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }
  
  /* Form */
  .form-control {
    padding: 10px;
    font-size: 13px;
  }
  
  /* Spacing adjustments */
  .row {
    margin: 0 -5px;
  }
  
  .col-md-6,
  .col-md-4,
  .col-md-3 {
    padding: 5px;
  }
}