/* =================================================================
   DAZZLE & BOGIE IMMOBILIEN - VINTAGE RETRO DESIGN SYSTEM
   Exklusive Residenzen für außergewöhnliche Lebenskunst
   ================================================================= */

/* CSS RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Courier New', Courier, monospace;
  color: #3d2817;
  background: #f9f5e8;
  line-height: 1.7;
  overflow-x: hidden;
}

/* VINTAGE RETRO TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Times New Roman', Times, serif;
  color: #3d2817;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  line-height: 1.3;
}

h1 {
  font-size: 48px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

h2 {
  font-size: 38px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h3 {
  font-size: 28px;
  letter-spacing: 1px;
}

h4 {
  font-size: 22px;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #4a3528;
}

a {
  text-decoration: none;
  color: #8b5a2b;
  transition: all 0.3s ease;
}

a:hover {
  color: #c9a961;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* VINTAGE CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* VINTAGE RETRO BUTTONS */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 3px solid #3d2817;
  background: #c9a961;
  color: #3d2817;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0 #3d2817;
  position: relative;
}

.btn-primary:hover,
.btn-secondary:hover {
  background: #3d2817;
  color: #f9f5e8;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #3d2817;
}

.btn-secondary {
  background: transparent;
  color: #3d2817;
}

.btn-secondary:hover {
  background: #3d2817;
  color: #f9f5e8;
}

/* VINTAGE HEADER */
header {
  background: #f9f5e8;
  border-bottom: 4px double #3d2817;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 8px rgba(61, 40, 23, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo img {
  height: 60px;
  width: auto;
  filter: sepia(30%) contrast(110%);
}

.main-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.main-nav a {
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3d2817;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: #8b5a2b;
  border-bottom: 3px solid #c9a961;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  width: 50px;
  height: 50px;
  background: #c9a961;
  border: 3px solid #3d2817;
  color: #3d2817;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #3d2817;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: #3d2817;
  color: #f9f5e8;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: #f9f5e8;
  border-left: 4px solid #3d2817;
  z-index: 1000;
  padding: 80px 30px 30px;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: -5px 0 15px rgba(61, 40, 23, 0.3);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 3px solid #3d2817;
  color: #3d2817;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: #3d2817;
  color: #f9f5e8;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3d2817;
  padding: 12px 16px;
  border: 2px solid #3d2817;
  background: #fff;
  display: block;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: #c9a961;
  transform: translateX(10px);
}

/* VINTAGE HERO SECTION */
.hero {
  background: linear-gradient(135deg, #e6d5b8 0%, #f9f5e8 50%, #d4b895 100%);
  padding: 80px 20px;
  border-bottom: 4px double #3d2817;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(61, 40, 23, 0.02) 10px,
    rgba(61, 40, 23, 0.02) 20px
  );
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 24px;
  text-shadow: 3px 3px 0 rgba(201, 169, 97, 0.3);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #4a3528;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* VINTAGE SECTIONS */
section {
  padding: 60px 20px;
  margin-bottom: 0;
  position: relative;
}

section:nth-child(even) {
  background: #fff;
}

section:nth-child(odd) {
  background: #f9f5e8;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* VINTAGE CONTENT WRAPPER */
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.content-wrapper h2 {
  margin-bottom: 32px;
}

.content-wrapper p {
  font-size: 18px;
  margin-bottom: 24px;
}

/* VINTAGE STATS GRID */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 50px;
}

.stat-item {
  flex: 0 0 calc(25% - 24px);
  min-width: 200px;
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border: 3px solid #3d2817;
  box-shadow: 6px 6px 0 rgba(61, 40, 23, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0 rgba(61, 40, 23, 0.3);
}

.stat-item h3 {
  font-size: 42px;
  color: #8b5a2b;
  margin-bottom: 12px;
  font-weight: 900;
}

.stat-item p {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* VINTAGE PROPERTY GRID */
.property-grid,
.card-grid,
.services-grid,
.usp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 40px;
}

.property-card,
.service-card,
.usp-item,
.card {
  flex: 0 0 calc(33.333% - 22px);
  min-width: 280px;
  background: #fff;
  border: 4px solid #3d2817;
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  box-shadow: 5px 5px 0 rgba(61, 40, 23, 0.2);
}

.property-card:hover,
.service-card:hover,
.usp-item:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 8px 8px 0 rgba(61, 40, 23, 0.3);
}

.property-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #c9a961;
  color: #3d2817;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 3px solid #3d2817;
  transform: rotate(5deg);
  box-shadow: 3px 3px 0 rgba(61, 40, 23, 0.3);
}

