/* ==========================================================================
   IShan Industries - Premium Design System
   ========================================================================== */

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

:root {
  /* Premium Color Palette */
  --bg-dark: #0a0a0c;
  --bg-card: #15161a;
  --bg-card-hover: #1e1f25;
  
  --text-primary: #ffffff;
  --text-secondary: #a0a0a5;
  
  --accent-gold: #d4af37;
  --accent-gold-light: #f3e5ab;
  --accent-gold-dark: #aa8620;
  
  --accent-silver: #c0c0c0;
  --accent-bronze: #cd7f32;
  
  --glow-gold: rgba(212, 175, 55, 0.2);
  --glow-gold-strong: rgba(212, 175, 55, 0.4);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Layout */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  --border-radius: 12px;
  --border-radius-lg: 24px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.gradient-text-gold {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold), var(--accent-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-center { text-align: center; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mt-lg { margin-top: var(--spacing-lg); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section-padding {
  padding: var(--spacing-xl) 0;
}

/* ==========================================================================
   Glassmorphism & Components
   ========================================================================== */
.glass-panel {
  background: rgba(21, 22, 26, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: var(--bg-dark);
  box-shadow: 0 4px 15px var(--glow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow-gold-strong);
}

.btn-outline {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.btn-outline:hover {
  background: var(--glow-gold);
  transform: translateY(-2px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar.scrolled {
  padding: 0.85rem 0;
  background: #0a0a0c;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.brand-logo img {
  height: 40px;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  align-items: center;
  white-space: nowrap;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

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

/* Customer Geo-Location Badge */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent-gold-light);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.location-badge:hover {
  background: var(--glow-gold);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  box-shadow: 0 0 15px var(--glow-gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: #15161a;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--border-radius);
  padding: 0.8rem 0;
  min-width: 220px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0.5rem 1.5rem;
}

.dropdown-menu a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: block;
}

.dropdown-menu a:hover {
  color: var(--accent-gold-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--glow-gold) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: pulse 8s infinite alternate;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5.5rem);
  margin-bottom: var(--spacing-md);
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-inline: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ==========================================================================
   Grid & Cards
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(212,175,55,0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  border-color: rgba(212,175,55,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-img {
  width: 100%;
  height: 220px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-icon {
  width: 60px;
  height: 60px;
  background: rgba(212,175,55,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
  font-size: 1.5rem;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.product-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold);
  font-weight: 600;
  font-family: var(--font-display);
}

.card-link svg {
  transition: transform 0.3s ease;
}

.product-card:hover .card-link svg {
  transform: translateX(5px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: var(--spacing-lg);
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  z-index: 100000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ==========================================================================
   Print Optimization (@media print)
   ========================================================================== */
@media print {
  .navbar, .whatsapp-float, .footer, .btn, .search-box {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .product-card, .product-item, .step-card {
    border: 1px solid #ccc !important;
    background: #fff !important;
    color: #000 !important;
    page-break-inside: avoid;
  }
  h1, h2, h3, h4, .gradient-text-gold {
    color: #000 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
  }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile menu needed */
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
