/* ===================================
   IDEA POULTRY FARMING - STYLE SHEET
   Premium Agriculture Business Website
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --clr-primary: #1b5e20;
  --clr-primary-dark: #0d3b12;
  --clr-primary-light: #2e7d32;
  --clr-secondary: #2e7d32;
  --clr-accent: #f9a825;
  --clr-accent-light: #fdd835;
  --clr-accent-dark: #c17900;
  --clr-bg: #ffffff;
  --clr-bg-alt: #f1f8e9;
  --clr-bg-section: #f9fbf2;
  --clr-text: #263238;
  --clr-text-light: #546e7a;
  --clr-text-muted: #78909c;
  --clr-white: #ffffff;
  --clr-black: #0a0a0a;

  /* Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    #1b5e20 0%,
    #2e7d32 50%,
    #388e3c 100%
  );
  --gradient-gold: linear-gradient(135deg, #f9a825 0%, #fdd835 100%);
  --gradient-hero: linear-gradient(
    180deg,
    rgba(27, 94, 32, 0.85) 0%,
    rgba(13, 59, 18, 0.92) 100%
  );
  --gradient-dark: linear-gradient(135deg, #0d3b12 0%, #1b5e20 100%);
  --gradient-card: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(241, 248, 233, 0.6) 100%
  );

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Typography */
  --ff-primary: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-hero-title: clamp(2.5rem, 6vw, 4.5rem);
  --fs-section-title: clamp(2rem, 4vw, 3rem);
  --fs-h3: clamp(1.25rem, 2.5vw, 1.5rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(27, 94, 32, 0.06);
  --shadow-md: 0 4px 20px rgba(27, 94, 32, 0.1);
  --shadow-lg: 0 8px 40px rgba(27, 94, 32, 0.12);
  --shadow-xl: 0 16px 64px rgba(27, 94, 32, 0.15);
  --shadow-gold: 0 4px 20px rgba(249, 168, 37, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Header */
  --header-height: 80px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== UTILITY ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.text-gold {
  color: var(--clr-accent);
}

.glass-card {
  background: var(--gradient-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(27, 94, 32, 0.08);
  border-radius: var(--radius-xl);
}

/* ===== SECTION HEADER ===== */
.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: rgba(27, 94, 32, 0.08);
  padding: 8px 24px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section__title {
  font-size: var(--fs-section-title);
  font-weight: 800;
  color: var(--clr-text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__line {
  width: 60px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: var(--gradient-gold);
  color: var(--clr-primary-dark);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249, 168, 37, 0.45);
}

.btn--primary:active {
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
}

.btn--full {
  width: 100%;
}

.btn-icon {
  font-size: 1.15em;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
  height: var(--header-height);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(27, 94, 32, 0.08);
}

.header.scrolled .nav__link {
  color: var(--clr-text);
}

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active {
  color: var(--clr-primary);
}

.header.scrolled .nav__logo .logo-text {
  color: var(--clr-accent);
}

.header.scrolled .nav__logo .logo-highlight {
  color: var(--clr-primary);
}

.header.scrolled .nav__toggle span {
  background: var(--clr-text);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-white);
  transition: color var(--transition-base);
}

.logo-highlight {
  color: var(--clr-accent);
  transition: color var(--transition-base);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 20px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
}

.nav__link:hover {
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.1);
}

.nav__link.active {
  color: var(--clr-accent);
  background: rgba(249, 168, 37, 0.12);
}

.nav__toggle,
.nav__close {
  display: none;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("images/hero-bg.png") center/cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: rgba(249, 168, 37, 0.15);
  border: 1px solid rgba(249, 168, 37, 0.3);
  border-radius: var(--radius-full);
  color: var(--clr-accent-light);
  font-size: var(--fs-small);
  font-weight: 500;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--clr-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero__title {
  font-size: var(--fs-hero-title);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 28px 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--clr-accent);
  line-height: 1;
}

.stat__suffix {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--clr-accent);
}

.stat__label {
  display: block;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  margin-top: 4px;
}

.stat__divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.scroll-indicator:hover {
  color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator__mouse {
  width: 26px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator__wheel {
  width: 3px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

.scroll-indicator__text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--clr-bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.about__image:hover img {
  transform: scale(1.05);
}

.about__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(27, 94, 32, 0.2));
  border-radius: var(--radius-xl);
}

.about__image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--gradient-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-gold);
  z-index: 2;
}

.badge-number {
  font-size: 2rem;
}

.badge-text {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--clr-primary-dark);
  line-height: 1.3;
}

.about__heading {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about__text {
  font-size: var(--fs-body);
  color: var(--clr-text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--clr-white);
}

.feature__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 94, 32, 0.08);
  border-radius: var(--radius-sm);
}

.feature__info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 2px;
}

.feature__info p {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
}

/* ===== PRODUCTS SECTION ===== */
.products {
  background: var(--clr-bg-section);
  position: relative;
  overflow: hidden;
}

.products::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(27, 94, 32, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.products::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(249, 168, 37, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27, 94, 32, 0.06);
  transition: all var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(27, 94, 32, 0.12);
}

