/* Voltara Nexus - Soft Pastel Theme - Mobile-first - Flexbox only */
/* ===================================================================
   RESET & NORMALIZE
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Verdana, Tahoma, Arial, sans-serif; line-height: 1.6; color: #1F2A44; background: #F7F9FD; }
img { max-width: 100%; height: auto; display: block; }
a { color: #0B3D91; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0 0 16px 20px; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: transparent; }
:focus-visible { outline: 3px solid rgba(11,61,145,0.35); outline-offset: 2px; }
::selection { background: #CFE3FF; color: #12203B; }

/* ===================================================================
   THEME TOKENS
   =================================================================== */
:root {
  --brand-primary: #0B3D91; /* Navy */
  --brand-secondary: #C2410C; /* Burnt orange */
  --brand-accent: #F3F6FB; /* Pale blue-grey */

  --text: #1F2A44; /* Dark blue-grey */
  --text-muted: #5B667A; /* Medium */
  --surface: #FFFFFF;
  --bg: #F7F9FD;

  /* Soft pastel palette */
  --pastel-blue: #EAF2FF;
  --pastel-mint: #E9F8F1;
  --pastel-peach: #FFF2E7;
  --pastel-pink: #FDECF6;
  --pastel-lavender: #EFE9FF;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-1: 0 4px 14px rgba(24, 39, 75, 0.08);
  --shadow-2: 0 8px 24px rgba(24, 39, 75, 0.12);
  --shadow-soft: 0 2px 10px rgba(24, 39, 75, 0.06);
  --border: 1px solid rgba(15, 23, 42, 0.08);
}

/* ===================================================================
   TYPOGRAPHY
   =================================================================== */
h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, Arial, sans-serif; color: var(--text); margin: 0 0 12px; line-height: 1.25; }
p { margin: 0 0 14px; color: var(--text); }
.small, small { font-size: 14px; color: var(--text-muted); }

h1 { font-size: 32px; letter-spacing: 0.2px; }
h2 { font-size: 24px; letter-spacing: 0.2px; }
h3 { font-size: 18px; letter-spacing: 0.1px; }

@media (min-width: 768px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  h3 { font-size: 20px; }
}

.subheadline { color: var(--text-muted); font-size: 16px; max-width: 70ch; }

/* ===================================================================
   LAYOUT BASICS (Flex-only)
   =================================================================== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; gap: 0; }
.content-wrapper { display: flex; flex-direction: column; gap: 20px; padding: 24px; background: var(--surface); border: var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }

main { display: flex; flex-direction: column; gap: 24px; }
section { padding: 16px 0; }

/* MANDATORY SPACING CLASSES */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: var(--surface); border: var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.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: var(--brand-accent); color: var(--text); border-radius: var(--radius-md); border: var(--border); box-shadow: var(--shadow-soft); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Ensure minimum spacing between all content cards/sections */
section + section { margin-top: 8px; }
.content-wrapper > * + * { margin-top: 0; }

/* ===================================================================
   HEADER & NAVIGATION
   =================================================================== */
header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.9); backdrop-filter: saturate(120%); border-bottom: var(--border); box-shadow: 0 2px 10px rgba(24,39,75,0.04); }
header .container { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 36px; width: auto; }

.main-nav { display: none; align-items: center; gap: 18px; }
.main-nav a { padding: 10px 12px; border-radius: 999px; color: var(--text); background: transparent; transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease; }
.main-nav a:hover { background: var(--pastel-blue); text-decoration: none; }
.main-nav a:active { transform: scale(0.98); }

