/* UrbanWahl Soft Pastel Style – style.css */

/* =====================
   CSS Variables & Base
   ===================== */
:root {
  /* Brand Colors */
  --primary: #23293A;
  --secondary: #9FC131;
  --accent: #F5F4F0;
  /* Soft Pastel Palette */
  --pastel-blue: #b8d8f4;
  --pastel-green: #d6f5e3;
  --pastel-yellow: #fff7c7;
  --pastel-pink: #ffe3ec;
  --pastel-lavender: #e6e6fa;
  --pastel-mint: #e0f7fa;
  --pastel-peach: #ffe5d9;
  --pastel-grey: #f7f7fa;
  /* Gradients */
  --gradient-main: linear-gradient(120deg, #e6e6fa 0%, #ffe3ec 100%);
  --gradient-card: linear-gradient(120deg, #fff7c7 0%, #d6f5e3 100%);
  --gradient-btn: linear-gradient(90deg, #b8d8f4 0%, #ffe3ec 100%);
  /* Shadows */
  --shadow-soft: 0 4px 24px 0 rgba(180, 180, 200, 0.13);
  --shadow-card: 0 2px 12px 0 rgba(180, 180, 200, 0.10);
  /* Typography */
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  /* Spacing */
  --section-margin: 60px;
  --section-padding: 40px 20px;
  --card-gap: 24px;
  --card-margin-bottom: 20px;
  --content-gap: 20px;
  --text-image-gap: 30px;
  --testimonial-gap: 20px;
  --feature-gap: 15px;
}

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

body {
  font-family: var(--font-body);
  color: var(--primary);
  background: var(--gradient-main);
  margin: 0;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.7em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.3rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }

p, ul, ol {
  margin-top: 0;
  margin-bottom: 1.2em;
  color: var(--primary);
  font-size: 1rem;
}

ul, ol {
  padding-left: 1.2em;
}

strong {
  color: var(--primary);
  font-weight: 600;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--secondary);
}

/* =====================
   Header & Navigation
   ===================== */
header {
  background: var(--accent);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 24px;
}
header nav {
  display: flex;
  gap: 28px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.cta-btn {
  font-family: var(--font-display);
  background: var(--gradient-btn);
  color: var(--primary);
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  margin-left: 32px;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #d6f5e3 0%, #b8d8f4 100%);
  color: var(--secondary);
  box-shadow: 0 6px 24px 0 rgba(159, 193, 49, 0.12);
}

/* =====================
   Mobile Navigation
   ===================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 50;
  background: var(--pastel-blue);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:active {
  background: var(--pastel-mint);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-main);
  box-shadow: 0 0 0 100vw rgba(35,41,58,0.10);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--pastel-pink);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: var(--primary);
  margin: 24px 0 0 24px;
  align-self: flex-start;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:active {
  background: var(--pastel-mint);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 48px 0 0 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}

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

/* =====================
   Main Layout & Sections
   ===================== */
main {
  min-height: 60vh;
  background: transparent;
}
section {
  margin-bottom: var(--section-margin);
  padding: var(--section-padding);
  background: transparent;
}
.content-wrapper {
  background: var(--gradient-card);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =====================
   Flexbox Layout Patterns
   ===================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
}
.card {
  background: var(--accent);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--card-margin-bottom);
  position: relative;
  padding: 24px 18px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(159,193,49,0.13);
  transform: translateY(-2px) scale(1.01);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--content-gap);
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: var(--text-image-gap);
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: var(--testimonial-gap);
  padding: 20px;
  background: var(--pastel-blue);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.05rem;
  font-style: italic;
  transition: box-shadow 0.2s, background 0.2s;
}
.testimonial-card span {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  margin-left: 12px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: var(--pastel-mint);
  box-shadow: 0 8px 32px 0 rgba(159,193,49,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--feature-gap);
}

/* =====================
   Feature Grids & Cards
   ===================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}
.feature-grid > div {
  background: var(--pastel-mint);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.2s, background 0.2s;
}
.feature-grid > div:hover {
  background: var(--pastel-yellow);
  box-shadow: 0 8px 32px 0 rgba(159,193,49,0.13);
}

.property-slider, .city-gallery-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.property-slider > div, .city-gallery-slider img {
  background: var(--pastel-peach);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 12px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, background 0.2s;
}
.property-slider > div:hover {
  background: var(--pastel-yellow);
  box-shadow: 0 8px 32px 0 rgba(159,193,49,0.13);
}
.property-slider img, .city-gallery-slider img {
  border-radius: 12px;
  margin-bottom: 10px;
}

.property-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}
.property-card {
  background: var(--pastel-lavender);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 20px 16px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, background 0.2s;
}
.property-card:hover {
  background: var(--pastel-blue);
  box-shadow: 0 8px 32px 0 rgba(159,193,49,0.13);
}
.property-card img {
  margin-bottom: 12px;
}

.city-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}
.city-card {
  background: var(--pastel-green);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 20px 16px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, background 0.2s;
}
.city-card:hover {
  background: var(--pastel-yellow);
  box-shadow: 0 8px 32px 0 rgba(159,193,49,0.13);
}
.city-card img {
  margin-bottom: 12px;
}

.team-member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}
.team-member-list > div {
  background: var(--pastel-pink);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 20px 16px;
  min-width: 180px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, background 0.2s;
}
.team-member-list > div:hover {
  background: var(--pastel-mint);
  box-shadow: 0 8px 32px 0 rgba(159,193,49,0.13);
}
.team-member-list img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.article-list > div {
  background: var(--pastel-peach);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 20px 16px;
  min-width: 180px;
  flex: 1 1 180px;
  transition: box-shadow 0.2s, background 0.2s;
}
.article-list > div:hover {
  background: var(--pastel-yellow);
  box-shadow: 0 8px 32px 0 rgba(159,193,49,0.13);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =====================
   Trust Badges, Badges, Categories
   ===================== */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}
