/* ============================================================
   WeeklyPromoSpecial.com — Main Stylesheet
   ============================================================ */

/* --- Variables --- */
:root {
  --green-dark:  #0d3320;
  --green:       #1a5c38;
  --green-mid:   #27ae60;
  --green-light: #2ecc71;
  --white:       #ffffff;
  --gray-light:  #f4f7f4;
  --gray:        #e0e8e0;
  --text:        #1a1a1a;
  --text-muted:  #5a6a5a;
  --shadow:      0 2px 14px rgba(0,0,0,0.09);
  --radius:      8px;
  --transition:  0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Utility --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-size: 2rem; font-weight: 800; color: var(--green-dark); margin-bottom: 12px; }
.section-header p { font-size: 1rem; color: var(--text-muted); max-width: 540px; margin: 0 auto; }
.btn { display: inline-block; padding: 13px 30px; border-radius: var(--radius); font-size: 0.95rem; font-weight: 600; transition: all var(--transition); cursor: pointer; text-align: center; }
.btn-primary { background: var(--green-mid); color: var(--white); }
.btn-primary:hover { background: var(--green); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(39,174,96,0.35); }
.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--green); }
.badge { display: inline-block; background: var(--green-mid); color: var(--white); font-size: 0.73rem; font-weight: 700; padding: 4px 11px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.6px; }
.badge-red { background: #d63031; }

/* ============================================================
   Header
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--green-dark); box-shadow: 0 2px 10px rgba(0,0,0,0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; background: var(--green-mid); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 20px; height: 20px; fill: var(--white); }
.logo-text { font-size: 1.05rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.logo-text em { color: var(--green-light); font-style: normal; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { color: rgba(255,255,255,0.82); font-size: 0.88rem; font-weight: 500; padding: 8px 13px; border-radius: 6px; transition: all var(--transition); }
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.main-nav .nav-cta { background: var(--green-mid); color: var(--white); font-weight: 700; margin-left: 6px; }
.main-nav .nav-cta:hover { background: var(--green-light); color: var(--green-dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }

/* Mobile overlay nav */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--green-dark); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { color: var(--white); font-size: 1.25rem; font-weight: 600; padding: 14px 40px; border-radius: 8px; transition: background var(--transition); }
.mobile-nav a:hover { background: rgba(255,255,255,0.1); }
.mobile-nav-close { position: absolute; top: 18px; right: 20px; color: var(--white); font-size: 2rem; line-height: 1; background: none; border: none; cursor: pointer; }

/* ============================================================
   Hero
   ============================================================ */
.hero { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--green-mid) 100%); color: var(--white); padding: 88px 0 72px; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 420px; height: 420px; background: rgba(46,204,113,0.08); border-radius: 50%; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero-eyebrow { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.8px; color: var(--green-light); margin-bottom: 14px; }
.hero h1 { font-size: 2.75rem; font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.hero h1 span { color: var(--green-light); }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.82); margin-bottom: 32px; max-width: 460px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; }
.stat-num { font-size: 1.65rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.77rem; color: rgba(255,255,255,0.65); margin-top: 3px; }

