/* ---------------------------------------------------------
   Tihi Zrak - Luxury Premium CSS
   Author: Senior CSS Developer & UI Designer
   Style: Luxury, elegant, refined, gold accents, premium clean
--------------------------------------------------------- */

/* === CSS RESET (normalize/modern reset) === */
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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F7FAFC;
  color: #242A2C;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* === TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
html {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #21516B;
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.375rem; /* 38px */
  letter-spacing: -1px;
  margin-bottom: 18px;
}

h2 {
  font-size: 1.75rem; /* 28px */
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
}
h4 {
  font-size: 1rem; /* 16px */
  font-weight: 500;
}
p, ul li, ol li, span {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #283039;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #21516B;
}
em {
  font-style: italic;
  color: #21516B;
}

/* === COLOR VARIABLES (with fallbacks) === */
:root {
  --primary: #21516B;
  --secondary: #E7F1F5;
  --accent: #FDBE34;
  --premium-gold: #C6A452;
  --link-hover:#B98913;
  --shadow-color: rgba(33, 81, 107, 0.10);
}

/* === PAGE CONTAINERS === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 6px 44px var(--shadow-color);
  border-radius: 16px;
  padding: 40px 24px;
  margin-bottom: 32px;
}

/* === SECTIONS & SPACING === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 3px 24px var(--shadow-color);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(198, 164, 82, .19);
  transform: translateY(-4px) scale(1.0123);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 20px 20px 20px;
  gap: 14px;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F7FAFC;
  border-left: 4px solid var(--premium-gold, #C6A452);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(116,122,134,0.09);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px rgba(198, 164, 82, .12);
}
.testimonial-card p {
  color: #242A2C;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-card span {
  color: #4B5765;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(68,88,102,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 0 0;
  margin-bottom: 30px;
  z-index: 100;
  position: relative;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 16px 0 10px 0;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 500;
  font-size: 1.08rem;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  margin: 0 4px;
  transition: color 0.16s, border-color 0.2s;
  position: relative;
}
header nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--premium-gold);
  transition: width 0.25s;
  margin-top: 2px;
}
header nav a:hover,
header nav a:focus {
  color: var(--premium-gold);
  border-bottom: 2px solid var(--premium-gold);
}
header nav a:hover:after,
header nav a:focus:after {
  width: 70%;
}
header .cta-button {
  margin-left: auto;
}

/* === CTA BUTTON === */
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #C6A452 0%, #FDBE34 100%);
  border-radius: 8px;
  padding: 12px 32px;
  margin: 12px 0;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 18px rgba(198,164,82,0.11);
  border: none;
  transition: background 0.22s, box-shadow 0.23s, color 0.14s;
  text-shadow: 0 2px 9px rgba(33,81,107,0.07);
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #b79641 0%, #E3B448 100%);
  color: #fffbe6;
  box-shadow: 0 6px 28px rgba(33,81,107,0.16);
}

/* === FOOTER === */
footer {
  background: #21516B;
  color: #fff;
  padding: 30px 0;
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: 0.99rem;
  margin-bottom: 18px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 2px 6px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  text-decoration: underline;
}
.brand-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  color: #E7F1F5;
}
.brand-footer span {
  color: #E7F1F5;
}
.brand-footer img {
  height: 40px;
  margin-bottom: 6px;
  display: block;
}

/* === FLEX SECTIONS/CONTENT ALIGNMENTS (MANDATORY) === */
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
  }
  .content-grid, .card-container, .features {
    flex-direction: row;
  }
}
@media (max-width: 768px) {
  .section, .content-wrapper {
    padding: 24px 10px;
  }
  .text-image-section, .content-grid, .card-container, .features {
    flex-direction: column;
    gap: 18px;
  }
  header nav {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .brand-footer {
    font-size: 0.94rem;
  }
}

/* === GENERAL BUTTON STYLES === */
button, .button, .cta-button {
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s;
}

/* === LINKS === */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #B98913;
  text-decoration: underline;
}

/* === LISTS === */
ul li {
  padding-left: 0.8em;
  position: relative;
  margin-bottom: 8px;
}
ul li::before {
  content: '\2022';
  color: var(--premium-gold);
  display: inline-block;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0.13em;
  line-height: 1;
}
ul li strong {
  color: #21516B;
}

/* === RESPONSIVE IMAGES === */
img, svg {
  max-width: 100%;
}

/* === CARD CONTAINERS AND CARDS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 300px;
  margin: 0;
  border: 1px solid #EFEEEA;
  transition: box-shadow .2s, border-color .2s;
}

/* === SPACING between content blocks === */
.section:not(:last-child), .content-wrapper:not(:last-child) {
  margin-bottom: 60px;
}