.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 20px; border-radius: 10px; background: var(--pastel-blue); color: var(--text); box-shadow: var(--shadow-soft); }
.mobile-menu-toggle:hover { background: #dbe8ff; }

/* Mobile menu overlay */
.mobile-menu { position: fixed; inset: 0; background: rgba(255,255,255,0.98); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s ease; z-index: 1200; box-shadow: var(--shadow-2); }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close { align-self: flex-end; margin: 16px; width: 40px; height: 40px; border-radius: 10px; background: var(--pastel-pink); color: var(--text); font-size: 18px; }
.mobile-nav { display: flex; flex-direction: column; gap: 12px; padding: 12px 24px 32px; }
.mobile-nav a { padding: 14px 16px; border-radius: 12px; background: var(--brand-accent); color: var(--text); font-size: 18px; box-shadow: var(--shadow-soft); }
.mobile-nav a:hover { background: #E6EEFB; text-decoration: none; }

@media (min-width: 992px) {
  .main-nav { display: flex; }
  .mobile-menu-toggle { display: none; }
}

/* ===================================================================
   HERO
   =================================================================== */
.hero { background: var(--pastel-blue); }
.hero .content-wrapper { background: #FFFFFF; border: 1px solid rgba(11,61,145,0.08); box-shadow: 0 10px 30px rgba(11,61,145,0.08); }
.hero h1 { color: var(--brand-primary); }
.hero .subheadline { color: var(--text-muted); }

.cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* SEARCH BAR */
.search-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--brand-accent); padding: 10px; border-radius: 14px; border: var(--border); }
.search-bar input[type="text"] { flex: 1 1 220px; min-width: 0; padding: 12px 14px; border-radius: 999px; border: 1px solid rgba(15, 23, 42, 0.15); background: #fff; }
.search-bar .btn { padding: 12px 16px; border-radius: 999px; background: var(--pastel-mint); color: var(--text); border: 1px solid rgba(15,23,42,0.12); }
.search-bar .btn:hover { background: #dff3ea; }

/* USP Badges */
.usp-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.usp { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 999px; background: var(--pastel-peach); border: 1px solid rgba(15,23,42,0.06); color: var(--text); }
.usp img { width: 18px; height: 18px; }
.usp-badges .usp:nth-child(2) { background: var(--pastel-mint); }
.usp-badges .usp:nth-child(3) { background: var(--pastel-pink); }
.usp-badges .usp:nth-child(4) { background: var(--pastel-lavender); }

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #FFFFFF; color: var(--text); border: 1px solid rgba(15,23,42,0.15); box-shadow: var(--shadow-soft); transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease; }
.btn:hover { background: var(--brand-accent); text-decoration: none; box-shadow: 0 6px 16px rgba(24,39,75,0.10); }
.btn:active { transform: translateY(1px); box-shadow: var(--shadow-soft); }

.btn-primary { background: var(--brand-primary); color: #fff; border-color: transparent; }
.btn-primary:hover { background: #0a3681; }

.btn-secondary { background: var(--pastel-pink); color: var(--text); border-color: rgba(15,23,42,0.12); }
.btn-secondary:hover { background: #f7ddeb; }

/* ===================================================================
   TEXT SECTIONS & LISTS
   =================================================================== */
.text-section { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #FFFFFF; border: var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.text-section ul { display: flex; flex-direction: column; gap: 8px; margin-left: 18px; }
.text-section li { padding-left: 2px; }
.trust { color: var(--text-muted); font-size: 14px; }

.quick-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.quick-contact span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--brand-accent); border: var(--border); }
.quick-contact img { width: 16px; height: 16px; }

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
/* Ensure readability: dark text on light background */
.testimonial-card { background: #FFFFFF; border: 1px solid rgba(15,23,42,0.12); box-shadow: var(--shadow-soft); color: var(--text); border-left: 6px solid #99B9FF; border-radius: 12px; }
.testimonial-card p { margin: 0; }
.testimonial-card p + p { color: var(--text-muted); }

/* ===================================================================
   FOOTER
   =================================================================== */
footer { background: #FFFFFF; border-top: var(--border); }
footer .content-wrapper { background: transparent; border: none; box-shadow: none; padding-left: 0; padding-right: 0; }
footer .content-wrapper { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-brand, .footer-nav, .footer-contact, .newsletter { background: #FFFFFF; border: var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 16px; flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; }
.footer-nav { gap: 8px; }
.footer-nav a { padding: 8px 10px; border-radius: 10px; background: var(--brand-accent); }
.footer-nav a:hover { background: #E6EEFB; text-decoration: none; }
.footer-brand img { height: 32px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { padding: 8px 10px; border-radius: 999px; background: var(--pastel-lavender); color: var(--text); border: 1px solid rgba(15,23,42,0.08); }
.social-links a:hover { background: #e4dbff; }

/* ===================================================================
   RESPONSIVE LAYOUT RULES
   =================================================================== */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; }
}
@media (min-width: 768px) {
  .content-wrapper { padding: 28px; }
  .text-section { padding: 18px 20px; }
}
@media (min-width: 1024px) {
  .content-grid { justify-content: space-between; }
}

/* ===================================================================
   CARDS & INTERACTIONS
   =================================================================== */
.card:hover, .text-section:hover, .testimonial-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); transition: transform 0.2s ease, box-shadow 0.25s ease; }

/* ===================================================================
   FORMS
   =================================================================== */
input[type="text"], input[type="email"], input[type="tel"], textarea { background: #fff; border: 1px solid rgba(15,23,42,0.15); border-radius: 12px; padding: 12px 14px; width: 100%; }
textarea { min-height: 120px; resize: vertical; }
label { display: block; margin-bottom: 6px; color: var(--text-muted); font-size: 14px; }

/* ===================================================================
   UTILITIES
   =================================================================== */
.badge { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: var(--brand-accent); color: var(--text); font-size: 12px; border: var(--border); }
.center { display: flex; align-items: center; justify-content: center; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.column { display: flex; flex-direction: column; gap: 16px; }

/* ===================================================================
   PAGE-SPECIFIC TOUCHES
   =================================================================== */
/* Lists in shop and promos */
.text-section ul li a.btn { margin-left: 8px; }

/* Highlight important promo code */
.hero p strong { color: var(--brand-secondary); }

/* Ratings text */
section p:has(strong) { /* Safe fallback if unsupported: no effect */ }

/* ===================================================================
   MOBILE MENU REQUIREMENTS (Animations & Touch targets)
   =================================================================== */
.mobile-nav a { min-height: 44px; }
.mobile-menu { will-change: transform; }

/* ===================================================================
   COOKIE CONSENT BANNER & MODAL
   =================================================================== */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1300; background: #FFFFFF; border-top: 1px solid rgba(15,23,42,0.12); box-shadow: 0 -8px 24px rgba(24,39,75,0.10); display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; transform: translateY(120%); transition: transform 0.35s ease; }
.cookie-banner.show { transform: translateY(0%); }
.cookie-inner { display: flex; flex-direction: column; gap: 12px; }
.cookie-text { color: var(--text); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btn { padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(15,23,42,0.12); background: var(--brand-accent); color: var(--text); }
.cookie-accept { background: var(--brand-primary); color: #fff; border-color: transparent; }
.cookie-reject { background: var(--pastel-peach); }
.cookie-settings { background: var(--pastel-lavender); }
.cookie-btn:hover { filter: brightness(0.97); }

/* Cookie modal overlay */
.cookie-modal { position: fixed; inset: 0; background: rgba(15,23,42,0.45); display: none; align-items: center; justify-content: center; z-index: 1400; }
.cookie-modal.show { display: flex; }
.cookie-modal-content { background: #FFFFFF; width: min(96%, 720px); border-radius: 18px; border: 1px solid rgba(15,23,42,0.12); box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 14px; padding: 18px; transform: translateY(16px); transition: transform 0.3s ease; }
.cookie-modal.show .cookie-modal-content { transform: translateY(0); }
.cookie-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cookie-categories { display: flex; flex-direction: column; gap: 12px; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 12px; background: var(--brand-accent); border: var(--border); }
.cookie-category .label { display: flex; flex-direction: column; gap: 4px; }
.cookie-category small { color: var(--text-muted); }
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Toggle switch (pure CSS appearance; input markup handled in HTML/JS) */
.toggle { position: relative; width: 48px; height: 28px; background: #E6EAF3; border-radius: 999px; border: 1px solid rgba(15,23,42,0.12); display: inline-flex; align-items: center; padding: 2px; }
.toggle-dot { width: 22px; height: 22px; background: #fff; border-radius: 50%; box-shadow: var(--shadow-soft); transform: translateX(0); transition: transform 0.25s ease, background-color 0.25s ease; }
.toggle.on { background: #CFE3FF; }
.toggle.on .toggle-dot { transform: translateX(20px); background: #fff; }

/* ===================================================================
   ACCESSIBILITY & STATES
   =================================================================== */
[aria-current="page"], .main-nav a.active, .mobile-nav a.active { background: #DCE7FF; color: #0B3D91; border-radius: 999px; }

/* ===================================================================
   RESPONSIVE ENHANCEMENTS
   =================================================================== */
@media (min-width: 768px) {
  .hero { padding-top: 8px; padding-bottom: 8px; }
  .content-wrapper { gap: 24px; }
  .usp-badges { gap: 14px; }
}

/* ===================================================================
   SAFETY RULES TO PREVENT OVERLAP
   =================================================================== */
/* Using flex-wrap and gaps across containers ensures no overlap */
.container, .content-wrapper, .card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item, .cta-group, .quick-contact, .social-links, .mobile-nav, .cookie-actions, .cookie-categories, .footer .content-wrapper { gap: 20px; }

/* ===================================================================
   PAGE ELEMENT WIDTH HINTS (Flex basis only)
   =================================================================== */
/* For mixed columns in desktop while staying flex-only */
@media (min-width: 992px) {
  .text-section { flex: 1 1 calc(50% - 12px); }
  .content-wrapper .text-section:last-child:nth-child(odd) { flex-basis: 100%; }
}

/* ===================================================================
   BRAND PERSONALITY BADGES
   =================================================================== */
.badge-fast { background: var(--pastel-mint); }
.badge-secure { background: var(--pastel-lavender); }
.badge-quality { background: var(--pastel-peach); }

/* ===================================================================
   MISC
   =================================================================== */
hr { border: none; border-top: 1px solid rgba(15,23,42,0.12); margin: 20px 0; }
blockquote { margin: 0; padding: 14px 16px; background: var(--brand-accent); border-left: 4px solid #99B9FF; border-radius: 10px; }

/* End of stylesheet */
