/* ------------------------
   CSS RESET & NORMALIZE
------------------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F7F7;
  color: #222;
  line-height: 1.7;
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
ahref, button {
  outline: none;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 14px 18px;
  border-bottom: 1px solid #dfdfdf;
  text-align: left;
}
th {
  background-color: #EFEDE7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

/* -------------------------------
   BRAND & PREMIUM COLOR PALETTE
------------------------------- */
:root {
  --lux-bg: #F7F7F7;
  --lux-bg-dark: #184C41;
  --lux-primary: #184C41;
  --lux-secondary: #F2AD4B;
  --lux-accent: #FFF8ED;
  --lux-card-bg: #FEFEFE;
  --lux-gold: #D9B96A;
  --lux-gold-deep: #BA9400;
  --lux-grey: #666;
  --lux-dark: #161C15;
  --lux-light: #FFF;
  --lux-shadow: 0 4px 24px rgba(24,76,65,0.08), 0 2px 8px rgba(24,76,65,0.08);
}

/* ----------------------------------
    TYPOGRAPHY (Luxury + Readable)
----------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--lux-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  letter-spacing: 0.015em;
}
h2 {
  font-size: 2rem;
  margin-top: 24px;
}
h3 {
  font-size: 1.4rem;
  margin-top: 18px;
}
p, ul, ol {
  font-size: 1.1rem;
}
.subtitle {
  color: var(--lux-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 1.3rem;
  letter-spacing: 0.05em;
}
.testimonial-author {
  color: var(--lux-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 14px;
}

/* ----------------------------------
    GENERAL SECTION & SPACING RULES
----------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
  width: 100%;
}
.section, main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--lux-card-bg);
  border-radius: 18px;
  box-shadow: var(--lux-shadow);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  max-width: 350px;
  flex: 1 1 320px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(218,187,106,0.12), var(--lux-shadow);
  border: 1.5px solid var(--lux-gold);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  gap: 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
/* Testimonials as cards with clear/contrasted backgrounds */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  margin-bottom: 20px;
  background: var(--lux-light);
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(24,76,65,0.10);
  border-left: 4px solid var(--lux-secondary);
  color: #181818;
}
.testimonial-card p {
  font-size: 1rem;
  color: #222;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 28px;
}

/* --------------------------
     HERO / CTA SECTIONS
-------------------------- */
.hero {
  background: var(--lux-primary);
  color: var(--lux-light);
  padding: 60px 0 48px 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero h1,
.hero h2 {
  color: var(--lux-light);
}
.hero .subtitle {
  color: var(--lux-gold);
  font-size: 1.2rem;
  font-weight: 600;
}
.cta {
  background: var(--lux-accent);
  border-top: 1.5px solid #E6D7BC;
  border-radius: 22px 22px 0 0;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* --------------------------
       HEADER & NAV
-------------------------- */
header {
  background: var(--lux-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 30px;
  border-bottom: 1px solid #E6E4DA;
  z-index: 100;
  box-shadow: 0 7px 20px rgba(24,76,65,0.04);
  position: relative;
}
header img {
  height: 45px;
  width: auto;
  margin-right: 22px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--lux-dark);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--lux-gold);
  color: var(--lux-dark);
}
.cta-btn {
  background: linear-gradient(90deg, var(--lux-gold), var(--lux-secondary));
  color: var(--lux-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  margin-left: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(218,187,106,0.13);
  transition: box-shadow 0.18s, background 0.22s, filter 0.15s;
  outline: none;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.02em;
  position: relative;
}
.cta-btn::after {
  content: '';
  display: block;
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--lux-gold);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.77;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, var(--lux-gold-deep), var(--lux-secondary));
  filter: brightness(0.96) saturate(1.1);
  box-shadow: 0 4px 16px rgba(218,187,106,0.13), 0 2px 8px rgba(24,76,65,0.09);
  text-decoration: none;
}

