/* ===== CSS RESET & NORMALIZATION ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; background: #faf7f2; color: #181E24; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol { list-style: none; }
a { background: transparent; text-decoration: none; color: inherit; }
img { border-style: none; max-width: 100%; display: block; }
table { border-collapse: collapse; border-spacing: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; }

/* ===== FONT IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #22334D;
  --color-secondary: #C4A026;
  --color-accent: #F3F6FB;
  /* Retro inspired palette */
  --color-bg-vintage: #F6EAD7;
  --color-bg-card: #FFFBEA;
  --color-retro-green: #61877F;
  --color-retro-red: #CF513D;
  --color-retro-blue: #4479B3;
  --color-retro-brown: #9F867B;
  --color-text-dark: #1A1511;
  --color-text-light: #F9F6EF;
  --shadow-card: 0 4px 16px rgba(60,39,3,0.10);
  --radius-card: 18px;
  --border-card: 1.5px dashed #C4A026;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: var(--color-bg-vintage);
  color: var(--color-text-dark);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 1.7rem; margin-bottom: 18px; font-weight: 700; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }

small { font-size: 0.96em; color: var(--color-retro-brown); font-style: italic; }

p, li, blockquote, em, strong {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

strong { font-weight: 700; }
em { color: var(--color-retro-brown); font-style: italic; }

blockquote {
  border-left: 5px solid var(--color-secondary);
  background: #FFF8D5;
  margin: 16px 0 16px 2px;
  padding: 12px 20px;
  color: var(--color-retro-brown);
  font-weight: 500;
  font-family: 'Montserrat', serif;
}

hr {
  border: none;
  border-top: 1.5px dashed var(--color-secondary);
  margin: 32px 0;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}

/* ======= HEADER / NAVIGATION ======= */
header {
  width: 100%;
  background: var(--color-accent);
  box-shadow: 0 2px 8px rgba(99,84,53,0.06);
  border-bottom: 3px solid var(--color-secondary);
  position: sticky;
  top: 0;
  z-index: 900;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 8px 0;
  transition: color 0.18s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
}
header img[alt="Wicked Spear Reviews"] {
  height: 42px;
  width: auto;
  margin-right: 16px;
}

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-text-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  padding: 14px 36px;
  border-radius: 60px;
  border: none;
  box-shadow: 0 2px 8px rgba(211, 191, 113, 0.09);
  transition: background 0.15s, color 0.15s, box-shadow 0.19s;
  margin-left: 24px;
  letter-spacing: 0.03em;
  outline: none;
  position: relative;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 4px 18px rgba(34,51,77,0.14);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  margin-left: 24px;
  padding: 6px 10px;
  border-radius: 42px;
  transition: background 0.2s;
  z-index: 1022;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(217, 170, 57, 0.13);
}

/* ======= MOBILE NAVIGATION (BURGER) ======= */
.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 320px;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 4px 0 28px rgba(34,34,34,.19);
  transform: translateX(-110%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.36s cubic-bezier(.7,.2,.2,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--color-secondary);
  font-size: 2rem;
  margin: 20px 24px 14px 0;
  border: none;
  cursor: pointer;
  outline: none;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #ffe272;
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  gap: 22px;
  padding: 24px 32px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Overlay fade when menu open */
body.mobile-menu-active::after {
  content: '';
  position: fixed; left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(31,24,11,0.32);
  z-index: 1199;
  pointer-events: none;
  animation: fadein-overlay 0.38s;
}
@keyframes fadein-overlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ======= MAIN SECTIONS LAYOUT (RESPONSIVE, RETRO) ======= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: var(--border-card);
  position: relative;
}
section:nth-child(even) {
  background: #F6EAD7;
  border-style: dotted;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.card {
  background: #FFFBEA;
  border: var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 14px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9F7F3;
  border-radius: 16px;
  border: 1.5px dashed var(--color-retro-brown);
  box-shadow: 0 2px 12px rgba(85,78,43,0.07);
  margin: 0 0 20px 0;
  position: relative;
  animation: card-popin 0.7s cubic-bezier(.68,-0.6,.32,1.6) both;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, serif;
  font-weight: 600;
  letter-spacing: 0.015em;
  margin-bottom: 4px;
}
.testimonial-card small {
  color: var(--color-retro-brown);
}
@keyframes card-popin {
  0% { transform: scale(0.93) translateY(16px); opacity: 0; } 
  90% { transform: scale(1.04); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-left: 0;
  padding-left: 0;
}
ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.07rem;
  line-height: 1.64;
}
ul li img {
  height: 32px;
  width: 32px;
  margin-right: 6px;
}

.text-section {
  font-size: 1.04rem;
  margin-bottom: 14px;
}

.contact-info {
  background: #FFFDE4;
  border-radius: 12px;
  padding: 16px 24px;
  margin-top: 6px;
  font-size: 1.01rem;
  color: var(--color-retro-brown);
  box-shadow: 0 2px 6px rgba(189,160,52,0.08);
  border: 1.3px dotted var(--color-secondary);
}
.map-embed {
  margin-top: 12px;
  padding: 14px 0 0 0;
  font-style: italic;
  font-size: 0.98rem;
  color: #61877F;
}

/* ======= FOOTER ======= */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 40px 0 32px 0;
  border-top: 4px solid var(--color-secondary);
  font-size: 1.03rem;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 42px;
  row-gap: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 0;
}
footer nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  opacity: 0.92;
  transition: color 0.18s, opacity 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
