/* ============================
   Lumina Voyage - style.css
   modern_bold UI Design System
   Brand: Lumina Voyage (2024)
   ============================ */
/*
  Brand colors:
  --primary: #05506F;        (Deep blue)
  --secondary: #47B384;      (Bright green)
  --accent: #F6F8FC;         (Light, near white)
  Display font: Montserrat
  Body font: Roboto
*/
/* =========================================
   RESET & NORMALIZE
   ========================================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
:focus {
  outline: 2px solid #47B384;
  outline-offset: 2px;
}

/* =========================================
   CSS VARIABLES & BASE STYLES
   ========================================= */
:root {
  --primary: #05506F;
  --secondary: #47B384;
  --accent: #F6F8FC;
  --white: #fff;
  --black: #181A1B;
  --grey: #223240;
  --light-grey: #EAEDF3;
  --error: #FF5050;
  --shadow-card: 0 3px 14px 0 rgba(5,80,111,0.10), 0 1.5px 4px 0 rgba(35,44,57,0.10);
  --shadow-pop: 0 4px 26px 0 rgba(5,80,111,0.20);
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 99px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --transition: 0.22s cubic-bezier(.6,.2,.1,1);
}

body {
  color: var(--black);
  background: var(--accent);
  font-family: var(--font-body);
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/*
  =====================
  HEADER & NAVIGATION
  =====================
*/
header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(5,80,111,0.06);
  z-index: 100;
  position: relative;
}
header > .container {
  min-height: 80px;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}
header img {
  height: 50px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.01em;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: var(--radius-full);
  padding: 11px 32px;
  box-shadow: var(--shadow-card);
  display: inline-block;
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--secondary);
  box-shadow: 0 8px 26px rgba(5,80,111,0.14);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: var(--radius-full);
  padding: 11px 32px;
  box-shadow: var(--shadow-card);
  display: inline-block;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}
.btn-secondary:hover,
.btn-secondary:focus {
  color: var(--primary);
  background: var(--accent);
  box-shadow: 0 8px 26px rgba(71,179,132,0.16);
}

/* =============================
   MOBILE NAVIGATION
   ============================= */
.mobile-menu-toggle {
  background: var(--primary);
  color: var(--white);
  font-size: 2rem;
  border-radius: var(--radius-full);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: background var(--transition);
  z-index: 200;
  border: none;
  position: relative;
  box-shadow: var(--shadow-card);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--white);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  box-shadow: var(--shadow-pop);
  z-index: 3333;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 22px 0 0;
  background: none;
  color: var(--white);
  font-size: 2.3rem;
  border: none;
  border-radius: var(--radius-full);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 38px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  padding: 12px 0 12px 8px;
  border-radius: var(--radius-md);
  width: 100%;
  min-width: 180px;
  transition: background var(--transition), color var(--transition);
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Responsive nav visibility */
@media (max-width: 1100px) {
  header > .container nav,
  header > .container .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1101px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  background: linear-gradient(90deg, var(--primary) 44%, var(--secondary) 100%);
  color: var(--white);
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: column;
  padding-top: 40px;
  padding-bottom: 40px;
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 0;
  padding: 0 0 0 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  background-color: #fff;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.014em;
  margin-bottom: 8px;
}
.hero p {
  font-family: var(--font-body);
  font-size: 1.19rem;
  max-width: 710px;
}
.hero .btn-primary,
.hero .btn-secondary {
  margin-top: 8px;
}

/* =========================================
   GENERAL SECTION & LAYOUT
   ========================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-lg);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.3rem;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.30rem;
  color: var(--grey);
  font-weight: 700;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.08rem;
  color: var(--primary);
}

p, ul, li, blockquote {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--black);
  font-weight: 400;
}
ul, ol {
  margin: 12px 0 0 22px;
  line-height: 1.7;
}
ul li {
  margin-bottom: 7px;
  position: relative;
  padding-left: 18px;
}
ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 12px;
  background: var(--secondary);
  border-radius: 99px;
  width: 6px;
  height: 6px;
  margin-top: -3.5px;
}
blockquote {
  background: var(--light-grey);
  border-left: 6px solid var(--primary);
  padding: 20px 24px;
  margin: 18px 0 20px 0;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}
blockquote p {
  color: var(--primary);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
}

/* =========================================
   FLEX LAYOUTS (NO GRID!)
   ========================================= */
.feature-grid,
.card-container,
.card-grid,
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.text-section, .map {
  margin-bottom: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.blog-list article {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 20px 24px;
  min-width: 250px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.tag-filter {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  background: var(--accent);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  margin-bottom: 26px;
}
.tag-filter span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.tag-filter a {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.97rem;
  padding: 4px 12px;
  border-radius: var(--radius-md);
  background: var(--white);
  margin-left: 3px;
  transition: background var(--transition);
}
.tag-filter a:hover,
.tag-filter a:focus {
  background: var(--secondary);
  color: var(--white);
}

/* Success & thank-you pages */
.hero .btn-secondary {
  margin-top: 20px;
}

/* =============================
   CARDS & FEATURE BLOCKS
   ============================= */
.feature-grid > div, .card-container > div, .card, .feature-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-width: 210px;
  min-height: 200px;
}
.feature-grid > div img {
  width: 44px;
  height: 44px;
  margin-bottom: 2px;
}
.feature-grid > div h3 {
  margin-top: 3px;
  color: var(--primary);
  font-size: 1.19rem;
}
.feature-grid > div p {
  font-size: 1.01rem;
}

/* =====================
   TESTIMONIALS/REVIEWS
   ===================== */
.testimonial-card {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-card);
  border: 2px solid var(--secondary);
  font-size: 1.08rem;
}
.testimonial-card img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.testimonial-card p {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}
.testimonial-card span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--grey);
  font-weight: 600;
  margin-left: auto;
}

