/* =========================
   Lumen Shield Kuchnia - Vintage Retro CSS
   ========================= */

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

:root {
  --primary: #207348;
  --secondary: #F6F8F2;
  --accent: #D3B01A;
  --retro-red: #D95D39;
  --retro-blue: #3A6EA5;
  --retro-cream: #F6E7CB;
  --retro-brown: #7C5E3C;
  --retro-orange: #F4A259;
  --retro-green: #4E937A;
  --text-dark: #2C2C2C;
  --text-light: #fff;
  --shadow-vintage: 0 4px 24px 0 rgba(60, 40, 10, 0.08), 0 2px 8px 0 rgba(60, 40, 10, 0.04);
  --border-radius: 18px;
  --pattern-url: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="40" height="40" fill="%23F6E7CB"/><circle cx="20" cy="20" r="4" fill="%23D3B01A"/><circle cx="0" cy="0" r="2" fill="%23D95D39"/><circle cx="40" cy="40" r="2" fill="%234E937A"/></svg>');
}

html {
  box-sizing: border-box;
  font-size: 18px;
  background: var(--secondary);
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--pattern-url), var(--secondary);
  background-repeat: repeat;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

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

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  background: var(--retro-cream);
  border-bottom: 4px solid var(--accent);
  box-shadow: 0 2px 12px 0 rgba(60,40,10,0.05);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 80px;
}
header img {
  height: 54px;
  width: auto;
  margin-right: 24px;
  filter: sepia(0.2) contrast(1.1);
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 2px 8px 0 rgba(211,176,26,0.10);
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--text-dark);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(211,176,26,0.10);
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:active {
  background: var(--retro-orange);
}

/* =========================
   MOBILE NAVIGATION
   ========================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--retro-cream);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 0 0 100vw rgba(44,44,44,0.25);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: var(--retro-red);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 32px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  text-decoration: none;
  padding: 10px 0;
  border-radius: 0;
  border-left: 4px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-red);
  border-left: 4px solid var(--accent);
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =========================
   MAIN LAYOUT & SECTIONS
   ========================= */
main {
  background: transparent;
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(246,231,203,0.7);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-vintage);
  position: relative;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

/* =========================
   TYPOGRAPHY (Retro/Vintage)
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Pacifico', 'Montserrat', cursive, sans-serif;
  color: var(--primary);
  margin: 0 0 12px 0;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  color: var(--retro-red);
  text-shadow: 1px 2px 0 var(--accent), 0 2px 8px rgba(60,40,10,0.08);
}
h2 {
  font-size: 2rem;
  color: var(--primary);
  text-shadow: 1px 1px 0 var(--accent);
}
h3 {
  font-size: 1.3rem;
  color: var(--retro-brown);
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
}
p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin: 0 0 12px 0;
}
strong, b {
  color: var(--retro-brown);
  font-weight: 700;
}
a {
  color: var(--retro-blue);
  text-decoration: underline dotted var(--accent) 1.5px;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--retro-red);
  text-decoration: underline solid var(--retro-red) 2px;
}

/* =========================
   BUTTONS & CTA
   ========================= */
.cta-btn, .btn, button, input[type="submit"] {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent) 60%, var(--retro-orange) 100%);
  color: var(--text-dark);
  border: none;
  border-radius: 32px;
  padding: 13px 38px;
  margin-top: 10px;
  box-shadow: 0 2px 8px 0 rgba(211,176,26,0.10);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  position: relative;
}
.cta-btn:hover, .btn:hover, button:hover, input[type="submit"]:hover {
  background: linear-gradient(90deg, var(--retro-orange) 60%, var(--accent) 100%);
  color: var(--retro-red);
  box-shadow: 0 4px 16px 0 rgba(211,176,26,0.18);
  transform: translateY(-2px) scale(1.03);
}
.cta-btn:active, .btn:active {
  background: var(--retro-red);
  color: var(--text-light);
}

/* =========================
   FLEXBOX LAYOUTS
   ========================= */
.feature-grid, .gallery, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 18px;
  margin-bottom: 18px;
}
.card-container {
  gap: 24px;
}
.card {
  background: var(--retro-cream);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-vintage);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(60,40,10,0.13);
  transform: translateY(-3px) scale(1.02);
}
.content-grid {
  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: #fffbe9;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(60,40,10,0.06);
  margin-bottom: 20px;
  border-left: 8px solid var(--accent);
  font-family: 'Quicksand', 'Roboto', sans-serif;
  color: var(--text-dark);
  min-width: 220px;
  max-width: 600px;
}
.testimonial-card p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--retro-brown);
  font-family: 'Montserrat', 'Roboto', sans-serif;
  margin-left: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Gallery/Feature Cards */
.gallery > div, .feature-grid > div {
  background: #fffbe9;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(60,40,10,0.06);
  padding: 22px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  border: 2px dashed var(--accent);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
}
.gallery > div:hover, .feature-grid > div:hover {
  box-shadow: 0 6px 24px 0 rgba(211,176,26,0.13);
  border-color: var(--retro-red);
  transform: translateY(-2px) scale(1.02);
}

