/* style.css - Premium Restyling for ANIMALIA */
:root {
  --primary: #0f5132;
  --primary-light: #198754;
  --accent: #ffc107;
  --accent-hover: #ffb300;
  --text-main: #1c1f23;
  --text-muted: #6b7280;
  --bg-light: #f8faf9;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg-light);
  background-image:
    radial-gradient(
      circle at top right,
      rgba(25, 135, 84, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(255, 193, 7, 0.05) 0%,
      transparent 40%
    );
}

.font-montserrat {
  font-family: "Montserrat", sans-serif;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header (Glassmorphism) */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: var(--transition);
}

.logo span {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.logo:hover img {
  transform: rotate(-5deg) scale(1.05);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn span {
  display: none;
}
@media (min-width: 640px) {
  .whatsapp-btn span {
    display: inline;
  }
}

/* Hero Section */
.hero {
  padding: 7rem 0 3rem;
  position: relative;
}

.hero .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-gallery {
  position: relative;
  perspective: 1000px;
}

.gallery-wrapper {
  background: var(--surface);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.main-image {
  position: relative;
  padding-bottom: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(to bottom right, #f8f9fa, #e9ecef);
}

.main-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.main-image:hover img {
  transform: scale(1.05);
}

.thumbnails {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.thumbnail {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 1rem;
}

.product-info h1 span {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.price::after {
  content: "Promotion";
  font-size: 0.85rem;
  background: #ffebee;
  color: #d32f2f;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rating-stock {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--accent);
}
.stars svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.in-stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-light);
}
.in-stock::before {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.2);
}

.description {
  margin: 2rem 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.description .label {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.description .text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.order-btn-wrapper {
  margin: 2rem 0;
}

.whatsapp-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.whatsapp-order-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 200%;
  }
  100% {
    left: 200%;
  }
}

.whatsapp-order-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* Sections Shared */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
}

/* Pack Section */
.pack-section {
  padding: 6rem 0;
}

.product-card {
  display: grid;
  gap: 3rem;
  align-items: center;
  background: white;
  border-radius: 2rem;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

@media (min-width: 1024px) {
  .product-card {
    grid-template-columns: 1fr 1fr;
  }
  .product-card.reverse {
    direction: rtl;
  }
  .product-card.reverse > * {
    direction: ltr;
  }
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  border-radius: 1.5rem;
  object-fit: contain;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}
.product-card:hover img {
  transform: scale(1.02);
}

.product-card h3 {
  font-size: 2rem;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.product-card h3::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50%;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.product-card .content {
  font-size: 1.1rem;
  color: var(--text-muted);
}
.product-card .content p {
  margin-bottom: 1rem;
}
.product-card .content .bold {
  color: var(--text-main);
  font-weight: 700;
}
.product-card .content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}
.product-card .content li {
  margin-bottom: 0.5rem;
}

/* Benefits Section */
.benefits-section {
  padding: 6rem 0;
  background: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
}

.benefits-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 10;
}
.benefits-header .subtitle {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.benefits-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
}
.benefits-header h2 span {
  color: var(--accent);
}
.benefits-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

.benefits-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  position: relative;
  z-index: 10;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 1.5rem;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.benefit-icon {
  width: 4.5rem;
  height: 4.5rem;
  background: var(--accent);
  color: var(--primary);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.benefit-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}
.benefit-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Problems Section */
.problems-section {
  padding: 6rem 0;
  background: white;
}

.problems-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 700px;
  margin-inline: auto;
}
.problems-header .subtitle {
  color: #d32f2f;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.problems-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
}
.problems-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.problems-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.problem-card {
  background: var(--bg-light);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.problem-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.problem-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}
.problem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.problem-card:hover .problem-image img {
  transform: scale(1.1);
}

.problem-content {
  padding: 2rem;
}
.problem-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.problem-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.problem-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(25, 135, 84, 0.1);
  color: var(--primary-light);
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Contact Section & How to Order */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8faf9 0%, #e9ecef 100%);
  position: relative;
}

.contact-grid {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info,
.how-to-order {
  background: white;
  padding: 3.5rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.contact-info h2,
.how-to-order h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}
.contact-info h2::after,
.how-to-order h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.contact-item:last-of-type {
  margin-bottom: 0;
}

.contact-item .icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(15, 81, 50, 0.05);
  color: var(--primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.contact-item:hover .icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.contact-item h4 {
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}
.contact-item p {
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.social-links a {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}
.social-links a:hover {
  transform: translateY(-5px);
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px rgba(15, 81, 50, 0.2);
}

.order-steps {
  margin-bottom: 2.5rem;
}
.order-step {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}
.order-step:hover {
  transform: translateX(10px);
  background: white;
  box-shadow: var(--shadow-sm);
  border-color: rgba(15, 81, 50, 0.1);
}
.order-step .number {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(15, 81, 50, 0.2);
}
.order-step p {
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.05rem;
  margin: 0;
}

.order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
  width: 100%;
  text-align: center;
}
.order-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}
.order-btn:disabled {
  cursor: not-allowed;
  opacity: 0.8;
  transform: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.order-btn-large,
.whatsapp-btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 99px;
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}
.order-btn-large:hover,
.whatsapp-btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.order-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.order-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: var(--text-main);
}

.order-form input,
.order-form textarea {
  margin-top: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #ffffff;
  font-size: 0.96rem;
}

.order-form textarea {
  min-height: 90px;
  resize: vertical;
}

.order-status {
  min-height: 1.3rem;
  margin-top: 0.15rem;
  font-weight: 600;
}
.order-status.success {
  color: #0f8f45;
}
.order-status.error {
  color: #bf2f2f;
}

.center-btn {
  text-align: center;
  margin-top: 2rem;
}
.mt-16 {
  margin-top: 4rem;
}
.text-center {
  text-align: center;
}

/* Footer */
footer {
  background: #0c120e;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
footer p {
  font-size: 0.95rem;
  font-weight: 500;
}
footer strong {
  color: white;
}

@media (max-width: 767px) {
  .hero .grid {
    gap: 2rem;
  }
  .product-info h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  .price {
    font-size: 2rem;
  }
  .product-card {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .product-card h3 {
    font-size: 1.5rem;
  }
  .benefits-section {
    padding: 4rem 0;
  }
  .benefits-header h2 {
    font-size: 2rem;
  }
  .problem-card .problem-image {
    height: 200px;
  }
  .contact-info,
  .how-to-order {
    padding: 2rem;
  }
  .contact-info h2,
  .how-to-order h3 {
    font-size: 1.5rem;
  }
}
