/* ===================================================================
   Lumina Node Style.css
   Style: LUXURY PREMIUM (Gold+Navy+White, Sophisticated UI)  
   ONLY FLEXBOX for layouts
   Fonts: Montserrat (display), Roboto (body)
   =================================================================== */

/* ---- 1. CSS RESET & BASE ---- */
html {box-sizing: border-box; -webkit-text-size-adjust: 100%;}
*, *:before, *:after {box-sizing: inherit; margin: 0; padding: 0;}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, footer, header, nav, section, main, article, div {
  margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline;
}
ul, ol {list-style: none;}
a {color: inherit; text-decoration: none; transition: color 0.2s;}
img {max-width: 100%; display: block; border: 0;}
button, input, textarea {font-family: inherit; font-size: inherit; background: none; border: none; outline: none;}
:root {
  --color-primary: #172554;
  --color-secondary: #FFFFFF;
  --color-accent: #38BDF8;
  --color-gold: #d1b358; /* for luxury accent */
  --color-gold-dark: #bfa14d;
  --color-grey-light: #F5F6FA;
  --color-grey: #E4E5EC;
  --color-text: #1A1A28;
  --color-text-on-primary: #F5F6FA;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --shadow-card: 0 6px 24px 0 rgba(23,37,84,0.14);
  --shadow-hover: 0 12px 32px 0 rgba(23,37,84,0.2);
  --radius: 18px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}
body {
  background: var(--color-secondary);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

/* ---- 2. TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.12;
}
h1 {font-size: 2.4rem; margin-bottom: 24px; letter-spacing: -0.01em;}
h2 {font-size: 2rem; margin-bottom: 20px;}
h3 {font-size: 1.375rem; margin-bottom: 12px;}
h4 {font-size: 1.1rem;}
p, li, dd {
  font-size: 1rem; margin-bottom: 16px; color: var(--color-text);
}
a {font-weight: 500; transition: color var(--transition);}
strong {font-weight: 600;}
.text-section {margin-bottom: 24px;}

/* ---- 3. COMMON UTILITY CLASSES ---- */
.container {
  width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px;
}
.content-wrapper {padding:24px 0;}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
@media (max-width: 992px) {
  .section { padding:32px 6px; }
  .container {padding:0 6px;}
}

/* ---- 4. HEADER + NAVIGATION ---- */
header {
  background: var(--color-primary);
  box-shadow: 0 2px 16px 0 rgba(33,40,67,0.11);
  position: sticky; top:0; z-index:30;
  min-height: 80px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}
header nav {
  display: flex; align-items: center; gap: 28px;
}
header nav a {
  color: var(--color-text-on-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 0;
  font-weight:500;
  letter-spacing: 0.02em;
  position: relative;
  border-radius: 3px;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-gold);
}
header a.btn-primary {margin-left:14px;}
header img {height: 42px; margin-right: 12px;}
@media (max-width: 900px) {
  header nav {gap:14px;}
  header img {height:36px;}
}

/* ---- 4B. MOBILE MENU ---- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-gold);
  background: transparent;
  border: none;
  margin-left: auto;
  cursor: pointer;
  z-index: 120;
  padding: 0 10px;
  transition: color var(--transition) background var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--color-accent);
}
@media (max-width: 992px) {
  header nav, header a.btn-primary {display: none !important;}
  .mobile-menu-toggle {display: block;}
}
/* Overlay panel */
.mobile-menu {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,37,84,0.96);
  z-index: 2000;
  pointer-events: none;
  opacity:0;
  overflow-y:auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding:22px 0;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.47,.1,.73,.95), opacity .32s;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity:1;
  transform: translateX(0);
}
.mobile-menu-close {
  color: var(--color-gold);
  background: transparent;
  border: none;
  font-size: 2.4rem;
  padding: 10px 20px 10px 14px;
  align-self: flex-end;
  cursor:pointer;
  transition: color var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: var(--color-accent); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap:24px;
  width: 100%;
  padding: 16px 32px 0 32px;
}
.mobile-nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size:1.2rem;
  font-weight:500;
  padding: 11px 8px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-gold);
  background: rgba(255,255,255,0.09);
}
@media (min-width:993px) {
  .mobile-menu {display: none !important;}
}

/* ---- 5. BUTTONS & INTERACTIONS ---- */
.btn-primary {
  background: var(--color-gold);
  color: #23252a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.11rem;
  padding: 13px 30px;
  min-width:148px;
  border-radius: 99px;
  box-shadow: 0 1px 4px 0 rgba(33,40,67,0.09);
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  letter-spacing: 0.03em;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.04);
}

.btn-secondary {
  background: var(--color-primary);
  color: var(--color-gold);
  font-family: var(--font-display);
  border-radius: 80px;
  padding: 11px 28px;
  font-weight: 600;
  border: 2px solid var(--color-gold);
  margin-left: 10px;
  box-shadow: 0 1px 8px 0 rgba(23,37,84,0.09);
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.btn-secondary:hover,.btn-secondary:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  border:2px solid var(--color-primary);
}

