/* ===========================================================
   Glowora Escape Elegant Classic Style CSS
   =========================================================== */

/* ===== 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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #f7f7f5;
  color: #222a32;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  --primary: #22336a;
  --secondary: #4caf50;
  --accent: #f5f7fa;
  --bg-light: #f7f7f5;
  --text-dark: #1a1a1a;
  --card-bg: #fff;
  --card-shadow: 0 2px 24px rgba(34, 51, 106, 0.10);
  --border-radius: 16px;
  --font-display: 'Montserrat', 'Georgia', serif;
  --font-body: 'Georgia', 'Times New Roman', Times, serif;
  word-break: break-word;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 10px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--secondary);
  text-decoration: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ========== LAYOUT BASICS ========== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0;
}

/* Section Spacing (MANDATORY) */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

main section:last-child {
  margin-bottom: 0;
}


/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
p, ul, ol {
  font-family: var(--font-body);
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

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

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--card-bg);
  box-shadow: 0 2px 12px rgba(34,51,106,0.06);
  border-bottom: 2px solid #eaeaea;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 20px;
  gap: 0;
}
header img {
  height: 46px;
  margin-right: 28px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.01em;
  padding: 8px 0;
  border-radius: 2px;
  position: relative;
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover, nav a:focus {
  color: var(--secondary);
  background: #eef2f7;
}

/* Call to Action Button in Nav */
.cta-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 36px;
  box-shadow: 0 2px 8px rgba(34,51,106,0.10);
  text-decoration: none;
  margin-left: 16px;
  margin-top: 0;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, border 0.2s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--secondary);
  color: #fff;
  border: 2px solid var(--secondary);
  box-shadow: 0 4px 14px rgba(76,175,80,0.18);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  margin-left: 20px;
  margin-right: -6px;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 82vw;
  max-width: 340px;
  height: 100vh;
  background: var(--card-bg);
  box-shadow: -2px 0 16px rgba(34,51,106,0.12);
  z-index: 3001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.175,1);
  padding: 32px 28px 42px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
  animation: menu-slide-in 0.4s;
}
@keyframes menu-slide-in {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}
.mobile-menu-close {
  background: none;
  color: var(--primary);
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 25px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.11rem;
  color: var(--primary);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid #edeeee;
  transition: color 0.17s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: #f2fff5;
  border-radius: 6px;
}

/* Burger menu show/hide (mobile) */
@media (max-width: 990px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 990px) {
  .cta-primary {
    display: none;
  }
}

/* Overlay for mobile menu (optional translucent backdrop for focus) */
.mobile-menu:before {
  content: '';
  display: none;
}

/* ========== HERO & GENERAL SECTIONS ========== */
.hero, .content-wrapper h1 {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 2.75rem;
}

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

