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

body {
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  background: #fff8f5;
}

.app-logo {
  width: 60px;
  border-radius: 50%;
}

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

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: #7b1f1f;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.navbar ul {
  list-style: none;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.navbar ul a {
  color: #ffd6c0;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}

.navbar ul a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: #ffd6c0;
  transition: width 0.3s ease;
}

.navbar ul a:hover::after { width: 100%; }

/* Hero */
.hero {
  height: 90vh;
  background: url('./images/types-pork-meat.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#pigCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(80,0,0,0.45) 0%, rgba(0,0,0,0.3) 100%);
}

/* Hero text entrance */
.animate-hero {
  animation: heroEntrance 1s 2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(255, 180, 120, 0.18);
  animation: floatUp linear infinite;
}

.hero-particles span:nth-child(1) { width:12px; height:12px; left:10%;  animation-duration:7s;  animation-delay:0s;   }
.hero-particles span:nth-child(2) { width:20px; height:20px; left:25%;  animation-duration:9s;  animation-delay:1s;   }
.hero-particles span:nth-child(3) { width:8px;  height:8px;  left:40%;  animation-duration:6s;  animation-delay:2s;   }
.hero-particles span:nth-child(4) { width:16px; height:16px; left:55%;  animation-duration:11s; animation-delay:0.5s; }
.hero-particles span:nth-child(5) { width:10px; height:10px; left:70%;  animation-duration:8s;  animation-delay:1.5s; }
.hero-particles span:nth-child(6) { width:24px; height:24px; left:82%;  animation-duration:10s; animation-delay:3s;   }
.hero-particles span:nth-child(7) { width:6px;  height:6px;  left:90%;  animation-duration:7s;  animation-delay:0.8s; }
.hero-particles span:nth-child(8) { width:14px; height:14px; left:5%;   animation-duration:12s; animation-delay:2.5s; }

@keyframes floatUp {
  0%   { bottom: -20px; opacity: 0;   transform: translateX(0) scale(1); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { bottom: 110%;  opacity: 0;   transform: translateX(30px) scale(1.3); }
}

/* Pulse button */
.btn-pulse {
  animation: btnPulse 2.5s 3s ease infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.5); }
  50%       { box-shadow: 0 0 0 12px rgba(192,57,43,0); }
}

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

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

.card.reveal:nth-child(2) { transition-delay: 0.15s; }
.card.reveal:nth-child(3) { transition-delay: 0.3s; }

.gallery-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.gallery-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.gallery-grid .reveal:nth-child(4) { transition-delay: 0.3s; }


/* Splash Screen */
.splash {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, #a02020 0%, #4a0a0a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.splash-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid rgba(255, 214, 192, 0.3);
  animation: ringPulse 1.8s ease-out infinite;
}

.splash-ring2 {
  width: 280px;
  height: 280px;
  animation-delay: 0.4s;
  border-color: rgba(255, 214, 192, 0.15);
}

@keyframes ringPulse {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.splash-logo {
  width: 130px;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255, 100, 50, 0.5);
  animation: splashPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.splash-text {
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  margin-top: 18px;
  letter-spacing: 2px;
  animation: splashSlideUp 0.6s 0.2s ease both;
}

.splash-tagline {
  color: #ffd6c0;
  font-size: 0.95rem;
  letter-spacing: 4px;
  margin-top: 8px;
  text-transform: uppercase;
  animation: splashSlideUp 0.6s 0.4s ease both;
}

@keyframes splashPop {
  from { transform: scale(0.4) rotate(-10deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);    opacity: 1; }
}

@keyframes splashSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.splash-hide {
  opacity: 0;
  transform: scale(1.05);
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.52);
  padding: 48px 60px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: #ffd6c0;
}

/* Button */
.btn {
  display: inline-block;
  padding: 12px 32px;
  background: #c0392b;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s;
}

.btn:hover {
  background: #96281b;
}

/* Menu */
.menu {
  padding: 64px 40px;
  text-align: center;
}

.menu h2 {
  font-size: 2rem;
  margin-bottom: 36px;
  color: #7b1f1f;
}

.cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  width: 260px;
  overflow: hidden;
  transition: transform 0.2s;
}

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

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 14px 16px 6px;
  color: #7b1f1f;
}

.card p {
  padding: 0 16px 18px;
  font-size: 0.9rem;
  color: #555;
}

/* Gallery */
.gallery {
  padding: 64px 40px;
  background: #ffeee8;
  text-align: center;
}

.gallery h2 {
  font-size: 2rem;
  margin-bottom: 32px;
  color: #7b1f1f;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.gallery-grid img:hover {
  opacity: 0.85;
}

/* Location */
.location {
  padding: 64px 40px;
  text-align: center;
}

.location h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #7b1f1f;
}

.location>p {
  margin-bottom: 32px;
  color: #555;
}

.location-grid {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.location-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
  padding: 24px;
  flex: 1;
  min-width: 280px;
  max-width: 460px;
  text-align: center;
}

.primary-card {
  border: 2px solid #c0392b;
  flex: 1.3;
}

.secondary-card {
  opacity: 0.88;
}

.primary-badge {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.primary-desc {
  font-weight: 600 !important;
  color: #333 !important;
}

.location-label {
  font-size: 1.2rem;
  font-weight: bold;
  color: #7b1f1f;
  margin-bottom: 8px;
}

.location-card p {
  color: #555;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.map-btn {
  margin-bottom: 16px;
  background: #2e7d32;
  display: inline-block;
}

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

.map-embed {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

/* Contact */
.contact {
  padding: 48px 40px;
  background: #ffeee8;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 28px;
  color: #7b1f1f;
}

.contact-numbers {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #222;
  transition: transform 0.2s;
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-icon {
  font-size: 2rem;
}

.contact-label {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 2px;
}

.contact-num {
  font-size: 1.2rem;
  font-weight: bold;
  color: #7b1f1f;
}

/* Footer */
footer {
  background: #7b1f1f;
  color: #ffd6c0;
  text-align: center;
  padding: 24px 20px;
  font-size: 0.9rem;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.footer-contact a {
  color: #ffd6c0;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-credit {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255,214,192,0.55);
}

.credit-link {
  color: #ff8a70;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(255,138,112,0.4);
  transition: color 0.2s, border-color 0.2s;
}

.credit-link:hover {
  color: #fff;
  border-color: #fff;
}



/* Responsive */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
  }


  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay {
    padding: 32px 24px;
  }

  .menu,
  .gallery,
  .location {
    padding: 40px 20px;
  }
}