.property-info h3 {
  font-size: 24px;
  margin-bottom: 12px;
  border-bottom: 3px solid #c9a961;
  padding-bottom: 12px;
}

.location {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8b5a2b;
  margin-bottom: 8px;
}

.price {
  font-size: 28px;
  font-weight: 900;
  color: #3d2817;
  margin: 16px 0;
  font-family: 'Times New Roman', Times, serif;
}

.features,
.features-list {
  margin-top: 16px;
  padding: 16px 0;
  border-top: 2px dashed #c9a961;
}

.features li,
.features-list li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  color: #4a3528;
}

.features li::before,
.features-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #8b5a2b;
  font-size: 16px;
}

/* SERVICE PRICE */
.service-price {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  background: #c9a961;
  color: #3d2817;
  font-weight: 700;
  border: 2px solid #3d2817;
  font-size: 16px;
}

/* VINTAGE TESTIMONIALS */
.testimonials {
  background: #e6d5b8;
  padding: 60px 20px;
  border-top: 4px double #3d2817;
  border-bottom: 4px double #3d2817;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
  justify-content: center;
}

.testimonial-card {
  flex: 0 0 calc(50% - 16px);
  min-width: 300px;
  background: #fff;
  padding: 32px;
  border: 4px solid #3d2817;
  box-shadow: 6px 6px 0 rgba(61, 40, 23, 0.2);
  position: relative;
  margin-bottom: 20px;
}

.testimonial-card::before {
  content: '❝';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 72px;
  color: #c9a961;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #3d2817;
  font-style: italic;
}

.client-name {
  font-weight: 700;
  color: #8b5a2b;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  font-style: normal;
  margin: 0;
}

/* VINTAGE BADGES */
.badge,
.location-badges span,
.trust-badges span {
  display: inline-block;
  padding: 8px 16px;
  margin: 8px 8px 8px 0;
  background: #fff;
  border: 3px solid #3d2817;
  color: #3d2817;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 3px 3px 0 rgba(61, 40, 23, 0.2);
  transition: all 0.3s ease;
}

.badge:hover,
.location-badges span:hover,
.trust-badges span:hover {
  background: #c9a961;
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 rgba(61, 40, 23, 0.3);
}

.location-badges,
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 24px 0;
}

/* CTA CENTER */
.cta-center {
  text-align: center;
  margin-top: 40px;
}

/* VINTAGE ARTICLE CARDS */
.article-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
  justify-content: space-between;
}

.article-card {
  flex: 0 0 calc(33.333% - 22px);
  min-width: 280px;
  background: #fff;
  border: 4px solid #3d2817;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 20px;
  box-shadow: 5px 5px 0 rgba(61, 40, 23, 0.2);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 7px 7px 0 rgba(61, 40, 23, 0.3);
}

.category,
.category-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #c9a961;
  color: #3d2817;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  border: 2px solid #3d2817;
}

.reading-time {
  font-size: 12px;
  color: #8b5a2b;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-top: 12px;
}

/* VINTAGE CTA BANNER */
.cta-banner {
  background: #3d2817;
  color: #f9f5e8;
  padding: 80px 20px;
  text-align: center;
  border-top: 4px solid #c9a961;
  border-bottom: 4px solid #c9a961;
}

.cta-banner h2 {
  color: #f9f5e8;
  margin-bottom: 24px;
}

.cta-banner p {
  color: #e6d5b8;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-banner .btn-primary {
  background: #c9a961;
  color: #3d2817;
}

/* VINTAGE FOOTER */
footer {
  background: #3d2817;
  color: #e6d5b8;
  padding: 60px 20px 20px;
  border-top: 4px double #c9a961;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  color: #c9a961;
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid #c9a961;
  padding-bottom: 12px;
}

.footer-col p {
  color: #e6d5b8;
  font-size: 14px;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: #e6d5b8;
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 4px 0;
}

.footer-nav a:hover {
  color: #c9a961;
  padding-left: 10px;
}

