/* ========================================================= */
/* WALLPAPER WEBSITE — AURORA GLASS THEME (ELEGANT WARM WHITE) */
/* Complete Glassmorphic Redesign - Retains All Structure */
/* ========================================================= */

/* ---------- GLOBAL VARIABLES ---------- */
:root {
  --bg-dark: #0a0f18;
  --bg-light: #16202b;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --accent-a: #00e0ff;
  --accent-b: #ff6ec7;
  --text-main: #f5ede6; /* Elegant Warm White */
  --text-muted: rgba(245, 237, 230, 0.7);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  --radius: 16px;
  --transition: all 0.35s ease;
  --blur: blur(12px);
}

/* ---------- BASE STYLING ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-light));
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: var(--transition);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text-main);
  line-height: 1.2;
}

a {
  color: var(--accent-a);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-b);
}

/* ---------- HEADER ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 15, 25, 0.7);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  transition: var(--transition);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.6rem;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger-menu span {
  width: 28px;
  height: 3px;
  background: var(--text-main);
  border-radius: 3px;
  transition: var(--transition);
}

/* ---------- HERO / PAGE HEADER ---------- */
.page-header {
  text-align: center;
  padding: 60px 20px 40px;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-description {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- CATEGORY TABS ---------- */
.category-tabs {
  text-align: center;
  margin: 40px 0 60px;
}

.category-tabs ul {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.category-tabs a {
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  transition: var(--transition);
  font-weight: 500;
  backdrop-filter: var(--blur);
}

.category-tabs a:hover,
.category-tabs a.active {
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  color: #051018;
  transform: translateY(-3px);
}

/* ---------- PRODUCTS GRID (Bigger Cards) ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
  padding-bottom: 80px;
}

.product-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  backdrop-filter: var(--blur);
}

.product-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.65);
}

.product-card-image {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: brightness(0.9);
}

.product-card:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

.product-card-body {
  padding: 24px;
  text-align: center;
}

.product-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.product-card-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.price {
  color: var(--accent-a);
  font-size: 1.3rem;
  font-weight: 700;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  color: #051018;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,224,255,0.25);
}

/* ---------- MODALS ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 5000;
  transition: var(--transition);
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: var(--blur);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  animation: modalFade 0.3s ease-out;
  max-width: 500px;
  width: 90%;
  text-align: center;
}

/* ---------- FOOTER ---------- */
footer {
  background: rgba(10, 15, 25, 0.85);
  padding: 50px 0;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-b);
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.social-links a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-5px);
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  color: #0a0f18;
}

/* ---------- MARQUEE ---------- */
.marquee-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  overflow: hidden;
  padding: 12px 0;
  border-radius: 8px;
  backdrop-filter: var(--blur);
}

.marquee-text {
  display: inline-block;
  animation: scroll 18s linear infinite;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ---------- ANIMATIONS ---------- */
@keyframes modalFade {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger-menu { display: flex; }
  .products { grid-template-columns: 1fr; gap: 24px; }
  .product-card-image { height: 220px; }
  .page-header h1 { font-size: 2.2rem; }
}
