/* BreezyLoom Berlin – Vintage Retro CSS StyleSheet */

/* == CSS RESET & NORMALIZE == */
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,
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F6F9;
  color: #232B35;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
}
a {
  color: #554531;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A96946;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* == VINTAGE RETRO COLOR & TYPO STYLE == */
:root {
  --primary: #232B35;
  --secondary: #8CC1A9;
  --accent: #F5F6F9;
  --retro-orange: #E7A163;
  --retro-yellow: #FFEC99;
  --retro-green: #7BBA70;
  --retro-blue: #7BA9BF;
  --retro-brown: #A96946;
  --retro-cream: #FAF6ED;
  --main-font: 'Open Sans', Arial, sans-serif;
  --display-font: 'Montserrat', 'Archivo Black', Arial, sans-serif;
}

body {
  background: var(--retro-cream);
  color: var(--primary);
  font-family: var(--main-font);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 {
  font-size: 2.75rem;
  color: var(--retro-brown);
  text-shadow: 2px 2px 0 var(--retro-yellow);
  font-weight: 900;
}
h2 {
  font-size: 2rem;
  color: var(--retro-orange);
  font-weight: 800;
}
h3 {
  font-size: 1.25rem;
  color: var(--retro-blue);
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.125rem;
  color: var(--retro-green);
  font-weight: 600;
}
p, address, ul, ol, li, label, input, textarea {
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.1px;
  margin-bottom: 10px;
  font-family: var(--main-font);
}
strong, b {
  font-weight: 700;
}

/* == VINTAGE PATTERNS/BACKGROUNDS == */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: repeating-linear-gradient(135deg, #FAF6ED 0 44px, #F5F6F9 44px 92px);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(165,105,70,0.13);
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
}

/* == CONTAINER & LAYOUT == */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.text-section {
  padding: 20px 0 0 0;
  background: transparent;
  border-left: 5px solid var(--retro-orange);
  border-radius: 0 10px 10px 0;
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 10px;
  }
}

/* === FLEX CONTAINER CLASSES === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff7ed;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(163, 105, 70, 0.08), 0 0px 0px 2px #fdeccd;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 6px 36px 0 rgba(127, 80, 41, 0.15);
  transform: translateY(-2px) scale(1.015);
}
.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: #fff;
  border-radius: 16px;
  color: #232B35;
  box-shadow: 0 6px 24px 0 rgba(127, 80, 41, 0.10);
  min-width: 270px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f9ecd7;
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: 0 1px 6px 0 rgba(183, 149, 110, 0.07);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--primary);
  color: #fff;
  padding-top: 0;
  box-shadow: 0 2px 16px rgba(35,43,53,0.07);
}
nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
}
nav > a img {
  height: 52px;
  margin-right: 12px;
  filter: sepia(.13) contrast(1.05);
}
nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
nav ul li {
  margin: 0 2px;
}
nav ul li a {
  font-family: var(--display-font);
  font-size: 1.09rem;
  font-weight: 700;
  color: var(--retro-yellow);
  letter-spacing: 0.06em;
  padding: 8px 17px;
  border-radius: 16px;
  transition: background .19s, color .2s;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--retro-orange);
  color: var(--primary);
}
.cta-primary {
  background: var(--retro-orange);
  color: var(--primary)!important;
  font-weight: 800;
  padding: 8px 23px !important;
  border-radius: 21px;
  box-shadow: 0 2px 8px 0 #e7a1631c;
  border: 2px solid #FFEC99;
  cursor: pointer;
  text-shadow: 1px 1px #ffe9b8;
  transition: background .15s, color .15s, box-shadow .18s, border .14s;
  margin-left: 16px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--retro-yellow);
  color: var(--retro-brown)!important;
  border: 2px solid var(--retro-brown);
  box-shadow: 0 8px 28px 0 #E7A16344;
}

/* == MOBILE HEADER == */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-orange);
  border: none;
  font-size: 2rem;
  color: var(--primary);
  border-radius: 10px;
  padding: 8px 16px;
  margin-left: 10px;
  position: relative;
  cursor: pointer;
  z-index: 105;
  box-shadow: 0 2px 8px 0 #eee6d1;
  transition: background .18s;
}
.mobile-menu-toggle:focus {
  outline: 3px dashed var(--retro-brown);
}

