/* ==========================
   Merdi Gifts — Dark Christmas Theme
   Replace your existing style.css with this file
   ========================== */

/* ===== Theme variables ===== */
:root{
  --bg-very-dark: #0b0b0c;   /* page background */
  --panel-dark: #1a0f0f;     /* panels/cards */
  --red: #b70f0f;            /* deep festive red */
  --green: #0a6b3a;          /* pine green */
  --gold: #ffb700;           /* accent gold */
  --muted: #9aa2a6;
  --glass: rgba(255,255,255,0.03);
  --wrap: 1200px;

  --radius: 12px;
  --shadow-lg: 0 18px 40px rgba(0,0,0,0.65);
  --shadow-sm: 0 6px 18px rgba(0,0,0,0.45);
}

/* ===== Reset & base ===== */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, #070707 0%, var(--bg-very-dark) 100%);
  color: #f3f3f3;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  -webkit-touch-callout: none;
}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}

/* ===== Snow overlay (works with #snow JS) ===== */
#snow {
  position: fixed;
  inset:0;
  pointer-events:none;
  z-index:9999;
  mix-blend-mode:screen;
}

/* ===== Header ===== */
.site-header{
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.15));
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--gold);
  position: sticky;
  top:0;
  z-index:2000;
  backdrop-filter: blur(4px);
}
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--gold);
  font-weight:800;
  letter-spacing:0.3px;
}
.logo{
  width:48px;height:48px;object-fit:cover;border-radius:10px;border:2px solid rgba(255,255,255,0.06);
  box-shadow:0 6px 20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
}
.main-nav a{
  color: #fff;
  text-decoration:none;
  margin-left:18px;
  padding:8px 10px;
  border-radius:8px;
  font-weight:600;
  transition: all .18s ease;
}
.main-nav a:hover,
.main-nav a:focus{
  background: linear-gradient(90deg, rgba(183,15,15,0.12), rgba(10,107,58,0.06));
  transform: translateY(-2px);
  color: var(--gold);
}
.hamburger{
  display:none;background:transparent;border:0;color:#fff;font-size:20px;
}

/* ===== Hero ===== */
.hero{
  background:
    linear-gradient(180deg, rgba(0,0,0,0.65), rgba(0,0,0,0.55)),
    url('assets/images/placeholder-2.jpg') center/cover fixed;
  padding:90px 0;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(800px 400px at 10% 10%, rgba(212,160,23,0.06), transparent 20%),
              radial-gradient(500px 300px at 90% 80%, rgba(10,107,58,0.04), transparent 20%);
  pointer-events:none;
}
.hero-inner{display:flex;align-items:center;gap:28px;max-width:var(--wrap);margin:0 auto;padding:0 20px}
.hero-text{flex:1;min-width:260px}
.hero-text h1{
  font-size:44px;margin:0 0 12px;color:var(--gold);
  text-shadow: 0 8px 30px rgba(0,0,0,0.7);
  line-height:1.05;
}
.hero-text p{margin:0 0 18px;color:rgba(255,255,255,0.86);font-size:18px}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.btn{
  background: linear-gradient(180deg,var(--green), #0a5b33);
  color:#fff;padding:12px 18px;border-radius:10px;text-decoration:none;display:inline-block;font-weight:800;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}
.btn:hover{transform: translateY(-3px); box-shadow: var(--shadow-lg)}
.btn.ghost{
  background: transparent;
  border: 2px solid rgba(255,255,255,0.06);
  color:#fff;
}
.btn.small{padding:8px 12px;font-size:14px;border-radius:8px}

/* hero image (smaller by default but responsive) */
.hero-image img{
  width: 320px;
  max-width:100%;
  height:auto;
  border-radius:18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.7);
  border:1px solid rgba(255,255,255,0.04);
  object-fit:cover;
}

/* ===== Sections & typography ===== */
.section{padding:56px 0}
.section h2{font-size:28px;margin:0 0 18px;color:var(--gold)}
.section p{color:var(--muted);margin:0 0 18px}

/* ===== Grids & cards ===== */
.featured .grid-3, .products-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center}