.trust-badges span {
  background: var(--pastel-mint);
  color: var(--primary);
  border-radius: 12px;
  padding: 8px 18px;
  font-size: 0.98rem;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: var(--shadow-card);
}
.categories {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--secondary);
}
.categories span {
  background: var(--pastel-blue);
  border-radius: 8px;
  padding: 4px 12px;
  font-weight: 500;
}
.key-facts {
  display: flex;
  gap: 12px;
  margin: 18px 0 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--secondary);
}
.key-facts span {
  background: var(--pastel-mint);
  border-radius: 8px;
  padding: 4px 12px;
  font-weight: 500;
}

/* =====================
   Map & Address Details
   ===================== */
.map-view, .map {
  background: var(--pastel-grey);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 24px 18px;
  margin-top: 18px;
  color: var(--primary);
  font-size: 1.05rem;
  text-align: center;
}
.address-details {
  margin-top: 12px;
  color: var(--primary);
  font-size: 1rem;
}

/* =====================
   Footer
   ===================== */
footer {
  background: var(--accent);
  box-shadow: var(--shadow-soft);
  padding: 32px 0 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 24px;
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  font-family: var(--font-display);
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  font-size: 0.98rem;
  color: var(--primary);
  margin-top: 8px;
}

/* =====================
   Cookie Consent Banner
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--gradient-main);
  box-shadow: 0 -2px 24px 0 rgba(180,180,200,0.13);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookieBannerIn 0.6s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--primary);
  font-size: 1rem;
  margin: 0 0 8px 0;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  border: none;
  border-radius: 20px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cookie-btn.accept {
  background: var(--pastel-green);
  color: var(--primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
}
.cookie-btn.reject {
  background: var(--pastel-pink);
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.cookie-btn.settings {
  background: var(--pastel-mint);
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--pastel-lavender);
  color: var(--secondary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,41,58,0.18);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--gradient-main);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(159,193,49,0.13);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalIn 0.4s cubic-bezier(.77,0,.18,1);
}
@keyframes modalIn {
  from { transform: translateY(40px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5em;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: var(--primary);
  font-family: var(--font-body);
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: var(--pastel-grey);
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid #e0e0e0;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--pastel-blue);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--secondary);
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 19px;
  background: var(--primary);
}
.cookie-modal .cookie-category.essential label {
  color: var(--primary);
  font-weight: 600;
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  background: var(--pastel-grey);
  pointer-events: none;
  opacity: 0.6;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* =====================
   Responsive Design
   ===================== */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .content-wrapper {
    padding: 24px 10px;
  }
  .feature-grid, .property-listings, .city-overview-grid, .team-member-list, .article-list {
    gap: 18px;
  }
  .property-slider, .city-gallery-slider {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    padding: 16px 6px;
    gap: 12px;
  }
  .feature-grid, .property-listings, .city-overview-grid, .team-member-list, .article-list {
    flex-direction: column;
    gap: 14px;
  }
  .property-slider, .city-gallery-slider {
    flex-direction: column;
    gap: 10px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding-bottom: 12px;
  }
  .cookie-modal {
    padding: 18px 8px 16px 8px;
    min-width: 0;
  }
}

/* =====================
   Micro-interactions & Transitions
   ===================== */
button, .cta-btn, .cookie-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
button:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* =====================
   Utility Classes
   ===================== */
.hide {
  display: none !important;
}

/* =====================
   Accessibility
   ===================== */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* =====================
   Prevent Overlapping
   ===================== */
.card, .feature-grid > div, .property-card, .city-card, .team-member-list > div, .article-list > div {
  margin-bottom: 20px;
}

/* =====================
   End of CSS
   ===================== */
