/* ---------------------------------------------------
   CSS RESET & NORMALIZATION - for cross-browser base
--------------------------------------------------- */
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,
menu, nav, output, ruby, section, summary, time, mark,
audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #232B34;
  background: #F3F5F9;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; transition: color 0.18s; }
ul, ol { list-style: none; }

/* Brand Colors */
:root {
  --color-primary: #53263A; /* deep muted maroon */
  --color-secondary: #F0E8DB; /* elegant light */
  --color-accent: #B28D52; /* gold accent */
  --color-blue: #3F5366; /* professional blue for corporate vibes */
  --color-gray: #EDF0F4; /* gentle gray backgrounds */
  --color-text: #232B34;
  --color-bg: #FFFFFF;
  --color-muted: #8FA3B2;
  --color-danger: #B73939;
  --shadow-card: 0 4px 18px 0 rgba(32,40,88,0.11);
  --radius: 14px;
}

/* Font Family Imports */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900|Lato:400,700&display=swap');

/* Typography */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 600;
}
h4, .h4 {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  color: var(--color-blue);
  font-weight: 700;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 14px;
  line-height: 1.75;
}
strong, b {
  font-weight: 700;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin: 0 0 18px 0;
  letter-spacing: 0.005em;
}
blockquote, .memorable-quote {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--color-primary);
  padding-left: 20px;
  border-left: 5px solid var(--color-accent);
  margin: 16px 0 18px 0;
  background: #FFF8ED;
  border-radius: var(--radius);
}

/* ---------------------
   LAYOUT & CONTAINERS
---------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Card/Feature Patterns */
.card-container,
.feature-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-gray);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 260px;
  max-width: 360px;
  transition: box-shadow 0.23s, transform 0.23s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(83,38,58,0.16);
  transform: translateY(-3px) scale(1.015);
}

