/* style.css | Vivid Retreat | Professional Corporate (Blue/Grey) Theme | Mobile-First, Pure Flexbox Only */

/* === 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,
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, 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;
}
html {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F2E9E4;
  color: #22223B;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F2E9E4;
  color: #22223B;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
  height: auto;
  display: inline-block;
}
a {
  color: #22223B;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: disc inside;
}

/* === BRAND VARIABLES === */
:root {
  --primary: #22223B;
  --secondary: #4A4E69;
  --accent: #F2E9E4;
  --primary-light: #595b83;
  --secondary-light: #787ca7;
  --grey-100: #f9f9fb;
  --grey-200: #e5e7ef;
  --grey-250: #e2dfec;
  --grey-300: #caccd3;
  --grey-400: #b0b2ba;
  --grey-500: #9192a3;
  --button-hover: #35407e;
  --white: #fff;
  --success: #37b24d;
  --danger: #e03131;
  --shadow-1: 0 2px 12px rgba(34,34,59,0.07);
  --shadow-2: 0 4px 16px rgba(34,34,59,0.10);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.10rem;
  margin-bottom: 8px;
}
p, li, a, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--primary);
}
p {
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

@media (min-width: 700px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.0rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.15rem; }
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
}

@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-1);
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.branding {
  display: flex;
  align-items: center;
  gap: 12px;
}
.main-nav {
  display: none;
}
.main-nav a {
  margin: 0 12px;
  padding: 4px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.cta-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 32px;
  border-radius: var(--radius-md);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--button-hover);
  transform: translateY(-2px) scale(1.04);
  box-shadow: var(--shadow-2);
  outline: none;
}

@media (min-width: 900px) {
  .main-nav { display: flex; gap: 12px; }
  .mobile-menu-toggle { display: none; }
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  padding: 8px;
  cursor: pointer;
  margin-left: 8px;
  z-index: 1101;
  transition: color 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--secondary);
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 32px 20px 20px 20px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.54, 0.01, 0.61, 1.02);
  box-shadow: var(--shadow-2);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 22px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 2001;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  color: var(--primary);
  border-bottom: 1px solid var(--grey-200);
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--secondary);
  background: var(--grey-100);
  border-radius: var(--radius-sm);
}

@media (min-width:900px) {
  .mobile-menu, .mobile-menu-toggle { display: none; }
}

/* === HERO SECTION (Index) === */
.hero {
  background: linear-gradient(90deg, var(--accent) 70%, var(--grey-250) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 50px;
  box-shadow: var(--shadow-1);
}
.hero .container {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  padding-top: 30px;
  padding-bottom: 30px;
}
.hero h1 {
  color: var(--primary);
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 20px;
}
.hero .cta-btn {
  margin-top: 16px;
}

/* === FLEX LAYOUTS (MANDATORY PATTERNS) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
  margin-bottom: 20px;
  border-left: 4px solid var(--secondary);
  max-width: 600px;
}
.testimonial-card p {
  color: var(--primary);
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* == EXPLICIT RESPONSIVE ALIGNMENTS FOR FLEX === */
@media (max-width: 768px) {
  .content-grid, .text-image-section, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* === FEATURE / SERVICES GRID (Index/Services) === */
.feature-grid, .services-grid, .team-profiles, .service-list, .blog-article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .services-grid > div, .team-profiles > .profile, .service-list > .service-item, .blog-article-list > article {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  padding: 24px 20px;
  flex: 1 1 270px;
  min-width: 250px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-grid > div:hover, .services-grid > div:hover, .service-list > .service-item:hover, .blog-article-list > article:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img, .services-grid img, .product-categories-list img {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
}

.product-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
}
.product-categories-list li {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-1);
  padding: 16px 18px;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media (max-width: 770px) {
  .feature-grid, .services-grid, .team-profiles, .service-list, .product-categories-list, .blog-article-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .services-grid > div, .team-profiles > .profile, .service-list > .service-item, .blog-article-list > article, .product-categories-list li {
    max-width: 100%;
    min-width: 0;
  }
  .content-wrapper, .container {
    gap: 16px;
  }
}

/* === TEAM PROFILES & FUN FACTS (About) === */
.team-profiles {
  gap: 24px;
  margin-bottom: 28px;
}
.profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.fun-facts {
  background: var(--grey-250);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  padding: 24px;
  margin-top: 24px;
}

/* === FOOTER === */
footer {
  width: 100%;
  background: var(--primary);
  color: var(--accent);
  padding: 40px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-brand img {
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--white);
  border-bottom: 1px solid var(--white);
}
.brand-info { font-size: 0.92rem; text-align: center; }

@media (min-width: 800px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
  }
  .footer-brand { margin-right: 30px; }
}

/* === CONTACT INFO & MAP === */
.contact-info, .contact-details, .opening-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  color: var(--secondary);
}
.map-block {
  margin-top: 24px;
  background: var(--grey-100);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-1);
}

