/* ==================================================
   GLIDE TRAIL ARCHITEKTUR - Style.css
   Elegant Classic Design: Serif fonts, muted colors, timeless proportions
   FLEXBOX LAYOUTS ONLY
   ================================================== */

/* CSS RESET & NORMALIZE */
* {box-sizing: border-box; margin: 0; padding: 0;}
html {line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;}
body {background: #F8F9FA; color: #25323C; font-family: 'Merriweather', 'Georgia', serif; font-size: 16px; min-height: 100vh;}
img, picture, svg {display: block; max-width: 100%; height: auto;}
h1, h2, h3, h4, h5, h6 {font-family: 'Montserrat', 'Georgia', serif; color: #25323C; font-weight: 700; letter-spacing: 0.01em;}
h1 {font-size: 2.5rem; margin-bottom: 18px; line-height: 1.1;}
h2 {font-size: 1.8rem; margin-bottom: 16px;}
h3 {font-size: 1.25rem; margin-bottom: 10px;}
p, ul, li {font-family: 'Merriweather', 'Georgia', serif; color: #424C57; font-size: 1rem;}
strong, b {font-weight: bold; color: #25323C;}
a {color: #25323C; text-decoration: none; transition: color 0.2s;}
a:hover, a:focus {color: #4F6A7E;}
ul, ol {padding-left: 22px; margin-bottom: 16px;}
li {margin-bottom: 8px;}

/* === Container pattern === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #E2E6E9;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 26px;
}
.logo img {height: 48px;}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 6px;
  color: #25323C;
  transition: background 0.18s;
}
.main-nav a:hover {
  background: #E2E6E9;
}

.cta.primary, .cta.secondary {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.125rem;
  padding: 12px 28px;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  display: inline-block;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 10px rgba(37,50,60,0.05);
}
.cta.primary {
  background: #25323C;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #4F6A7E;
  color: #fff;
}
.cta.secondary {
  background: #E2E6E9;
  color: #25323C;
  border: 1px solid #919DA8;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #25323C;
  color: #fff;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #25323C;
  font-size: 2rem;
  border: none;
  padding: 6px 10px;
  border-radius: 8px;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 102;
}
.mobile-menu-toggle:hover {
  background: #E2E6E9;
}

/* --------------------------------------------------
   MOBILE MENU
-------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.7,0,.3,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 0 36px;
  box-shadow: -4px 0 28px 0 rgba(30,38,49,0.10);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #25323C;
  font-size: 2.25rem;
  cursor: pointer;
  padding: 16px 0 8px 0;
  align-self: flex-end;
  transition: color 0.13s;
  z-index: 2011;
}
.mobile-menu-close:hover {
  color: #4F6A7E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 42px 0 0 0;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.3rem;
  font-family: 'Montserrat', 'Georgia', serif;
  color: #25323C;
  padding: 10px 2px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E2E6E9;
  color: #25323C;
}

/* Show/hide menu on breakpoints */
@media (max-width: 992px) {
  .main-nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------
   SECTIONS, SPACING, FLEX LAYOUTS
-------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.features, .feature-grid, .blog-list, .service-list, .footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.feature-grid, .service-list, .blog-list {
  gap: 24px 24px;
  justify-content: flex-start;
}
.feature-item, .service-item {
  background: #fff;
  border: 1px solid #E2E6E9;
  border-radius: 14px;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 2px 10px rgba(37,50,60,0.04);
  min-width: 240px;
  flex: 1 1 270px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-item:hover, .service-item:hover {
  box-shadow: 0 6px 24px rgba(37,50,60,0.10);
  transform: translateY(-2px);
}
.feature-item img, .service-item img {
  height: 42px;
  width: 42px;
  margin-bottom: 10px;
}
.feature-item h3, .service-item h3 {
  font-size: 1.15rem;
  color: #25323C;
}
.feature-item p, .service-item p {
  color: #4A5866;
  font-size: 0.98rem;
  margin-bottom: 0;
}
.service-price {
  margin-top: 4px;
  color: #919DA8;
  font-style: italic;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #F8FAFB;
  border-radius: 14px;
  border: 1px solid #E2E6E9;
  margin-bottom: 20px;
  box-shadow: 0 1px 10px rgba(37,50,60,0.06);
}
.testimonial-card p {
  color: #2C3741;
  font-size: 1.18rem;
  line-height: 1.45;
  font-style: italic;
}
.testimonial-author {
  font-size: 1rem;
  color: #25323C;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}
/* Ensure readable contrast */
.testimonial-card, .testimonial-card * {
  color: #25323C;
}

/* Cards (generic) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border: 1px solid #E2E6E9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(37,50,60,0.04);
  padding: 26px 20px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 5px 26px rgba(37,50,60,0.10);
  transform: translateY(-3px);
}

.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;
}

/* Blog List & Featured Articles */
.blog-list {
  flex-direction: row;
  gap: 24px;
}
.blog-list article {
  background: #fff;
  border: 1px solid #E2E6E9;
  border-radius: 14px;
  padding: 24px 20px;
  margin-bottom: 20px;
  min-width: 225px;
  max-width: 320px;
  flex: 1 1 255px;
  box-shadow: 0 1px 9px rgba(37,50,60,0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-list .read-more {
  color: #4F6A7E;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  margin-top: 8px;
  transition: color 0.15s;
}
.blog-list .read-more:hover, .blog-list .read-more:focus {
  color: #25323C;
}
.featured-article {
  background: #F2F4F6;
  border-radius: 14px;
  padding: 30px 26px;
  margin-top: 32px;
  box-shadow: 0 1px 9px rgba(37,50,60,0.03);
  font-family: 'Merriweather', 'Georgia', serif;
}
.featured-article h3 {
  font-size: 1.18rem;
  font-family: 'Montserrat', 'Georgia', serif;
  margin-bottom: 12px;
}

/* Contact info snippet */
.contact-snippet {
  background: #fff;
  border: 1px solid #E2E6E9;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 9px rgba(37,50,60,0.03);
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-snippet p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
}

/* --------------------------------------------------
   HERO SECTIONS
-------------------------------------------------- */
.hero {
  padding: 56px 0 36px 0;
  background: #F8FAFB;
  border-bottom: 1px solid #E2E6E9;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  font-family: 'Montserrat', 'Georgia', serif;
  color: #25323C;
  font-weight: 700;
}
.hero .subheadline {
  font-size: 1.125rem;
  color: #4F6A7E;
  margin-bottom: 20px;
  line-height: 1.33;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  background: #fff;
  border-top: 1px solid #E2E6E9;
  padding: 44px 0 24px 0;
  margin-top: 40px;
  font-size: 1rem;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 42px;
  margin-bottom: 14px;
}
.footer-menu {
  font-family: 'Merriweather', 'Georgia', serif;
  color: #919DA8;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #4F6A7E;
  margin: 0 8px;
  font-size: 0.98rem;
  text-decoration: underline dotted;
  padding: 2px 1px;
  transition: color 0.17s;
}
.footer-menu a:hover {
  color: #25323C;
}
.footer-contact {
  font-family: 'Merriweather', 'Georgia', serif;
  color: #6D7780;
}
.footer-contact p {
  margin-bottom: 8px;
  font-size: 0.96rem;
}

/* --------------------------------------------------
   COOKIE BANNER & MODAL
-------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #fff;
  color: #25323C;
  border-top: 1px solid #E2E6E9;
  box-shadow: 0 -1px 16px rgba(37,50,60,0.10);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 16px 16px;
  gap: 18px;
  animation: cookieSlideIn 0.36s cubic-bezier(.7,0,.3,1);
}
@keyframes cookieSlideIn {
  from {transform: translateY(110%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {font-size: 1rem; margin-bottom: 12px;}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1rem;
  padding: 8px 24px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  background: #E2E6E9;
  color: #25323C;
  margin-right: 6px;
  margin-bottom: 4px;
  transition: background 0.17s, color 0.18s;
  box-shadow: 0 1px 7px rgba(37,50,60,0.03);
}
.cookie-banner button.accept {
  background: #25323C;
  color: #fff;
}
.cookie-banner button.accept:hover {
  background: #4F6A7E;
}
.cookie-banner button.reject {
  background: #fff;
  color: #25323C;
  border: 1px solid #919DA8;
}
.cookie-banner button.reject:hover {
  background: #E2E6E9;
}
.cookie-banner button.settings {
  background: #E2E6E9;
  color: #25323C;
}
.cookie-banner button.settings:hover {
  background: #919DA8;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  z-index: 2200;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(37,50,60,0.28);
  animation: cookieModalFade 0.2s cubic-bezier(.74,0,.3,1);
}
@keyframes cookieModalFade {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(37,50,60,0.12);
  padding: 36px 32px;
  max-width: 400px;
  width: 96%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalScale 0.32s cubic-bezier(.5,1.48,.16,.8);
}
@keyframes cookieModalScale {
  0% {transform: scale(0.95); opacity: 0;}
  100% {transform: scale(1); opacity: 1;}
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.3rem;
  color: #25323C;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  width: 18px; height: 18px;
  accent-color: #25323C;
}
.cookie-desc {font-size: .95rem; color: #6D7780; margin-top: 3px;}

.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-actions button {
  font-size: 1rem;
  font-family: 'Montserrat', 'Georgia', serif;
  padding: 8px 20px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  background: #E2E6E9;
  color: #25323C;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal-actions button.accept {
  background: #25323C;
  color: #fff;
}
.cookie-modal-actions button.reject {
  background: #fff;
  border: 1px solid #919DA8;
}

/* Hide modal/banner by default for implementation */
.cookie-banner[hidden], .cookie-modal[hidden] {
  display: none !important;
}

/* --------------------------------------------------
   GENERAL RESPONSIVE & ELEGANT CLASSIC ADJUSTMENTS
-------------------------------------------------- */
@media (max-width: 992px) {
  .footer-columns { flex-direction: column; align-items: flex-start; gap: 24px; }
  .features, .feature-grid, .service-list, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid { flex-direction: column; gap: 18px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
  }
  .section, .hero {
    padding: 32px 8px 32px 8px;
    margin-bottom: 44px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .feature-item, .service-item, .blog-list article {
    min-width: 0;
    max-width: 100%;
    padding: 18px 7px 16px 14px;
  }
  .testimonial-card {padding: 16px 12px;}
  .footer-columns {gap: 18px;}
  .hero {padding-top: 38px;}
}
@media (max-width: 570px) {
  .container {
    padding: 0 6px;
  }
  .cta.primary, .cta.secondary {padding: 10px 18px; font-size: 1rem;}
}
@media (max-width: 600px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-wrapper {gap: 11px;}
}

/* --------------------------------------------------
   SCROLLBAR, SELECTION, MISC
-------------------------------------------------- */
::selection {background: #E2E6E9; color: #25323C;}
::-webkit-scrollbar {width: 8px; background: #E2E6E9;}
::-webkit-scrollbar-thumb {background: #919DA8; border-radius: 8px;}

/* --------------------------------------------------
   TRANSITIONS, HOVER & FOCUS STATES
-------------------------------------------------- */
input, button, a {
  outline: none;
  transition: box-shadow 0.14s, border-color 0.14s, background 0.14s, color 0.13s, filter 0.16s;
}
a:focus, button:focus {
  box-shadow: 0 0 0 2px #919DA8; /* visible focus for accessibility */
}

/* --------------------------------------------------
   ELEGANT CLASSIC TYPOGRAPHY SCALE
-------------------------------------------------- */
h1 {font-size: 2.5rem;}
h2 {font-size: 1.8rem;}
h3 {font-size: 1.15rem;}
h4 {font-size: 1.02rem;}
p, li, body {font-size: 1rem;}
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.2rem;}
  h3 {font-size: 1rem;}
}

/* --------------------------------------------------
   MISCELLANEOUS UTILITIES
-------------------------------------------------- */
.mt-0 {margin-top: 0 !important;}
.mb-0 {margin-bottom: 0 !important;}
.mt-2 {margin-top: 2px;}
.mb-4 {margin-bottom: 4px;}
.mt-20 {margin-top: 20px;}
.text-center {text-align: center !important;}

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

/*
Webfonts: Elegant classic style
Montserrat (Google), Merriweather (Google)
Add if not yet loaded by <link> in <head>.
*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700&display=swap');