/* ---- 6. CONTENT LAYOUTS (FLEXBOX) ---- */
.section > .container {
  display: flex;
  flex-direction: column;
  align-items:center;
  width: 100%;
  gap: 0;
}
.content-wrapper {
  width:100%;
  max-width:900px;
  margin:auto;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin: 30px 0 0 0;
}
.features-grid > div {
  flex: 1 1 220px;
  min-width:220px;
  max-width: 330px;
  background: var(--color-grey-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding:30px 22px 24px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-bottom: 3px solid var(--color-gold);
  margin-bottom:20px;
  transition: box-shadow var(--transition);
}
.features-grid > div:hover {
  box-shadow: var(--shadow-hover);
}
.features-grid img {
  height: 54px;
  margin-bottom: 22px;
}

.card-container, .card-grid, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--color-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px 24px 22px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px) scale(1.025); }

.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;
  margin-bottom: 18px;
}
@media(max-width:768px) {
  .features-grid, .content-grid, .testimonial-grid, .text-image-section, .footer-layout {
    flex-direction: column !important;
    align-items: stretch;
  }
  .features-grid > div, .card, .testimonial-card, .card {
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .testimonial-slider {flex-direction: column !important;}
}

/* ---- 7. TESTIMONIALS, REVIEW CARDS ---- */
.testimonial-slider,
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  margin-top: 28px;
}
.testimonial-card {
  background: #F7F9FD;
  color: #1A1A28;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 20px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 220px;
  position: relative;
  border-left: 6px solid var(--color-gold);
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); }
.testimonial-card p {
  font-size:1rem; margin-bottom: 8px; color: #23263d;
  line-height:1.46;
}
.testimonial-meta { font-size: 0.98rem; font-weight: 500; letter-spacing: 0.01em; color: var(--color-primary);}
.testimonial-card img[alt="Ocena"] {
  display: inline-block;
  width:24px; height:24px;
  margin-right: 2px;
}

/* ---- 8. LISTS, FAQ, FORMS ---- */
ul, ol {
  margin:0 0 12px 1em;
  padding-left: 16px;
}
ul li, ol li {
  position: relative;
  margin-bottom:10px;
  font-size:1rem;
  color:var(--color-text);
}
ul li strong { color: var(--color-primary); }
dl {margin-bottom:12px;}
dt {font-family: var(--font-display); font-weight:600; color: var(--color-primary); margin-bottom:4px; margin-top:14px;}
dd {margin-bottom:10px; margin-left:10px;}

/* ---- 9. CONTACT INFO + FOOTER ---- */
.contact-info,.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
}
.contact-info p, .footer-contact p {
  display: flex;
  align-items: center;
  gap:8px;
  margin-bottom: 8px;
}
.contact-info img, .footer-contact img {height: 20px;width:20px;}
footer {
  margin-top: 60px;
  background: var(--color-primary);
  color: var(--color-gold);
  border-top: 4px solid var(--color-gold);
  box-shadow: 0 -2px 20px 0 rgba(23,37,84,0.07);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 14px 20px 14px;
}
footer nav {
  display: flex;
  flex-wrap:wrap;
  gap:12px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
}
footer nav a { color: var(--color-gold); opacity: 0.88; }
footer nav a:hover,.footer nav a:focus { color: var(--color-accent); opacity:1; }
footer img {height:34px; margin-bottom:8px;}
footer p, .footer-contact p {
  color: var(--color-secondary);
  font-size: 0.99rem;
  opacity:0.90;
}

@media(max-width:850px) {
  footer .container {padding:28px 8px 16px 8px;}
}
@media(max-width:600px) {
  footer .container {padding:22px 4px 10px 4px;}
}

