/* Global Styles */
:root {
  --primary-color: #aa451c; /* Warna utama modern */
  --secondary-color: #8a3a19; /* Warna sekunder lebih gelap */
  --accent-color: #e27a54; /* Warna aksen lebih cerah */
  --light-color: #fff1ec; /* Warna terang dengan sentuhan hangat */
  --dark-color: #5a2a14; /* Warna sangat gelap */
  --text-color: #333333;
  --white-color: #ffffff;
  --gray-color: #f8f9fa;
  --border-color: #e9ecef;
  --shadow-color: rgba(170, 69, 28, 0.15);
}

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

html {
  scroll-behavior: smooth;
  /* Menggunakan scroll-behavior: smooth dengan kecepatan default browser yang lebih cepat */
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white-color);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--dark-color);
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

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

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-header h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(170, 69, 28, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--white-color);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-primary:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(170, 69, 28, 0.3);
}

.btn-primary:hover::before {
  width: 100%;
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  border: 2px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-secondary:hover {
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(170, 69, 28, 0.2);
}

.btn-secondary:hover::before {
  width: 100%;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-color);
  box-shadow: 0 2px 10px var(--shadow-color);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.header.sticky {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo h1 {
  font-size: 2rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.logo h1 span {
  color: var(--secondary-color);
  font-weight: 400;
}

.nav-list {
  display: flex;
}

.nav-list li {
  margin-left: 30px;
}

.nav-list li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  transition: all 0.4s ease;
}

.nav-list li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.4s ease;
}

.nav-list li a:hover {
  color: var(--primary-color);
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/hero-bg.jpg") no-repeat center center;
  background-size: 100% auto;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white-color);
  padding-top: 80px;
  position: relative;
}

.hero:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Stats Section */
.stats {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 60px 0;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.stats:before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(135deg, transparent 49%, var(--primary-color) 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 25px 20px;
  transition: all 0.4s ease;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.stat-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
}

.stat-item:hover:before {
  opacity: 1;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--light-color);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.2);
  color: var(--accent-color);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
  color: var(--light-color);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.stat-text {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.stat-item:hover .stat-text {
  color: var(--light-color);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--gray-color);
  position: relative;
  overflow: hidden;
}

.about:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/pattern.svg") repeat;
  opacity: 0.05;
  z-index: 0;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.about-text {
  flex: 1;
  min-width: 300px;
  animation: fadeInLeft 1s ease;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
  animation: fadeInRight 1s ease;
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0);
}

.partnership-image {
  max-width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.partnership-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(170, 69, 28, 0.2);
}

.partnership-image img {
  max-width: 66%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Process Section */
.process {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/pattern.svg");
  background-size: 300px;
  opacity: 0.03;
  pointer-events: none;
}

.process-steps {
  margin-top: 60px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  height: 100%;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 100%);
  z-index: 1;
}

.process-step {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-right: 30px;
  flex-shrink: 0;
}

.step-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  flex: 1;
  position: relative;
  transition: all 0.4s ease;
  border-left: 3px solid transparent;
}

.step-content::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -10px;
  width: 20px;
  height: 20px;
  background-color: #fff;
  transform: rotate(45deg);
  box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.process-step:hover .step-content {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-left: 3px solid var(--primary-color);
  background-color: rgba(255, 241, 236, 0.5);
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--dark-color);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.process-step:hover .step-content h3 {
  color: var(--primary-color);
  transform: scale(1.05);
  font-weight: 700;
}

.step-content p {
  color: var(--text-color);
  line-height: 1.7;
  transition: all 0.3s ease;
}

.process-step:hover .step-content p {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .process-steps::before {
    left: 30px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-right: 20px;
  }

  .step-content {
    padding: 20px;
  }

  .step-content h3 {
    font-size: 18px;
  }
}

/* Advantages Section */
.advantages {
  background-color: var(--light-bg);
  padding: 80px 0;
}

.advantage-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.advantage-item {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border-top: 4px solid transparent;
}

.advantage-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-top: 4px solid var(--primary-color);
  background: linear-gradient(to bottom, rgba(255, 241, 236, 0.3), white);
}

.advantage-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.advantage-item:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.advantage-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(226, 122, 84, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.advantage-item:hover::before {
  opacity: 1;
}

.advantage-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.advantage-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: grayscale(0.2);
}

.advantage-item:hover .advantage-icon {
  transform: translateY(-5px);
}

.advantage-item:hover .advantage-icon img {
  transform: scale(1.1) rotate(5deg);
  filter: grayscale(0);
}

.advantage-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 15px;
  transition: all 0.3s ease;
}

.advantage-item:hover h3 {
  color: var(--primary-color);
  transform: scale(1.05);
  letter-spacing: 0.5px;
}

.advantage-item h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.advantage-item:hover h3::after {
  width: 80px;
  background-color: var(--secondary-color);
}

.advantage-item p {
  color: var(--text-color);
  line-height: 1.7;
  font-size: 15px;
  transition: all 0.3s ease;
}

