/* 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FAF8F5;
  color: #232323;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #38766C;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.57,.03,.51,.98);
  font-weight: 700;
}
a:hover, a:focus {
  color: #715A3A;
  outline: none;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', "Times New Roman", serif;
  font-weight: 700;
  color: #232323;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #38766C;
  margin-bottom: 24px;
  font-weight: 600;
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
}


/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}
.text-section {
  max-width: 720px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative; /* Decorative only */
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(113,90,58,0.09);
  padding: 28px 24px 24px 24px;
  flex: 1 0 260px;
  min-width: 260px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 10px 36px rgba(56, 118, 108, 0.18);
  z-index: 2;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(56,118,108,0.09);
  margin-bottom: 20px;
  flex: 1 0 320px;
  min-width: 240px;
  max-width: 680px;
  font-size: 1.02rem;
  color: #232323;
  border-left: 8px solid #38766C;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(113,90,58,0.15);
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  color: #715A3A;
  font-size: 0.98rem;
  margin-left: auto;
  letter-spacing: 0.06em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f7f5f2;
  border-radius: 17px;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 2px 10px rgba(113,90,58,0.07);
}

/* Feature Grid for index, ceramika, dekoracje - using flex only */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(56,118,108,0.06);
  padding: 22px 18px 16px 18px;
  flex: 1 0 260px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  font-size: 1.02rem;
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 8px;
}
.feature-grid h3 {
  color: #38766C;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

/* Teaser blocks */
.teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 20px 0 0 0;
}
.teasers > div {
  background: #D4C2A5;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(56,118,108,0.09);
  padding: 24px;
  flex: 1 0 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  transition: box-shadow 0.2s;
}
.teasers > div:hover {
  box-shadow: 0 6px 30px rgba(56,118,108,0.1);
}
.teasers h3 {
  font-size: 1.15rem;
  color: #715A3A;
}
.teasers a {
  color: #38766C;
  font-weight: bold;
  margin-top: 8px;
  font-size: 1.02rem;
}