/* Deal Preview Card */
.deal-preview-card { background: var(--white); border-radius: 16px; padding: 24px; box-shadow: 0 16px 48px rgba(0,0,0,0.22); color: var(--text); }
.dpc-image { height: 155px; background: linear-gradient(135deg, #e8f5e9, #c8e6c9); border-radius: 10px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; position: relative; }
.dpc-image svg { width: 44px; height: 44px; fill: var(--green-mid); opacity: 0.55; }
.dpc-image .badge { position: absolute; top: 10px; right: 10px; }
.dpc-title { font-size: 0.97rem; font-weight: 700; margin-bottom: 8px; }
.dpc-prices { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.dpc-now { font-size: 1.4rem; font-weight: 800; color: var(--green); }
.dpc-was { font-size: 0.88rem; color: var(--text-muted); text-decoration: line-through; }
.countdown-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); margin-bottom: 8px; }
.countdown-timer { display: flex; gap: 8px; }
.cd-unit { text-align: center; background: var(--green-dark); color: var(--white); border-radius: 6px; padding: 8px 10px; min-width: 50px; }
.cd-num { font-size: 1.25rem; font-weight: 800; line-height: 1; display: block; }
.cd-lbl { font-size: 0.6rem; text-transform: uppercase; opacity: 0.65; margin-top: 2px; display: block; }

/* ============================================================
   Featured Deals
   ============================================================ */
.featured-deals { padding: 80px 0; background: var(--white); }
.deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deal-card { background: var(--white); border: 1px solid var(--gray); border-radius: 12px; overflow: hidden; transition: all var(--transition); }
.deal-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(13,51,32,0.13); border-color: var(--green-mid); }
.dc-img { height: 140px; display: flex; align-items: center; justify-content: center; position: relative; }
.dc-img svg { width: 38px; height: 38px; opacity: 0.45; }
.dc-discount { position: absolute; top: 10px; left: 10px; background: #d63031; color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.dc-body { padding: 16px; }
.dc-cat { font-size: 0.72rem; font-weight: 700; color: var(--green-mid); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 5px; }
.dc-title { font-size: 0.93rem; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.35; }
.dc-prices { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dc-price-now { font-size: 1.15rem; font-weight: 800; color: var(--green); }
.dc-price-was { font-size: 0.84rem; color: var(--text-muted); text-decoration: line-through; }
.deal-card .btn { width: 100%; }

/* Deal image backgrounds */
.di-1 { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.di-2 { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.di-3 { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.di-4 { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.di-5 { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.di-6 { background: linear-gradient(135deg, #e0f2f1, #b2dfdb); }

/* ============================================================
   Categories
   ============================================================ */
.categories { padding: 80px 0; background: var(--green-dark); }
.categories .section-header h2 { color: var(--white); }
.categories .section-header p { color: rgba(255,255,255,0.65); }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 28px 18px; text-align: center; color: var(--white); cursor: pointer; transition: all var(--transition); }
.cat-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-3px); border-color: var(--green-light); }
.cat-icon { width: 52px; height: 52px; background: rgba(46,204,113,0.14); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.cat-icon svg { width: 26px; height: 26px; fill: var(--green-light); }
.cat-name { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.cat-count { font-size: 0.76rem; color: rgba(255,255,255,0.5); }

/* ============================================================
   How It Works
   ============================================================ */
.how-it-works { padding: 80px 0; background: var(--gray-light); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 32px 20px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); position: relative; }
.step-card:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -12px; width: 24px; height: 2px; background: var(--gray); }
.step-num { width: 52px; height: 52px; background: var(--green-mid); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; margin: 0 auto 18px; }
.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 10px; }
.step-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   Deal of the Week
   ============================================================ */
.deal-of-week { padding: 80px 0; background: var(--white); }
.dotw-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dotw-img { height: 360px; background: linear-gradient(135deg, #e8f5e9, #a5d6a7); border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.dotw-img svg { width: 88px; height: 88px; fill: var(--green-mid); opacity: 0.45; }
.dotw-content .badge { margin-bottom: 16px; }
.dotw-content h2 { font-size: 2rem; font-weight: 800; color: var(--green-dark); margin-bottom: 14px; line-height: 1.2; }
.dotw-content > p { color: var(--text-muted); margin-bottom: 22px; line-height: 1.75; }
.dotw-features { margin-bottom: 28px; }
.dotw-feat { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.9rem; color: var(--text); }
.dotw-feat svg { width: 17px; height: 17px; fill: var(--green-mid); flex-shrink: 0; margin-top: 2px; }
.dotw-price-row { background: var(--gray-light); border-radius: 12px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 8px; }
.dotw-price-now { font-size: 2.1rem; font-weight: 800; color: var(--green); }
.dotw-price-meta { text-align: right; }
.dotw-price-was { font-size: 0.88rem; color: var(--text-muted); text-decoration: line-through; display: block; }
.dotw-saving { font-size: 0.85rem; font-weight: 700; color: #d63031; }

/* ============================================================
   Newsletter
   ============================================================ */
.newsletter { padding: 80px 0; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: var(--white); text-align: center; }
.newsletter h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.newsletter p { font-size: 1rem; color: rgba(255,255,255,0.78); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto 16px; }
.newsletter-form input[type="email"] { flex: 1; padding: 14px 18px; border-radius: var(--radius); border: 2px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.1); color: var(--white); font-size: 0.95rem; font-family: inherit; transition: border-color var(--transition); }
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--green-light); }
.newsletter-form button { padding: 14px 28px; background: var(--green-light); color: var(--green-dark); font-weight: 700; font-size: 0.95rem; border-radius: var(--radius); white-space: nowrap; transition: all var(--transition); cursor: pointer; border: none; font-family: inherit; }
.newsletter-form button:hover { background: var(--white); }
.newsletter-note { font-size: 0.77rem; color: rgba(255,255,255,0.5); }

/* ============================================================
   Why Choose Us
   ============================================================ */
.why-us { padding: 80px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { padding: 28px 24px; border-radius: 12px; border-top: 4px solid var(--green-mid); background: var(--gray-light); transition: all var(--transition); }
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why-icon { width: 46px; height: 46px; background: rgba(39,174,96,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.why-icon svg { width: 23px; height: 23px; fill: var(--green-mid); }
.why-card h3 { font-size: 0.97rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.why-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials { padding: 80px 0; background: var(--gray-light); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: var(--white); border-radius: 12px; padding: 28px 24px; box-shadow: var(--shadow); }
.stars { color: #f4c542; font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-text { font-size: 0.91rem; color: var(--text); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.author-av { width: 42px; height: 42px; border-radius: 50%; background: var(--green-mid); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.author-name { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.author-loc { font-size: 0.76rem; color: var(--text-muted); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--green-dark); color: var(--white); padding: 44px 0 20px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.footer-brand { max-width: 270px; }
.footer-brand .brand-name { font-size: 1rem; font-weight: 700; color: var(--white); display: block; margin-bottom: 10px; }
.footer-brand .brand-name em { color: var(--green-light); font-style: normal; }
.footer-brand p { font-size: 0.84rem; color: rgba(255,255,255,0.55); line-height: 1.65; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--green-light); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.86rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.79rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   Privacy / Terms pages
   ============================================================ */
.page-hero { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: var(--white); padding: 64px 0; text-align: center; }
.page-hero h1 { font-size: 2.1rem; font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 0.93rem; }
.page-body { padding: 60px 0; }
.page-body .container { max-width: 780px; }
.page-body h2 { font-size: 1.3rem; font-weight: 700; color: var(--green-dark); margin: 36px 0 12px; }
.page-body h2:first-child { margin-top: 0; }
.page-body p,
.page-body li { font-size: 0.94rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 10px; }
.page-body ul { padding-left: 20px; list-style: disc; }
.page-body a { color: var(--green-mid); text-decoration: underline; }

/* ============================================================
   Responsive — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.2rem; }
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card::after { display: none; }
  .dotw-inner { gap: 36px; }
}

/* ============================================================
   Responsive — 768px
   ============================================================ */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .deal-preview-card { max-width: 360px; margin: 0 auto; }

  .deals-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr 1fr; }

  .dotw-inner { grid-template-columns: 1fr; }
  .dotw-img { height: 220px; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }

  .newsletter-form { flex-direction: column; }

  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   Responsive — 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero { padding: 60px 0 48px; }
  .hero h1 { font-size: 1.85rem; }
  .hero-stats { gap: 20px; }

  .deals-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .section-header h2 { font-size: 1.6rem; }
  .dotw-content h2 { font-size: 1.6rem; }
  .newsletter h2 { font-size: 1.6rem; }
  .page-hero h1 { font-size: 1.7rem; }
}