/* =========================
   SEARCH BAR, FILTERS, ETC.
   ========================= */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0 0;
}
.search-bar input[type="text"] {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 10px 18px;
  border-radius: 18px;
  border: 2px solid var(--accent);
  background: #fffbe9;
  color: var(--text-dark);
  outline: none;
  width: 220px;
  transition: border-color 0.2s;
}
.search-bar input[type="text"]:focus {
  border-color: var(--retro-red);
}
.filter-options, .categories-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Quicksand', 'Roboto', sans-serif;
  font-size: 1rem;
  margin-top: 18px;
}
.filter-options a, .categories-filter a {
  color: var(--retro-blue);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.filter-options a:hover, .categories-filter a:hover {
  background: var(--accent);
  color: var(--retro-red);
}

/* =========================
   CONTACT DETAILS & MAP
   ========================= */
.contact-details {
  background: #fffbe9;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 18px 0;
  box-shadow: 0 2px 8px 0 rgba(60,40,10,0.06);
  font-size: 1.05rem;
}
.map-location {
  margin: 12px 0 0 0;
  font-style: italic;
  color: var(--retro-brown);
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--retro-brown);
  color: var(--retro-cream);
  padding: 36px 0 18px 0;
  border-top: 4px solid var(--accent);
  font-family: 'Quicksand', 'Roboto', sans-serif;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.2s;
}
footer nav a:hover {
  color: var(--retro-orange);
}
footer p {
  color: var(--retro-cream);
  font-size: 0.98rem;
  margin: 0;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--retro-cream);
  color: var(--text-dark);
  box-shadow: 0 -2px 16px 0 rgba(60,40,10,0.10);
  padding: 24px 18px 18px 18px;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 4px solid var(--accent);
  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 p {
  margin: 0;
  font-size: 1.05rem;
  flex: 1 1 60%;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin: 0;
}
.cookie-banner .accept {
  background: var(--accent);
  color: var(--text-dark);
}
.cookie-banner .accept:hover {
  background: var(--retro-orange);
  color: var(--retro-red);
}
.cookie-banner .reject {
  background: var(--retro-red);
  color: var(--text-light);
}
.cookie-banner .reject:hover {
  background: var(--retro-brown);
  color: var(--accent);
}
.cookie-banner .settings {
  background: var(--retro-blue);
  color: var(--text-light);
}
.cookie-banner .settings:hover {
  background: var(--primary);
  color: var(--accent);
}

/* =========================
   COOKIE MODAL
   ========================= */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44,44,44,0.45);
  z-index: 2100;
  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: var(--retro-cream);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(60,40,10,0.18);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalIn 0.5s cubic-bezier(.77,0,.18,1);
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-family: 'Quicksand', 'Roboto', sans-serif;
  font-size: 1.05rem;
  color: var(--text-dark);
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-category.essential label {
  color: var(--retro-brown);
  font-weight: 700;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .close-modal:hover {
  color: var(--retro-red);
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  section {
    padding: 32px 8px;
  }
  .feature-grid, .gallery, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
    min-height: 64px;
  }
  section {
    margin-bottom: 38px;
    padding: 22px 4px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .gallery, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 8px 12px 8px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .cookie-modal {
    min-width: 0;
    padding: 22px 8px 18px 8px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .gallery > div, .feature-grid > div, .card {
    min-width: 0;
    padding: 14px 8px;
  }
}

/* =========================
   VINTAGE/RETRO DECORATIVE ELEMENTS
   ========================= */
section:before {
  content: '';
  display: block;
  position: absolute;
  top: -18px; left: 24px;
  width: 60px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--accent), var(--accent) 12px, transparent 12px, transparent 24px);
  border-radius: 8px;
  opacity: 0.35;
  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-red), var(--retro-red) 12px, transparent 12px, transparent 24px);
  border-radius: 8px;
  opacity: 0.25;
  z-index: 1;
}

/* Decorative dots for cards */
.card:before, .gallery > div:before, .feature-grid > div:before {
  content: '';
  display: block;
  position: absolute;
  top: 12px; right: 12px;
  width: 16px; height: 16px;
  background: radial-gradient(circle, var(--accent) 60%, transparent 100%);
  opacity: 0.18;
  border-radius: 50%;
  z-index: 2;
}

/* =========================
   MISCELLANEOUS
   ========================= */
ul, ol {
  padding-left: 24px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 6px;
}
.team-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  background: #fffbe9;
  box-shadow: 0 2px 8px 0 rgba(60,40,10,0.08);
}
.seasonal-ideas {
  background: var(--retro-orange);
  color: var(--text-dark);
  border-radius: 12px;
  padding: 10px 18px;
  font-family: 'Quicksand', 'Roboto', sans-serif;
  font-size: 1.05rem;
  margin-top: 18px;
  box-shadow: 0 2px 8px 0 rgba(211,176,26,0.08);
}

/* =========================
   REMOVE OUTLINES ON BUTTONS (but keep for accessibility)
   ========================= */
button:focus, .cta-btn:focus, .btn:focus, input[type="submit"]:focus {
  outline: 2px dashed var(--retro-blue);
  outline-offset: 2px;
}

/* =========================
   PREVENT OVERLAPPING
   ========================= */
section, .card, .gallery > div, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px;
}

/* =========================
   PRINT STYLES (optional)
   ========================= */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
  section { box-shadow: none !important; background: #fff !important; }
}
