/* ===============================
   Glowfall Urbanistik — style.css
   Soft Pastel Urbanism UI Theme
   =============================== */

/* ===============================
   1. 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, 
main, 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #FAFAFE;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #272927;
  background: #F3F3F7;
  line-height: 1.7;
  font-size: 1rem;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 14px;
}
a {
  color: #6B7EB4;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C2A14D;
}
ul, ol {
  padding-left: 1.5em;
  margin: 0.6em 0;
}
li + li {
  margin-top: 0.4em;
}

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

/* ===============================
   3. VARIABLE COLORS (PASTEL SCHEME)
   =============================== */
:root {
  --color-primary: #232D3C;
  --color-secondary: #F3F3F7;
  --color-accent: #C2A14D;
  /* Soft pastel palette */
  --pastel-blue: #BFD7ED;
  --pastel-pink: #FFE3E3;
  --pastel-mint: #E6F9F3;
  --pastel-yellow: #FFFAD6;
  --pastel-lavender: #F3E8FF;
  --pastel-orange: #FEE6C3;
  --text-default: #23272E;
  --text-secondary: #56636F;
  --white: #fff;
  --bg-main: #FAFAFE;
  --shadow-card: 0 4px 24px rgba(180,190,225,0.13);
}

/* ===============================
   4. TYPOGRAPHY
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: var(--color-primary);
  font-weight: 800;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text-secondary);
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* ===============================
   5. LAYOUT CONTAINERS & ALIGNMENT
   =============================== */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
main {
  flex: 1 1 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-main);
  border-radius: 34px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.20s, background 0.20s;
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 300px;
}
.card:hover {
  box-shadow: 0 8px 32px #D4CEF0ab;
  background: var(--pastel-lavender);
}
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-list > div {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 26px 20px 22px 20px;
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.18s, box-shadow 0.22s, background 0.20s;
  margin-bottom: 10px;
}
.feature-grid > div:hover, .service-list > div:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 32px #D2E9E3bb;
  background: var(--pastel-mint);
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--pastel-blue);
  color: var(--text-default);
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(180,190,225,0.19);
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.10rem;
  flex: 1 1 300px;
  backdrop-filter: blur(0.5px);
}

/* For distinct testimonial author block inside */
.testimonial-card > div {
  font-size: 0.99rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  color: var(--color-primary);
}

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

/* ===============================
   6. HEADER & NAVIGATION
   =============================== */
header {
  background: linear-gradient(90deg, #FAFAFE 60%, #F3E8FF 100%);
  box-shadow: 0 3px 24px 0 rgba(200, 182, 255, 0.09);
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  gap: 28px;
}
header img {
  height: 46px;
  min-width: 100px;
  margin-right: 8px;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1rem;
  border-radius: 8px;
  padding: 6px 12px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-yellow);
  color: #A48433;
}
.cta-btn {
  background: linear-gradient(90deg, var(--color-accent) 80%, #FEE6C3 100%);
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  padding: 12px 32px;
  margin-left: 16px;
  box-shadow: 0 2px 14px 0 rgba(255,220,180,0.09);
  cursor: pointer;
  transition: background 0.20s, box-shadow 0.16s, color 0.16s;
  outline: none;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #B68A22 70%, #FFD580 100%);
  color: #fff7e3;
  box-shadow: 0 3px 16px 0 #96680022;
}
button.cta-btn {
  padding: 12px 32px;
  font-size: 1rem;
}

/* ===============================
   7. MOBILE NAVIGATION / BURGER MENU
   =============================== */
.mobile-menu-toggle {
  display: none;
  background: var(--pastel-blue);
  color: var(--color-primary);
  border: none;
  border-radius: 12px;
  font-size: 2.0rem;
  padding: 8px 16px 6px 16px;
  margin-left: 14px;
  box-shadow: 0 2px 10px 0 rgba(191, 215, 237, 0.11);
  cursor: pointer;
  transition: background .15s;
  z-index: 1004;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--pastel-lavender);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(243,232,255,0.985);
  box-shadow: 0 6px 48px 0 #C9B6FF44;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.78,.15,.17,.97);
  z-index: 2000;
  padding: 32px 24px 24px 34px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--pastel-pink);
  color: var(--color-primary);
  border: none;
  border-radius: 12px;
  font-size: 2.1rem;
  position: absolute;
  top: 16px;
  right: 30px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  box-shadow: 0 1px 6px 0 #E3C3AB33;
  transition: background .17s, color .17s;
  z-index: 2010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 60px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  color: var(--color-primary);
  background: none;
  padding: 16px 0 16px 8px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-yellow);
  color: #A48433;
}

