/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #23272a;
  color: #E8F5E9;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
a {
  color: #D79938;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFF;
  text-decoration: underline;
}
ul, ol {
  padding-left: 22px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  color: #D79938;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  color: #E8F5E9;
  margin-bottom: 10px;
}

/* LAYOUT - CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
main {
  padding-top: 36px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #232728;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(18,16,9, 0.16);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* HERO */
.hero {
  min-height: 52vh;
  background: #151916 url('../assets/industrial-bg.jpg') center/cover no-repeat;
  border-bottom: 4px solid #373C3E;
  margin-bottom: 60px;
  padding: 52px 0 40px 0;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  background: rgba(22,26,27, 0.87);
  padding: 40px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(17,18,22,0.16);
  max-width: 650px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.4rem;
  color: #FFF;
  text-shadow: 0 2px 5px #121518;
  margin-bottom: 18px;
  letter-spacing: 1.1px;
}
.hero p {
  font-size: 1.25rem;
  color: #E8F5E9;
  margin-bottom: 16px;
}

/* FLEX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  background: #F7FAFB;
  color: #1B1E20;
  border-radius: 8px;
  border: 1.5px solid #B0B3B6;
  box-shadow: 0 1px 9px rgba(44,48,52,0.04);
  margin-bottom: 20px;
  max-width: 630px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #191b1c;
  border-radius: 10px;
  padding: 28px 20px 22px 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 9px rgba(73, 72, 71, 0.08);
  border: 1.5px solid #2C2E2F;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.23s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 28px rgba(215, 153, 56, 0.12), 0 1.5px 16px rgba(41, 43, 45, 0.06);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  filter: grayscale(0.17) contrast(1.1) drop-shadow(0 0 5px #364341);
}
.feature-grid h3 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #D79938;
  font-size: 1.1rem;
  margin-bottom: 7px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.feature-grid p {
  color: #D0D5D9;
  font-size: 1rem;
}

/* BUTTONS & LINKS */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px 13px 34px;
  background: #D79938;
  color: #191B1C;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 1.5px 9px rgba(175, 137, 44,0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.14s;
  margin-top: 10px;
  margin-bottom: 6px;
  text-shadow: 0 1.5px 0 #FFF0;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B37521;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 16px #B3752140;
}
nav a {
  color: #E8F5E9;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-right: 26px;
  transition: color 0.17s;
}
nav a:last-child {
  margin-right: 0;
}
nav a:hover, nav a:focus, .mobile-nav a:hover, .mobile-nav a:focus {
  color: #D79938;
  text-shadow: 0 2px 8px #241f0d23;
  outline: none;
}