footer .contact-info {
  border: none;
  background: none;
  color: #ffeeb6;
  padding: 0;
  font-size: 0.97rem;
}
footer .contact-info a { color: var(--color-secondary); }
footer .social-media {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 8px;
}
footer .social-media img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 2px 7px rgba(232,187,63,0.2));
  transition: filter 0.17s;
}
footer .social-media img:hover, footer .social-media img:focus {
  filter: brightness(110%) drop-shadow(0 1px 16px #ffe066);
}

/* ======= COOKIE CONSENT BANNER ======= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFFDF6;
  color: var(--color-primary);
  box-shadow: 0 -4px 24px rgba(222, 174, 55, 0.09);
  border-top: 3px dashed var(--color-secondary);
  z-index: 3200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 22px 18px 22px;
  animation: cookie-in 0.7s cubic-bezier(.63,.02,.42,1);
  gap: 12px;
}
@keyframes cookie-in {
  from { transform: translateY(90px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-text {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.cookie-btn {
  padding: 11px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 48px;
  margin-right: 5px;
  border: none;
  outline: none;
  font-size: 1.07rem;
  margin-bottom: 2px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.14s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-text-dark);
  box-shadow: 0 2px 8px rgba(196,160,38,0.13);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-btn.decline {
  background: var(--color-retro-red);
  color: var(--color-accent);
}
.cookie-btn.decline:hover, .cookie-btn.decline:focus {
  background: #a53723; color: #fffbe3;
}
.cookie-btn.settings {
  background: var(--color-retro-green);
  color: var(--color-accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-secondary); color: var(--color-text-dark);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 3400;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: #ffffff;
  border-radius: 24px;
  border: 2.5px solid var(--color-secondary);
  box-shadow: 0 6px 48px rgba(196,160,38,0.19);
  width: 95vw;
  max-width: 360px;
  padding: 34px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: modalpop .55s cubic-bezier(.6,.6,.2,1) both;
}
@keyframes modalpop { 0% {transform: translate(-50%,-53%) scale(0.94);} 100%{} }
.cookie-modal h2 {
  font-size: 1.23rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.cookie-cat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin: 8px 0;
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
}
.cookie-switch {
  width: 36px; height: 20px;
  background: #e2e4e6;
  border-radius: 10px;
  position: relative;
  transition: background .18s;
}
.cookie-switch[aria-checked="true"] {
  background: var(--color-secondary);
}
.cookie-switch span {
  position: absolute; left: 3px; top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.09);
  transition: left .18s;
}
.cookie-switch[aria-checked="true"] span {
  left: 17px;
}
.cookie-cat label { cursor: pointer; }
.cookie-modal .cookie-actions {
  margin-top: 10px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal .cookie-close {
  position: absolute; right: 13px; top: 13px;
  background: none;
  color: var(--color-secondary);
  font-size: 1.5rem;
  border: none;
  transition: color .17s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus { color: var(--color-primary); }

/* Sticky when open */
body.cookie-modal-open { overflow: hidden !important; }


/* ====== RETRO/VINTAGE ELEMENTS ====== */
section, .card, .testimonial-card {
  background-image: repeating-linear-gradient(135deg, rgba(196,160,38,0.08) 0px,rgba(196,160,38, 0.07) 4px,transparent 6px,transparent 18px);
}
.section, .card, .testimonial-card {
  box-shadow: 0 6px 32px rgba(89,62,9,0.10);
}

section h1:before, section h2:before {
  content: '\26A1'; /* lightning bolt, retro marker */
  font-size: 1.2em;
  margin-right: 10px;
  color: var(--color-secondary);
  vertical-align: middle;
  font-family: 'Montserrat', Arial, serif;
}

section h1, section h2 {
  font-family: 'Montserrat', Arial, serif;
  letter-spacing: 0.048em;
}

ul li:before {
  content: '\25A0';
  font-size: 1.11em;
  color: var(--color-secondary);
  margin-right: 16px;
  font-family: 'Montserrat', Arial, serif;
}
ul li img + * {
  margin-left: 0;
}

/* =============== MEDIA QUERIES (RESPONSIVE) =============== */
@media (max-width: 950px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-primary, .mobile-menu-toggle {
    margin-left: 0;
    margin-top: 14px;
  }
}
@media (max-width: 768px) {
  .container, footer .container {
    padding: 0 8px;
  }
  .btn-primary, .mobile-menu-toggle {
    margin-left: 0;
    margin-top: 14px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
  }
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 650px) {
  section, .section {
    padding: 32px 5px;
    margin-bottom: 38px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.22rem; }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    font-size: 0.99em;
  }
  .btn-primary { width: 100%; padding: 13px 0; }
  .card, .testimonial-card { padding: 13px; }
  .content-wrapper { gap: 16px; }
}
@media (max-width: 530px) {
  .mobile-menu { width: 97vw; }
}
@media (max-width: 480px) {
  .testimonial-card p { font-size: 1em; }
  .cookie-modal { padding: 20px 4vw; }
}
/* Flex direction for text-image-section mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ======================== INTERACTIONS ======================== */
.card, .testimonial-card, .btn-primary, .cookie-btn {
  transition: box-shadow 0.16s, background 0.12s, border-color 0.13s, color 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(184,154,40,0.17);
  border-color: var(--color-primary);
}

