/* ------------------ CSS RESET & NORMALIZE ----------------- */
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #F8F4EF;
}

body {
  line-height: 1.5;
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: #F8F4EF;
  color: #2d2d2d;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
}

:root {
  --color-primary: #39587A;
  --color-primary-rgb: 57, 88, 122;
  --color-secondary: #F8F4EF;
  --color-accent: #B0673A;
  --color-gold: #CBA766;
  --color-text: #232323;
  --color-heading: #152233;
  --color-muted: #978877;
  --color-bg-dark: #232537;
  --radius-medium: 16px;
  --radius-large: 24px;
  --shadow-main: 0 4px 32px rgba(57, 88, 122, 0.10), 0 1.5px 4px rgba(203, 167, 102, 0.09);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.04);
  --shadow-hover: 0 4px 24px rgba(203, 167, 102, 0.14);
  --transition-main: 0.25s cubic-bezier(.5,.4,.3,1);
  --font-display: 'Playfair Display',Georgia,'Times New Roman',serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --max-width: 1280px;
}

/* ------------- TYPOGRAPHY & HEADINGS ------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.17;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

p, li, blockquote {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.6;
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  font-weight: 500;
}
blockquote {
  font-style: italic;
  border-left: 4px solid var(--color-gold);
  background: #fff9ec;
  padding: 16px 20px;
  border-radius: var(--radius-medium);
  margin: 18px 0;
  color: #7d5b0e;
  box-shadow: var(--shadow-card);
}
strong {
  font-weight: 700;
}

/* ----------------- CONTAINER ---------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 20px;
}

.content-wrapper {
  margin-inline: auto;
  max-width: 850px;
  padding: 32px 0;
}

.text-section {
  margin-bottom: 32px;
}
/* --------------- LUXURY CARD CONTAINERS -------------- */
.card-container, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition-main), border-color var(--transition-main);
  border: 1.5px solid #f5ebe4;
  min-width: 260px;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-gold);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  margin-bottom: 20px;
}

/* -------------- LUXURY / PREMIUM BUTTONS -------------- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 13px 36px;
  font-size: 1.1rem;
  border-radius: 32px;
  background: var(--color-gold);
  color: #232212;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 1px rgba(255,255,255,0.16);
  box-shadow: 0 2px 12px rgba(203,167,102,.18);
  border: none;
  transition: background var(--transition-main), box-shadow var(--transition-main), color var(--transition-main);
  margin-top: 24px;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #e3ba7a;
  color: #1c1915;
  box-shadow: 0 6px 24px rgba(203,167,102,.21);
}

/* -------------- HERO SECTION ------------------------ */
.hero-section {
  background: linear-gradient(90deg, #fff, #f7f3e8 90%);
  padding: 68px 0 36px 0;
  border-bottom: 2px solid #edd7bc1a;
  margin-bottom: 48px;
}
.hero-section h1 {
  color: var(--color-primary);
  font-size: 2.65rem;
  margin-bottom: 21px;
  text-shadow: 0 2px 8px #f5eadd;
}

/* ------------------- NAVIGATION -------------------- */
header {
  width: 100%;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 1px 10px rgba(203, 167, 102, 0.05);
  padding: 0;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}
nav > a {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 21px;
  color: var(--color-primary);
  transition: color .2s, background .2s;
  position: relative;
}
nav > a:hover, nav > a:focus {
  color: var(--color-gold);
  background: #fcf8ef;
}
nav > a.cta-primary {
  margin-left: auto;
  font-size: 1.1rem;
}
nav > a img {
  height: 32px;
  width: auto;
  margin-right: 20px;
  margin-left: 0;
  vertical-align: middle;
  display: inline-block;
}

/* ---------- MOBILE BURGER MENU (MOBILE-NAV) ----------- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-gold);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.1rem;
  color: #232212;
  position: absolute;
  right: 20px;
  top: 12px;
  z-index: 101;
  box-shadow: 0 2px 8px rgba(203,167,102,0.12);
  transition: background var(--transition-main), color var(--transition-main);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #e3ba7a;
  color: #1c1915;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36, 43, 61, 0.98);
  color: #fff;
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.65,.04,.35,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: none;
}
.mobile-menu-close {
  margin: 30px auto 20px 24px;
  background: var(--color-gold);
  color: #232215;
  border: none;
  border-radius: 50%;
  font-size: 2.2rem;
  width: 50px;
  height: 50px;
  align-self: flex-start;
  box-shadow: 0 2px 12px rgba(203,167,102,0.13);
  transition: background var(--transition-main);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e3ba7a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 0 24px 32px 36px;
  margin-top: 0;
}
.mobile-nav a {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.32rem;
  padding: 14px 0;
  border-radius: 18px;
  background: none;
  transition: background .16s, color .16s;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: rgba(203,167,102, 0.12);
}


/* -------------- FEATURE CARDS ---------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  padding: 36px 24px;
  min-width: 260px;
  width: 100%;
  flex: 1 1 225px;
  border: 1px solid #f5ebe4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--transition-main), border-color var(--transition-main), transform var(--transition-main);
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.025);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}
.feature-grid h3 {
  font-size: 1.12rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.feature-grid p {
  font-size: 0.98rem;
  color: #444;
}

/* ----------------- TESTIMONIALS -------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fffbed;
  border-radius: var(--radius-medium);
  box-shadow: 0 2px 12px rgba(203,167,102,0.09);
  border: 1.2px solid #f5ebcd;
  gap: 20px;
  padding: 28px 32px;
  margin-bottom: 24px;
  position: relative;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #2e2437;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
}
.testimonial-meta strong {
  color: var(--color-primary);
  font-size: 1rem;
}
.testimonial-meta span {
  color: var(--color-gold);
  font-size: 1.12rem;
  margin-left: 7px;
  letter-spacing: 1px;
}

/* ------ CONTACT BOX ----------------- */
.contact-box {
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  border: 1.5px solid #edd7bc;
  padding: 38px 36px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.08rem;
}
.contact-box p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3b3b3b;
}
.contact-box img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}
.contact-box a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color var(--transition-main);
}
.contact-box a:hover {
  color: var(--color-gold);
}