/* card base */
.card, .product-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding:18px;border-radius:var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.02);
}

/* product image inside card */
.product-card img,
.card img {
  width: 100%;
  max-width: 280px;    /* limits the largest image inside a card */
  height: auto;
  object-fit: cover;
  display:block;
  margin:0 auto 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.03);
}

/* info */
.price{color:var(--red);font-weight:800;font-size:18px}
.meta{color:var(--muted);font-size:14px;margin-top:8px}
.card h3{margin:6px 0 8px;color:#fff;font-size:18px}

/* special badge */
.badge{
  display:inline-block;padding:6px 10px;border-radius:999px;font-weight:800;font-size:13px;
  background: linear-gradient(90deg,var(--red), rgba(212,160,23,0.12));
  color:#fff;
  box-shadow: 0 6px 18px rgba(183,15,15,0.12);
}

/* ===== Specials / bundle ===== */
.special{
  text-align:center;
  background: linear-gradient(180deg, rgba(10,10,10,0.25), rgba(0,0,0,0.18));
  padding:40px 20px;border-radius:14px;
  border:1px solid rgba(255,255,255,0.02);
}
.special-price{font-size:26px;color:var(--green);font-weight:900}

/* ===== How it works / steps ===== */
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.how-step{text-align:center;padding:18px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));border-radius:10px}

/* ===== FAQ / text blocks ===== */
.faq .question{font-weight:700;margin-bottom:6px;color:#fff}
.faq .answer{color:var(--muted);margin-bottom:12px}

/* ===== Contact / social links ===== */
.contact-card{display:flex;gap:14px;align-items:center}
.contact-card img{width:56px;height:56px;border-radius:12px;object-fit:cover}
.social-links a{
  text-decoration:none;color:#fff;margin-left:10px;font-weight:700;padding:8px 10px;border-radius:8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.02);
}
.social-links a:hover{color:var(--gold);transform:translateY(-2px)}

/* ===== Footer ===== */
.site-footer{
  background: linear-gradient(180deg, rgba(15,6,6,0.9), rgba(0,0,0,0.95));
  color: rgba(255,255,255,0.85);
  padding:26px 0;margin-top:40px;border-top:1px solid rgba(255,255,255,0.03);
}
.site-footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.site-footer p{margin:0;color:rgba(255,255,255,0.62)}

/* ===== Utilities ===== */
.text-center{text-align:center}
.kicker{font-size:13px;color:var(--muted);font-weight:700}
.center-col{margin:0 auto;max-width:820px}

/* ===== Responsive: tablets & smaller ===== */
@media(max-width:980px){
  .hero-inner{flex-direction:column;align-items:center;text-align:center;gap:18px}
  .main-nav{display:none}
  .hamburger{display:block}
  .featured .grid-3, .products-grid{grid-template-columns:repeat(2,1fr)}
  .how-grid{grid-template-columns:1fr}
  .hero-text h1{font-size:34px}
  .product-card img,.card img{max-width:260px}
}

/* ===== Responsive: phones ===== */
@media(max-width:520px){
  .featured .grid-3,.products-grid{grid-template-columns:1fr}
  .hero{padding:40px 0}
  .hero-text h1{font-size:24px}
  .hero-image img{width:220px}
  .product-card img,.card img{max-width:100%}
  .wrap{padding:0 14px}
}

/* ===== Small tweak to avoid oversized images when placed directly in content ===== */
img{
  width:100%;
  height:auto;
  max-width:100%;
  display:block;
  object-fit:cover;
}

/* ===== Accessibility focus states ===== */
a:focus, button:focus { outline: 3px solid rgba(212,160,23,0.18); outline-offset:3px; }

/* ===== Optional: subtle twinkle animation for gold accents ===== */
@keyframes twinkle {
  0% { opacity: .85; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
  100% { opacity: .85; transform: translateY(0); }
}
.gold-twinkle{color:var(--gold);animation: twinkle 3.5s ease-in-out infinite}

/* ===== End of stylesheet ===== */
