/*
Theme Name: DrugAR
Description: Converted HTML landing page
Version: 1.0
Author: Sreten Zujkic Penzioner
*/
:root {
  --bg: #f8f9fa;
  --section-bg: #ffffff;
  --section-alt: #f3f4f6;
  --text: #1f2937;
  --heading: #111827;
  --subtext: #6b7280;
  --nav-bg: rgba(255,255,255,0.98);
  --nav-shadow: rgba(0,0,0,0.04);
  --card-shadow: rgba(0,0,0,0.06);
  --card-hover-shadow: rgba(0,0,0,0.12);
  --btn-bg: #4b5563;
  --btn-hover: #374151;
  --accent: #9ca3af;
  --border: #e5e7eb;
  --feature-icon-bg: #f3f4f6;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Inter', sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.7;
  opacity:0;
  transition:opacity 0.8s ease, background 0.4s ease, color 0.4s ease;
  overflow-x:hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.dark {
  --bg: #0a0e13;
  --section-bg: #111827;
  --section-alt: #1a202c;
  --text: #e5e7eb;
  --heading: #f9fafb;
  --subtext: #9ca3af;
  --nav-bg: rgba(17,24,39,0.98);
  --nav-shadow: rgba(0,0,0,0.6);
  --card-shadow: rgba(0,0,0,0.4);
  --card-hover-shadow: rgba(0,0,0,0.6);
  --btn-bg: #6b7280;
  --btn-hover: #9ca3af;
  --accent: #6b7280;
  --border: #374151;
  --feature-icon-bg: #1f2937;
}
body.loaded { opacity:1; }

nav {
  position: fixed;
  top:0;
  left:0;
  right:0;
  background:var(--nav-bg);
  backdrop-filter:blur(20px);
  padding:20px 0;
  box-shadow:0 1px 3px var(--nav-shadow);
  z-index:1000;
  transition:all 0.4s ease;
  border-bottom:1px solid var(--border);
}
nav.scrolled {
  padding:14px 0;
  box-shadow:0 4px 16px var(--nav-shadow);
}
.nav-container {
  max-width:1400px;
  margin:0 auto;
  padding:0 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.nav-logo {
  font-size:22px;
  font-weight:700;
  color:var(--heading);
  text-decoration:none;
  letter-spacing:-0.02em;
  transition:color 0.3s ease;
}
.nav-logo:hover { color:var(--btn-bg); }
.nav-links {
  display:flex;
  gap:8px;
  align-items:center;
}
nav a:not(.nav-logo) {
  color:var(--subtext);
  text-decoration:none;
  font-weight:500;
  padding:10px 20px;
  border-radius:8px;
  transition:all 0.3s ease;
  font-size:15px;
  display:flex;
  align-items:center;
  gap:8px;
}
nav a:not(.nav-logo):hover { 
  background:var(--feature-icon-bg); 
  color:var(--heading);
}
nav a.active { 
  background:var(--btn-bg); 
  color:#fff; 
}
.toggle-btn {
  cursor:pointer;
  padding:10px;
  border-radius:8px;
  transition:all 0.3s ease;
  display:flex;
  align-items:center;
}
.toggle-btn:hover { background:var(--feature-icon-bg); transform:rotate(20deg); }
.toggle-btn img { width:20px; height:20px; }
.hamburger {
  display:none;
  cursor:pointer;
  width:28px;
  height:28px;
  position:relative;
}
.hamburger span {
  display:block;
  width:100%;
  height:2px;
  background:var(--subtext);
  border-radius:2px;
  position:absolute;
  left:0;
  transition:all 0.3s ease;
}
.hamburger span:nth-child(1) { top:7px; }
.hamburger span:nth-child(2) { top:13px; }
.hamburger span:nth-child(3) { top:19px; }
.hamburger.active span:nth-child(1) { top:13px; transform:rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { top:13px; transform:rotate(-45deg); }

header {
  padding:180px 40px 140px;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  position:relative;
  overflow:hidden;
  background:var(--section-bg);
  text-align:center;
}
header::before {
  content:'';
  position:absolute;
  top:-50%;
  left:-50%;
  width:200%;
  height:200%;
  background:
    radial-gradient(circle at 30% 40%, rgba(107,114,128,0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(156,163,175,0.06) 0%, transparent 50%);
  animation:headerFloat 20s ease-in-out infinite;
  z-index:0;
}
header::after {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:
    linear-gradient(0deg, var(--section-bg) 0%, transparent 20%),
    linear-gradient(180deg, var(--section-bg) 0%, transparent 20%);
  z-index:1;
}
.grid-background {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size:80px 80px;
  opacity:0.3;
  animation:gridMove 20s linear infinite;
  z-index:0;
}
@keyframes gridMove {
  0% { transform:translate(0, 0); }
  100% { transform:translate(80px, 80px); }
}
body.dark header::before {
  background:
    radial-gradient(circle at 30% 40%, rgba(107,114,128,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(156,163,175,0.1) 0%, transparent 50%);
}
@keyframes headerFloat {
  0%, 100% { transform:translate(0, 0) rotate(0deg); }
  33% { transform:translate(30px, -30px) rotate(5deg); }
  66% { transform:translate(-20px, 20px) rotate(-5deg); }
}
.header-content { 
  position:relative; 
  z-index:2; 
  max-width:1000px;
  opacity:0;
  animation:fadeInUp 1s ease forwards 0.3s;
}
@keyframes fadeInUp {
  to { opacity:1; transform:translateY(0); }
  from { opacity:0; transform:translateY(30px); }
}
.header-badge {
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:12px 24px;
  background:var(--feature-icon-bg);
  border:1px solid var(--border);
  border-radius:50px;
  font-size:14px;
  font-weight:600;
  color:var(--subtext);
  margin-bottom:30px;
  animation:fadeInUp 1s ease forwards 0.5s;
  opacity:0;
}
.header-badge .badge-dot {
  width:8px;
  height:8px;
  background:linear-gradient(135deg, #10b981, #34d399);
  border-radius:50%;
  animation:pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity:1; transform:scale(1); }
  50% { opacity:0.6; transform:scale(1.2); }
}
.logo-container {
  margin-bottom:50px;
  position:relative;
  display:inline-block;
}
.logo {
  width:100%;
  max-width:420px;
  transition:transform 0.5s ease, filter 0.5s ease;
  filter:drop-shadow(0 10px 30px rgba(0,0,0,0.08));
  animation:float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform:translateY(0); }
  50% { transform:translateY(-20px); }
}
.logo-container:hover .logo { 
  transform:scale(1.03) translateY(-20px); 
  filter:drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}
h1 { 
  font-size:clamp(40px, 6vw, 72px); 
  margin:0 0 28px; 
  color:var(--heading); 
  font-weight:800; 
  letter-spacing:-0.03em;
  line-height:1.1;
}
h1 .gradient-text {
  background:linear-gradient(135deg, var(--heading) 0%, var(--subtext) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  display:inline-block;
}
.subtitle {
  font-size:clamp(18px, 2.5vw, 24px);
  color:var(--subtext);
  max-width:780px;
  margin:0 auto 50px;
  font-weight:400;
  line-height:1.6;
}
.header-buttons {
  display:flex;
  gap:20px;
  justify-content:center;
  flex-wrap:wrap;
}
.btn {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:16px 40px;
  background:var(--btn-bg);
  color:#fff;
  text-decoration:none;
  border-radius:10px;
  font-weight:600;
  font-size:16px;
  transition:all 0.4s ease;
  box-shadow:0 4px 14px var(--card-shadow);
  border:2px solid transparent;
  position:relative;
  overflow:hidden;
}
.btn::before {
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:0;
  height:0;
  border-radius:50%;
  background:rgba(255,255,255,0.1);
  transform:translate(-50%, -50%);
  transition:width 0.6s ease, height 0.6s ease;
}
.btn:hover::before {
  width:300px;
  height:300px;
}
.btn:hover {
  background:var(--btn-hover);
  transform:translateY(-3px);
  box-shadow:0 8px 24px var(--card-hover-shadow);
}
.btn-secondary {
  background:transparent;
  color:var(--heading);
  border:2px solid var(--border);
  box-shadow:none;
}
.btn-secondary:hover {
  background:var(--feature-icon-bg);
  border-color:var(--btn-bg);
}

.stats-section {
  background:var(--section-alt);
  padding:80px 40px;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.stats-container {
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:60px;
  text-align:center;
}
.stat-item {
  opacity:0;
  transform:translateY(20px);
  transition:all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-item.visible { 
  opacity:1; 
  transform:translateY(0);
  animation:statPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes statPop {
  0% { transform:translateY(20px) scale(0.8); opacity:0; }
  50% { transform:translateY(-10px) scale(1.1); }
  100% { transform:translateY(0) scale(1); opacity:1; }
}
.stat-number {
  font-size:clamp(36px, 5vw, 52px);
  font-weight:800;
  color:var(--heading);
  margin-bottom:12px;
  letter-spacing:-0.02em;
  background:linear-gradient(135deg, var(--heading) 0%, var(--subtext) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.stat-label {
  font-size:16px;
  color:var(--subtext);
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:0.05em;
}

.services-section {
  padding:120px 40px;
  background:var(--section-bg);
}
.section-header {
  text-align:center;
  max-width:800px;
  margin:0 auto 80px;
}
.section-label {
  font-size:14px;
  font-weight:600;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:0.1em;
  margin-bottom:16px;
}
h2 {
  font-size:clamp(32px, 5vw, 48px);
  color:var(--heading);
  font-weight:800;
  margin-bottom:20px;
  letter-spacing:-0.02em;
  line-height:1.2;
}
.section-description {
  font-size:18px;
  color:var(--subtext);
  line-height:1.7;
}
.services-grid {
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  gap:32px;
  perspective:1000px;
}
.service-card {
  background:var(--section-bg);
  padding:48px 40px;
  border-radius:16px;
  border:1px solid var(--border);
  transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity:0;
  transform:translateY(30px);
  position:relative;
  overflow:hidden;
  transform-style:preserve-3d;
}
.service-card::before {
  content:'';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(107,114,128,0.05), transparent);
  transition:left 0.6s ease;
}
.service-card:hover::before {
  left:100%;
}
.service-card.visible { opacity:1; transform:translateY(0); }
.service-card:hover {
  transform:translateY(-12px) rotateX(2deg);
  box-shadow:0 25px 50px var(--card-hover-shadow);
  border-color:var(--accent);
}
.service-icon {
  width:64px;
  height:64px;
  background:var(--feature-icon-bg);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:28px;
  transition:all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position:relative;
}
.service-icon::before {
  content:'';
  position:absolute;
  inset:-2px;
  background:linear-gradient(135deg, var(--btn-bg), var(--accent));
  border-radius:12px;
  opacity:0;
  transition:opacity 0.4s ease;
  z-index:-1;
}
.service-card:hover .service-icon {
  background:var(--btn-bg);
  transform:scale(1.1) rotateY(360deg);
}
.service-card:hover .service-icon::before {
  opacity:0.2;
}
.service-icon img {
  width:32px;
  height:32px;
  opacity:0.8;
  transition:all 0.4s ease;
}
.service-card:hover .service-icon img {
  opacity:1;
  filter:brightness(0) invert(1);
}
.service-card h3 {
  font-size:24px;
  color:var(--heading);
  margin-bottom:16px;
  font-weight:700;
}
.service-card p {
  font-size:16px;
  color:var(--subtext);
  line-height:1.7;
}

.portfolio-section {
  padding:120px 40px;
  background:var(--section-alt);
}
.portfolio-grid {
  max-width:1400px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(360px, 1fr));
  gap:40px;
  perspective:1500px;
}
.portfolio-card {
  background:var(--section-bg);
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  transition:all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity:0;
  transform:translateY(30px);
  position:relative;
  transform-style:preserve-3d;
}
.portfolio-card::after {
  content:'View Project →';
  position:absolute;
  bottom:20px;
  right:20px;
  background:var(--btn-bg);
  color:#fff;
  padding:12px 24px;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
  opacity:0;
  transform:translateY(20px);
  transition:all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index:10;
}
.portfolio-card.visible { opacity:1; transform:translateY(0); }
.portfolio-card:hover {
  transform:translateY(-16px) rotateX(3deg) scale(1.02);
  box-shadow:0 30px 60px var(--card-hover-shadow);
  border-color:var(--btn-bg);
}
.portfolio-card:hover::after {
  opacity:1;
  transform:translateY(0) scale(1.05);
}
.portfolio-image {
  width:100%;
  height:280px;
  overflow:hidden;
  background:var(--feature-icon-bg);
  position:relative;
}
.portfolio-image::before {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(107,114,128,0.4), rgba(75,85,99,0.4));
  opacity:0;
  transition:opacity 0.4s ease;
  z-index:1;
}
.portfolio-card:hover .portfolio-image::before {
  opacity:1;
}
.portfolio-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-card:hover .portfolio-image img {
  transform:scale(1.15) rotate(2deg);
}
.portfolio-content {
  padding:36px;
}
.portfolio-card h3 {
  font-size:22px;
  color:var(--heading);
  margin-bottom:14px;
  font-weight:700;
}
.portfolio-card p {
  font-size:16px;
  color:var(--subtext);
  line-height:1.6;
  margin-bottom:20px;
}
.portfolio-tags {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.tag {
  font-size:13px;
  padding:6px 14px;
  background:var(--feature-icon-bg);
  color:var(--subtext);
  border-radius:6px;
  font-weight:500;
  transition:all 0.3s ease;
  border:1px solid transparent;
}
.portfolio-card:hover .tag {
  background:var(--btn-bg);
  color:#fff;
  border-color:var(--btn-bg);
  transform:translateY(-2px);
}
.portfolio-card:hover .tag:nth-child(1) { transition-delay:0.1s; }
.portfolio-card:hover .tag:nth-child(2) { transition-delay:0.15s; }
.portfolio-card:hover .tag:nth-child(3) { transition-delay:0.2s; }

.testimonials-section {
  padding:120px 40px;
  background:var(--section-bg);
}
.testimonials-grid {
  max-width:1400px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(360px, 1fr));
  gap:40px;
}
.testimonial-card {
  background:var(--section-bg);
  padding:48px;
  border-radius:16px;
  border:1px solid var(--border);
  transition:all 0.4s ease;
  opacity:0;
  transform:translateY(30px);
  position:relative;
}
.testimonial-card::before {
  content:'\"';
  position:absolute;
  top:20px;
  left:30px;
  font-size:120px;
  color:var(--border);
  font-family:Georgia, serif;
  line-height:1;
  opacity:0.3;
}
.testimonial-card.visible { opacity:1; transform:translateY(0); }
.testimonial-card:hover {
  transform:translateY(-8px);
  box-shadow:0 20px 40px var(--card-hover-shadow);
}
.testimonial-header {
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:28px;
}
.testimonial-avatar {
  width:70px;
  height:70px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid var(--border);
}
.testimonial-info h4 {
  font-size:18px;
  color:var(--heading);
  font-weight:700;
  margin-bottom:4px;
}
.testimonial-info p {
  font-size:14px;
  color:var(--subtext);
}
.stars {
  font-size:20px;
  color:#fbbf24;
  margin-bottom:20px;
  letter-spacing:4px;
}
.testimonial-text {
  font-size:16px;
  color:var(--text);
  line-height:1.7;
  font-style:italic;
  position:relative;
  z-index:2;
}

.contact-section {
  padding:120px 40px;
  background:var(--section-alt);
}
.contact-container {
  max-width:700px;
  margin:0 auto;
}
.contact-form {
  background:var(--section-bg);
  padding:60px;
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 8px 24px var(--card-shadow);
}
.form-group {
  margin-bottom:28px;
}
.form-group label {
  display:block;
  font-size:14px;
  font-weight:600;
  color:var(--heading);
  margin-bottom:10px;
  text-transform:uppercase;
  letter-spacing:0.05em;
}
.form-group input,
.form-group textarea {
  width:100%;
  padding:16px 20px;
  border:1px solid var(--border);
  background:var(--section-bg);
  color:var(--text);
  border-radius:10px;
  font-size:16px;
  font-family:'Inter', sans-serif;
  transition:all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color:var(--btn-bg);
  outline:none;
  box-shadow:0 0 0 3px rgba(107,114,128,0.1);
}
.form-group textarea {
  height:180px;
  resize:vertical;
}

footer {
  padding:60px 40px;
  background:var(--section-bg);
  border-top:1px solid var(--border);
  text-align:center;
}
.footer-content {
  max-width:1200px;
  margin:0 auto;
}
.footer-logo {
  font-size:24px;
  font-weight:700;
  color:var(--heading);
  margin-bottom:20px;
  letter-spacing:-0.02em;
}
.footer-text {
  font-size:15px;
  color:var(--subtext);
  margin-bottom:30px;
}
.footer-links {
  display:flex;
  gap:30px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:30px;
}
.footer-links a {
  color:var(--subtext);
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  transition:color 0.3s ease;
}
.footer-links a:hover {
  color:var(--heading);
}
.footer-copyright {
  font-size:14px;
  color:var(--accent);
  padding-top:30px;
  border-top:1px solid var(--border);
}

@media (max-width: 768px) {
  .nav-container { padding:0 20px; }
  .hamburger { display:block; }
  .nav-links {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--nav-bg);
    flex-direction:column;
    padding:20px;
    box-shadow:0 8px 16px var(--nav-shadow);
    border-top:1px solid var(--border);
  }
  .nav-links.active { display:flex; }
  nav a:not(.nav-logo) { 
    width:100%; 
    justify-content:center;
    padding:14px 20px;
  }
  header { padding:140px 20px 100px; }
  .stats-container { gap:40px; }
  .services-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns:1fr;
  }
  .contact-form { padding:40px 30px; }
  .header-buttons { flex-direction:column; }
}

html { scroll-behavior:smooth; }

.scroll-to-top {
  position:fixed;
  bottom:40px;
  right:40px;
  width:50px;
  height:50px;
  background:var(--btn-bg);
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transition:all 0.4s ease;
  z-index:999;
  box-shadow:0 4px 20px var(--card-shadow);
}
.scroll-to-top.visible {
  opacity:1;
  visibility:visible;
}
.scroll-to-top:hover {
  background:var(--btn-hover);
  transform:translateY(-5px);
  box-shadow:0 8px 30px var(--card-hover-shadow);
}
.scroll-to-top svg {
  width:24px;
  height:24px;
}

.progress-bar {
  position:fixed;
  top:0;
  left:0;
  height:3px;
  background:linear-gradient(90deg, var(--btn-bg), var(--accent));
  z-index:9999;
  transition:width 0.1s ease;
}

/* Fix admin bar overlap */
body.admin-bar nav {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar nav {
        top: 46px;
    }
}
body.admin-bar .scroll-to-top {
    bottom: 72px;
}
/* Footer Styles */
.site-footer {
    background: var(--bg-secondary);
    padding: 60px 20px 20px;
    margin-top: 80px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-widget-area h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-widget-area ul {
    list-style: none;
    padding: 0;
}

.footer-widget-area ul li {
    margin-bottom: 8px;
}

.payment-gateways {
    text-align: center;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.payment-title {
    font-weight: 600;
    margin-bottom: 20px;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-logo {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.payment-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.footer-social a:hover .social-icon {
    transform: translateY(-3px);
}

.footer-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

/* Hero Section Backgrounds */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
}

/* Particles Background */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #0a0a0a;
}

/* Ensure content is above backgrounds */
.header-content {
    position: relative;
    z-index: 10;
}

.grid-background {
    position: absolute;
    z-index: 1;
}

/* Image background overlay for better text readability */
.hero-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* ===== WOOCOMMERCE STYLES ===== */

/* Container */
.woocommerce-page,
.page-content {
    padding: 100px 20px 60px;
    min-height: calc(100vh - 400px);
    background: var(--bg-primary);
}

.woocommerce-page .container,
.page-content .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Headers */
.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title,
.woocommerce-products-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.woocommerce-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-breadcrumb a:hover {
    color: var(--primary-color, #667eea);
}

/* Product Grid */
.woocommerce .products,
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px;
    color: var(--text-primary);
}

.woocommerce ul.products li.product .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color, #667eea);
    margin: 0 15px 15px;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--primary-color, #667eea);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--primary-hover, #5568d3);
    transform: translateY(-2px);
}

/* Single Product Page */
.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.woocommerce div.product .woocommerce-product-gallery {
    position: relative;
}

.woocommerce div.product .woocommerce-product-gallery img {
    width: 100%;
    border-radius: 12px;
}

.woocommerce div.product .summary {
    padding: 20px;
}

.woocommerce div.product .product_title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.woocommerce div.product .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color, #667eea);
    margin-bottom: 20px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Cart Table */
.woocommerce-cart table.cart {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-cart table.cart th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

.woocommerce-cart table.cart img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* Cart Totals */
.cart-collaterals {
    margin-top: 40px;
}

.cart_totals {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    margin-left: auto;
}

.cart_totals h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cart_totals table {
    width: 100%;
}

.cart_totals th,
.cart_totals td {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Checkout Form */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.woocommerce form .form-row {
    margin-bottom: 20px;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    outline: none;
    border-color: var(--primary-color, #667eea);
}

/* Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color, #667eea);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.woocommerce-error {
    border-left-color: #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .woocommerce .products,
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .page-title,
    .woocommerce-products-header__title {
        font-size: 1.8rem;
    }
}

/* Ensure header doesn't overlap content */
body.woocommerce #nav,
body.page #nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

body.woocommerce main,
body.page main {
    margin-top: 70px; /* Adjust based on your header height */
}

/* AGGRESSIVE FIX FOR WOOCOMMERCE SPACING */
body.woocommerce,
body.woocommerce-page,
body.page,
body.single-product {
    padding-top: 0 !important;
}

body.woocommerce main,
body.woocommerce-page main,
body.page main,
body.single-product main {
    margin-top: 80px; /* Just the header height */
    padding-top: 30px;
}

body.admin-bar.woocommerce main,
body.admin-bar.woocommerce-page main,
body.admin-bar.page main,
body.admin-bar.single-product main {
    margin-top: 112px; /* Header + admin bar */
}

/* Remove ALL excessive spacing */
.woocommerce-page,
.page-content,
.woocommerce {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