/* ------------------- FOOTER ---------------------- */
footer {
  background: #191d27;
  padding: 44px 0 18px 0;
  color: #ece7dc;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.footer-nav a {
  color: #edd7bc;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 16px;
  opacity: 0.92;
  transition: color .2s, background .2s, opacity .17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #3d2c14;
  color: var(--color-gold);
  opacity: 1;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  max-height: 43px;
}
.footer-brand p {
  color: #B8A379;
  font-size: 0.97rem;
  margin-bottom: 0;
}

/* ---------------- LINKS & LISTS ------------------------ */
a:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 1px;
  z-index: 3;
  position: relative;
}
ul li, ol li {
  padding-left: 0;
  margin-bottom: 14px;
}
ul li strong {
  color: var(--color-primary);
}

/* ----------- FORMS & INPUTS (for kontakt) ------------ */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 9px;
  padding: 10px 14px;
  border: 1px solid #e6ddd2;
  background: #f9f6ef;
  margin-bottom: 18px;
  outline: none;
  transition: border-color .17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-gold);
}
label {
  font-size: 0.98rem;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--color-primary);
}

/* -------------- COOKIES CONSENT BANNER ------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe8;
  color: #232215;
  box-shadow: 0 -2px 18px rgba(203,167,102,0.15);
  z-index: 999;
  padding: 20px 18px 20px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 1.03rem;
  justify-content: space-between;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-message {
  flex: 2;
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex: 1 0 auto;
}
.cookie-banner button {
  font-family: var(--font-body);
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 30px;
  font-size: 1rem;
  border: none;
  background: var(--color-gold);
  color: #232212;
  cursor: pointer;
  transition: background .14s, color .14s, box-shadow .17s;
  box-shadow: 0 1.5px 8px rgba(203,167,102,0.07);
}
.cookie-banner button.accept {
  background: var(--color-gold);
  color: #232212;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #e3ba7a;
}
.cookie-banner button.reject {
  background: #fff;
  color: var(--color-gold);
  border: 1.2px solid var(--color-gold);
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #f5eee0;
}
.cookie-banner button.settings {
  background: #fcf9ef;
  color: var(--color-primary);
  border: 1.2px solid #d9d2be;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #e9e5da;
}

/* --- COOKIES MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36, 38, 28, 0.67);
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fffbe8;
  border-radius: 22px;
  padding: 40px 38px 32px 38px;
  max-width: 420px;
  width: 96%;
  box-shadow: 0 2px 21px rgba(203,167,102,.17);
  color: #232215;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal-content h3 {
  color: var(--color-primary);
  font-size: 1.28rem;
}
.cookie-category {
  margin-bottom: 15px;
}
.cookie-category label {
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.cookie-category .toggle {
  accent-color: var(--color-gold);
  margin-right: 12px;
  width: 19px;
  height: 19px;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 24px;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 13px; right: 18px;
  background: var(--color-gold);
  color: #232212;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  border: none;
  transition: background .17s;
}
.cookie-modal-content .close-modal:hover {
  background: #e3ba7a;
}

/* ---------------- Utility & Micro-interactions ---------------- */
.fade-in {
  animation: fadeIn 0.63s cubic-bezier(.5,.3,.3,1) 1;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: none; }
}

button:active, button:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* -------------------- MEDIA QUERIES ---------------------- */
@media (max-width: 1199px) {
  .container { max-width: 990px; }
  .footer-brand img { max-height: 34px; }
}
@media (max-width: 992px) {
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div,
  .card,
  .testimonial-card,
  .contact-box {
    padding-left: 16px;
    padding-right: 16px;
  }
  .content-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 12px;
  }
  .content-wrapper {
    padding: 24px 0;
  }
  .section {
    margin-bottom: 36px;
    padding: 26px 6px;
  }
  .hero-section {
    padding-top: 42px;
    padding-bottom: 18px;
    margin-bottom: 26px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.08rem; }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card, .card, .feature-item, .contact-box {
    padding: 20px 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    font-size: 0.98rem;
  }
  .footer-brand img { max-height: 22px; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.97rem;
    padding: 13px 6px;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
    flex-direction: row;
    width: 100%;
    margin-top: 6px;
  }
  .cookie-banner button {
    padding: 10px 18px;
    font-size: 0.97rem;
  }
  .cookie-modal-content {
    padding: 20px 7px 23px 11px;
    width: 98vw;
    max-width: 99vw;
  }
}

@media (max-width: 499px) {
  h1 { font-size: 1.43rem; }
  .contact-box, .testimonial-card, .feature-grid > div {
    padding: 14px 2px;
    font-size: 0.95rem;
  }
  .cta-primary {
    font-size: 0.97rem;
    padding: 10px 21px;
  }
}

/* ------- Hide Cookie Banner Print --------- */
@media print {
  .cookie-banner, .cookie-modal {
    display: none !important;
  }
}