.product-card__image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-card__image img {
  transform: scale(1.1);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(27, 94, 32, 0.6) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

.product-card__emoji {
  font-size: 3rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.product-card__body {
  padding: 28px;
}

.product-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--clr-primary);
  background: rgba(27, 94, 32, 0.08);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.product-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
}

.product-card__desc {
  font-size: var(--fs-small);
  color: var(--clr-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--clr-bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-card {
  padding: 40px;
  background: var(--gradient-card);
  border: 1px solid rgba(27, 94, 32, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 4px;
}

.contact-card__subtitle {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  margin-bottom: 32px;
}

.contact-card__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(27, 94, 32, 0.04);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.contact-item:hover {
  background: rgba(27, 94, 32, 0.08);
  transform: translateX(4px);
}

.contact-item__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-sm);
}

.contact-item__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--clr-text-muted);
  margin-bottom: 2px;
}

.contact-item__value {
  font-size: var(--fs-small);
  color: var(--clr-text);
  font-weight: 500;
  line-height: 1.6;
}

a.contact-item__value:hover {
  color: var(--clr-primary);
}

.contact-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card__actions .btn--primary {
  color: var(--clr-primary-dark);
}

.contact-card__actions .btn--outline {
  color: var(--clr-primary);
  border-color: rgba(27, 94, 32, 0.25);
}

.contact-card__actions .btn--outline:hover {
  background: rgba(27, 94, 32, 0.06);
  border-color: var(--clr-primary);
}

.map-wrapper {
  height: 100%;
  min-height: 420px;
  padding: 8px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gradient-dark);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-top: 60px;
}

.footer__wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  color: var(--clr-bg);
}

.footer__wave svg {
  width: 100%;
  height: 80px;
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer__logo .logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-white);
}

.footer__logo .logo-highlight {
  color: var(--clr-accent);
}

.footer__tagline {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__links a {
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
  position: relative;
}

.footer__links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.footer__links a:hover {
  color: var(--clr-accent);
}

.footer__links a:hover::after {
  width: 100%;
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.4);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ===== ANIMATIONS ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-up"].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-down"] {
  transform: translateY(-40px);
}

[data-animate="fade-down"].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate="fade-right"].animated {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="fade-left"].animated {
  opacity: 1;
  transform: translateX(0);
}

/* ===== FLOATING PARTICLES ===== */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(249, 168, 37, 0.3);
  border-radius: 50%;
  animation: float-particle linear infinite;
  pointer-events: none;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .about__grid {
    gap: 40px;
  }

  .about__features {
    grid-template-columns: 1fr;
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__stats {
    gap: 24px;
    padding: 20px 32px;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
    --header-height: 70px;
  }

  /* Mobile Nav */
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--gradient-dark);
    padding: 100px 32px 32px;
    transition: right var(--transition-smooth);
    z-index: 1000;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  }

  .nav__menu.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 8px;
  }

  .nav__link {
    display: block;
    padding: 14px 20px;
    font-size: 1rem;
    color: #ffffff;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
  }

  .nav__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
  }

  .nav__link.active {
    color: var(--clr-accent);
    background: rgba(255, 255, 255, 0.2);
  }

  .header.scrolled .nav__link {
    color: #fff !important;
  }

  .header.scrolled .nav__link:hover,
  .header.scrolled .nav__link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
  }

  .nav__close {
    display: flex;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--clr-white);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
  }

  .nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    cursor: pointer;
    z-index: 999;
    background: none;
    border: none;
  }

  .nav__toggle span {
    width: 100%;
    height: 2.5px;
    background: var(--clr-white);
    border-radius: 2px;
    transition: all var(--transition-base);
  }

  .nav__toggle span:nth-child(2) {
    width: 70%;
  }

  /* Mobile Menu Overlay */
  .nav__menu::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: -1;
  }

  .nav__menu.active::before {
    opacity: 1;
    visibility: visible;
  }

  /* Hero */
  .hero__content {
    padding: 100px 16px 60px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .stat__divider {
    width: 48px;
    height: 1px;
  }

  .hero__scroll {
    display: none;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__image-badge {
    bottom: -12px;
    right: 12px;
    padding: 12px 18px;
  }

  /* Products */
  .products__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    min-height: 320px;
  }

  .contact-card {
    padding: 28px;
  }

  /* Footer */
  .footer__content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer__links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Back to top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .section__header {
    margin-bottom: 40px;
  }

  .hero__badge {
    font-size: 0.75rem;
    padding: 6px 16px;
  }

  .btn {
    padding: 14px 28px;
    font-size: var(--fs-small);
  }

  .about__features {
    gap: 12px;
  }

  .feature {
    padding: 12px;
  }

  .product-card__body {
    padding: 20px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

.product-card__image {
  position: relative;
  overflow: hidden;
}

.product-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-slide.active {
  opacity: 1;
}

.img-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  z-index: 20;
}

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

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

.img-btn:hover {
  background: #1b5e20;
}

.footer__links-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer__madeby {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

.footer__madeby a {
  color: var(--clr-accent);
  font-weight: 700;
  font-size: 1.5rem;
  transition: 0.3s;
}

.footer__madeby a:hover {
  color: #fff;
}
