/* Loader Styles */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  animation: loader-slide 1.5s ease-out forwards;
}

.loader-logo {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.loader-logo .dot {
  color: var(--secondary);
}

.loader-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
  opacity: 0;
  animation: fade-in 0.5s ease-out 0.5s forwards;
}

@keyframes loader-slide {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fade-in {
  to { opacity: 1; }
}

:root {
  --primary: #1a1b26;
  --primary-hover: #24283b;
  --secondary: #e65100;
  --secondary-hover: #ff6d00;
  --bg-dark: #1a1b26;
  --bg-darker: #15161e;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #ffffff;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  top: 0 !important;
}

/* Hide Google Translate Banner and elements */
.skiptranslate iframe, .goog-te-banner-frame {
    display: none !important;
}
body { top: 0px !important; }

a {
  color: inherit;
  text-decoration: none;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(26, 27, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  color: var(--text-light);
  box-shadow: var(--glass-shadow);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 3px;
}
.mobile-cart-link {
  display: none !important;
}

/* Typographic Logo */
.brand-logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  display: flex;
  align-items: baseline;
}
.brand-text {
  color: #ffffff;
}
.brand-dot {
  color: var(--secondary);
  font-size: 2.5rem;
  line-height: 0;
  margin-left: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links > a {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.nav-links > a:hover, .nav-links > a.active {
  color: var(--secondary);
}

/* Custom Styled Language Selector */
.custom-lang-selector {
  position: relative;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 0.5rem 0;
  text-transform: uppercase;
}

.current-lang {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s ease;
}

.custom-lang-selector:hover .current-lang {
  color: var(--secondary);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  min-width: 120px;
  overflow: hidden;
  margin-top: 0.5rem;
  border: 1px solid var(--border-color);
  z-index: 1001;
}

.custom-lang-selector:hover .lang-dropdown {
  display: flex;
}

.lang-dropdown a {
  padding: 0.8rem 1.2rem;
  transition: background 0.2s, color 0.2s;
  color: var(--text-dark) !important;
  font-weight: 600;
  text-transform: none;
}

.lang-dropdown a:hover {
  background: #f8fafc;
  color: var(--secondary) !important;
}

.cart-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.cart-icon:hover {
  color: var(--secondary);
}

#cart-count {
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
  background-image: linear-gradient(to right, var(--bg-dark) 40%, transparent), url('assets/hero.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  color: var(--text-light);
  overflow: hidden;
}

#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.blueprint-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-darker) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: block;
  font-weight: 700;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--secondary);
  color: white;
}

.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: white;
}

/* Sections */
section {
  padding: 5rem 5%;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary);
  text-transform: uppercase;
}

/* Categories */
.categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.category-card {
  position: relative;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  background: var(--bg-dark);
}

.category-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, transparent 70%);
  z-index: 1;
}

.category-card img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-content {
  position: relative;
  z-index: 2;
  color: white;
}

.cat-num {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.category-content h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.category-content p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.browse-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.category-card:hover .browse-link {
  gap: 1rem;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-image-container {
  position: relative;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
}

.product-image-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain; /* Changed from cover to contain for exact assets */
  width: 100%;
  height: 100%;
  padding: 1rem;
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--secondary);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.3;
}

.product-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  flex-grow: 1;
}

.product-price-row {
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.2rem;
}

.product-volume {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.add-to-cart {
  width: 100%;
  background: var(--secondary);
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.add-to-cart:hover {
  background: var(--secondary-hover);
}

/* CTA Section */
.cta-section {
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Footer */
footer {
  padding: 4rem 5%;
  background: var(--bg-dark);
  color: var(--text-light);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  color: #cbd5e1;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Cart Sidebar (Hidden by default) */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  border-left: 1px solid var(--border-color);
  z-index: 2000;
  padding: 2rem;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  color: var(--text-dark);
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.close-cart {
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-title {
  font-weight: 600;
}

.remove-item {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
}

.cart-footer {
  margin-top: 2rem;
  padding-top: 1rem;
}

.cart-empty-msg {
  color: var(--text-muted);
  text-align: center;
  margin-top: 2rem;
}

/* Page Headers for subpages */
.page-header {
  padding: 10rem 5% 4rem;
  background: var(--bg-dark);
  color: white;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-header .catalog-num {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    justify-content: space-between;
  }
  .hamburger {
    display: flex;
  }
  .cart-icon {
    display: none !important;
  }
  .mobile-cart-link {
    display: block !important;
    font-weight: bold !important;
    color: var(--secondary) !important;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 1.5rem 5%;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .hero h1 { font-size: 3rem; }
  .categories, .footer-content { grid-template-columns: 1fr; }
  .cart-sidebar { width: 100%; right: -100%; }
}

/* Floating WhatsApp Button */
.floating-wa {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease;
}
.floating-wa:hover {
  transform: scale(1.1) translateY(-5px);
}
.floating-wa svg {
  width: 35px;
  height: 35px;
}
.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-whatsapp:hover {
  background: #1da851;
}

/* Testimonials Section */
.testimonials {
  background: #f1f5f9;
  padding: 5rem 5%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  position: relative;
  transition: transform 0.3s ease;
}

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

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.1;
  font-family: serif;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Dynamic Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}