.footer-bottom {
  border-top: 2px solid #c9a961;
  padding-top: 24px;
  text-align: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-legal a {
  color: #e6d5b8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-legal a:hover {
  color: #c9a961;
}

.footer-bottom p {
  color: #e6d5b8;
  font-size: 12px;
  margin: 0;
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
  color: #8b5a2b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumb a {
  color: #8b5a2b;
}

.breadcrumb span {
  color: #3d2817;
  font-weight: 700;
}

/* PAGE HERO */
.page-hero {
  background: #e6d5b8;
  padding: 60px 20px;
  border-bottom: 4px double #3d2817;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* FILTER BAR */
.filter-section {
  padding: 32px 20px;
  background: #fff;
  border-bottom: 3px solid #3d2817;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.search-input,
.sort-select {
  padding: 12px 16px;
  border: 3px solid #3d2817;
  background: #fff;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  color: #3d2817;
  min-width: 200px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  padding: 10px 20px;
  background: #fff;
  border: 3px solid #3d2817;
  color: #3d2817;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #c9a961;
}

/* PAGINATION */
.pagination {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}

.pagination button {
  padding: 12px 20px;
  background: #fff;
  border: 3px solid #3d2817;
  color: #3d2817;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination button:hover {
  background: #c9a961;
}

/* FORM STYLES */
.contact-form,
.signup-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1;
  min-width: 200px;
}

label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3d2817;
}

input[type="text"],
input[type="email"],
textarea,
select {
  padding: 12px 16px;
  border: 3px solid #3d2817;
  background: #fff;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  color: #3d2817;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #c9a961;
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-group label,
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  text-transform: none;
  cursor: pointer;
}

/* COOKIE CONSENT BANNER */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #3d2817;
  color: #f9f5e8;
  padding: 24px;
  z-index: 1000;
  border-top: 4px solid #c9a961;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text h4 {
  color: #c9a961;
  font-size: 18px;
  margin-bottom: 8px;
}

.cookie-text p {
  color: #e6d5b8;
  font-size: 14px;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 12px 24px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 3px solid #f9f5e8;
  background: #c9a961;
  color: #3d2817;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-buttons button:hover {
  background: #f9f5e8;
  transform: translateY(-2px);
}

.cookie-buttons .reject {
  background: transparent;
  color: #f9f5e8;
}

.cookie-buttons .reject:hover {
  background: #f9f5e8;
  color: #3d2817;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(61, 40, 23, 0.9);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: #f9f5e8;
  border: 4px solid #3d2817;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 10px 10px 0 rgba(61, 40, 23, 0.3);
}

.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 3px solid #3d2817;
  background: transparent;
  color: #3d2817;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  background: #3d2817;
  color: #f9f5e8;
  transform: rotate(90deg);
}

.cookie-category {
  padding: 20px;
  margin-bottom: 16px;
  background: #fff;
  border: 3px solid #3d2817;
}

.cookie-category h4 {
  margin-bottom: 8px;
  color: #3d2817;
}

.cookie-category p {
  font-size: 14px;
  margin-bottom: 12px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* TIMELINE */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #c9a961;
}

.timeline-step,
.step {
  position: relative;
  padding: 20px;
  background: #fff;
  border: 3px solid #3d2817;
  box-shadow: 5px 5px 0 rgba(61, 40, 23, 0.2);
}

.timeline-step::before,
.step::before {
  content: '';
  position: absolute;
  left: -50px;
  top: 24px;
  width: 20px;
  height: 20px;
  background: #c9a961;
  border: 4px solid #3d2817;
  border-radius: 50%;
}

.timeline-step h3,
.step h3 {
  color: #8b5a2b;
  margin-bottom: 12px;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  border: 4px solid #3d2817;
  background: #fff;
}

thead {
  background: #c9a961;
  border-bottom: 4px solid #3d2817;
}

th,
td {
  padding: 16px;
  text-align: left;
  border: 2px solid #3d2817;
  font-size: 14px;
}

th {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3d2817;
}

tbody tr:nth-child(even) {
  background: #f9f5e8;
}

/* LEGAL PAGE */
.legal-page {
  padding: 60px 20px;
}

.legal-content {
  max-width: 900px;
  margin: 32px auto;
  background: #fff;
  padding: 40px;
  border: 4px solid #3d2817;
  box-shadow: 8px 8px 0 rgba(61, 40, 23, 0.2);
}

.legal-content h2 {
  margin-top: 32px;
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 3px solid #c9a961;
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: #8b5a2b;
}

.legal-content ul,
.legal-content ol {
  margin: 16px 0;
  padding-left: 32px;
}

.legal-content ul li,
.legal-content ol li {
  margin-bottom: 8px;
  line-height: 1.8;
  color: #4a3528;
}