/* HEADER */
header {
  width: 100%;
  background: #151819;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0 10px 0;
  box-shadow: 0 2px 18px 0 rgba(22,18,8,0.12);
  min-height: 64px;
}
header .container, header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0 22px;
  margin-right: 17px;
}
header img[alt="Leśny Przystanek"] {
  height: 48px;
  width: auto;
  margin-right: 18px;
  filter: contrast(1.09) brightness(1.1) drop-shadow(0 2px 5px #23272866);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #D79938;
  font-size: 2rem;
  margin-left: 22px;
  cursor: pointer;
  border-radius: 6px;
  padding: 8px 10px;
  transition: background 0.18s, color 0.16s, box-shadow 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #292c2f;
  color: #fff;
  outline: none;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19,22,25,0.97);
  z-index: 1002;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.47,.06,.40,1.33);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 30px;
  margin-left: 30px;
  background: none;
  border: none;
  color: #D79938;
  font-size: 2.4rem;
  cursor: pointer;
  transition: color 0.16s;
  border-radius: 6px;
  padding: 7px 11px;
  align-self: flex-end;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
  background: #27292e;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  margin-top: 44px;
  gap: 0;
}
.mobile-nav a {
  width: 100%;
  color: #E8F5E9;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 18px 40px 18px 40px;
  border-bottom: 1px solid #312e28;
  background: none;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active {
  background: #191b19;
  color: #fff;
}

@media (max-width: 1024px) {
  header nav {
    gap: 0 14px;
  }
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
}

@media (max-width: 840px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 850px) {
  header nav {
    display: none;
  }
  header {
    flex-direction: row;
    gap: 2px;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 991px) {
  .container {
    padding: 0 10px;
  }
  .hero .container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .hero {
    min-height: 36vh;
    padding: 35px 0 24px 0;
  }
  .hero .content-wrapper {
    padding: 24px 10px;
    max-width: 100%;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    margin-bottom: 40px;
    padding: 24px 9px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 13px;
  }
  .card {
    margin-bottom: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 8px;
    font-size: 1rem;
    max-width: 98vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 5px;
  }
  main {
    padding-top: 20px;
  }
  .hero {
    border-bottom-width: 2px;
  }
  .feature-grid > div {
    padding: 15px 6px 12px 9px;
  }
  .cta-btn {
    font-size: .93rem;
    padding: 10px 14px;
    margin-bottom: 5px;
  }
}

/* TABLE STYLING */
table {
  width: 100%;
  border-collapse: collapse;
  background: #191b1c;
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px #2328270c;
}
thead {
  background: #23292B;
}
th, td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid #313435;
}
th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #D79938;
  font-size: 1.08rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
tr:last-child td {
  border-bottom: none;
}
td {
  color: #F3F6F4;
}

/* FOOTER */
footer {
  background: #191A1B;
  color: #B0B3B6;
  padding: 26px 0 16px 0;
  border-top: 3px solid #23272a;
  font-size: 0.98rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 6px;
}
footer nav a {
  color: #D0D4D9;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  margin-right: 0;
}
footer nav a:hover, footer nav a:focus {
  color: #D79938;
}
footer .text-section {
  flex-direction: row;
  align-items: center;
  gap: 40px;
  color: #AEB5AE;
}
footer img {
  height: 22px;
  width: 22px;
  margin-right: 7px;
  filter: grayscale(0.38) contrast(1.09);
  vertical-align: sub;
}
footer small {
  color: #575B5A;
  font-size: .91rem;
  display: block;
  margin-top: 5px;
  letter-spacing: .3px;
}

@media (max-width: 840px) {
  footer .container {
    gap: 7px;
    align-items: stretch;
  }
  footer .text-section {
    flex-direction: column;
    gap: 5px;
  }
}

/* TESTIMONIALS */
.testimonial-card {
  background: #F7FAFB;
  color: #232729;
  border: 1.5px solid #E8F5E9;
  box-shadow: 0 1.5px 9px rgba(44,48,52,0.07);
  border-radius: 7px;
  padding: 24px 30px 24px 30px;
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 580px;
  position: relative;
}
.testimonial-card p {
  color: #124A16;
  font-size: 1.06rem;
  margin-bottom: 13px;
}
.testimonial-card span {
  color: #45523F;
  font-size: .98rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* LISTS */
ul, ol {
  color: #d0d7d1;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
ul li b, ol li b {
  color: #DDAD57;
}

b {
  color: #D79938;
  font-weight: 600;
}

/* FORM ELEMENTS */
input, select, textarea, button {
  font-family: inherit;
  font-size: 1rem;
}
input[type="text"], input[type="email"], textarea {
  border: 1.5px solid #353535;
  border-radius: 6px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
  background: #FAFAFA;
  color: #1A2618;
  transition: border 0.16s;
}
input:focus, textarea:focus {
  border-color: #D79938;
  outline: none;
}

button {
  cursor: pointer;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 6000;
  background: #282828;
  color: #ECEDEB;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  box-shadow: 0 -2px 18px 0 rgba(28, 26, 19,0.12);
  font-size: 1rem;
  animation: cookieBannerFadeIn 0.7s;
}
@keyframes cookieBannerFadeIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 690px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner .cookie-btn {
  background: #191B1B;
  color: #D79938;
  border-radius: 6px;
  border: 1px solid #353840;
  padding: 9px 22px;
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 1px 6px #0000001a;
  transition: background 0.17s, color 0.13s;
  outline: none;
  font-size: 1rem;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #D79938;
  color: #181818;
}
.cookie-banner .cookie-btn.accept {
  background: #D79938;
  color: #232425;
  border: none;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #B37521;
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #191B1B;
  color: #E8F5E9;
  border: 1.2px solid #D79938;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 10px;
    font-size: 0.95rem;
    gap: 9px;
  }
  .cookie-banner-content {
    max-width: 98vw;
  }
  .cookie-banner-buttons {
    gap: 9px;
    margin-top: 10px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 6500;
  width: 100vw;
  height: 100vh;
  background: rgba(41,41,41,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-dialog {
  background: #232728;
  color: #E8F5E9;
  border-radius: 13px;
  box-shadow: 0 8px 48px #01030590;
  padding: 34px 30px 28px 30px;
  min-width: 300px;
  max-width: 420px;
  animation: cookieModalPopIn .63s cubic-bezier(.14,.9,.45,1.16);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
@keyframes cookieModalPopIn {
  from { transform: scale(0.87) translateY(60px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.24rem;
  color: #D79938;
  margin-bottom: 12px;
}
.cookie-modal-list {
  list-style: none;
  margin: 0 0 9px 0;
  padding: 0;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 11px;
}
.cookie-toggle input[type="checkbox"] {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #262922;
  border-radius: 14px;
  outline: none;
  border: 1.2px solid #B37521;
  cursor: pointer;
  position: relative;
  transition: background 0.17s;
}
.cookie-toggle input[type="checkbox"]:checked {
  background: #D79938;
}
.cookie-toggle input[type="checkbox"]:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 1px;
  box-shadow: 0 1px 2px #4445;
  transition: left 0.21s;
}
.cookie-toggle input[type="checkbox"]:checked:before {
  left: 16px;
}
.cookie-toggle label {
  color: #E8F5E9;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 13px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 1.14rem;
  color: #D79938;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  padding: 3px 8px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #11131F;
  color: #fff;
}
@media (max-width: 480px) {
  .cookie-modal-dialog {
    max-width: 99vw;
    padding: 20px 5px 13px 7px;
  }
}

/* VISUAL ELEMENTS - INDUSTRIAL FLAVOR */
.card {
  background: #181B1D;
  border: 1.7px solid #232728;
  box-shadow: 0 1.5px 10px #292d2e06, 0 2px 11px #D7993808;
  border-radius: 9px;
  padding: 22px 16px;
  transition: box-shadow 0.17s, background 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 5px 30px #D7993845, 0 1.5px 8px #161a180f;
  background: #232728;
}

/* SCROLLBAR STYLE */
::-webkit-scrollbar {
  width: 11px;
  background: #191a1a;
}
::-webkit-scrollbar-thumb {
  background: #212121;
  border-radius: 6px;
  border: 2.5px solid #191a1a;
}
::-webkit-scrollbar-thumb:hover {
  background: #B37521;
}

/* TEXT SELECTION */
::selection {
  background: #B37521;
  color: #fff;
}

/* MICROINTERACTIONS */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  transition: all 0.18s cubic-bezier(.2,.7,.6,1.5);
}

/* UTILITY CLASSES */
.nowrap {
  white-space: nowrap;
}
.d-none { display: none !important; }

/* INDUSTRIAL MODERN EXTRAS */
hr, .hr {
  border: none;
  border-top: 1.4px solid #36383B;
  margin: 32px 0 32px 0;
}

/* TYPOGRAPHY SCALE*/
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-24 { font-size: 24px; }
.fs-32 { font-size: 32px; }
.fs-48 { font-size: 48px; }

/**** END OF CSS ****/