@media (max-width: 900px) {
  nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* == MOBILE MENU OVERLAY == */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--primary);
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(.6,.1,.15,1.03);
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  box-shadow: 4px 0 40px 0 rgba(35,43,53, .17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--retro-orange);
  border: none;
  color: var(--primary);
  font-size: 2.5rem;
  padding: 8px 20px 8px 16px;
  margin: 16px 0 0 10px;
  border-radius: 10px;
  align-self: flex-end;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 #f3ddb1;
  transition: background .15s;
  z-index: 110;
}
.mobile-menu-close:focus {
  outline: 3px solid var(--retro-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 36px 0 0 36px;
  z-index: 110;
}
.mobile-nav a {
  color: var(--retro-yellow);
  font-size: 1.3rem;
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: .09em;
  padding: 12px 0 6px 0;
  border-bottom: 2px dashed var(--retro-orange);
  transition: color .17s, background .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-orange);
  background: var(--retro-yellow);
  border-radius: 9px;
  padding-left: 10px;
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* == FOOTER == */
footer {
  padding: 40px 0 0 0;
  background: linear-gradient(180deg, #EFE7DD 0, #FFF9F2 100%);
  border-top: 5px dotted var(--retro-orange);
}
footer .container {
  padding-bottom: 18px;
}
footer .content-wrapper {
  flex-direction: row;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  font-size: 1rem;
  color: var(--retro-brown);
  background: none;
  padding: 0;
  letter-spacing: 0.07em;
  font-family: var(--display-font);
}
footer nav a:hover {
  color: var(--retro-green);
}
footer address {
  color: var(--primary);
  font-style: normal;
  font-size: 1rem;
  margin-top: 10px;
  background: #f8e6c4;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 2px 10px 0 #a969460d;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 425px;
}
footer address img {
  width: 18px;
  margin-right: 7px;
  filter: sepia(.22) contrast(1.19);
  vertical-align: middle;
}
.newsletter-signup {
  background: #f4efe3;
  border-left: 5px solid var(--retro-green);
  border-radius: 0 13px 13px 0;
  padding: 17px 28px 17px 18px;
  box-shadow: 0 1px 9px 0 #7bba7011;
  min-width: 220px;
  margin-top: 10px;
  max-width: 350px;
}
.newsletter-signup h4 {
  font-family: var(--display-font);
  color: var(--retro-green);
  margin-bottom: 6px;
  font-size: 1.15rem;
  letter-spacing: 0.07em;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 19px;
  }
  .newsletter-signup {
    max-width: 100%;
  }
  footer address {
    max-width: 100%;
  }
}

/* === BUTTONS & INTERACTIVE ELEMENTS === */
button, .button, input[type="submit"], input[type="button"] {
  font-family: var(--display-font);
  font-size: 1.07rem;
  border: none;
  border-radius: 13px;
  padding: 9px 20px;
  background: var(--retro-orange);
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 #ffe7c67a;
  margin: 2px 0;
  transition: background .16s, box-shadow .15s, color .14s;
}
button:hover, .button:hover, input[type="submit"]:hover, input[type="button"]:hover, button:focus {
  background: var(--retro-blue);
  color: #fff;
  box-shadow: 0 2px 14px 0 #7BA9BF44;
  outline: none;
}

/* === TAGS === */
.tag {
  display: inline-block;
  background: var(--retro-yellow);
  color: var(--retro-brown);
  border-radius: 8px;
  font-family: var(--display-font);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 2px 11px 3px 11px;
  margin-left: 7px;
  border: 1.5px dashed var(--retro-brown);
  vertical-align: middle;
  letter-spacing: 0.05em;
}

/* === UL/OL inside text-sections === */
.text-section ul {
  margin-left: 18px;
  list-style-type: square;
  margin-bottom: 10px;
  color: var(--retro-brown);
}
.text-section ul li {
  margin-bottom: 6px;
  padding-left: 4px;
  font-size: 1rem;
}
.text-section ul li::marker {
  color: var(--retro-orange);
}

/* === LISTING STYLES FOR RETRO LOOK === */
li {
  margin-bottom: 6px;
}
ol {
  list-style-type: decimal-leading-zero;
  margin-left: 19px;
}

/* == CARD-LIKE BLOCKS == */
.feature-grid > div {
  min-width: 260px;
  flex: 1 1 0;
  max-width: 350px;
  background: #fff8f2;
  padding: 30px 24px 32px 24px;
  border-radius: 17px;
  border: 1.5px solid #E8DAC8;
  box-shadow: 0 5px 18px 0 #f5e9d47a;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .15s;
}
.feature-grid > div:hover {
  box-shadow: 0 10px 36px 0 #E7A1632b;
  transform: scale(1.03) translateY(-4px);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 7px;
  filter: sepia(0.22) contrast(1.2);
}

/* == SPACING BETWEEN SECTIONS AND CARDS == */
section {
  margin-bottom: 60px;
  padding: 0;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
  }
}

/* == TESTIMONIALS == */
.testimonial-card {
  background: #fff;
  border-left: 8px solid var(--retro-blue);
  border-bottom: 3px dotted var(--retro-yellow);
  font-family: var(--main-font);
  color: var(--primary);
  min-width: 220px;
  max-width: 520px;
  margin: 0 auto 22px auto;
  box-shadow: 0 8px 28px 0 #F5E1C8cc;
}
.testimonial-card strong {
  color: var(--retro-brown);
  font-family: var(--display-font);
}