.feature-grid > div {
  background: var(--color-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 20px;
  min-width: 250px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.23s, transform 0.21s;
}
.feature-grid img {
  margin-bottom: 10px;
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.services-list > li, .services-list > div {
  background: var(--color-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 350px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.23s;
}
.services-list > li:hover, .services-list > div:hover {
  box-shadow: 0 8px 28px 0 rgba(50,50,80,0.13);
  transform: translateY(-3px);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Feature item */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
  background: #F9FAFC;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.testimonial-card > div {
  background: var(--color-bg);
  box-shadow: 0 2px 7px rgba(63,83,102,0.07);
  border-radius: var(--radius);
  padding: 18px 18px 12px 18px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 340px;
  color: var(--color-text);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.testimonial-card strong {
  font-family: 'Lato', sans-serif;
  display: block;
  color: var(--color-primary);
  font-size: 0.98rem;
  margin-top: 10px;
  font-weight: 700;
}

.ratings-breakdown {
  background: var(--color-gray);
  border-radius: 10px;
  padding: 18px 18px 12px 18px;
  margin-top: 12px;
  box-shadow: var(--shadow-card);
}

/* Nav/Header/Footer Styles */
header {
  background: var(--color-primary);
  padding: 0;
  box-shadow: var(--shadow-card);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  min-height: 68px;
  width: 100%;
}
.logo-link img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.main-nav .cta.primary {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 8px 22px;
  font-size: 1.07rem;
  font-weight: 700;
  border-radius: 26px;
  margin-left: 16px;
  transition: background 0.24s, color 0.22s, box-shadow 0.16s;
  box-shadow: 0 1.5px 8px rgba(178,141,82,0.12);
  letter-spacing: 0.01em;
}
.main-nav .cta.primary:hover, .main-nav .cta.primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 3px 16px rgba(83,38,58,0.18);
}

footer {
  background: var(--color-blue);
  color: var(--color-secondary);
  padding: 32px 0 6px 0;
  border-radius: 0;
  box-shadow: 0 -2px 14px 0 rgba(63,83,102,0.07);
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
}
footer p {
  margin: 0;
  font-size: 0.95rem;
  color: #e5e8ef;
}

/* LINKS & BUTTONS */
.cta, .cta.primary, .cta.secondary,
button, .mobile-menu-toggle, .mobile-menu-close {
  display: inline-flex;
  align-items: center;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.17s, color 0.18s, box-shadow 0.16s, transform 0.12s;
}
.cta {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 1.08rem;
  box-shadow: 0 1.5px 8px rgba(178,141,82,0.10);
  margin-top: 8px;
  margin-bottom: 10px;
}
.cta:hover, .cta:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 3px 14px 0 rgba(83,38,58,0.13);
  transform: translateY(-2px) scale(1.02);
}
.cta.secondary {
  background: var(--color-blue);
  color: #fff;
  padding: 7px 18px;
  border-radius: 26px;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1rem;
  margin-right: 6px;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Input Styles (if forms appear in the future) */
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #B4BEC8;
  border-radius: 7px;
  padding: 10px 14px;
  margin-bottom: 16px;
  width: 100%;
  background: #fff;
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  outline: none;
}

/* Contact details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.contact-details img {
  height: 22px;
  width: 22px;
  object-fit: contain;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.social-links a img {
  height: 26px;
  width: 26px;
  filter: grayscale(60%) brightness(1.15);
  transition: filter .16s;
}
.social-links a:hover img {
  filter: none;
}

/* Map Placeholder */
.map-placeholder {
  margin: 18px 0 0 0;
  width: 100%;
  border-radius: var(--radius);
  background: var(--color-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}
.map-placeholder img {
  width: 120px;
  opacity: .7;
}

/* Interactive region list (regiony.html) */
.interactive-region-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.interactive-region-list ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}
.interactive-region-list li {
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px 16px;
  min-width: 210px;
  flex: 1 1 220px;
  transition: box-shadow 0.2s;
}
.interactive-region-list li:hover {
  box-shadow: 0 7px 24px 0 rgba(83,38,58,0.13);
}

.region-features ul {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
}
.region-features li {
  padding: 6px 16px;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 1rem;
  border-radius: 8px;
  margin-bottom: 10px;
  font-family: 'Lato', sans-serif;
}

/* Modal Pattern (for cookies)*/
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(63,83,102,0.33);
  justify-content: center;
  align-items: center;
  transition: opacity .24s;
  pointer-events: none;
}
.modal.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.modal-content {
  background: var(--color-bg);
  border-radius: var(--radius);
  max-width: 450px;
  width: 95vw;
  padding: 32px 24px 24px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ---------------------
   MOBILE MENU
---------------------- */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  color: var(--color-accent);
  font-size: 2.2rem;
  margin-right: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px; width: 44px;
  border-radius: 50%;
  transition: background 0.18s;
  z-index: 501;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(178,141,82,0.06);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(83,38,58,0.965);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(0.67,0,0.33,1);
  z-index: 5001;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 22px 0 rgba(51,38,54,0.18);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2.4rem;
  font-weight: 700;
  position: absolute;
  top: 19px;
  right: 22px;
  z-index: 5002;
  height: 49px;
  width: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(178,141,82,0.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100vw;
  margin-top: 75px;
  padding: 0 0;
}
.mobile-nav a {
  font-size: 1.25rem;
  padding: 26px 32px 14px 38px;
  color: var(--color-secondary);
  font-weight: 700;
  border-bottom: 1.5px solid rgba(246,239,233,0.07);
  transition: background 0.16s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Hide/show navigation appropriately */
@media (max-width: 1100px) {
  .main-nav {
    gap: 18px;
  }
  .footer-nav {
    gap: 10px;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (min-width: 981px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* Ensure mobile menu overlays all */
@media (max-width: 980px) {
  body.menu-open {
    overflow: hidden !important;
  }
}

/* -----------------------
   COOKIE CONSENT BANNER
------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-bg);
  color: var(--color-text);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  box-shadow: 0 -4px 18px 0 rgba(32,40,88,0.13);
  border-top: 2.5px solid var(--color-accent);
  z-index: 6002;
  padding: 22px 12vw 22px 12vw;
  min-height: 58px;
  animation: bannerEnter 0.7s cubic-bezier(0.2,0.9,0.45,1);
}
@keyframes bannerEnter {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 2 2 320px;
  font-size: 1rem;
  margin-right: 24px;
  line-height: 1.7;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-direction: row;
  align-items: center;
}
.cookie-banner button {
  font-size: 1.02rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 24px;
  border: none;
  margin-right: 6px;
  box-shadow: 0 1px 6px rgba(83,38,58,0.07);
  cursor: pointer;
}
.accept-cookies {
  background: var(--color-accent);
  color: var(--color-primary);
  transition: background 0.2s, color 0.18s, box-shadow 0.14s;
}
.accept-cookies:hover, .accept-cookies:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}
.reject-cookies {
  background: #FFF5F5;
  color: var(--color-danger);
  border: 1.5px solid #f0dbdb;
}
.reject-cookies:hover, .reject-cookies:focus {
  background: var(--color-danger);
  color: #fff;
}
.cookie-settings {
  background: transparent;
  color: var(--color-blue);
  border: 1.5px solid var(--color-accent);
  transition: background 0.18s, color 0.18s;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Cookie Preferences Modal */
#cookie-modal.modal .modal-content {
  background: var(--color-bg);
  padding: 36px 27px 28px 27px;
  max-width: 400px;
  width: 98vw;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.cookie-modal-header {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.33rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1.05rem;
  color: var(--color-text);
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  height: 18px;
  width: 18px;
}
.cookie-category.essential label {
  color: var(--color-muted);
  font-weight: 700;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 8px 14px 8px;
  }
  .cookie-banner__text {
    margin-bottom: 13px;
    margin-right: 0;
  }
}

/* ---------------------------------------
   RESPONSIVE LAYOUT & FLEXBOX ADJUSTMENTS
---------------------------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding: 0 14px;
  }
  .section {
    padding: 34px 12px;
  }
  .feature-grid, .services-list, .content-grid {
    gap: 18px;
  }
  .testimonial-card {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  .header-content {
    gap: 21px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .footer-nav {
    gap: 8px;
    flex-wrap: wrap;
  }
  .main-nav .cta.primary {
    margin-left: 6px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2.1rem; }
  h2, .h2 { font-size: 1.52rem; }
  h3, .h3 { font-size: 1.07rem; }
  .section {
    padding: 28px 8px;
    margin-bottom: 32px;
    border-radius: 9px;
  }
  .feature-grid, .services-list, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card, .feature-grid > div, .services-list > li, .services-list > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
  }
  .testimonial-card > div {
    min-width: 0;
    max-width: 100%;
  }
  .contact-details {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .interactive-region-list ul, .region-features ul {
    flex-direction: column;
    gap: 11px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 6px;
  }
}
@media (max-width: 540px) {
  .container {
    max-width: 98vw;
    padding: 0 3.5vw;
  }
  .header-content {
    min-height: 53px;
  }
}

/* -------------
   UTILITIES
------------- */
.hide-desktop { display: none !important; }
.show-mobile { display: none; }
@media (max-width: 980px) {
  .hide-desktop { display: block !important; }
  .show-mobile { display: block !important; }
}

/* -------------
   EFFECTS
------------- */
.card, .feature-grid > div, .services-list > li {
  will-change: transform, box-shadow;
}
.cta, .main-nav a, .footer-nav a, .mobile-nav a, .cookie-banner button {
  transition: background 0.14s, color 0.14s, box-shadow 0.18s, border-color 0.13s;
}
button:active, .cta:active, .main-nav a:active {
  transform: scale(0.96);
}

/* -------------
   OTHER COMMONS
------------- */
::-webkit-input-placeholder { color: #b8bfc4; }
::-moz-placeholder { color: #b8bfc4; }
:-ms-input-placeholder { color: #b8bfc4; }
::placeholder { color: #b8bfc4; }

/* Hide scrollbar for mobile menu for aesthetics */
.mobile-menu {
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-primary);
}
.mobile-menu::-webkit-scrollbar {
  width: 7px;
}
.mobile-menu::-webkit-scrollbar-thumb {
  background: var(--color-accent);
}
.mobile-menu::-webkit-scrollbar-track {
  background: var(--color-primary);
}

/* -------------
   PRINT
------------- */
@media print {
  body, .container, .section {
    color: #000; background: #fff !important;
    box-shadow: none !important;
  }
  header, footer, .mobile-menu, .cookie-banner { display: none !important; }
}