/* Blog teasers */
.post-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 16px;
}
.post-teasers > div {
  background: #fff;
  border-left: 5px solid #715A3A;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(56, 118, 108, 0.07);
  padding: 20px 22px 18px 18px;
  flex: 1 0 240px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-teasers h3 {
  color: #38766C;
  font-size: 1.18rem;
}
.post-teasers span {
  margin-top: 7px;
  color: #715A3A;
  font-size: 0.97rem;
  font-weight: 700;
}

/* Newsletter block */
.newsletter {
  margin-bottom: 60px;
  padding: 40px 20px;
}


/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 3px 10px rgba(56,118,108,0.04);
  padding: 0;
  position: relative;
  z-index: 20;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 56px;
  margin-right: 14px;
}
.logo img {
  max-height: 48px;
  width: auto;
  display: block;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px 13px 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #38766C;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover:not(.btn-primary), .main-nav a:focus:not(.btn-primary) {
  background: #D4C2A5;
  color: #715A3A;
}
.main-nav .btn-primary {
  background: #715A3A;
  color: #fff !important;
  padding: 10px 24px;
  font-size: 1.08rem;
  border-radius: 10px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 19px rgba(113,90,58,0.10);
  margin-left: 18px;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.main-nav .btn-primary:hover, .main-nav .btn-primary:focus {
  background: #38766C;
  color: #fff !important;
  box-shadow: 0 7px 26px rgba(56,118,108,0.19);
}

.mobile-menu-toggle {
  display: none;
  background: #38766C;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  padding: 4px 13px;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s;
  z-index: 31;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #715A3A;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 8px 36px rgba(56,118,108,0.17);
  transform: translateX(-110vw);
  transition: transform 0.32s cubic-bezier(.57,.03,.51,.98);
  z-index: 1003;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: #D4C2A5;
  color: #715A3A;
  border: none;
  border-radius: 8px;
  padding: 5px 18px;
  margin: 18px 0 0 14px;
  align-self: flex-start;
  cursor: pointer;
  z-index: 1005;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #38766C;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 30px 0 0 0;
  gap: 15px;
  padding: 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #38766C;
  font-weight: 800;
  font-size: 1.22rem;
  padding: 16px 8px;
  border-radius: 10px;
  transition: background 0.16s, color 0.16s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #38766C;
}

@media (max-width: 1080px) {
  .container {
    max-width: 940px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
  }
  .main-nav {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 9px 7px 9px 7px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .teasers, .post-teasers, .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card {
    min-width: 0;
    padding: 16px 10px;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.31rem;
  }
  .teasers > div, .feature-grid li, .post-teasers > div {
    min-width: 0;
    max-width: 100%;
  }
}


/* HERO SECTIONS & BACKGROUNDS */
.hero, .shop-hero, .contact-hero, .blog-intro {
  background: #D4C2A5;
  padding: 72px 0 44px 0;
  display: flex;
  align-items: center;
  min-height: 240px;
  box-shadow: 0 8px 36px rgba(113,90,58,0.05);
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}
.hero h1, .shop-hero h1, .contact-hero h1, .blog-intro h1 {
  color: #715A3A;
  font-size: 2.6rem;
  font-weight: 800;
}
.hero .subheadline, .shop-hero .subheadline, .contact-hero .subheadline, .blog-intro .subheadline {
  color: #38766C;
  font-size: 1.23rem;
  font-weight: bold;
  text-shadow: 0 1px 0 #fff4;
}


/* BUTTONS */
.btn-primary,
.btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  padding: 13px 36px;
  font-size: 1.12rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, transform 0.19s, box-shadow 0.23s;
  margin-top: 10px;
  display: inline-block;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 18px rgba(56,118,108,0.11), 0 2px 2px rgba(113,90,58,0.03);
  outline: none;
}
.btn-primary {
  background: #715A3A;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #38766C;
  color: #fff;
  transform: scale(1.045);
  box-shadow: 0 12px 30px rgba(56,118,108,0.15);
}
.btn-secondary {
  background: #38766C;
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #715A3A;
  color: #fff;
}

/* GENERAL EFFECTS */
.card, .testimonial-card, .feature-item, .teasers > div, .post-teasers > div {
  transition: box-shadow 0.19s cubic-bezier(.57,.03,.51,.98), transform 0.14s cubic-bezier(.57,.03,.51,.98);
}
.card:active, .testimonial-card:active, .feature-item:active, .teasers > div:active, .post-teasers > div:active {
  transform: scale(0.98);
}


/* FOOTER */
footer {
  background: #715A3A;
  color: #fff2e2;
  padding: 40px 0 34px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: 80px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff2e2;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: color 0.17s;
  text-decoration: underline dotted #D4C2A5 1.5px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D4C2A5;
}
footer address {
  font-style: normal;
  color: #fff2e2;
  line-height: 1.7;
  font-size: 0.99rem;
}
footer a {
  color: #D4C2A5;
  text-decoration: underline;
}

@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* ADDITIONAL ELEMENT STYLES */
ol {
  counter-reset: item;
}
ol li {
  list-style-type: none;
  position: relative;
  padding-left: 24px;
}
ol li:before {
  counter-increment: item;
  content: counter(item) ".";
  color: #38766C;
  position: absolute;
  left: 0;
  font-weight: 900;
}
ul li strong, ol li strong {
  color: #38766C;
}
ul li img {
  vertical-align: middle;
  margin-right: 8px;
  width: 1.2em;
  height: 1.2em;
}
.text-section ul, .text-section ol {
  margin-bottom: 18px;
}


/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #715A3A;
  color: #fff2e2;
  padding: 23px 14px 20px 14px;
  z-index: 1200;
  box-shadow: 0 -8px 36px rgba(56,118,108,0.12);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  animation: cookieSlideIn 0.6s cubic-bezier(.57,.03,.51,.98);
}
@keyframes cookieSlideIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1.11rem;
  color: #fff2e2;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner .btn-accept {
  background: #38766C;
  color: #fff;
  font-weight: 800;
  border-radius: 7px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.03rem;
  transition: background 0.2s;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #09867c;
}
.cookie-banner .btn-reject {
  background: #D4C2A5;
  color: #715A3A;
  font-weight: 700;
  border-radius: 7px;
  padding: 10px 14px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.03rem;
  margin-left: 0;
  transition: background 0.2s;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #b8a37a;
  color: #715A3A;
}
.cookie-banner .btn-settings {
  background: none;
  color: #D4C2A5;
  font-weight: 700;
  border-radius: 7px;
  padding: 9px 17px;
  border: 2px solid #D4C2A5;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.99rem;
  margin-left: 0;
  transition: background 0.2s, color 0.2s;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #fff2e2;
  color: #715A3A;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(56,118,108,0.22);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: modalFadeIn 0.5s;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #232323;
  border-radius: 18px;
  box-shadow: 0 20px 80px rgba(113,90,58,0.24);
  max-width: 420px;
  width: 92vw;
  padding: 32px 22px 26px 22px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  color: #715A3A;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
}
.cookie-modal-content ul {
  margin-bottom: 20px;
  margin-left: 0;
  padding-left: 0;
}
.cookie-modal-content li {
  margin-bottom: 14px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-toggle {
  accent-color: #38766C;
  width: 19px;
  height: 19px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: #D4C2A5;
  color: #715A3A;
  border: none;
  border-radius: 7px;
  font-size: 1.7rem;
  padding: 2px 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #715A3A;
  color: #fff;
}

/* UTILITIES */
.d-none { display: none !important; }
.d-flex { display: flex !important; }

@media (max-width: 515px) {
  .cookie-modal-content {
    padding: 13vw 3vw 12vw 3vw;
    border-radius: 9vw;
  }
}

/* ANIMATIONS & MICRO INTERACTIONS */
.btn-primary, .btn-secondary,
.card, .testimonial-card, .feature-item, .teasers > div, .post-teasers > div,
.mobile-menu, .mobile-menu-close, .mobile-menu-toggle,
.cookie-banner, .cookie-modal, .cookie-modal-content {
  transition: all 0.2s cubic-bezier(.57,.03,.51,.98);
}

/* VISUAL ACCENTS: geometric shapes (modern_bold) */
.hero:after, .shop-hero:after, .contact-hero:after, .blog-intro:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -30px;
  left: 30%;
  width: 90px;
  height: 38px;
  background: #38766C;
  opacity: 0.08;
  border-radius: 66px 38px 81px 9px/43px 23px 39px 10px;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero:after, .shop-hero:after, .contact-hero:after, .blog-intro:after {
    bottom: -14px;
    left: 19%;
    width: 55px;
    height: 18px;
  }
}