/* === MOBILE BURGER MENU === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1201;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(33,81,107,0.07), 0 0 0 2px var(--premium-gold);
  border: none;
  font-size: 2rem;
  color: var(--primary);
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.19s, background 0.19s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  box-shadow: 0 6px 22px rgba(253,190,52,0.15);
  background: #F9F5ED;
}
/* Show on mobile only */
@media (max-width: 920px) {
  .mobile-menu-toggle {
    display: flex;
  }
  header nav {
    display: none !important;
  }
  header .cta-button {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 921px) {
  .mobile-menu {
    display: none !important;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 81, 107, 0.99);
  z-index: 1200;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  overflow-y: auto;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.75,0,.09,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: slideInMenu 0.4s cubic-bezier(.75,0,.09,1);
}
@keyframes slideInMenu {
  from { transform: translateX(-100vw) }
  to   { transform: translateX(0) }
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--accent);
  background: none;
  border: none;
  padding: 22px 34px 18px 0;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
  padding: 24px 30px 0 0;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.21rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px 0 0 6px;
  letter-spacing: 0.04em;
  margin-right: 4px;
  transition: color 0.17s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--premium-gold);
  color: var(--primary);
}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 1.5px solid #E7F1F5;
  box-shadow: 0 -6px 32px rgba(33,81,107,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 20px 18px 20px;
  z-index: 21000;
  animation: bannerIn 0.44s cubic-bezier(.85,0,.36,1);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
@keyframes bannerIn {
  from { transform: translateY(120px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 280px;
  color: #21516B;
  font-size: 1rem;
  margin-right: 16px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-banner__button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 9px 22px;
  border-radius: 8px;
  outline: none;
  border: none;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner__button.accept {
  background: linear-gradient(90deg, #C6A452 0%, #FDBE34 100%);
  color: #fff;
  box-shadow: 0 1px 9px rgba(253,190,52,0.08);
}
.cookie-banner__button.accept:hover,
.cookie-banner__button.accept:focus {
  background: linear-gradient(90deg, #b79641 0%, #E3B448 100%);
  color: #fffbe6;
}
.cookie-banner__button.reject {
  background: #E7F1F5;
  color: var(--primary);
  border: 1px solid #C6A452;
}
.cookie-banner__button.reject:hover,
.cookie-banner__button.reject:focus {
  background: #F2E9D3;
  color: #A88924;
}
.cookie-banner__button.settings {
  background: #fff;
  color: var(--primary);
  border: 1px solid #21516B;
}
.cookie-banner__button.settings:hover,
.cookie-banner__button.settings:focus {
  background: #E7F1F5;
}

/* === Cookie Modal Popup === */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,81,107,0.88);
  z-index: 30000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modalIn 0.45s cubic-bezier(.91,0,.27,1);
}
@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 16px;
  max-width: 412px;
  width: 90%;
  padding: 42px 34px 24px 34px;
  box-shadow: 0 8px 50px rgba(33,81,107,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.8rem;
  color: var(--primary);
  background: none;
  border: none;
  border-radius: 50%;
  padding: 6px 9px 6px 9px;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E7F1F5;
  color: #C6A452;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.27rem;
  margin-bottom: 18px;
  color: #21516B;
}
.cookie-modal-section {
  width: 100%;
  margin-bottom: 17px;
}
.cookie-modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-modal-label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.00rem;
  color: #242A2C;
}
.cookie-modal-toggle {
  width: 44px;
  height: 22px;
  background: #E7F1F5;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-modal-toggle .toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  transition: left 0.2s, background 0.18s;
}
.cookie-modal-toggle input:checked + .toggle-slider {
  left: 24px;
  background: var(--premium-gold);
}
.cookie-modal-actions {
  width: 100%;
  display: flex;
  gap: 14px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-banner__button {
  padding: 8px 22px;
}

/* === Animations for cards & buttons === */
.card, .testimonial-card, .cta-button, .cookie-banner, .cookie-modal-dialog {
  transition: box-shadow 0.19s, transform 0.23s, background 0.16s, border-color 0.15s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 40px rgba(253,190,52,0.17);
  transform: translateY(-2px) scale(1.01);
}
.cta-button:hover, .cookie-banner__button:hover {
  transform: translateY(-2px) scale(1.03);
}

/* === FORM ELEMENTS (inputs, checkboxes, etc.) === */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px 16px;
  border-radius: 7px;
  border: 1.5px solid #E7F1F5;
  background: #fff;
  font-size: 1rem;
  color: #1F2022;
  transition: border-color 0.14s, box-shadow 0.15s;
  margin-bottom: 18px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--premium-gold);
  box-shadow: 0 3px 14px rgba(253,190,52,0.09);
}

/* === MISC: Spacing, Accessibility, Misc Micro-details === */
h1, h2, h3, h4, p, ul, ol {
  margin-bottom: 12px;
}
ul, ol {
  padding-left: 18px;
}

::-webkit-input-placeholder { color: #B6BFC8; }
::-moz-placeholder { color: #B6BFC8; }
:-ms-input-placeholder { color: #B6BFC8; }
::placeholder { color: #B6BFC8; }

/* ===== Scrollbar (Refined Premium - subtle) ===== */
::-webkit-scrollbar { width: 8px; background: #E7F1F5; }
::-webkit-scrollbar-thumb { background: #C6A452; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #E3B448; }

/* === Utility classes for spacing and layout === */
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-48 { margin-bottom: 48px !important; }
.mb-60 { margin-bottom: 60px !important; }
.mt-20 { margin-top: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-20 { gap: 20px !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* === RESPONSIVE BREAKPOINTS & ENHANCEMENTS === */
@media (max-width: 480px) {
  .container, .content-wrapper, .section {
    padding: 10px 4px;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2, h3 {
    font-size: 1.15rem;
  }
  .testimonial-card {
    padding: 12px;
    font-size: 0.99rem;
  }
  .card-content {
    padding: 14px 7px 12px 7px;
  }
}
@media (max-width: 620px) {
  .cookie-modal-dialog {
    padding: 21px 7px 10px 7px;
    max-width: 97vw;
  }
}
/* Make sure everything is readable on small devices */
@media (max-width: 480px) {
  .brand-footer span,
  .brand-footer {
    font-size: 0.93rem;
  }
}

/* === VISUAL HIERARCHY improvements === */
.content-wrapper > h1,
.content-wrapper > h2 {
  margin-top: 0;
  color: #C6A452;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: -1px;
}
/* --- End of CSS --- */
