/* ZephyrGlide Rhetorik - Vintage Retro CSS Theme */

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

:root {
  /* Brand Colors */
  --primary: #1A237E;
  --secondary: #00BFAE;
  --accent: #FFF9F0;
  /* Vintage Retro Palette */
  --retro-yellow: #FFD966;
  --retro-orange: #FFB347;
  --retro-red: #E94F37;
  --retro-blue: #3A6EA5;
  --retro-brown: #7C5E3C;
  --retro-green: #A3C585;
  --retro-cream: #F7E7CE;
  --retro-dark: #2D2926;
  --retro-shadow: rgba(44, 38, 33, 0.12);
  /* Typography */
  --font-display: 'Montserrat', 'Roboto Slab', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  /* Spacing */
  --section-mb: 60px;
  --section-py: 40px;
  --section-px: 20px;
  --card-gap: 24px;
  --card-mb: 20px;
  --flex-gap: 20px;
  --feature-gap: 15px;
  --testimonial-gap: 20px;
  /* Border Radius */
  --radius: 12px;
  --radius-lg: 20px;
  /* Shadows */
  --shadow: 0 4px 16px var(--retro-shadow);
  /* Patterns */
  --pattern-bg: repeating-linear-gradient(135deg, #FFD966 0 10px, #FFF9F0 10px 20px);
}

html {
  box-sizing: border-box;
  font-size: 18px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-body);
  background: var(--accent);
  color: var(--retro-dark);
  margin: 0;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  background-image: var(--pattern-bg);
  background-size: 100px 100px;
  background-attachment: fixed;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: flex;
  flex-direction: column;
  gap: var(--flex-gap);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--flex-gap);
}

section {
  margin-bottom: var(--section-mb);
  padding: var(--section-py) var(--section-px);
  background: rgba(255, 249, 240, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin: 0 0 10px 0;
  letter-spacing: 0.02em;
  text-shadow: 1px 2px 0 #FFD966, 0 2px 8px #fff9f0;
}
h1 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
}
h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--retro-brown);
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 700;
}
p, ul, ol {
  font-family: var(--font-body);
  color: var(--retro-dark);
  margin-bottom: 10px;
}
ul, ol {
  padding-left: 1.2em;
}
li {
  margin-bottom: 6px;
}
strong {
  color: var(--retro-red);
  font-weight: 700;
}

/* === LINKS & BUTTONS === */
a {
  color: var(--retro-blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--retro-red);
  text-decoration: underline wavy var(--retro-yellow);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.75em 2em;
  border-radius: var(--radius);
  border: none;
  background: linear-gradient(90deg, var(--retro-yellow) 60%, var(--retro-orange) 100%);
  color: var(--primary);
  box-shadow: 0 2px 8px var(--retro-shadow);
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  outline: none;
}
.cta.primary {
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: #fff;
  text-shadow: 1px 1px 0 #1A237E44;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, var(--retro-orange) 60%, var(--retro-yellow) 100%);
  color: var(--retro-dark);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px var(--retro-shadow);
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, var(--secondary) 60%, var(--primary) 100%);
  color: #fff;
}

button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  background: var(--retro-yellow);
  color: var(--primary);
  padding: 0.5em 1.2em;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  box-shadow: 0 1px 4px var(--retro-shadow);
}
button:hover, button:focus {
  background: var(--retro-orange);
  color: var(--retro-dark);
  transform: translateY(-1px) scale(1.04);
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--retro-yellow);
  box-shadow: 0 2px 12px var(--retro-shadow);
  border-bottom: 4px solid var(--retro-brown);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--flex-gap);
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: sepia(0.2) contrast(1.1) drop-shadow(0 2px 4px #FFD96688);
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--retro-orange);
  color: var(--retro-dark);
}
.main-nav .cta.primary {
  margin-left: 16px;
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 2px 8px var(--retro-shadow);
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-red);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 16px;
  transition: background 0.2s, transform 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-brown);
  transform: scale(1.08);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--retro-yellow) 60%, var(--retro-orange) 100%);
  box-shadow: 0 8px 32px var(--retro-shadow);
  z-index: 200;
  padding: 32px 24px 24px 24px;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.77,0,.18,1), opacity 0.3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--retro-red);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: none;
  margin-bottom: 24px;
  transition: background 0.2s, transform 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-brown);
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  padding: 12px 0;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-orange);
  color: var(--retro-dark);
}

