/* =========================================================== */
/*           CSS RESET & BASE STYLES – Luxury Premium          */
/* =========================================================== */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
:root {
  --primary: #21423C;
  --secondary: #81B29A;
  --accent: #F7F4EA;
  --gold: #C2A95D;
  --off-black: #1B1B1B;
  --gray: #6A7D6C;
  --white: #FFFFFF;
  --shadow: 0 6px 24px rgba(33,66,60,0.07), 0 2px 8px rgba(33,66,60,0.09);
  --border-radius: 18px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, Helvetica, sans-serif;
}
html, body {
  height: 100%;
  background: var(--accent);
  color: var(--primary);
  min-height: 100vh;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--accent);
  color: var(--primary);
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
hr {
  border: 0;
  border-bottom: 1px solid var(--secondary);
  margin: 32px 0;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p, li, span, input, label, b, strong {
  font-family: var(--font-body);
}
p, li, span { font-size: 1rem; }
.subtitle {
  margin-bottom: 24px;
  color: var(--gray);
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 400;
}

b, strong {
  color: var(--primary);
  font-weight: 600;
}

/* =================================== */
/*           HEADER & NAVIGATION       */
/* =================================== */
header {
  background: var(--accent);
  border-bottom: 1px solid #dedad0;
  position: sticky;
  top: 0;
  z-index: 1001;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  width: 100%;
}
.main-nav > a img {
  height: 50px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav ul li {
  list-style: none;
}
.main-nav ul li a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.06rem;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--gold);
  color: var(--white);
}
.cta-btn {
  background: var(--primary);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  border-radius: 27px;
  padding: 11px 32px;
  border: none;
  box-shadow: 0 2px 8px #21423C14;
  transition: background 0.18s, color 0.18s, box-shadow 0.3s;
  border: 2px solid var(--gold);
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 4px 20px #c2a95d22;
}

/* ------------ Mobile Nav Toggle ------------ */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--gold);
  font-size: 2rem;
  border: none;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  margin-left: 10px;
  align-items: center;
  justify-content: center;
  z-index: 1102;
  position: relative;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--gold);
  color: var(--primary);
  outline: none;
}

/* ------------ Mobile Menu Overlay ------------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,32,29,0.98);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.66,.04,.36,1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2.2rem;
  margin: 24px 28px 6px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 36px;
}
.mobile-nav a {
  color: var(--gold);
  font-size: 1.4rem;
  font-family: var(--font-body);
  font-weight: bold;
  padding: 10px 6px;
  border-radius: 6px;
  transition: background 0.20s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gold);
  color: var(--primary);
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ================================================ */
/*                  HERO SECTION                    */
/* ================================================ */
.hero {
  background: linear-gradient(110deg, var(--accent) 62%, #F3E7B9 100%);
  min-height: 340px;
  border-bottom: 1px solid #dedad0;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 260px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 600px;
  padding: 36px 0;
}
.hero h1 {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.hero .subtitle {
  font-size: 1.17rem;
  color: var(--gray);
  margin-bottom: 18px;
}

/* ================================================ */
/*                 FLEX LAYOUT PATTERNS             */
/* Required section, flex, card, testimonial rules  */
/* ================================================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.20s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px 0 #21423C25;
  transform: translateY(-4px) scale(1.01);
}
.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: 40px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 30px 20px 25px;
  margin-bottom: 20px;
  background: #fffdee;
  border-left: 7px solid var(--gold);
  border-radius: 0 18px 18px 0;
  box-shadow: 0 2px 16px #21423C0B;
  min-width: 230px;
  max-width: 550px;
}
.testimonial-card p {
  color: var(--off-black);
  font-size: 1.1rem;
  margin-bottom: 6px;
  opacity: 0.96;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 600;
  opacity: 0.84;
}

.feature-item, .feature-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 20px 16px;
  margin-bottom: 20px;
  font-size: 1.08rem;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
}
.feature-list li {
  flex: 1 1 210px;
  min-width: 180px;
  border-left: 4px solid var(--gold);
  background: var(--white);
  transition: box-shadow 0.22s, transform 0.20s;
}
.feature-list li span {
  font-size: 0.95rem;
  color: var(--gray);
  margin-top: 6px;
}
.feature-list li img {
  height: 36px;
  width: 36px;
  margin-bottom: 7px;
}
.feature-list li:hover, .feature-list li:focus {
  box-shadow: 0 6px 18px #c2a95d19;
  transform: translateY(-2px) scale(1.01);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 12px;
}
.service-list li {
  background: var(--accent);
  border: 1.5px solid #ddcfa2;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px #debe7850;
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, border 0.18s;
}
.service-list li:hover, .service-list li:focus {
  border: 1.5px solid var(--gold);
  box-shadow: 0 6px 24px #c2a95d29;
}
.service-list h3, .service-list h2 {
  font-size: 1.28rem;
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 600;
}
.service-list p {
  color: var(--primary);
  font-size: 1.04rem;
  font-family: var(--font-body);
  font-weight: 400;
}

/* CTA Section */
.cta {
  background: var(--primary);
  color: var(--gold);
  text-align: center;
  padding: 50px 0 60px 0;
  border-radius: 0 0 28px 28px;
}
.cta h2 {
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: 2.1rem;
}
.cta .cta-btn {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--gold);
  font-size: 1.13rem;
  box-shadow: 0 4px 24px #c2a95d38;
  transition: background 0.18s, color 0.18s, box-shadow 0.28s;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* ================================================ */
/*              PAGE MAIN SECTIONS                  */
/* ================================================ */
main > section {
  margin-bottom: 60px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 14px #21423C13;
  padding: 32px 24px;
  margin-bottom: 18px;
  color: var(--primary);
}
.text-section ul {
  margin-top: 10px;
  margin-bottom: 9px;
}
.text-section li {
  margin-bottom: 12px;
  color: var(--primary);
}

/* ================================================ */
/*                     FOOTER                       */
/* ================================================ */
footer {
  background: var(--primary);
  color: var(--gold);
  border-radius: 22px 22px 0 0;
  padding: 38px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 34px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-logo img {
  height: 55px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--gold);
  font-size: 1.02rem;
  font-family: var(--font-body);
  font-weight: 500;
  transition: color 0.21s;
  padding: 5px 10px;
  border-radius: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  background: var(--gold);
}
.footer-copy {
  color: var(--gold);
  opacity: 0.87;
  font-size: 0.98em;
  margin-top: 6px;
  font-family: var(--font-body);
}

@media (max-width: 820px) {
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ========== Cookie Consent Banner & Modal ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #fffdee;
  color: var(--primary);
  box-shadow: 0 -3px 18px #c2a95d1a;
  padding: 30px 16px 26px 16px;
  border-top: 3.5px solid var(--gold);
  z-index: 1700;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1.08rem;
  transition: transform 0.28s cubic-bezier(.53,.12,.37,.99);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-text {
  flex: 1 1 340px;
  max-width: 720px;
  margin-right: 20px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  font-family: var(--font-body);
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 17px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.17s, color 0.17s;
  box-shadow: 0 1px 8px #21423C1a;
}
.cookie-btn.accept {
  background: var(--primary);
  color: var(--gold);
  border: 1.8px solid var(--gold);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--gold);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #f5e8b8;
  color: var(--primary);
  border: 1.5px solid var(--gold);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f8f4e5;
  color: var(--gold);
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--gold);
  border: 1px solid var(--gold);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--gold);
  color: var(--primary);
}