/* == BREADCRUMBS / NAV AIDS == */
.breadcrumbs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  font-size: 0.96rem;
  color: var(--retro-brown);
}
.breadcrumbs a {
  color: var(--retro-orange);
  font-weight: bold;
}
.breadcrumbs span {
  color: var(--retro-brown);
}

/* == TABLES, IF ANY APPEAR == */
table {
  border-collapse: collapse;
  width: 100%;
}
thead {
  background: var(--retro-yellow);
}
th, td {
  border: 1px solid #f2dac6;
  padding: 10px 14px;
  text-align: left;
}
tr:nth-child(even) {
  background: #FAF6ED;
}

/* === MICROINTERACTIONS & TRANSITIONS === */
.card, .feature-grid > div, .cta-primary, .button, .mobile-menu, .mobile-menu-toggle, .mobile-nav a, .mobile-menu-close, .testimonial-card {
  transition: box-shadow .18s, background .13s, color .13s, transform .18s;
}

/* === SCROLLBAR STYLING === */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-track {
  background: #f4e8d7;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #E7A163;
  border-radius: 8px;
}

/* === FORM ELEMENTS (not much in HTML but for future proof) === */
input, textarea, select {
  font-family: var(--main-font);
  padding: 10px 12px;
  border: 1.6px solid var(--retro-green);
  border-radius: 8px;
  margin-bottom: 18px;
  background: #FAF6ED;
  color: var(--primary);
  transition: border .14s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--retro-orange);
  outline: none;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 99999;
  background: #232B35;
  color: var(--retro-yellow);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 30px 18px 20px;
  font-family: var(--display-font);
  box-shadow: 0 -3px 22px 0 #a9694633;
  font-size: 1.06rem;
  animation: bannerIn .39s cubic-bezier(.53,1.13,.56,.95);
}
@keyframes bannerIn {
  0% {   opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0);   }
}
.cookie-banner button {
  margin-right: 7px;
  margin-left: 0;
  font-size: 1rem;
  border-radius: 9px;
}
.cookie-banner .cookie-settings-btn {
  background: var(--retro-yellow);
  color: #232B35;
  border: 2px dashed var(--retro-brown);
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--retro-orange);
  color: var(--primary);
}
.cookie-banner .cookie-reject-btn {
  background: #DD403A;
  color: #fff;
  border: 2px solid #a52823;
}
.cookie-banner .cookie-reject-btn:hover {
  background: #b62119;
}
.cookie-banner .cookie-accept-btn {
  background: var(--retro-green);
  color: var(--primary);
  border: 2px solid var(--retro-orange);
}
.cookie-banner .cookie-accept-btn:hover {
  background: var(--retro-yellow);
  color: var(--retro-brown);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 7px 19px 12px;
    font-size: 0.98rem;
    gap: 12px;
  }
  .cookie-banner button {
    width: 100%;
    margin: 2px 0;
  }
}

/* == COOKIE CONSENT MODAL == */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 100006;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(35,43,53,0.39);
  backdrop-filter: blur(4px);
}
.cookie-modal-backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  width: 98%;
  max-width: 400px;
  background: #fff7ed;
  border-radius: 21px;
  box-shadow: 0 5px 34px 0 #232B3513;
  padding: 34px 28px 23px 28px;
  color: var(--primary);
  font-family: var(--main-font);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn .16s both;
  position: relative;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.39rem;
  color: var(--retro-orange);
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}
.cookie-modal label {
  margin-bottom: 0;
}
.cookie-modal input[type="checkbox"]:disabled + label {
  color: #aaa;
  text-decoration: line-through;
}
.cookie-modal .category-desc {
  font-size: 0.96rem;
  color: #51556b;
}
.cookie-modal .modal-btn-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  background: var(--retro-yellow);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  box-shadow: 0 1px 5px #eed6b1aa;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--retro-orange);
}

@media (max-width: 420px) {
  .cookie-modal {
    padding: 18px 6px 18px 11px;
    max-width: 97vw;
  }
}

/* === ANIMATIONS === */
.cta-primary, .button, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button {
  transition: background .16s, color .16s, box-shadow .15s, transform .14s;
}
.cta-primary:active, button:active, .mobile-menu-toggle:active {
  transform: scale(.97);
}

/* === ACCESSIBILITY FOCUS RING === */
a:focus, button:focus, .cta-primary:focus, input:focus {
  outline: 2.5px dotted var(--retro-blue);
  outline-offset: 3px;
}

/* == RESPONSIVENESS == */
@media (max-width: 599px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  h3 {
    font-size: 1.01rem;
  }
  .container {
    padding-left: 3px;
    padding-right: 3px;
  }
  .feature-grid > div {
    padding: 17px 8px 21px 11px;
    min-width: 0;
    max-width: 100%;
  }
}

/* ===================================== */
/* === END OF BreezyLoom Retro Styles === */
/* ===================================== */
