/* ===============================
   Shaded Haven – style.css
   Creative Artistic Style – Flexbox Only
   Brand: #23272F (primary), #B79561 (secondary/gold), #E9E5DA (accent)
   Fonts: 'Cormorant Garamond', 'Lato', sans-serif
   =============================== */
/* === 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;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
html {
  scroll-behavior: smooth;
}

/* === BASE TYPOGRAPHY & FONT FACE === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&family=Lato:wght@400;700&display=swap');

body {
  font-family: 'Lato', Arial, sans-serif;
  color: #23272F;
  background-color: #E9E5DA;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: #23272F;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 700;
}
p, ul, ol {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
}
.subheadline {
  font-size: 1.35rem;
  color: #B79561;
  margin-bottom: 24px;
  font-style: italic;
}
.last-update {
  font-size: 0.96rem;
  color: #8A7243;
  margin-top: 8px;
}

strong {
  font-weight: 700;
  color: #B79561;
}
em {
  color: #552d0d;
}


/* === LAYOUT CONTAINERS === */
.container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* Feature & Card container patterns */
.feature-grid, .car-list, .testimonial-list, .service-list, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 28px 0 rgba(35, 39, 47, 0.09), 0 1.5px 14px 0 rgba(183, 149, 97, 0.07);
  background: #fff;
  transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  box-shadow: 0 18px 32px 0 rgba(35, 39, 47, 0.16), 0 4px 32px 0 rgba(183, 149, 97, 0.11);
  transform: translateY(-2px) scale(1.021);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* Text-image section pattern */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn-primary, .btn-outline {
  padding: 14px 36px;
  border-radius: 32px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
  margin-right: 10px;
  box-shadow: 0 4px 16px 0 rgba(183, 149, 97, 0.07);
  outline: none;
  display: inline-block;
}
.btn-primary {
  color: #23272F;
  background: #B79561;
  border: 2px solid #B79561;
}
.btn-primary:hover, .btn-primary:focus {
  background: #23272F;
  color: #E9E5DA;
  border-color: #23272F;
  box-shadow: 0 6px 24px 0 rgba(183, 149, 97, 0.14);
}
.btn-outline {
  background: transparent;
  color: #B79561;
  border: 2px solid #B79561;
}
.btn-outline:hover, .btn-outline:focus {
  background: #B79561;
  color: #23272F;
  box-shadow: 0 6px 18px 0 rgba(183, 149, 97, 0.18);
}

/* === MAIN NAVIGATION === */
header {
  background: #fff;
  border-bottom: 3px solid #B79561;
}
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  min-height: 80px;
}
.logo-link img {
  height: 44px;
  width: auto;
  margin-right: 20px;
}
.main-navigation ul {
  display: flex;
  gap: 24px;
}
.main-navigation li {
  display: flex;
  align-items: center;
}
.main-navigation a {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #23272F;
  position: relative;
  padding: 8px 4px;
  transition: color 0.15s;
}
.main-navigation a:hover,
.main-navigation a:focus {
  color: #B79561;
}
.main-navigation .btn-primary {
  margin-left: 12px;
  margin-right: 0;
  padding: 10px 30px;
}

/* Hamburger/mobile menu */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  background: #B79561;
  color: #fff;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1900;
  box-shadow: 0 2px 12px 0 rgba(35, 39, 47, 0.10);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #23272F;
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35, 39, 47, 0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.53,.17,.26,1.08);
  padding: 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 5px 0 32px 0 rgba(35,39,47,0.16);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  background: transparent;
  color: #B79561;
  border: none;
  cursor: pointer;
  margin-bottom: 24px;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #E9E5DA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #E9E5DA;
  font-size: 1.32rem;
  font-family: 'Cormorant Garamond', serif;
  padding: 15px 8px;
  border-radius: 12px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #B79561;
  color: #23272F;
}

/* Hide main navigation on mobile, show hamburger */
@media (max-width: 1024px) {
  .main-navigation ul,
  .main-navigation .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 640px) {
  .main-navigation .logo-link img {
    height: 35px;
  }
}