/* Hide main-nav, show burger on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===============================
   8. FOOTER
   =============================== */
footer {
  background: linear-gradient(90deg, #FAFAFE 60%, #E6F9F3 100%);
  padding: 32px 0 18px 0;
  margin-top: 48px;
  box-shadow: 0 -3px 18px 0 #BFDEF713;
  border-radius: 38px 38px 0 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 7px;
}
.footer-nav a {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.99rem;
  border-radius: 8px;
  padding: 6px 10px;
  transition: background 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-mint);
  color: #25706A;
}
footer small {
  color: var(--text-secondary);
  font-size: 0.93rem;
  opacity: 0.9;
}

/* ===============================
   9. SECTIONS, HEADLINES, CARDS
   =============================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-main);
  border-radius: 34px;
  box-shadow: 0 2px 22px rgba(215,225,240,0.10);
}
section:last-child {
  margin-bottom: 0;
}

/* = Extra soft backgrounds for certain sections = */
section:nth-child(2n+3) {
  background: var(--pastel-lavender);
}

/* ===============================
   10. FORM ELEMENTS
   =============================== */
input, textarea, select {
  padding: 13px 16px;
  border-radius: 8px;
  border: 1.2px solid #E2E4F0;
  font-size: 1rem;
  color: var(--text-default);
  transition: border 0.14s, background 0.13s;
  background: #F8FBFF;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  outline: none;
  background: var(--pastel-yellow);
}

button, input[type="submit"] {
  font-family: inherit;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.16s, box-shadow 0.14s;
}
::placeholder {
  color: #94A4BD;
  opacity: 1;
}

/* ===============================
   11. GENERAL UTILITIES
   =============================== */
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-center {
  text-align: center;
}
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.mt-4 { margin-top: 40px; }
.mb-4 { margin-bottom: 40px; }

/* ===============================
   12. HOVER EFFECTS & MICRO-INTERACTIONS
   =============================== */
a, button, .cta-btn {
  transition: background 0.15s, color 0.15s, box-shadow 0.16s, transform 0.16s;
  will-change: background, color, box-shadow, transform;
}
.card, .feature-grid > div, .testimonial-card, .service-list > div {
  transition: box-shadow 0.16s, transform 0.16s, background 0.16s;
}
.card:active, .feature-grid > div:active, .service-list > div:active {
  transform: scale(0.98);
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px #BFD7EDA3;
  background: var(--pastel-mint);
}

/* ===============================
   13. RESPONSIVE DESIGN — MOBILE FIRST
   =============================== */
