* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fef8f0;
  color: #2d2418;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* WELCOME PAGE STYLES */
.welcome-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2d2418 0%, #5a3e2a 100%);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
}

.welcome-page.hide {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
}

.welcome-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.pexels.com/photos/1132558/pexels-photo-1132558.jpeg?auto=compress&cs=tinysrgb&w=1600');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
}

.welcome-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInUp 0.8s ease;
  max-width: 700px;
  padding: 2rem;
}

.welcome-logo {
  margin-bottom: 2rem;
  animation: floatGlow 2s ease-in-out infinite;
}

.welcome-logo i {
  font-size: 5rem;
  color: #f5bc8c;
  margin-bottom: 1rem;
}

.welcome-logo h1 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  color: #f5bc8c;
  letter-spacing: 2px;
}

.welcome-text h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.welcome-text p {
  font-size: 1.1rem;
  color: #ffeedd;
  margin-bottom: 2rem;
}

.welcome-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.feature i {
  font-size: 1.3rem;
  color: #f5bc8c;
}

.feature span {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}

.enter-btn {
  background: linear-gradient(135deg, #c26e3c, #e08e4a);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.enter-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(194,110,60,0.4);
  gap: 1rem;
}

.enter-btn i {
  transition: transform 0.3s;
}

.enter-btn:hover i {
  transform: translateX(5px);
}

/* Main Content */
.main-content {
  transition: all 0.5s ease;
}

.main-content.hidden {
  display: none;
}

.main-content.visible {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f3e5d8;
}
::-webkit-scrollbar-thumb {
  background: #c26e3c;
  border-radius: 20px;
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(35px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes floatGlow {
  0%, 100% { transform: translateY(0px); text-shadow: 0 0 0 rgba(194,110,60,0);}
  50% { transform: translateY(-10px); text-shadow: 0 8px 20px rgba(194,110,60,0.3);}
}

@keyframes pulseGlow {
  0% { box-shadow: 0 5px 15px rgba(194,110,60,0.2);}
  100% { box-shadow: 0 8px 25px rgba(194,110,60,0.5);}
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header & Nav */
header {
  background: rgba(255, 250, 245, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  background: linear-gradient(135deg, #b35f2b, #e08e4a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo p {
  font-size: 0.75rem;
  color: #b97f54;
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  font-weight: 500;
  color: #4a3522;
  transition: 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: #c26e3c;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #c26e3c;
  transition: 0.3s;
}

.nav-links a:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), url('https://images.pexels.com/photos/1132558/pexels-photo-1132558.jpeg?auto=compress&cs=tinysrgb&w=1600');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  padding: 5rem 2rem 6rem;
  text-align: center;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.2));
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease;
}

.hero-content h2 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 1rem auto;
  color: #fff3e8;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-badge {
  display: inline-block;
  background: rgba(194, 110, 60, 0.9);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1.5rem;
  border-radius: 60px;
  font-weight: 600;
  color: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Filter Section */
.filter-section {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid #e2cbb6;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
  font-family: 'Inter', sans-serif;
  color: #5a3e2a;
}

.filter-btn.active, .filter-btn:hover {
  background: #c26e3c;
  border-color: #c26e3c;
  color: white;
  transform: scale(0.96);
  box-shadow: 0 6px 14px rgba(194,110,60,0.3);
}

/* Products Grid */
.products-grid {
  max-width: 1300px;
  margin: 2rem auto 4rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: 0 12px 26px -12px rgba(0,0,0,0.08);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 28px 36px -16px rgba(194,110,60,0.35);
}

.product-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.2));
  opacity: 0;
  transition: 0.3s;
}

.product-card:hover .product-img::before {
  opacity: 1;
}

.product-img i {
  font-size: 3rem;
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1;
}

.product-info {
  padding: 1.2rem;
  background: white;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #352617;
}

.product-type {
  font-size: 0.75rem;
  background: #f3ede7;
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 40px;
  margin-bottom: 0.6rem;
  color: #b35f2b;
}

.price {
  font-weight: 700;
  color: #c26e3c;
  font-size: 1.2rem;
}

.order-hint {
  opacity: 0;
  transform: translateY(10px);
  transition: 0.2s;
  font-size: 0.8rem;
  color: #b35f2b;
  margin-top: 0.5rem;
}

.product-card:hover .order-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Support Section */
.support-section {
  background: linear-gradient(135deg, #2d2418, #3a2c1f);
  border-radius: 50px;
  margin: 2rem 1.5rem 3rem;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.support-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,240,0.1);
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  backdrop-filter: blur(4px);
  transition: transform 0.3s;
}

.support-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,240,0.2);
}

.support-card i {
  font-size: 1.8rem;
  color: #f5bc8c;
}

.support-card h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #ffeedd;
}

.support-card p {
  font-size: 0.9rem;
  color: #f5cfb0;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #eedbcb;
  font-size: 0.85rem;
  color: #866644;
  background: rgba(255,250,245,0.9);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: linear-gradient(135deg, #fffbf5, #fff7f0);
  max-width: 380px;
  width: 90%;
  padding: 2rem;
  border-radius: 48px;
  text-align: center;
  box-shadow: 0 25px 40px rgba(0,0,0,0.3);
  animation: pulseGlow 0.3s forwards;
}

.modal-content h3 {
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  color: #c26e3c;
  margin: 1rem 0;
}

.modal-close {
  background: #c26e3c;
  border: none;
  color: white;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  margin-top: 1rem;
  cursor: pointer;
  font-weight: bold;
}

.modal-close:hover {
  background: #a05a2c;
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2c5f2d, #1e451f);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 500;
  z-index: 1100;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  animation: fadeInUp 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .nav-links a {
    margin: 0 0.8rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero {
    background-attachment: scroll;
  }
  
  .support-section {
    flex-direction: column;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
  
  .welcome-logo h1 {
    font-size: 2rem;
  }
  
  .welcome-text h2 {
    font-size: 1.5rem;
  }
  
  .welcome-features {
    grid-template-columns: 1fr;
  }
}