/* === HERO / SECTION STYLING === */
section {
  background: #fff;
  border-radius: 32px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 24px 0 rgba(35,39,47,0.04), 0 2px 12px 0 rgba(183,149,97,0.04);
}

/* --- Feature/Service/Grid styling --- */
.feature-grid > div,
.car-list > div,
.service-list > li {
  flex: 1 1 240px;
  min-width: 220px;
  background: #E9E5DA;
  border-radius: 18px;
  padding: 26px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(183,149,97,0.10);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.24s, transform 0.22s;
}
.feature-grid > div:hover,
.car-list > div:hover,
.service-list > li:hover {
  box-shadow: 0 6px 24px 0 rgba(183,149,97,0.16);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img, .car-list img {
  height: 44px;
  margin-bottom: 8px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list li {
  flex: 1 1 260px;
  min-width: 240px;
  background: #fff;
  border: 2px solid #B79561;
  border-radius: 18px;
  padding: 28px 18px;
  box-shadow: 0 2px 12px 0 rgba(35, 39, 47, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.18s, transform 0.22s;
}
.service-list li:hover {
  border-color: #23272F;
  box-shadow: 0 8px 32px 0 rgba(35,39,47,0.13);
  transform: translateY(-3px) scale(1.018);
}
.service-price {
  color: #B79561;
  font-size: 1.12rem;
  font-weight: 700;
}

/* === TESTIMONIALS === */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 26px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 19px 0 rgba(183, 149, 97, 0.12);
  min-width: 260px;
  max-width: 380px;
  margin-bottom: 20px;
  color: #23272F;
  border-left: 7px solid #B79561;
  transition: box-shadow 0.22s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px 0 rgba(35,39,47,0.17);
  transform: translateY(-3px) scale(1.014);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #23272F;
  padding-bottom: 4px;
  font-family: 'Cormorant Garamond', serif;
}
.testimonial-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 1.01rem;
  color: #8A7243;
}
.testimonial-meta img {
  width: 20px;
  height: 20px;
}

/* === CONTACT DETAILS & MAP === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
  font-size: 1.1rem;
}
.contact-details p, .contact-details a {
  color: #B79561;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.contact-details img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}

.map-location {
  background: #E9E5DA;
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 20px;
}
.map-location h2 {
  font-size: 1.22rem;
  margin-bottom: 10px;
  color: #23272F;
}

/* === FOOTER === */
footer {
  background: #23272F;
  color: #E9E5DA;
  padding: 56px 0 26px 0;
  border-top: 5px solid #B79561;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.footer-branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.29rem;
  margin-bottom: 14px;
}
.footer-branding img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: 'Lato', Arial, sans-serif;
  color: #B79561;
  font-size: 1.01rem;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #B79561;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: #E9E5DA;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  color: #E9E5DA;
  font-family: 'Lato', Arial, sans-serif;
}
.footer-contact img {
  width: 17px;
  height: 17px;
  margin-right: 5px;
  vertical-align: middle;
}
.footer-contact a {
  color: #B79561;
  text-decoration: underline;
  transition: color 0.15s;
}
.footer-contact a:hover {
  color: #E9E5DA;
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #23272F;
  color: #E9E5DA;
  z-index: 3000;
  padding: 24px 5vw 20px 5vw;
  border-top: 5px solid #B79561;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  font-size: 1.08rem;
  box-shadow: 0 -4px 26px 0 rgba(35,39,47,0.13);
  animation: slideUpBanner 0.7s cubic-bezier(.54,.01,.52,1) 1;
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #E9E5DA;
  margin: 0;
  flex: 1 1 auto;
  font-size: 1.02rem;
}
.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-consent-banner button {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  border-radius: 21px;
  padding: 10px 24px;
  border: none;
  font-size: 0.99rem;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 8px 0 rgba(183,149,97,0.08);
  margin-left: 0;
}
button.cookie-accept {
  background: #B79561;
  color: #23272F;
}
button.cookie-accept:hover {
  background: #E9E5DA;
  color: #23272F;
}
button.cookie-reject {
  background: #23272F;
  color: #B79561;
  border: 1.5px solid #B79561;
}
button.cookie-reject:hover {
  background: #B79561;
  color: #23272F;
}
button.cookie-settings {
  background: transparent;
  color: #B79561;
  border: 1.5px solid #B79561;
}
button.cookie-settings:hover {
  background: #B79561;
  color: #23272F;
}
@media (max-width: 640px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 12px 14px 12px;
  }
}

