/* Shared Lavender & White theme - soft glow, consistent across pages */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
  --bg-0: #f6f0fa;
  --bg-1: #fff;
  --accent-1: #6b3fa0;
  --accent-2: #caa7f0;
  --muted: #4b0082;
  --glass: rgba(255,255,255,0.85);
  --card-shadow: 0 10px 30px rgba(107,63,160,0.12);
  --glow: 0 0 20px rgba(202,167,240,0.28);
  --radius: 14px;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, var(--bg-0), #eaddff);
  color: var(--muted);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Header (shared) */
.header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 32px;
  background: var(--glass);
  backdrop-filter: blur(6px);
  position:sticky;
  top:0;
  z-index:100;
  border-bottom: 1px solid rgba(202,167,240,0.18);
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
}
.brand .title {
  font-weight:700;
  color:var(--accent-1);
  font-size:1.4rem;
  letter-spacing:1px;
  text-shadow: 0 0 12px rgba(202,167,240,0.25);
  animation: headerBlink 1.6s infinite;
}
@keyframes headerBlink {
  0%,50%,100%{opacity:1}
  25%,75%{opacity:0.35}
}

/* Nav */
.nav {
  display:flex;
  gap:18px;
  align-items:center;
}
.nav a {
  color:var(--accent-1);
  text-decoration:none;
  font-weight:600;
  padding:8px 10px;
  border-radius:8px;
}
.nav a:hover, .nav a.active {
  background: linear-gradient(90deg,var(--accent-2), #a16bc0);
  color:#fff;
  box-shadow: var(--card-shadow);
}

/* Hero (home) */
.hero {
  min-height: calc(100vh - 72px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:36px 20px;
}
.logo-wrap{
  position:relative;
  display:inline-block;
}
.logo{
  max-width:420px;
  width:70%;
  height:auto;
  border-radius:12px;
  animation: logoPulse 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 30px rgba(139,107,214,0.12));
}
.logo-wrap::before{
  content:'';
  position:absolute;
  top:-26px; left:-26px;
  width:calc(100% + 52px); height:calc(100% + 52px);
  border-radius:50%;
  background: radial-gradient(circle, rgba(202,167,240,0.35) 0%, rgba(202,167,240,0) 70%);
  filter: blur(20px);
  z-index:-1;
  animation: glowScale 2.6s infinite alternate;
}
@keyframes logoPulse {
  0% { transform: translateY(0); filter: drop-shadow(0 8px 18px rgba(139,107,214,0.10)); }
  50% { transform: translateY(-8px); filter: drop-shadow(0 20px 40px rgba(139,107,214,0.2)); }
  100% { transform: translateY(0); filter: drop-shadow(0 8px 18px rgba(139,107,214,0.10)); }
}
@keyframes glowScale {
  0% { transform: scale(1); opacity:0.45 }
  100%{ transform: scale(1.06); opacity:0.9 }
}

.hero h1{
  color:var(--accent-1);
  font-size:2.6rem;
  margin-top:20px;
  text-shadow: 0 0 12px rgba(202,167,240,0.25);
}
.hero p{
  color:var(--muted);
  max-width:760px;
  margin-top:12px;
  line-height:1.6;
}

/* Buttons */
.btn {
  display:inline-block;
  padding:12px 28px;
  border-radius:999px;
  background: linear-gradient(90deg,#bfa3ff,#8b6bd6);
  color:#fff;
  font-weight:600;
  border:none;
  cursor:pointer;
  box-shadow: var(--glow);
  transition: transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(139,107,214,0.18); }

/* Layout containers */
.container { max-width:1100px; margin:32px auto; padding:0 18px; }

/* Categories / Product grid */
.category-grid, .product-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
  margin:22px 0 48px;
}
.card{
  background:var(--bg-1);
  border-radius:12px;
  padding:18px;
  box-shadow: var(--card-shadow);
  text-align:center;
  transition: transform .18s, box-shadow .18s;
}
.card:hover{ transform: translateY(-8px); box-shadow: 0 28px 60px rgba(139,107,214,0.12); }
.card img{ width:100%; height:190px; object-fit:cover; border-radius:10px; margin-bottom:12px; }
.card h3{ color: var(--accent-1); margin-bottom:8px; }
.card p{ color: #4b0082; }

/* Order form */
.form-card{ background:var(--bg-1); padding:16px; border-radius:12px; box-shadow: var(--card-shadow); }
label{ display:block; margin-top:10px; font-weight:600; color:var(--muted); }
input, select, textarea{ width:100%; padding:10px; margin-top:6px; border-radius:8px; border:1px solid #e6e0f7; }
.summary{ margin-top:14px; padding:12px; background: linear-gradient(180deg,#fbf8ff,#f0eaff); border-radius:10px; }

/* Table */
.table{ width:100%; border-collapse:collapse; margin-top:16px; }
.table th, .table td{ padding:10px; border-bottom:1px solid #f1ecff; text-align:left; }
.table th{ background:#faf6ff; color:var(--accent-1); font-weight:700; }

/* Footer */
.footer{ text-align:center; padding:22px; color:var(--muted); font-size:0.95rem; }

/* Responsive adjustments */
@media (max-width:900px){
  .header{ padding:12px 18px; }
  .logo{ max-width:320px; }
  .hero h1{ font-size:2rem; }
}
@media (max-width:560px){
  .header{ flex-direction:column; gap:10px; align-items:center; }
  .nav{ order:2; }
  .logo{ max-width:220px; }
  .hero{ padding:24px 12px; }
}
.logo {
  filter: drop-shadow(0 0 15px #ffd700) drop-shadow(0 0 30px #ffae00);
  transition: all 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 25px #ffdd55) drop-shadow(0 0 60px #ffb300);
}
.logo {
  filter: drop-shadow(0 0 10px #ffd700)
          drop-shadow(0 0 20px #ffd700)
          drop-shadow(0 0 30px #ffd700)
          drop-shadow(0 0 40px #ffd700)
          drop-shadow(0 0 50px #ffd700)
          drop-shadow(0 0 60px #ffd700);
  transition: all 0.3s ease;
}

/* Logo with medium golden glow */
.logo-wrap {
  position: relative;
  display: inline-block;
}

.logo {
  max-width: 420px;
  width: 70%;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 0 12px #ffd700)
          drop-shadow(0 0 24px #ffcb33)
          drop-shadow(0 0 36px #ffb300);
  transition: all 0.3s ease;
  animation: glowPulse 3s infinite alternate;
}

.logo-wrap::before {
  content: '';
  position: absolute;
  top: -26px; left: -26px;
  width: calc(100% + 52px);
  height: calc(100% + 52px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(255, 215, 0, 0) 70%);
  filter: blur(15px);
  z-index: -1;
  animation: glowScale 2.6s infinite alternate;
}

@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 12px #ffd700)
            drop-shadow(0 0 24px #ffcb33)
            drop-shadow(0 0 36px #ffb300);
  }
  50% {
    filter: drop-shadow(0 0 15px #ffd700)
            drop-shadow(0 0 28px #ffcb33)
            drop-shadow(0 0 42px #ffb300);
  }
}

@keyframes glowScale {
  0% { transform: scale(1); opacity:0.45 }
  100% { transform: scale(1.06); opacity:0.9 }
}