.legal-content ul li {
  list-style: square;
}

.legal-content ol li {
  list-style: decimal;
}

.last-updated {
  font-size: 14px;
  color: #8b5a2b;
  font-style: italic;
  margin-bottom: 24px;
}

/* THANK YOU PAGE */
.thank-you-section {
  padding: 80px 20px;
  text-align: center;
  background: #e6d5b8;
}

.thank-you-content {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 60px 40px;
  border: 4px solid #3d2817;
  box-shadow: 10px 10px 0 rgba(61, 40, 23, 0.2);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #c9a961;
  border: 4px solid #3d2817;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #3d2817;
  margin: 0 auto 32px;
  font-weight: 900;
}

.main-message {
  font-size: 20px;
  margin-bottom: 16px;
}

.confirmation-note {
  font-size: 16px;
  color: #8b5a2b;
  font-style: italic;
}

/* STEPS GRID */
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  justify-content: center;
}

.step-item {
  flex: 0 0 calc(25% - 18px);
  min-width: 200px;
  text-align: center;
  padding: 24px;
  background: #fff;
  border: 3px solid #3d2817;
  box-shadow: 5px 5px 0 rgba(61, 40, 23, 0.2);
}

.step-number {
  width: 50px;
  height: 50px;
  background: #c9a961;
  border: 3px solid #3d2817;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: #3d2817;
  margin: 0 auto 16px;
}

/* RESOURCE CARDS */
.resource-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.resource-card {
  flex: 0 0 calc(50% - 12px);
  min-width: 280px;
  padding: 28px;
  background: #fff;
  border: 4px solid #3d2817;
  box-shadow: 5px 5px 0 rgba(61, 40, 23, 0.2);
  transition: all 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0 rgba(61, 40, 23, 0.3);
}

.resource-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.resource-card p {
  margin-bottom: 20px;
}

/* RESPONSIVE DESIGN - MOBILE FIRST */
@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: block;
  }

  /* Hide desktop navigation */
  .main-nav {
    display: none;
  }

  /* Typography adjustments */
  h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }

  h2 {
    font-size: 28px;
    letter-spacing: 1.5px;
  }

  h3 {
    font-size: 22px;
  }

  /* Hero section */
  .hero {
    padding: 50px 20px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
    text-align: center;
  }

  /* Grid layouts - stack on mobile */
  .stats-grid,
  .property-grid,
  .services-grid,
  .usp-grid,
  .article-grid,
  .testimonial-grid,
  .resource-cards,
  .steps-grid {
    flex-direction: column;
  }

  .stat-item,
  .property-card,
  .service-card,
  .usp-item,
  .article-card,
  .testimonial-card,
  .resource-card,
  .step-item {
    flex: 1 1 100%;
    min-width: 100%;
  }

  /* Footer columns */
  .footer-content {
    flex-direction: column;
  }

  .footer-col {
    min-width: 100%;
  }

  /* Filter bar */
  .filter-bar {
    flex-direction: column;
  }

  .search-input,
  .sort-select {
    width: 100%;
  }

  .filter-buttons {
    width: 100%;
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
  }

  /* Form adjustments */
  .form-row {
    flex-direction: column;
  }

  .form-row .form-group {
    min-width: 100%;
  }

  /* Cookie consent */
  .cookie-content {
    flex-direction: column;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }

  /* Timeline */
  .timeline {
    padding-left: 24px;
  }

  .timeline::before {
    left: 5px;
  }

  .timeline-step::before,
  .step::before {
    left: -34px;
    width: 16px;
    height: 16px;
  }

  /* Legal content */
  .legal-content {
    padding: 24px;
  }

  /* Thank you page */
  .thank-you-content {
    padding: 40px 24px;
  }

  /* Tables - make scrollable */
  table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 20px;
    font-size: 12px;
  }

  .property-card,
  .service-card,
  .article-card {
    padding: 20px;
  }

  .testimonial-card {
    padding: 24px;
  }

  section {
    padding: 40px 16px;
  }

  .hero {
    padding: 40px 16px;
  }
}

/* PRINT STYLES */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-consent,
  .cookie-modal,
  header,
  footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}

/* ACCESSIBILITY IMPROVEMENTS */
*:focus {
  outline: 3px solid #c9a961;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Apply fade-in animation to sections */
section {
  animation: fadeIn 0.6s ease-out;
}

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
.p-5 { padding: 40px; }

/* END OF STYLESHEET */