/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Outfit:wght@500;700&display=swap');

:root {
  --primary-color: #0d6efd;
  --secondary-color: #FF9900;
  --bg-color: #F8FAFC;
  --card-bg: #FFFFFF;
  --text-light: #1A1A1A;
  --text-muted: #666666;
  --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, .brand-logo {
  font-family: 'Outfit', sans-serif;
}

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

ul {
  list-style: none;
}

/* Glassmorphism Utility */
.glass-card {
  background-color: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-radius: 12px;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-light);
}

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

.nav-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-icons i {
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.nav-icons i:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* --- FOOTER --- */
footer {
  background-color: #E2E8F0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 60px 0 20px 0;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-muted);
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-color);
}
.btn-primary:hover {
  background-color: #00b8cc;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}
.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.btn-outline:hover {
  background-color: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}
.w-100 {
  width: 100%;
}
.text-accent {
  color: var(--primary-color);
}

/* --- HERO SECTION --- */
.hero {
  padding-top: 120px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-text {
  flex: 1;
}
.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
}
.hero-image {
  flex: 1;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle, rgba(13,110,253,0.1) 0%, transparent 70%);
}
.hero-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* --- SECTIONS & COMPONENTS --- */
section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.underline {
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 0 auto;
  border-radius: 2px;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.category-card {
  padding: 40px;
  text-align: center;
  transition: transform 0.3s ease;
}
.category-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.category-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

/* Trending Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.product-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.product-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 10px;
}
.product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.rating {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* --- SHOP PAGE --- */
.shop-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.shop-sidebar {
  flex: 0 0 280px;
  padding: 30px;
  position: sticky;
  top: 100px;
}
.shop-sidebar h3 {
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}
.filter-group {
  margin-bottom: 25px;
}
.filter-group h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 1rem;
}
.filter-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-group label:hover {
  color: var(--text-light);
}
.shop-products {
  flex: 1;
}

/* --- PRODUCT DETAIL PAGE --- */
.product-detail-layout {
  display: flex;
  gap: 50px;
  margin-top: 20px;
}
.product-gallery {
  flex: 1;
}
.main-image {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
}
.thumbnail-row {
  display: flex;
  gap: 15px;
}
.thumb {
  flex: 1;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.6;
  font-size: 2rem;
  transition: var(--transition);
}
.thumb.active, .thumb:hover {
  opacity: 1;
  border-color: var(--primary-color);
}
.product-info-detail {
  flex: 1;
}
.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
}
.main-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 10px;
}
.product-info-detail .price {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin: 15px 0 20px 0;
}
.product-info-detail .description {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
}
.variations {
  margin-bottom: 25px;
}
.variations h4 {
  margin-bottom: 10px;
}
.variation-options {
  display: flex;
  gap: 15px;
}
.var-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-light);
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}
.var-btn.active, .var-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.var-btn.color-swatch {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}
.var-btn.color-swatch.active {
  box-shadow: 0 0 0 3px var(--bg-color), 0 0 0 5px var(--primary-color);
}
.product-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}
.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
  border: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-whatsapp:hover {
  background-color: #1ebe57;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}
.specs-box {
  padding: 25px;
}
.specs-box h3 {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}
.specs-box ul li {
  margin-bottom: 10px;
  color: var(--text-muted);
}
.specs-box ul li strong {
  color: var(--text-light);
}
.mt-30 {
  margin-top: 30px;
}

/* --- CONTACT PAGE --- */
.contact-layout {
  display: flex;
  gap: 40px;
}
.contact-info {
  flex: 1;
}
.contact-map {
  flex: 1;
  padding: 10px;
  overflow: hidden;
}
.contact-map iframe {
  border-radius: 8px;
}
.form-group {
  margin-bottom: 20px;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-light);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(0, 0, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    font-size: 1.5rem;
  }
  
  /* Hamburger Animation */
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-text p {
    margin: 0 auto 30px auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .trust-badges {
    justify-content: center;
  }
  .hero-image {
    width: 100%;
    margin-top: 40px;
  }
  
  .shop-layout {
    flex-direction: column;
  }
  .shop-sidebar {
    position: static;
    width: 100%;
    margin-bottom: 40px;
  }
  
  .product-detail-layout {
    flex-direction: column;
  }
  .product-actions {
    flex-direction: column;
  }
  
  .contact-layout {
    flex-direction: column;
  }
}