/* MODERN_GEOMETRIC DECOR ON CARDS */
.card:before, .feature-grid li:before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 33px;
  height: 33px;
  background: #38766C;
  opacity: 0.10;
  border-radius: 80% 16% 67% 100% / 43% 23% 46% 48%;
  z-index: 0;
}
.card {
  z-index: 1;
}
.card > *, .feature-grid li > * {
  position: relative;
  z-index: 2;
}

.feature-grid li:before {
  top: -14px;
  left: -12px;
  width: 27px;
  height: 27px;
}
@media (max-width: 600px) {
  .card:before,
  .feature-grid li:before {
    top: -10px;
    left: -8px;
    width: 16px;
    height: 16px;
  }
}

/*::-webkit-scrollbar {
  width: 10px;
  background: #D4C2A5;
}
::-webkit-scrollbar-thumb {
  background: #715A3A;
  border-radius: 7px;
}
*/

/* ACCESSIBILITY: focus rings */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-banner button:focus {
  outline: 2.5px solid #38766C;
  outline-offset: 2px;
}

/* OVERLAY (general Utility) */
.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(56,118,108,0.11);
  z-index: 1002;
}

/* Hide extra elements on print */
@media print {
  .main-nav, .mobile-menu, .cookie-banner, .cookie-modal, .btn-primary, .btn-secondary, .footer-nav {
    display: none !important;
  }
}

/* END OF STYLES */