/* Focus styles for accessibility */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus, .card:focus-within {
  outline: 2.5px dashed var(--color-secondary);
  outline-offset: 3px;
}

/* ================== UTILITIES ================== */
.text-center{ text-align: center; }
.text-right{ text-align: right; }
.rounded { border-radius: var(--radius-card); }
.shadow { box-shadow: var(--shadow-card); }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 28px; }

/* ================= VINTAGE PATTERNS (subtle) ================= */
body {
  background: repeating-linear-gradient( 125deg, #f7e7bf 0px, #f7e7bf 7px, #f6ead7 11px, #f6ead7 22px );
  background-size: 200px 200px;
}

/* ================= RETRO BADGE ================= */
.retro-badge {
  background: var(--color-retro-red);
  color: #fffbe3;
  font-family: 'Montserrat', Arial, serif;
  font-weight: 900;
  display: inline-block;
  border-radius: 24px;
  padding: 6px 19px;
  font-size: 1.07rem;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 8px rgba(207,81,61,0.13);
  border: 1.3px solid #fff5e2;
  margin-bottom: 9px;
}

/* =================== PRINT/TEXT SELECT =================== */
::selection {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* =================== RETRO/FONT EFFECTS =================== */
h1, h2, h3, h4 {
  text-shadow: 2px 1.5px 0px #ffeebb, 4px 5px 8px #c5a56c2c;
}

/* =================== MISC =================== */
/* Cards always have at least 20px margin-bottom as per rules */
.card, .testimonial-card, section, .section {
  margin-bottom: 20px;
}

/* Prevent overlap and ensure flex-only layouts, avoid grid/columns at all times. */

/* =========== END OF STYLE =========== */