/* ---- 10. COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 16px 0 rgba(33,40,67,0.14);
  border-top: 3px solid var(--color-gold);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap:24px;
  padding:24px 32px;
  font-family: var(--font-body);
  font-size:1rem;
  transition: transform .5s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
  opacity:0;
}
.cookie-banner .cookie-banner-desc { flex: 3 1 300px; color: var(--color-text); }
.cookie-banner .cookie-btns {
  flex: none;
  display: flex;
  gap:20px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  min-width: 120px;
  font-size: 1rem;
  padding: 10px 18px;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 10px;
    gap:14px;
    font-size:0.97rem;
  }
  .cookie-banner .cookie-btns { justify-content: flex-start; gap:14px; }
}

/* Cookie modal popup */
.cookie-modal-bg {
  position: fixed;
  top:0;left:0; right:0;bottom:0;
  width: 100vw;height: 100vh;
  z-index:2200;
  background:rgba(34, 38, 55, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity:0;
  pointer-events: none;
  transition: opacity .48s;
}
.cookie-modal-bg.active { opacity:1; pointer-events: auto; }
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 38px 0 rgba(23,37,84,0.23);
  padding: 40px 30px 26px 30px;
  min-width: 0; max-width: 420px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap:14px;
}
.cookie-modal h3 {color: var(--color-primary); font-family:var(--font-display); margin-bottom:6px;}
.cookie-modal label{font-size: 1.05rem; display:inline-flex; align-items: center; gap:7px;}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap:14px;
}
.cookie-modal .cookie-btns {display: flex;justify-content: flex-end;gap:14px;margin-top:8px;}
.cookie-modal input[type=checkbox] {
  appearance: none;
  width: 20px; height: 20px;
  border: 2px solid var(--color-primary);
  border-radius:6px;
  position: relative;
  margin-right:6px;
  transition: border var(--transition), background var(--transition);
}
.cookie-modal input[type=checkbox]:checked {
  background: var(--color-gold);
  border-color: var(--color-gold-dark);
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {padding:9px 17px; font-size:1rem;}
.cookie-modal .cookie-essential {color:#888; font-style:italic; margin-left:7px;}

@media (max-width: 600px) {
  .cookie-modal {padding:25px 9px 15px 9px;}
}

/* ---- 11. MISC COMPONENTS ---- */
hr {
  border: none;
  border-bottom: 2px solid var(--color-gold);
  margin: 24px 0;
}
.feature-item {
  display: flex;
  flex-direction: column;   /* vertical on mobile; can be row on desktop if desired */
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}
.feature-item img {
  width: 44px; height: 44px;
}

/* ---- 12. ANIMATIONS, TRANSITIONS ---- */
.card, .testimonial-card, .features-grid > div, .btn-primary, .btn-secondary, .cookie-banner, .mobile-menu {
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition), color var(--transition), opacity var(--transition);
}
.testimonial-card:hover, .card:hover, .features-grid > div:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: var(--shadow-hover);
}
.btn-primary:active, .btn-secondary:active {
  transform: translateY(1.5px) scale(0.99);
}
.mobile-menu.open {animation: slideInLeft 0.38s cubic-bezier(.42,.1,.56,1) 1;}
@keyframes slideInLeft {
  0% {transform: translateX(-100%); opacity: 0.6;}
  100% {transform: translateX(0); opacity:1;}
}

/* ---- 13. RESPONSIVE MEDIA QUERIES ---- */
@media (max-width: 1140px) {
  .container {max-width: 1004px;}
}
@media (max-width: 992px) {
  .container {max-width: 860px;}
  h1 {font-size:2.15rem;}
  h2 {font-size:1.45rem;}
}
@media (max-width: 768px) {
  header .container {min-height: 60px;}
  .section {padding: 18px 4px; margin-bottom:40px;}
  h1 {font-size:1.48rem;}
  h2 {font-size:1.18rem;}
  .content-wrapper {padding:11px 0 6px 0;}
}

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

/* ---- 15. ACCESSIBILITY ---- */
a:focus-visible, button:focus-visible {outline: 2px solid var(--color-accent); outline-offset:2px;}

/* ---- 16. LUXURY MICRO-DETAILS ---- */
.section, .card, .features-grid > div, .testimonial-card {
  border: 1.5px solid rgba(209,179,88,0.09); /* subtle gold hint for luxury card border */
}
h1, h2, h3, .btn-primary, .btn-secondary {
  text-shadow: 0 1px 0 rgba(209,179,88,0.04), 0 1px 8px rgba(23,37,84,0.07);
}
.btn-primary, .btn-secondary {box-shadow: 0 4px 16px 0 rgba(209,179,88,0.08);}
.features-grid > div, .testimonial-card, .card {background: linear-gradient(90deg, #fff 92%, rgba(209,179,88,0.035) 100%);}

/* ---- 17. CRITICAL LAYOUT SPACING RULES ---- */
.section, .card, .testimonial-card, .features-grid > div {
  margin-bottom: 20px; /* enforced for min spacing between elements */
}
.card-container, .card-grid, .testimonial-grid, .features-grid, .content-grid {
  gap: 20px;
}

/* ---- 18. FORMS (OPTIONAL, FOR FUTURE EXPANSION) ---- */
input, textarea, select {
  background: var(--color-grey-light);
  border: 1.5px solid var(--color-gold);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 2px var(--color-accent, #38BDF8);}

/* ---- 19. OVERRIDES FOR SPECIFIC ELEMENTS ---- */
/* Hide scrollbars on cookie modal/mobile menu on mobile for luxury touch */
.cookie-modal::-webkit-scrollbar { width:0; background:transparent; }
.mobile-menu, .cookie-modal { scrollbar-width: none; }

/* ---- END ---- */