/* --------------------------
     MOBILE MENU STYLES
-------------------------- */
.mobile-menu-toggle {
  background: var(--lux-primary);
  color: var(--lux-gold);
  font-size: 2.1rem;
  border: none;
  border-radius: 9px;
  padding: 5px 18px;
  position: fixed;
  right: 22px;
  top: 19px;
  z-index: 220;
  display: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(24,76,65,0.11);
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--lux-gold);
  color: var(--lux-primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,76,65,0.98);
  color: var(--lux-light);
  z-index: 350;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.86,0,.07,1), opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 22px;
  background: transparent;
  color: var(--lux-gold);
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 360;
  padding: 3px 12px;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: var(--lux-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 80px 36px 0 36px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--lux-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 11px 8px 11px 0;
  border-bottom: 1px solid rgba(242,173,75,0.18);
  transition: color 0.16s, border-bottom 0.13s;
  border-radius: 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--lux-gold);
  border-bottom: 1.5px solid var(--lux-secondary);
}
@media (max-width: 1025px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 1025px) {
  .cta-btn {
    margin-left: 0;
  }
}

/* --------------------------
       FOOTER
-------------------------- */
footer {
  border-top: 1.5px solid #E6E4DA;
  padding: 38px 0 17px 0;
  background: var(--lux-light);
  color: var(--lux-primary);
  font-size: 1rem;
  text-align: center;
  margin-top: 38px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}
footer nav a {
  color: var(--lux-primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5.5px;
  padding: 6px 13px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--lux-secondary);
  color: var(--lux-dark);
}