@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 10px 13px 10px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
  }
}

/* ------------ Cookie Modal ------------ */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 98vw;
  max-width: 410px;
  background: #fffdee;
  color: var(--primary);
  border: 2.5px solid var(--gold);
  border-radius: 17px;
  padding: 34px 26px 24px 26px;
  box-shadow: 0 10px 70px #c2a95d56;
  transform: translate(-50%,-50%) scale(0.85);
  z-index: 1800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.53,.12,.37,.99), transform 0.33s cubic-bezier(.55,.21,0.32,1);
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.08rem;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h3 {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.42rem;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #f2ead0;
  font-size: 1rem;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: 0;
}
.cookie-modal .switch {
  appearance: none;
  width: 36px; height: 20px;
  border-radius: 11px;
  background: #f0eedd;
  outline: none;
  border: 1px solid #ddd7b5;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .switch:checked {
  background: var(--gold);
}
.cookie-modal .switch:before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.17s;
}
.cookie-modal .switch:checked:before {
  left: 18px;
  background: var(--gold);
}
.cookie-modal .category-desc {
  color: var(--gray);
  font-size: 0.97rem;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.9rem;
  position: absolute;
  top: 10px; right: 14px;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  color: var(--gold);
}

/* Overlay for modal */
.cookie-modal-overlay {
  position: fixed;
  background: rgba(0,0,0,0.28);
  top:0; left:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  z-index: 1750;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ========================== */
/*       MISC COMPONENTS      */
/* ========================== */
::-webkit-scrollbar {
  width: 10px;
  background: #f7f4ea;
}
::-webkit-scrollbar-thumb {
  background: #cdbe94;
  border-radius: 8px;
}

/* ========== Animations & Microinteractions ========= */
.cta-btn, .card, .feature-list li, .service-list li, .testimonial-card, .cookie-btn {
  transition: background 0.25s, box-shadow 0.22s, color 0.20s, transform 0.22s;
}
.card:hover, .feature-list li:hover, .service-list li:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 32px #c2a95d23;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2.5px solid var(--gold) !important;
  outline-offset: 2px;
}

/* ========================== */
/*       RESPONSIVE RULES     */
/* ========================== */
@media (max-width: 1100px) {
  .feature-list, .service-list {
    gap: 14px;
  }
  .content-wrapper {
    gap: 11px;
  }
}
@media (max-width: 820px) {
  .main-nav > a img { height: 38px; }
  .feature-list li img { height: 30px; width: 30px; }
}
@media (max-width: 660px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.3rem; }
  .hero .container { padding: 0 7px !important; }
  .cta h2 { font-size: 1.25rem; }
  .card, .feature-list li, .service-list li, .testimonial-card, .text-section { padding: 17px 12px; }
  .main-nav { padding: 9px 0; }
}
@media (max-width: 520px) {
  .hero {
    min-height: 180px;
    border-radius: 0 0 14px 14px;
  }
  .footer-logo img { height: 30px; }
}

/* ========================== */
/*      Z-INDEX CONTEXTS      */
/* ========================== */
header { z-index: 1000; }
.mobile-menu { z-index: 1500; }
.cookie-banner { z-index: 1700; }
.cookie-modal { z-index: 1800; }

/* END Tiha Cvetlica LUXURY PREMIUM CSS */