.advantage-item:hover p {
  color: var(--secondary-color);
}

/* Products Section */
.products {
  padding: 80px 0;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.products:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/pattern.svg") repeat;
  opacity: 0.05;
  z-index: 0;
}

.products .container {
  position: relative;
  z-index: 1;
}

.products .section-header {
  margin-bottom: 50px;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  will-change: transform, box-shadow;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px var(--shadow-color);
  border: 1px solid rgba(170, 69, 28, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border 0.15s ease;
  will-change: transform, box-shadow;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-image {
  height: 250px;
  overflow: hidden;
  background-color: var(--gray-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(170, 69, 28, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-image img {
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.15s ease, filter 0.15s ease;
  filter: saturate(0.95);
  will-change: transform, filter;
}

.product-card:hover .product-image img {
  transform: scale(1.02);
  filter: saturate(1.05);
}

.product-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s ease;
}

.product-card:hover .product-info {
  background-color: rgba(255, 241, 236, 0.2);
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  transition: color 0.15s ease;
  position: relative;
  display: inline-block;
  will-change: color;
}

.product-card:hover .product-info h3 {
  color: var(--secondary-color);
}

.product-info p {
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.6;
  transition: color 0.2s ease;
}

.product-card:hover .product-info p {
  color: var(--dark-color);
}

.product-features {
  margin-bottom: 25px;
  padding-left: 25px;
  list-style: none;
}

.product-features li {
  margin-bottom: 8px;
  position: relative;
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
  transition: color 0.15s ease;
  transform-origin: left;
}

.product-card:hover .product-features li {
  color: var(--dark-color);
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: -25px;
  color: var(--primary-color);
  font-weight: bold;
  transition: color 0.15s ease;
}

.product-card:hover .product-features li::before {
  color: var(--secondary-color);
}

.product-info .btn-secondary {
  margin-top: auto;
  align-self: flex-start;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.product-card:hover .product-info .btn-secondary {
  background-color: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
  box-shadow: 0 3px 10px rgba(170, 69, 28, 0.2);
}

.brand-items {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.brand-item {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  background-color: var(--gray-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.5s ease;
  transform: translateY(50px);
  opacity: 0;
}

.brand-item.revealed {
  transform: translateY(0);
  opacity: 1;
}

.brand-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.brand-item h3 {
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.brand-item h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

/* Certifications Section */
.certifications {
  padding: 80px 0;
  background-color: var(--gray-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.certifications:before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0.05;
}

.certifications:after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 100px;
  height: 100px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.05;
}

.certifications .container {
  position: relative;
  z-index: 1;
}

.certification-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.cert-logo {
  width: 150px;
  height: 150px;
  background-color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  padding: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.cert-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  border-radius: 10px;
}

.cert-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.4s ease;
  filter: brightness(1);
}

.cert-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(170, 69, 28, 0.3);
}

.cert-logo:hover::before {
  opacity: 0.1;
}

.cert-logo:hover img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.contact:before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  background-color: var(--accent-color);
  border-radius: 50%;
  opacity: 0.05;
}

.contact:after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0.05;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--shadow-color);
  animation: fadeInUp 1s ease;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(226, 122, 84, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.contact-form:hover {
  box-shadow: 0 15px 40px rgba(170, 69, 28, 0.15);
  border: 1px solid rgba(170, 69, 28, 0.1);
  transform: translateY(-5px);
}

.contact-form:hover::before {
  opacity: 1;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: transparent;
  position: relative;
  z-index: 1;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: var(--accent-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(170, 69, 28, 0.1);
  outline: none;
  background-color: rgba(255, 255, 255, 0.9);
}

.product-select {
  position: relative;
}

.product-select::after {
  content: "\25BC";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: var(--primary-color);
  pointer-events: none;
  font-size: 12px;
  z-index: 2;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.contact-form .btn-primary {
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-form .btn-primary:hover {
  background-color: var(--secondary-color);
  box-shadow: 0 5px 15px rgba(138, 58, 25, 0.3);
  transform: translateY(-2px);
}

/* Gallery Styles */
.gallery {
  padding: 80px 0;
  background-color: var(--gray-color);
}

/* Desktop Gallery Grid */
.gallery-container {
  position: relative;
  max-width: 1200px;
  margin: 30px auto 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

/* Slider Styles */
.gallery-slider {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 0 10px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1/1;
  max-width: 100%;
  margin: 0 auto;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white-color);
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--white-color);
}

.gallery-overlay p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* Navigation Controls */
.gallery-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.gallery-prev,
.gallery-next {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  margin: 0 10px;
}

.gallery-prev:hover,
.gallery-next:hover {
  background-color: var(--secondary-color);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  margin: 0 15px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.gallery-dot.active {
  background-color: var(--primary-color);
}

/* Desktop View */
@media (min-width: 993px) {
  .gallery-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    overflow: visible;
  }

  .gallery-slide {
    flex: unset;
    padding: 0;
  }

  .gallery-navigation {
    display: none;
  }
}

/* Tablet View */
@media (min-width: 769px) and (max-width: 992px) {
  .gallery-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: visible;
  }

  .gallery-slide {
    flex: unset;
    padding: 0;
  }

  .gallery-navigation {
    display: none;
  }
}

/* Small Tablet View */
@media (min-width: 577px) and (max-width: 768px) {
  .gallery-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    overflow: visible;
  }

  .gallery-slide {
    flex: unset;
    padding: 0;
  }

  .gallery-navigation {
    display: none;
  }
}

/* Mobile View - Slider Activated */
@media (max-width: 576px) {
  .gallery-slider {
    display: flex;
    overflow-x: hidden;
  }

  .gallery-slide {
    flex: 0 0 100%;
    padding: 0 10px;
  }

  .gallery-item {
    max-width: 100%;
    margin: 0 auto;
  }

  .gallery-navigation {
    display: flex;
  }
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 70px 0 20px;
  position: relative;
  overflow: hidden;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background-color: #128c7e;
}

.language-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
  cursor: pointer;
}

.language-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background-color: var(--secondary-color);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-img {
  width: 150px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-logo p {
  line-height: 1.7;
  margin-bottom: 20px;
  color: #ccc;
}

.footer h3 {
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  color: #fff;
}

.footer h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-links ul,
.footer-products ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-products li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-products a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.footer-links a:before,
.footer-products a:before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-products a:hover {
  color: var(--primary-color);
  padding-left: 20px;
}

.footer-links a:hover:before,
.footer-products a:hover:before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: #ccc;
}

.footer-contact i {
  margin-right: 12px;
  color: var(--primary-color);
  font-size: 16px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icons a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transform: scale(0);
  transition: all 0.3s ease;
  border-radius: 50%;
}

.social-icons a i {
  position: relative;
  z-index: 1;
}

.social-icons a:hover:before {
  transform: scale(1);
}

.social-icons a:hover {
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}

.footer-bottom p {
  color: #999;
  font-size: 14px;
}

/* Campoeni Custom Styles */
.hero-content h3 {
  color: var(--white-color);
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 500;
}

.about-features {
  margin-bottom: 25px;
  padding-left: 25px;
}

.about-features li {
  margin-bottom: 10px;
  position: relative;
}

.about-features li:before {
  content: "✓";
  position: absolute;
  left: -25px;
  color: var(--primary-color);
  font-weight: bold;
}

.export-support {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.support-tag {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
}

.cta-box {
  background-color: var(--light-color);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  margin-top: 30px;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.cta-box h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.highlight-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
  font-style: italic;
}

.text-center {
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-item p {
  margin-bottom: 0;
  font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Touch Device Optimization */
@media (hover: none) {
  .product-card:hover {
    transform: none;
    box-shadow: 0 5px 15px var(--shadow-color);
  }

  .product-card:hover .product-image img {
    transform: none;
    filter: saturate(1);
  }

  .product-card:hover .product-info h3 {
    transform: none;
    text-shadow: none;
  }

  .product-card:hover .product-features li {
    transform: none;
  }

  .product-card:hover .product-features li::before {
    transform: none;
  }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .hero-content h2 {
    font-size: 2.8rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .section-header h3 {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav {
    position: relative;
    width: 100%;
  }

  .partnership-image {
    margin-top: 30px;
    max-width: 100%;
  }

  .nav-list {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background-color: var(--white-color);
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
    z-index: 999;
    flex-direction: column;
    padding: 30px;
  }

  .nav-list.active {
    left: 0;
  }

  .nav-list li {
    margin: 15px 0;
  }

  .hero {
    height: 80vh;
  }

  .hero[style*="background-image"] {
    background-size: cover !important;
    background-position: center center !important;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .about-content,
  .factory-items,
  .advantage-items,
  .brand-items,
  .product-categories {
    flex-direction: column-reverse;
  }

  #partnerships .about-content {
    flex-direction: column;
  }

  .stat-item {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header h3 {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 576px) {
  .hero {
    height: 100vh;
    padding-top: 60px;
  }
  .partnership-image img {
    max-width: 90%;
  }
  #partnerships .about-content {
    flex-direction: column-reverse;
  }
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .product-image {
    height: auto;
  }
  /* Optimize product hover animations for mobile */
  .product-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease, border 0.15s ease;
  }

  .product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px var(--shadow-color);
  }

  .product-card:hover .product-image img {
    transform: scale(1.01);
    transition: transform 0.15s ease, filter 0.15s ease;
  }

  .product-card:hover .product-info h3 {
    transform: none;
    text-shadow: none;
  }

  .product-card:hover .product-features li {
    transform: none;
  }

  .product-card:hover .product-features li::before {
    transform: none;
  }

  .hero[style*="background-image"] {
    background-position: center top !important;
  }

  .hero-content {
    padding: 0 15px;
  }

  .hero-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header h3 {
    font-size: 1.3rem;
  }

  .stat-item h3 {
    font-size: 2.5rem;
  }

  .stat-item p {
    font-size: 1rem;
  }

  .footer-content > div {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
}