/* --- Cookie Preferences Modal --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(35,39,47,0.82);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.33s cubic-bezier(.53,.17,.26,1.08);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #23272F;
  border-radius: 32px;
  padding: 44px 38px;
  min-width: 310px;
  max-width: 400px;
  box-shadow: 0 8px 38px 0 rgba(35,39,47,0.21);
  display: flex;
  flex-direction: column;
  gap: 21px;
  font-size: 1.07rem;
  position: relative;
  animation: slideDownModal 0.39s cubic-bezier(.19,.62,.32,1.19);
}
@keyframes slideDownModal {
  from { transform: translateY(-60px); opacity: 0.7; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.23rem;
  margin-bottom: 6px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 2.1rem;
  color: #B79561;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: #23272F;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 1.02rem;
}
.cookie-toggle {
  width: 38px;
  height: 20px;
  background: #B79561;
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 3px 3px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.17s;
}
.cookie-toggle[data-enabled="true"] {
  background: #23272F;
}
.cookie-toggle-switch {
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s cubic-bezier(.6,.25,.3,1.3);
  transform: translateX(0);
}
.cookie-toggle[data-enabled="true"] .cookie-toggle-switch {
  transform: translateX(15px);
}
.cookie-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}
.cookie-modal-actions button {
  font-size: 0.97rem;
  padding: 9px 18px;
}

/* === FORMS (if any) === */
input, select, textarea {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 10px 12px;
  border-radius: 7px;
  border: 2px solid #B79561;
  background: #fff;
  color: #23272F;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.18s;
}
input:focus, textarea:focus {
  border-color: #23272F;
}
label {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  color: #B79561;
}

/* === UNIQUE ARTISTIC/DECORATIVE STYLES === */
h1, h2, h3 {
  position: relative;
  z-index: 1;
  overflow: visible;
}
h1:after, h2:after {
  content: "";
  display: block;
  width: 68px;
  height: 5px;
  background: #B79561;
  border-radius: 2px;
  margin-top: 8px;
}
@media (max-width: 640px) {
  h1:after, h2:after {
    width: 40px;
    height: 3px;
    margin-top: 5px;
  }
}

/* Example creative brush accent underlines (add as subtle backgrounds) */
.text-section {
  position: relative;
}
.text-section:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 30%;
  height: 13px;
  background: #E9E5DA;
  opacity: 0.4;
  border-radius: 7px;
  z-index: 0;
}

/* === ARTISTIC FONTS FOR ARTISTIC FEEL === */
@media (min-width: 720px) {
  h1, h2 {
    letter-spacing: 0.01em;
    font-size: 2.6rem;
  }
  h1 {
    font-size: 3rem;
  }
}

/* === FLEXBOX UTILITIES === */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .content-wrapper, .feature-grid, .service-list, .testimonial-list, .car-list {
    flex-direction: column;
    gap: 18px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* === RESPONSIVE LAYOUTS === */
@media (max-width: 1100px) {
  .feature-grid, .service-list, .car-list {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding: 0 7px;
  }
  .main-navigation {
    padding: 0 9px;
  }
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  section {
    padding: 26px 6px;
    border-radius: 16px;
  }
  .service-list li, .feature-grid > div {
    min-width: 0;
    padding: 19px 9px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .footer-branding {
    font-size: 1.09rem;
  }
}

/* === ANIMATIONS & MICRO-INTERACTIONS === */
.btn-primary, .btn-outline {
  transition: box-shadow 0.22s, background 0.14s, color 0.17s, border-color 0.12s;
  will-change: transform, box-shadow;
}
.btn-primary:active, .btn-outline:active {
  transform: scale(0.97);
}
.card, .service-list li, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.19s;
  will-change: box-shadow, transform;
}
.card:active, .service-list li:active, .feature-grid > div:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* === UTILITIES === */
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }

/* Hide elements visually but keep accessible */
.visually-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  top: auto;
  overflow: hidden;
}

/* === END === */
