/* ===============================================================
   Drishtii Eyecare – Premium Luxurious CSS (2025)
   Ultra-modern glassmorphism, 3D hover, neon buttons, parallax hero
   Designed for optical retail e-commerce
================================================================ */

/* ===================== Core Styles ===================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(145deg, #0d1b2a, #001f3f);
  color: #ffffff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ===================== Navigation ===================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  backdrop-filter: blur(15px);
  background: rgba(0, 0, 31, 0.55);
  z-index: 999;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 2px;
  color: #ffd700; /* luxury gold */
  text-shadow: 0 0 5px #ffd700, 0 0 10px #ffd700;
}

nav ul.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
nav ul.nav-links li a {
  font-weight: 600;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}
nav ul.nav-links li a:hover {
  background: rgba(255, 215, 0, 0.2);
  backdrop-filter: blur(10px);
  color: #ffd700;
}

/* ===================== Hero Section ===================== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/hero-banner.jpg') center/cover no-repeat fixed;
  overflow: hidden;
  text-align: center;
}

.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-text {
  position: relative;
  z-index: 10;
  max-width: 800px;
  color: #ffffff;
  animation: fadeInUp 1.5s ease forwards;
}
.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
}
.hero-text p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  color: #c0c0c0;
  text-shadow: 0 0 8px #ffffff33;
}

/* Parallax animation */
@keyframes fadeInUp {
  0% {opacity: 0; transform: translateY(50px);}
  100% {opacity: 1; transform: translateY(0);}
}

/* ===================== Buttons ===================== */
.btn {
  padding: 0.8rem 2rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-primary {
  background: linear-gradient(45deg, #ffd700, #ffffff);
  color: #001f3f;
  box-shadow: 0 0 20px #ffd700, 0 0 40px #ffd70066;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #ffd700, 0 0 60px #ffd700aa;
}

.btn-secondary {
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  color: #ffffff;
  box-shadow: 0 0 15px #00c6ff, 0 0 30px #0072ffaa;
}
.btn-secondary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #00c6ff, 0 0 50px #0072ffbb;
}

/* ===================== Glassmorphism Cards ===================== */
.product-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.5s ease;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.product-card h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffd700;
}
.product-card p {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1rem;
}
.product-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 20px 50px rgba(255,215,0,0.6);
}
.product-card button {
  margin-top: 0.5rem;
}

/* ===================== Categories ===================== */
.cat-card {
  flex: 1 1 200px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  text-align: center;
  font-weight: 700;
  color: #ffd700;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}
.cat-card:hover {
  transform: scale(1.05);
  background: rgba(255, 215, 0, 0.15);
}

/* ===================== Testimonials ===================== */
.testimonial-slide {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  padding: 2rem;
  margin: 0.5rem;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.testimonial-slide p {
  font-style: italic;
  color: #c0c0c0;
}
.testimonial-slide span {
  font-weight: 700;
  color: #ffd700;
  display: block;
  text-align: right;
}

/* ===================== Footer ===================== */
.footer {
  background: rgba(0, 0, 31, 0.8);
  backdrop-filter: blur(15px);
  padding: 3rem 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer h3 { color: #ffd700; margin-bottom: 1rem; }
.footer p { color: #c0c0c0; }
.footer-socials a {
  background: rgba(255,255,255,0.05);
  color: #ffd700;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-weight: 700;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}
.footer-socials a:hover {
  background: #ffd700;
  color: #001f3f;
  transform: scale(1.1);
}

/* ===================== Floating WhatsApp ===================== */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white;
  font-size: 2.5rem;
  padding: 0.4rem 0.6rem;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.8);
  z-index: 9999;
  transition: all 0.3s ease;
}
.floating-whatsapp:hover {
  background: #128c43;
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px){
  .hero-banner { height: 500px; }
  .hero-text h1 { font-size: 2.5rem; }
  .hero-text p { font-size: 1.2rem; }
  .product-card img { height: 200px; }
}

@media (max-width: 768px){
  .hero-banner { height: 400px; flex-direction: column; padding: 2rem 1rem; }
  nav ul.nav-links { display: none; }
  .header-content { justify-content: space-between; }
  .product-card img { height: 180px; }
}