/* =============================
   MAP & FOOTER/ADDRESS
   ============================= */
.map {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.map img {
  width: 36px;
  height: 36px;
}

footer {
  background: var(--primary);
  color: var(--white);
  padding: 36px 0 27px 0;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.9;
  padding: 2px 0;
  transition: color var(--transition);
}
footer nav a:hover,
footer nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  font-size: 0.97rem;
  font-family: var(--font-body);
  color: var(--accent);
  line-height: 1.6;
  border-left: 3px solid var(--secondary);
  padding-left: 18px;
  margin-left: 25px;
}

/* ==========================
   COOKIES BANNER & MODAL
   ========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--white);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 20px 22px 23px;
  box-shadow: 0 -3px 22px rgba(5,80,111,0.18);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: transform 0.30s var(--transition);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  margin: 0;
  font-weight: 500;
  color: var(--white);
  max-width: 500px;
}
.cookie-banner .cookie-btn {
  margin-left: 13px;
  font-size: 1rem;
  font-family: var(--font-display);
  border-radius: var(--radius-full);
  padding: 8px 24px;
  font-weight: 700;
  margin-right: 8px;
  border: none;
  box-shadow: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .cookie-btn.accept {
  background: var(--secondary);
  color: var(--white);
}
.cookie-banner .cookie-btn.accept:hover,
.cookie-banner .cookie-btn.accept:focus {
  background: #32a36e;
}
.cookie-banner .cookie-btn.reject {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
.cookie-banner .cookie-btn.reject:hover,
.cookie-banner .cookie-btn.reject:focus {
  background: var(--error);
  color: var(--white);
  border-color: var(--error);
}
.cookie-banner .cookie-btn.settings {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--light-grey);
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: var(--secondary);
  color: var(--white);
}

/* Cookie modal popup */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 110%);
  background: var(--white);
  color: var(--primary);
  min-width: 320px;
  max-width: 90vw;
  z-index: 6000;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -8px 35px rgba(5,80,111,0.21);
  padding: 32px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--font-body);
  transition: transform 0.40s cubic-bezier(.7,.2,.2,1);
}
.cookie-modal.open {
  transform: translate(-50%, 0);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--primary);
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal label {
  font-size: 1.06rem;
  font-family: var(--font-body);
  color: var(--grey);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 4px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
  border-radius: 5px;
  margin-right: 5px;
}
.cookie-modal .cookie-desc {
  font-size: 0.99rem;
  color: var(--grey);
  margin-bottom: 10px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  margin: 0 0 0 0;
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes slide-in-left {
  0% { transform: translateX(-50vw); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes slide-in-bottom {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
/* ================================================
   SPACING & FLEX PATTERNS (MANDATORY CLASS MATCHES)
   ================================================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================================
   RESPONSIVE DESIGN - MOBILE FIRST BASE
   ========================================= */
/* Layout stacks on mobile */
@media (max-width: 900px) {
  .feature-grid,
  .card-container,
  .card-grid,
  .blog-list,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .map {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-contact {
    margin-left: 0;
    border-left: none;
    padding-left: 0;
    margin-top: 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 0.99rem;
  }
  .container {
    padding: 0 9px;
  }
  .hero h1 {
    font-size: 1.42rem;
  }
  h2 {
    font-size: 1.21rem;
  }
  .section, .hero {
    margin-bottom: 38px;
    padding: 24px 8px;
    border-radius: var(--radius-md);
  }
  .feature-grid > div, .card, .blog-list article {
    padding: 19px 11px;
    min-width: unset;
    min-height: 160px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 7px;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 23px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .hero {
    min-height: 220px;
  }
  .hero .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .hero h1 {
    font-size: 1.03rem;
    margin-bottom: 0px;
  }
  .section {
    padding: 11px 2px;
  }
  .footer-contact {
    font-size: 0.85rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 13px 6px; 
    text-align: center;
  }
}

/* ============================
   MISCELLANEOUS
   ============================ */
::-webkit-scrollbar {
  width: 9px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}

/* Newsletter/inputs (if present) */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: 1.7px solid var(--light-grey);
  padding: 11px 13px;
  margin-bottom: 16px;
  color: var(--grey);
  background: var(--accent);
  transition: border var(--transition);
  width: 100%;
  max-width: 400px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}

/* ===========================
   UTILITIES & OVERRIDES
   =========================== */
.hide {
  display: none !important;
  visibility: hidden !important;
}
.show {
  display: block !important;
  visibility: visible !important;
}

/* ============================
   MICRO-INTERACTIONS
   ============================ */
a, button, .card, .btn-primary, .btn-secondary, .cookie-btn {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover, .feature-grid > div:hover, .blog-list article:hover {
  box-shadow: 0 6px 22px rgba(5,80,111,0.13);
  transform: translateY(-4px) scale(1.01);
  border-color: var(--secondary);
}
.card:active, .feature-grid > div:active {
  box-shadow: var(--shadow-card);
  transform: scale(0.99);
}

/* Decorative geometric shape accents */
.feature-grid > div:before {
  content: '';
  display: block;
  width: 36px;
  height: 6px;
  background: var(--secondary);
  border-radius: var(--radius-full);
  margin-bottom: 9px;
  opacity: 0.14;
}
.feature-grid > div img {
  margin-top: -10px;
}

/* ===========================
   ACCESSIBILITY
   =========================== */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
  }
}
/* END OF style.css */
