/* ---------------------------------------------------------
   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 {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: #F8FAFC;
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
  box-shadow: none;
}
:focus-visible {
  outline: 2px solid #2A9D8F;
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   Variables & Artistic Palette
--------------------------------------------------------- */
:root {
  --primary: #264653;
  --secondary: #2A9D8F;
  --accent: #E9C46A;
  --base-bg: #F8FAFC;
  --surface: #FFFFFF;
  --muted: #6d7a82;
  --hero-gradient: linear-gradient(135deg, #E9C46A 0%, #2A9D8F 90%);
  --radius-lg: 32px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-card: 0 6px 24px rgba(38, 70, 83, 0.09);
  --shadow-sm: 0 2px 8px rgba(38,70,83,0.05);
  --transition-main: 0.32s cubic-bezier(.4,2,.6,1);
  --display-font: 'Montserrat', 'Trebuchet MS', Arial, sans-serif;
  --body-font: 'Roboto', Arial, sans-serif;
}

/* ---------------------------------------------------------
   Container & Layout Utils
--------------------------------------------------------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  flex: 1 1 240px;
  padding: 32px 28px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover {
  transform: translateY(-8px) scale(1.025) rotate(-1deg);
  box-shadow: 0 10px 36px rgba(38,70,83,0.21);
}
.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/******* Artistic Card Grids (feature-grid) *******/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px 22px 24px 22px;
  text-align: center;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.feature-grid > div img {
  width: 56px;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 20px #e9c46a66);
}
.feature-grid > div h3 {
  font-family: var(--display-font);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.feature-grid > div p {
  font-size: 1.05rem;
  color: var(--primary);
}
.pricing {
  margin-top: 14px;
  font-size: 1.14rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: var(--display-font);
}

/******* Cards & Testimonials *******/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbee;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(233, 196, 106, 0.07);
  border-left: 5px solid var(--accent);
  max-width: 660px;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #222;
  font-family: var(--body-font);
  line-height: 1.7;
}
.testimonial-meta {
  font-weight: 600;
  font-size: 1rem;
  color: var(--secondary);
  margin-left: 12px;
}

/******* FAQ Lists *******/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-list li {
  background: var(--surface);
  padding: 22px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: background 0.25s;
}
.faq-list h3 {
  font-family: var(--display-font);
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.faq-list p {
  color: var(--muted);
  font-size: 1rem;
}

/* ---------------------------------------------------------
   Artistic Typography & Headings
--------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.65rem;
  line-height: 1.18;
  color: var(--primary);
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--secondary);
}
h3 {
  font-size: 1.22rem;
  color: var(--primary);
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1rem; }
}
p, ul, ol, li, .faq-list p {
  font-family: var(--body-font);
  font-size: 1.05rem;
}
strong { color: var(--secondary); font-weight: bold; }

/* Artistic/Funky font contrast for key elements */
h1, .hero h1, .cta h2 {
  font-family: var(--display-font);
  letter-spacing: 0.02em;
  text-shadow: 2px 2px 0 #E9C46A22, 0 2px 16px #2A9D8F22;
}

/******* Hero Section *******/
.hero {
  padding-top: 54px;
  padding-bottom: 54px;
  background: linear-gradient(120deg, #fffbee 0%, #e9c46a22 80%);
  border-bottom: 4px solid var(--accent);
  box-shadow: 0 4px 24px #e9c46a24;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  max-width: 700px;
}
.hero p {
  color: var(--primary);
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.hero .cta-btn {
  margin-top: 10px;
}

/******* CTA Section *******/
.cta {
  background: var(--hero-gradient);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  box-shadow: 0 4px 32px #2a9d8f33;
}
.cta .content-wrapper {
  align-items: center;
  gap: 14px;
  text-align: center;
}
.cta h2 {
  color: var(--primary);
  font-size: 2.08rem;
}
.cta p {
  color: var(--primary);
  font-size: 1.15rem;
}

/******* Buttons & Artistic CTAs *******/
.cta-btn, .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary);
  color: #fff;
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1.11rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  padding: 13px 34px;
  box-shadow: 0 2px 16px #2a9d8f32;
  border: none;
  cursor: pointer;
  transition: background 0.23s, transform 0.20s, box-shadow 0.18s;
}
.cta-btn:hover, .btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 8px 38px #e9c46a80;
}

/******* Link styles ******/
.main-nav a, .footer-menu a, .mobile-nav a{
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 1.03rem;
  color: var(--primary);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  margin-right: 4px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a:hover, .footer-menu a:hover, .mobile-nav a:hover {
  color: var(--secondary);
  background: #e9c46a33;
}

/* ---------------------------------------------------------
   Artistic Header & Navigation
--------------------------------------------------------- */
header {
  width: 100%;
  background: var(--surface);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  box-shadow: 0 2px 16px #2a9d8f0a;
}
header .container {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img {
  height: 50px;
  display: block;
  filter: drop-shadow(0 8px 18px #2a9d8f18);
}
.main-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.main-nav a.active {
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 968px) {
  header .main-nav {
    display: none;
  }
  header .cta-btn {
    display: none;
  }
}

/* ---------------------------------------------------------
   Mobile Navigation / Hamburger Menu
--------------------------------------------------------- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--secondary);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 3px 16px 4px 16px;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px #e9c46a40;
  cursor: pointer;
  transition: background 0.13s, border 0.15s;
  z-index: 202;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #fffdec;
  box-shadow: -2px 0 24px #2a9d8f19;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.6,1.7,.52,1);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.4rem;
  margin: 34px 26px 0 0;
  color: var(--primary);
  background: var(--accent);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.18s;
  z-index: 4010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 52px;
  padding: 20px 32px 0 38px;
  width: 100vw;
}
.mobile-nav a {
  font-size: 1.25rem;
  padding: 16px 0;
  color: var(--primary);
  transition: background 0.19s, color 0.19s;
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover {
  background: var(--accent);
  color: #222;
}
@media (min-width: 969px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* ---------------------------------------------------------
   Artistic Footer
--------------------------------------------------------- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 24px 0 0 0;
  border-top: 8px solid var(--accent);
  margin-top: 56px;
  font-family: var(--body-font);
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1.5px solid #e9c46a51;
  padding-bottom: 16px;
  margin-bottom: 16px;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-menu a {
  color: #fff8e2;
  background: none;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  transition: background 0.18s, color 0.2s;
}
.footer-menu a:hover {
  color: var(--primary);
  background: var(--accent);
}
.footer-top img {
  height: 46px;
  filter: drop-shadow(0 4px 14px #e9c46a25);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding-top: 5px;
  font-size: 0.99rem;
}
.contact-summary {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  color: #fffbe8;
}
.contact-summary img {
  height: 22px;
  width: 22px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  transition: background 0.15s;
}
.social-links a:hover {
  background: var(--accent);
  filter: brightness(1.12);
}
.social-links img {
  width: 22px;
  height: 22px;
}

/* ---------------------------------------------------------
   Contact, Map, Details
--------------------------------------------------------- */
.contact-info {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 18px;
  margin-top: 18px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.address-details, .phone-email, .contact-hours {
  flex-direction: row;
}
.map-placeholder {
  margin-top: 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 9px #2a9d8f0a;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 18px;
}
.map-placeholder img {
  width: 36px;
  height: 36px;
}

/* ---------------------------------------------------------
   Responsive Styles (Mobile-First)
--------------------------------------------------------- */
@media (max-width: 1024px) {
  .container { max-width: 97vw; }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 9px;
  }
  .footer-top, .footer-bottom, .contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 6px;
    max-width: 100%;
  }
  .section {
    padding: 30px 6px !important;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 16px;
    align-items: flex-start;
  }
  .card {
    min-width: 100%;
    padding: 22px 12px;
  }
  .hero {
    padding-top: 34px;
    padding-bottom: 34px;
  }
}

/* ---------------------------------------------------------
   Cookie Consent Banner & Modal
--------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe8;
  color: var(--primary);
  padding: 24px 12px 22px 16px;
  box-shadow: 0px -2px 22px #e9c46a44;
  z-index: 9000;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  border-radius: 22px 22px 0 0;
  animation: cookie-slidein 0.88s cubic-bezier(.47,1.38,.37,1.04);
}
@keyframes cookie-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--display-font);
  border-radius: var(--radius-sm);
  padding: 9px 22px;
  font-size: 1.04rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.18s;
  border: none;
  box-shadow: 0 2px 12px #e9c46a31;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.reject {
  background: #dd4132;
  color: #fff;
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn:hover {
  filter: brightness(1.09) saturate(1.2);
  transform: scale(1.04);
}

/******* Cookie Preferences Modal *******/
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #222222a1;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-dialog {
  background: #fffbe8;
  border-radius: 20px;
  box-shadow: 0 8px 44px #e9c46a40;
  max-width: 420px;
  width: 90vw;
  padding: 36px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: modalpop 0.44s cubic-bezier(.42,1.38,.47,1.07);
}
@keyframes modalpop {
  from { transform: scale(0.86); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.cookie-modal-dialog h3 {
  color: var(--secondary);
  text-align: center;
  margin-bottom: 5px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.cookie-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  border: 2px solid var(--primary);
  border-radius: 5px;
  accent-color: var(--secondary);
}
.cookie-category label {
  font-family: var(--body-font);
  font-size: 1.05rem;
  color: var(--primary);
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 13px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: background 0.17s;
}
.cookie-modal-close:hover {
  background: var(--accent);
}

/* ---------------------------------------------------------
   Artistic/Decorative Elements
--------------------------------------------------------- */
/* Artistic underline for some section headings */
h2, .section > h2 {
  position: relative;
}
h2:after, .section > h2:after {
  content: '';
  display: block;
  width: 72px;
  height: 6px;
  margin: 9px auto 0 auto;
  background: var(--accent);
  border-radius: 3px;
  opacity: 0.65;
}

/* Decorative squiggle underline for hero h1 via SVG bg */
.hero h1 {
  position: relative;
  background: url("data:image/svg+xml,%3Csvg width='200' height='20' viewBox='0 0 200 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 17c53-22 94-6 196-8' stroke='%23E9C46A' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x bottom 8px left 0;
  background-size: 160px 16px;
  padding-bottom: 16px;
}

/******* Artistic Logo Mark hover *******/
.logo:hover img, .footer-top img:hover {
  transform: rotate(-6deg) scale(1.07);
  transition: transform 0.23s cubic-bezier(.37,1.5,.58,1.03);
}

/* ---------------------------------------------------------
   Miscellaneous & Utility Classes
--------------------------------------------------------- */
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
gap-16 { gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.rounded-full { border-radius: 50%; }

/********** CUSTOM SCROLLBAR for artistic feel **********/
html {
  scrollbar-color: var(--secondary) #ebebeb;
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 8px; background: #E9C46A30; }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 10px; }

/********** Color Contrast for Testimonial & FAQ **********/
.testimonial-card p,
.testimonial-card .testimonial-meta {
  color: #202427 !important;
}
.faq-list li {
  color: #264653;
}

/********** Artistic Animations on Hover **********/
.feature-grid > div:hover {
  box-shadow: 0 8px 32px #2a9d8f2b;
  transform: scale(1.03) rotate(-1.5deg);
  transition: box-shadow 0.22s, transform 0.22s;
}

/********** Inputs (for forms if needed) **********/
input[type="text"], input[type="email"], textarea {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid #e9c46a60;
  background: #fff;
  margin-bottom: 10px;
  font-size: 1.08rem;
  color: #222;
  transition: border 0.16s;
}
input:focus, textarea:focus {
  border-color: var(--secondary);
}

/********** Table (privacy/regulamin) **********/
table {
  border-collapse: collapse;
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
td, th {
  padding: 16px;
  border-bottom: 1px solid #e9c46a20;
  text-align: left;
}

/********** Artistic Ordered/Unordered Lists **********/
ul, ol {
  margin-bottom: 16px;
}
ul li::before {
  content: '⸙ ';
  color: var(--secondary);
  font-weight: bold;
  margin-right: 6px;
  font-size: 1.05em;
  display: inline-block;
}
ol li {
  counter-increment: li;
  margin-left: 0px;
}
ol li::before {
  content: counter(li) '.';
  color: var(--accent);
  font-weight: bold;
  margin-right: 7px;
}

/********** Artistic Misc **********/
::-moz-selection { background: var(--accent); color: var(--primary); }
::selection { background: var(--accent); color: var(--primary); }

/********** Hide Cookie Banner on Accept **********/
.cookie-banner.hide {
  display: none !important;
}

/********** Responsive Minor Tweaks **********/
@media (max-width: 520px) {
  .logo img, .footer-top img { height: 34px; }
  .footer-top, .footer-bottom { gap: 7px; }
}