/* === MAIN CONTENT FLEX LAYOUTS === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
  margin-bottom: var(--card-mb);
}
.feature-grid > div {
  flex: 1 1 260px;
  min-width: 220px;
  background: var(--retro-cream);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--retro-shadow);
  padding: 24px 18px;
  margin-bottom: var(--card-mb);
  border: 2px solid var(--retro-yellow);
  transition: box-shadow 0.2s, transform 0.15s, border 0.2s;
  position: relative;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 24px var(--retro-shadow);
  border: 2px solid var(--retro-orange);
  transform: translateY(-2px) scale(1.02);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
}
.card {
  margin-bottom: var(--card-mb);
  position: relative;
  background: var(--retro-cream);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--retro-shadow);
  padding: 24px 18px;
  border: 2px solid var(--retro-yellow);
  transition: box-shadow 0.2s, transform 0.15s, border 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px var(--retro-shadow);
  border: 2px solid var(--retro-orange);
  transform: translateY(-2px) scale(1.02);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--flex-gap);
  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: var(--testimonial-gap);
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--retro-shadow);
  margin-bottom: 20px;
  border-left: 8px solid var(--retro-yellow);
  font-style: italic;
  color: var(--retro-dark);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px var(--retro-shadow);
  border-left: 8px solid var(--retro-orange);
}
.testimonial-card p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--retro-dark);
}
.testimonial-card span {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--retro-brown);
  font-style: normal;
  margin-left: 12px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--feature-gap);
}

/* === FOOTER === */
footer {
  background: var(--retro-brown);
  color: #fff;
  padding: 40px 0 20px 0;
  border-top: 4px solid var(--retro-yellow);
  box-shadow: 0 -2px 12px var(--retro-shadow);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--retro-yellow);
}
.footer-contact {
  font-size: 0.98rem;
  color: #fff;
  font-family: var(--font-body);
  opacity: 0.92;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--retro-yellow) 60%, var(--retro-orange) 100%);
  color: var(--retro-dark);
  box-shadow: 0 -2px 16px var(--retro-shadow);
  z-index: 300;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  gap: 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  animation: cookieBannerIn 0.7s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: var(--radius);
  border: none;
  padding: 0.5em 1.2em;
  margin: 0;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 4px var(--retro-shadow);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.cookie-banner button.cookie-settings {
  background: var(--retro-yellow);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: var(--retro-orange);
  color: var(--retro-dark);
}
.cookie-banner button.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-banner button.reject {
  background: var(--retro-red);
  color: #fff;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: var(--retro-brown);
  color: #fff;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(44,38,33,0.55);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff9f0;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px var(--retro-shadow);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.5s cubic-bezier(.77,0,.18,1);
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: scale(0.85) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--retro-dark);
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--retro-yellow);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-category.essential label {
  color: var(--retro-brown);
  font-weight: 700;
}
.cookie-modal .cookie-category.essential input[type="checkbox"] {
  accent-color: var(--retro-brown);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--retro-red);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: var(--retro-brown);
  transform: scale(1.08);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
  }
  .feature-grid > div {
    min-width: 180px;
    padding: 18px 10px;
  }
  footer .container {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid {
    flex-direction: column;
    gap: var(--card-gap);
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: var(--flex-gap);
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 10px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    min-width: 0;
    padding: 24px 8px 18px 8px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .logo img {
    height: 36px;
  }
  .cookie-modal {
    padding: 14px 2vw 10px 2vw;
  }
}

/* === RETRO DECORATIVE ELEMENTS === */
section:before {
  content: '';
  display: block;
  position: absolute;
  top: -18px;
  left: 24px;
  width: 60px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--retro-yellow), var(--retro-yellow) 10px, var(--retro-orange) 10px, var(--retro-orange) 20px);
  border-radius: 8px;
  opacity: 0.7;
  z-index: 1;
}
section:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -18px;
  right: 24px;
  width: 60px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--retro-yellow), var(--retro-yellow) 10px, var(--retro-orange) 10px, var(--retro-orange) 20px);
  border-radius: 8px;
  opacity: 0.7;
  z-index: 1;
}

/* Hide decorative stripes on mobile */
@media (max-width: 600px) {
  section:before, section:after {
    display: none;
  }
}

/* === MICRO-INTERACTIONS === */
.card, .feature-grid > div, .testimonial-card, .cta, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal .cookie-modal-close {
  transition: box-shadow 0.2s, border 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}

/* === FOCUS STYLES === */
a:focus, button:focus, .cta:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .cookie-banner button:focus, .cookie-modal .cookie-modal-close:focus {
  outline: 2px dashed var(--retro-red);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #FFD96655;
}

/* === UTILITY CLASSES === */
.hide {
  display: none !important;
}

/* === END === */
