/* ===== Base & Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: #FADADD;
  color: #7B2434;
}

/* ===== Navigation ===== */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #7B2434;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

#navbar.scrolled {
  background-color: rgba(255, 251, 245, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(123, 36, 52, 0.08);
}

#navbar.scrolled .nav-link {
  color: #7B2434;
}

#navbar.scrolled .nav-link::after {
  background-color: #7B2434;
}

/* Mobile menu */
.mobile-link {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.2s ease;
}

.mobile-link:hover {
  padding-left: 8px;
}

/* ===== Hero Shapes ===== */
.shape-blob-1 {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #FADADD 0%, #ffb8c4 100%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  opacity: 0.4;
  animation: blobMorph 8s ease-in-out infinite;
}

.shape-blob-2 {
  position: absolute;
  bottom: 15%;
  left: 2%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #7B2434 0%, #eb6e86 100%);
  border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
  opacity: 0.15;
  animation: blobMorph 10s ease-in-out infinite reverse;
}

.shape-blob-3 {
  position: absolute;
  top: 40%;
  left: 30%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #FADADD 0%, #ffd4d9 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.3;
  animation: blobMorph 6s ease-in-out infinite;
}

.shape-geo-1 {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: #7B2434;
  opacity: 0.08;
  transform: rotate(45deg);
  animation: floatShape 6s ease-in-out infinite;
}

.shape-geo-2 {
  position: absolute;
  bottom: 25%;
  right: 15%;
  width: 60px;
  height: 60px;
  background: #FADADD;
  opacity: 0.5;
  border-radius: 50%;
  animation: floatShape 8s ease-in-out infinite reverse;
}

.shape-geo-3 {
  position: absolute;
  top: 60%;
  right: 5%;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(123, 36, 52, 0.06);
  animation: floatShape 7s ease-in-out infinite;
}

@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
  75% { border-radius: 60% 30% 60% 50% / 60% 40% 60% 30%; }
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-20px) rotate(50deg); }
}

/* ===== Floating Cards ===== */
.floating-card {
  animation: floatCard 4s ease-in-out infinite;
}

.card-fresh {
  animation-delay: 0s;
}

.card-local {
  animation-delay: 1.3s;
}

.card-quality {
  animation-delay: 2.6s;
}

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

@keyframes float-1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

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

@keyframes float-3 {
  0%, 100% { transform: rotate(3deg) translateY(0px); }
  50% { transform: rotate(3deg) translateY(-10px); }
}

/* ===== Product Cards ===== */
.product-card {
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

/* ===== Gallery ===== */
.gallery-item {
  cursor: pointer;
  transition: transform 0.4s ease;
}

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

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== Hamburger Animation ===== */
.hamburger-line {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

#mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 20px;
  margin-right: 0;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FFFBF5;
}

::-webkit-scrollbar-thumb {
  background: #FADADD;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #7B2434;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .shape-blob-1 {
    width: 250px;
    height: 250px;
  }
  .shape-blob-2 {
    width: 180px;
    height: 180px;
  }
  .shape-blob-3 {
    width: 120px;
    height: 120px;
  }
  .floating-card {
    display: none;
  }
}