/* === FAQ SECTION (Contact) === */
.faq-teaser ul {
  padding-left: 20px;
  margin-top: 10px;
}
.faq-teaser li {
  margin-bottom: 8px;
}
.opening-hours {
  background: var(--grey-250);
  padding: 12px;
  border-radius: var(--radius-sm);
  color: var(--primary);
  margin-bottom: 14px;
}

/* === BLOG ARTICLE LIST === */
.blog-article-list article {
  cursor: pointer;
  position: relative;
}
.blog-article-list article::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: 0;
  width: 30%;
  height: 3px;
  background: var(--secondary);
  opacity: 0;
  transition: opacity 0.2s;
}
.blog-article-list article:hover::after { opacity: 1; }

.categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.categories li {
  background: var(--grey-200);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.99rem;
  color: var(--secondary);
}

/* === BUTTONS, FORMS, LINKS === */
button, .cta-btn {
  cursor: pointer;
  outline: none;
}
button:active, .cta-btn:active {
  transform: scale(0.98);
}

/* === UL/OL RESET FOR INSIDE CONTAINERS === */
.content-wrapper ul,
.content-wrapper ol {
  margin: 0 0 12px 24px;
}
.content-wrapper li {
  margin-bottom: 8px;
}

/* === UTILITY CLASSES === */
.text-center {
  text-align: center !important;
}
.hidden {
  display: none !important;
}

/* === SPACING & GAPS ENFORCEMENT === */
section, .section {
  margin-bottom: 60px;
  padding-bottom: 0;
}
section:last-child, .section:last-child {
  margin-bottom: 0;
}

/* === TRANSITIONS & MICRO-INTERACTIONS === */
.card, .feature-grid > div, .services-grid > div, .team-profiles > .profile, .service-list > .service-item, .blog-article-list > article {
  transition: box-shadow 0.22s, transform 0.16s;
}
a, button, .cta-btn {
  transition: color 0.18s, background 0.18s, box-shadow 0.16s, border 0.18s;
}

/* === COOKIE CONSENT BANNER (Fixed Bottom) === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 2500;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 -3px 18px rgba(34,34,59,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 24px;
  gap: 14px;
  animation: cookieBannerIn 0.45s cubic-bezier(0.6, 0, 0.7, 1.01);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner__text {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 8px;
  text-align: center;
}
.cookie-banner__buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 8px 26px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.12s;
}
.cookie-btn--accept {
  background: var(--success);
  color: var(--white);
}
.cookie-btn--reject {
  background: var(--danger);
  color: var(--white);
}
.cookie-btn--settings {
  background: var(--secondary);
  color: var(--white);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary-light);
  color: var(--white);
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,34,59,0.45);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: cookieModalIn 0.4s cubic-bezier(0.5,0,0.7,1.1);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal__content {
  background: var(--white);
  color: var(--primary);
  padding: 38px 32px 28px 32px;
  box-shadow: var(--shadow-2);
  border-radius: var(--radius-md);
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal__close {
  background: none;
  border: none;
  position: absolute;
  font-size: 1.8rem;
  top: 8px; right: 18px;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--danger);
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.36rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}
.cookie-modal__category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
}
.cookie-modal__category label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal__category--disabled label {
  color: var(--grey-400);
}
.cookie-modal__btns {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 18px;
}

/* === COLORS & ACCESSIBILITY === */
@media (prefers-color-scheme: dark) {
  html { background: #181829; color: #EFEFEF; }
  body { background: #181829; color: #EFEFEF; }
  .section, .card, .feature-grid > div, .services-grid > div, .team-profiles > .profile, .service-list > .service-item, .blog-article-list > article, .product-categories-list li, .map-block {
    background: #22223b;
    color: #F2E9E4;
  }
  .footer-nav a, .brand-info { color: #F2E9E4; }
}

/* === MEDIA QUERIES: NAV/LAYOUTS/TYPOGRAPHY === */
@media (max-width: 599px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.09rem; }
  .section, .card, .feature-grid > div, .services-grid > div, .team-profiles > .profile, .service-list > .service-item, .product-categories-list li {
    padding: 16px 10px!important;
  }
}

/* === END OF STYLE.CSS === */