/* -----------------------------------
    TABLES (Ranking/Offers etc)
----------------------------------- */
table {
  background: var(--lux-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(24,76,65,0.07);
  margin-bottom: 32px;
}
thead th {
  background-color: #F8EBCB;
  color: var(--lux-primary);
}
tbody tr:nth-child(even) {
  background: #FCF7EC;
}
tr:hover td {
  background: #FFF3DB;
  transition: background 0.19s;
}

/* Ranking icons */
td img[alt="Ocena"] {
  height: 18px;
  width: 18px;
  margin-right: 2px;
  display: inline;
  vertical-align: middle;
}

/* Filter / Info boxes */
.filters {
  background: #FFF8EA;
  border-left: 3px solid var(--lux-secondary);
  border-radius: 9px;
  padding: 13px 18px;
  margin-bottom: 28px;
  font-size: 1.09rem;
  color: var(--lux-primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.filters span {
  font-weight: 600;
}

/* ------------------------------------
    LISTS with icons (home page)
------------------------------------- */
ul li img {
  width: 22px;
  height: 22px;
  margin-right: 9px;
  vertical-align: middle;
}
ul li b {
  color: var(--lux-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

/* ------------------------------------
       MODALS: Cookie Consent
------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--lux-light);
  color: var(--lux-dark);
  box-shadow: 0 -4px 20px rgba(24,76,65,0.09);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 18px 18px 18px;
  border-top: 2px solid var(--lux-secondary);
  gap: 17px;
  animation: cookieFadeIn 0.45s ease;
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 6px;
}
.cookie-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-settings-btn {
  background: var(--lux-secondary);
  color: var(--lux-dark);
  border: none;
  border-radius: 21px;
  font-size: 1.02rem;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(242,173,75,0.07);
  margin-top: 0;
  transition: background 0.17s, color 0.17s;
}
.cookie-btn:hover, .cookie-settings-btn:hover {
  background: var(--lux-gold-deep);
  color: var(--lux-light);
}
.cookie-btn.reject {
  background: var(--lux-light);
  color: var(--lux-primary);
  border: 1.1px solid var(--lux-secondary);
}
.cookie-btn.reject:hover {
  background: var(--lux-primary);
  color: var(--lux-gold);
}
.cookie-settings-btn {
  background: var(--lux-primary);
  color: var(--lux-gold);
  border: none;
}
.cookie-settings-btn:hover {
  background: var(--lux-secondary);
  color: var(--lux-dark);
}

/* Cookie modal */
.cookie-modal-bg {
  position: fixed;
  z-index: 10001;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,76,65,0.77);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
}
.cookie-modal-bg.open { opacity: 1; pointer-events: all; }
.cookie-modal {
  position: fixed;
  z-index: 10002;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%,50%) scale(0.96);
  min-width: 320px;
  max-width: 96vw;
  background: var(--lux-light);
  padding: 36px 30px;
  border-radius: 19px;
  box-shadow: 0 11px 40px rgba(24,76,65,0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s, transform 0.17s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,50%) scale(1);
}
.cookie-modal h3 {
  color: var(--lux-primary);
  margin-bottom: 11px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  text-align: left;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 12px;
  padding: 11px 0 11px 0;
  border-bottom: 1px solid #EDE4C3;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--lux-primary);
  cursor: pointer;
}
.cookie-modal .cookie-close {
  background: none;
  border: none;
  color: var(--lux-gold);
  font-size: 2rem;
  position: absolute;
  right: 20px; top: 20px;
  cursor: pointer;
  padding: 3px 8px;
  transition: color 0.13s;
}
.cookie-modal .cookie-close:hover {
  color: var(--lux-secondary);
}
/* Switches for toggles */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #DDD;
  border-radius: 28px;
  transition: background 0.2s;
}
.switch input:checked + .slider {
  background: var(--lux-secondary);
}
.switch .slider:before {
  position: absolute;
  content: '';
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: var(--lux-primary);
  border-radius: 50%;
  transition: transform 0.22s;
}
.switch input:checked + .slider:before {
  transform: translateX(22px);
  background: var(--lux-gold);
}
.switch input:disabled + .slider {
  background: #bababa;
  opacity: 0.73;
  cursor: not-allowed;
}
.switch input:disabled + .slider:before {
  background: #ccc;
}

/* --------------------------
     BUTTONS & INTERACTIONS
-------------------------- */
button, .cta-btn, .cookie-btn, .cookie-settings-btn {
  transition: background 0.13s, color 0.14s, box-shadow 0.17s, filter 0.13s;
  will-change: background, color, box-shadow, filter;
}
a {
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--lux-secondary);
  text-decoration: underline;
}

/* --------------------------
     RESPONSIVE DESIGN
-------------------------- */
@media (max-width: 1025px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  header {
    flex-wrap: wrap;
    padding: 13px 13px 13px 15px;
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .hero {
    padding: 44px 0 30px 0;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .hero {
    padding: 34px 0 21px 0;
  }
  h1 {
    font-size: 2.1rem;
    margin-bottom: 14px;
  }
  h2 { font-size: 1.23rem; }
  .container {
    padding: 0 5px;
  }
  .section, main > section {
    margin-bottom: 34px;
    padding: 22px 6px;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    min-width: 0;
    max-width: 100vw;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 13px 12px;
  }
  .content-grid {
    flex-direction: column;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .cta .content-wrapper {
    align-items: flex-start;
  }
}
@media (max-width: 580px) {
  .hero .content-wrapper,
  .cta .content-wrapper {
    align-items: flex-start;
  }
}
@media (max-width: 440px) {
  .footer nav {
    flex-direction: column;
    gap: 7px;
  }
  .cookie-btn, .cookie-settings-btn {
    padding: 9px 12px;
    font-size: 1rem;
  }
}

/* ----------------------------------------
   PRINT BRAND FONTS (FALLBACKS included)
----------------------------------------- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular'),
    url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
    url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
}

/* --------------------------
   REMOVE DEFAULT OUTLOOKS
-------------------------- */
:focus {
  outline: 2px solid var(--lux-secondary);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }

/* END OF LUXURY PREMIUM THEME */