@media (max-width: 900px) {
  .feature-grid > div, .service-list > div, .card {
    min-width: 180px;
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
    max-width: 100vw;
  }
  header .container {
    flex-direction: row;
    gap: 14px;
    padding: 13px 6px !important;
  }
  .cta-btn {
    padding: 10px 18px;
    font-size: 0.97rem;
    margin-left: 0;
  }
  section {
    margin-bottom: 38px;
    padding: 24px 8px;
    border-radius: 28px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .feature-grid, .service-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .service-list > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .content-wrapper { gap: 14px; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 1rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
  .main-nav not(:first-child) {
    margin-left: 0;
  }
  .mobile-menu {
    padding: 16px 8px 12px 18px;
  }
  .mobile-menu-close {
    right: 16px;
    top: 10px;
    width: 38px;
    height: 38px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

@media (max-width: 430px) {
  h1 { font-size: 1.14rem; }
  section { padding: 10px 0; }
  .footer-nav a { font-size: 0.9rem; padding: 4px 7px; }
  .cta-btn { font-size: 0.93rem; }
}

/* ===============================
   14. COOKIE CONSENT BANNER
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: linear-gradient(90deg, #FFE3E3 65%, #FFFAD6 100%);
  color: var(--color-primary);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: 0 -2px 32px rgb(240 220 240 / 18%);
  border-radius: 22px 22px 0 0;
  padding: 22px 28px 16px 24px;
  font-size: 1.08rem;
  animation: banner-fade-in .6s;
}
@keyframes banner-fade-in {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 220px;
  margin-right: 24px;
  min-width: 140px;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  border-radius: 14px;
  font-size: 0.99rem;
  font-weight: 600;
  padding: 10px 22px;
  border: none;
  margin: 0 1px;
  cursor: pointer;
  transition: background 0.11s, color 0.11s, box-shadow 0.12s;
}
.cookie-btn.accept {
  background: linear-gradient(90deg, var(--color-accent) 70%, #FEE6C3 100%);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--pastel-pink);
  color: #A86868;
}
.cookie-btn.settings {
  background: var(--pastel-blue);
  color: var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus { filter: brightness(0.98); }
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: linear-gradient(90deg, #A48433 60%, #FFD580 130%);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFD6DE;
  color: #852525;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--pastel-mint);
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 16px 7px 12px 7px;
    font-size: 0.99rem;
  }
}

/* ===== Cookie Modal ===== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(56,50,62,.17);
  z-index: 5001;
  align-items: center;
  justify-content: center;
  animation: fade-in .31s;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fade-in {
  from {opacity: 0;}
  to {opacity: 1;}
}

.cookie-modal {
  background: linear-gradient(120deg, #E6F9F3 60%, #F3E8FF 100%);
  border-radius: 17px;
  padding: 38px 28px 30px 28px;
  box-shadow: 0 6px 44px #C2A1F949;
  min-width: 320px;
  max-width: 95vw;
  font-size: 1.05rem;
  color: var(--color-primary);
  position: relative;
  animation: modal-pop .41s cubic-bezier(.87,.1,.13,.94);
}
@keyframes modal-pop {
  from { transform: scale(0.94); opacity: 0.4; }
  to   { transform: scale(1);   opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.26rem;
  margin-bottom: 18px;
  font-family: 'Roboto Slab', serif;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 17px;
}
.cookie-toggle {
  width: 32px;
  height: 19px;
  border-radius: 44px;
  background: #DFE7F7;
  border: none;
  box-shadow: 0 1px 6px #D7E9F733;
  cursor: pointer;
  position: relative;
  transition: background 0.17s;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--pastel-mint);
}
.cookie-toggle:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 3px #D1D4EF;
  transition: left .16s cubic-bezier(.81,.15,.14,.97);
}
.cookie-toggle[aria-checked="true"]:after {
  left: 16px;
}
.cookie-modal-actions {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 15px;
  font-size: 1.45rem;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  transition: background 0.13s;
}
.cookie-modal-close:hover {
  background: var(--pastel-pink);
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 19px 8px 17px 8px;
    min-width: 0;
  }
}

/* ===============================
   15. MISC/ACCESSIBILITY
   =============================== */
:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
[tabindex]:focus:not(:focus-visible) {
  outline: 0;
}
::-webkit-scrollbar { width: 13px; background: #F8FAFF; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg, #E6F9F3 50%, #E0E3FF 100%);
  border-radius: 8px;
}

/* ===============================
   16. SPECIALS: THANK YOU PAGE CENTERING
   =============================== */
.content-wrapper[style*="text-align: center"] {
  align-items: center;
  justify-content: center;
}

/* ===============================
   END OF FILE
   =============================== */