/* ========== FLEXBOX MODULES & GRIDS ========== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 22px;
}
.features-grid > div {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  padding: 28px 24px 20px 24px;
  min-width: 210px;
  max-width: 330px;
  flex: 1 1 280px;
  position: relative;
  gap: 15px;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.20s;
}
.features-grid > div:hover {
  box-shadow: 0 8px 32px rgba(34,51,106,0.18);
  transform: translateY(-6px) scale(1.012);
}
.features-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 12px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  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: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(34,51,106, 0.10);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #f0f1f5;
  transition: box-shadow 0.2s, transform 0.19s;
}
.testimonial-card strong {
  color: var(--secondary);
  font-size: 1rem;
}
.testimonial-card p:first-child {
  font-style: italic;
  color: #1b2640;
}
.testimonial-card:hover {  
  box-shadow: 0 6px 40px rgba(76, 175, 80, 0.09);
  transform: translateY(-4px) scale(1.02);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.05rem;
}
.contact-info img {
  margin-bottom: 6px;
  display: inline-block;
  width: 26px;
  height: 26px;
  margin-right: 12px;
  vertical-align: middle;
}

.business-hours, .map {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.business-hours img, .map img {
  width: 26px;
  height: 26px;
  margin-right: 12px;
}


/* ========== TABLES (z.B. Pricing Table) ========== */
.pricing-table {
  width: 100%;
  margin: 28px 0 18px 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 15px 22px;
  text-align: left;
  border-bottom: 1px solid #e0e5ea;
}
.pricing-table th {
  background: #f5f7fa;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
}
.pricing-table td {
  color: #212b3d;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 42px 0 32px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
footer img {
  height: 36px;
  margin-bottom: 0;
}
footer nav {
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  opacity: 0.87;
  padding: 4px 0;
}
footer nav a:hover {
  color: var(--secondary);
  background: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.98rem;
  margin-right: 18px;
  color: #e2e5f3;
}
.footer-contact span {
  padding-bottom: 2px;
}

/* ========== COOKIES CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe7;
  box-shadow: 0 -2px 14px rgba(34, 51, 106, 0.10);
  border-top: 1px solid #e4e0bc;
  z-index: 3005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 18px 16px;
  animation: cookie-slide-up 0.4s;
  gap: 28px;
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 auto;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #2d2b14;
  margin-right: 8px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  font-family: var(--font-display);
  padding: 10px 22px;
  border-radius: 36px;
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.16s, border 0.16s;
}
.cookie-btn.accept {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}
.cookie-btn.accept:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-btn.reject:hover {
  background: #ececec;
  color: var(--primary);
}
.cookie-btn.settings {
  background: #fffbe7;
  color: #2d2b14;
  border: 1px solid #cfc59d;
}
.cookie-btn.settings:hover {
  background: #f6f0d3;
  color: #7a6018;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3100;
  background: rgba(34,51,106,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 430px;
  width: 93vw;
  padding: 40px 28px 28px 28px;
  box-shadow: 0 8px 32px rgba(34,51,106,0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-appear 0.32s;
}
@keyframes modal-appear {
  from { transform: translateY(64px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  color: var(--primary);
  background: none;
  border: none;
  font-size: 1.53rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: var(--secondary);
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1.05rem;
  color: var(--primary);
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #eee;
  outline: none;
  border-radius: 14px;
  position: relative;
  transition: background .2s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .17s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.11);
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-category .always-on {
  font-size: 0.95rem;
  color: #4caf50;
  margin-left: 14px;
  font-style: italic;
}


/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 990px) {
  .container {
    padding: 0 8vw;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 5vw;
  }
  footer nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  section {
    padding: 28px 8px;
  }
  .content-wrapper {
    gap: 19px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .features-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .features-grid > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    padding: 20px 16px;
  }
  .testimonial-card {
    max-width: 95vw;
    padding: 16px 10px;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 0 5vw;
  }
  section, .section {
    padding: 20px 2vw;
    margin-bottom: 38px;
  }
  footer .container {
    padding: 0 3vw;
  }
  .footer-contact span {
    font-size: 0.91em;
  }
}

/* Responsive for text-image-sections & business-hours & map */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .business-hours, .map {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ========== ANIMATIONS & EFFECTS ========== */
a, .cta-primary, .cookie-btn, button {
  transition: background 0.22s, color 0.16s, border 0.18s, box-shadow 0.18s, opacity 0.18s;
}

/* ========== FORM ELEMENTS (future-proof) ========== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #cdcdcd;
  padding: 11px 13px;
  margin-bottom: 18px;
  background: #fff;
  transition: border 0.18s, box-shadow 0.16s;
  box-shadow: 0 2px 8px rgba(34,51,106,0.02);
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--primary);
  outline: none;
  box-shadow: 0 4px 18px rgba(76,175,80,0.08);
}


/* ========== UTILITIES ========== */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-32 { margin-top: 32px !important; }
.gap-12 { gap: 12px !important; }
.text-center { text-align: center; }
.flex-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ========== ENSURE FLEXBOX ONLY ========== */
/* No grid properties used. No columns. No absolute for content. */

/* ========== SCROLLBAR (Elegant effect) ========== */
::-webkit-scrollbar {
  width: 12px;
  background: #e6e6ef;
}
::-webkit-scrollbar-thumb {
  background: #ccccdf;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b5badc;
}

/* ========== Z-INDEX STACKING ========== */
header, footer { z-index: 101; position: relative; }

/* ========== HIDE COOKIE BANNER ON ACCEPT ========== */
.cookie-banner.closed {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

/* ========== PRINT SAFETY ========== */
@media print {
  .cookie-banner, .mobile-menu, .mobile-menu-toggle, header, footer {
    display: none !important;
  }
}
