:root {
  --df-green-dark: #17371f;
  --df-green: #264f2f;
  --df-green-soft: #3e6845;
  --df-cream: #f5f1e8;
  --df-beige: #ece5d7;
  --df-text: #1f2a1f;
  --df-muted: #66716a;
  --df-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --df-radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--df-text);
  background: #fff;
  line-height: 1.65;
}

a {
  color: var(--df-green);
}

a:hover {
  color: var(--df-green-dark);
}

.site-header .navbar {
  background: linear-gradient(90deg, rgba(23,55,31,0.98), rgba(38,79,47,0.96));
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(rgba(15, 24, 16, 0.42), rgba(15, 24, 16, 0.58)),
    url("hero.png") center center / cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(90deg, rgba(20,45,25,0.75), rgba(20,45,25,0.35));
}

.hero-badge {
  font-size: 0.95rem;
}

.hero-subtitle {
  max-width: 760px;
}

.announcement-bar {
  background: var(--df-green-dark);
  color: #fff;
  font-size: 0.95rem;
}

.section-kicker {
  color: var(--df-green-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--df-green-dark);
}

.section-intro {
  max-width: 820px;
  color: var(--df-muted);
}

.info-card,
.contact-card,
.cta-box {
  border-radius: var(--df-radius);
  box-shadow: var(--df-shadow);
}

.info-card,
.contact-card {
  background: var(--df-cream);
  border: 1px solid rgba(38, 79, 47, 0.1);
}

.category-card {
  background: #fff;
  border-radius: var(--df-radius);
  overflow: hidden;
  box-shadow: var(--df-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.category-image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.material-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--df-shadow);
  text-decoration: none;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.material-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: #eee;
}

.material-card span {
  display: block;
  padding: 1rem 1rem 1.1rem;
  color: var(--df-green-dark);
  font-weight: 700;
  font-size: 1rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--df-green-dark), var(--df-green-soft));
}

.cta-box {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 3rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.14);
}

.site-footer {
  background: #102716;
  color: rgba(255,255,255,0.9);
}

.btn-success {
  background-color: var(--df-green);
  border-color: var(--df-green);
}

.btn-success:hover {
  background-color: var(--df-green-dark);
  border-color: var(--df-green-dark);
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 1.85rem;
  }

  .cta-box {
    padding: 2rem 1rem;
  }
}

.solution-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(38, 79, 47, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.solution-image-wrap {
  height: 240px;
  overflow: hidden;
  background: #e9e9e9;
}

.solution-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.solution-content {
  padding: 1.6rem 1.4rem 1.5rem;
}

.solution-label {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--df-green-soft);
  text-transform: uppercase;
}

.solution-content h3 {
  margin-bottom: 0.8rem;
  color: var(--df-green-dark);
  font-size: 1.5rem;
}

.solution-content p {
  color: var(--df-muted);
  margin-bottom: 1rem;
}

.solution-list {
  margin: 0;
  padding-left: 1.1rem;
}

.solution-list li {
  margin-bottom: 0.35rem;
}
#materials{
    background: linear-gradient(360deg, #dce7d1, #f4f1e8)!important;
}
.materials-group {
  margin-bottom: 3.5rem;
}

.materials-group:last-child {
  margin-bottom: 0;
}

.materials-group-header {
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(38, 79, 47, 0.12);
}

.materials-group-header h3 {
  margin-bottom: 0.4rem;
  color: var(--df-green-dark);
  font-size: 1.55rem;
}

.materials-group-header p {
  margin: 0;
  color: var(--df-muted);
}
.materials-group {
  margin-bottom: 3.5rem;
}

.materials-group:last-child {
  margin-bottom: 0;
}

.materials-group-header {
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(38, 79, 47, 0.12);
}

.materials-group-header h3 {
  margin-bottom: 0.4rem;
  color: var(--df-green-dark);
  font-size: 1.55rem;
}

.materials-group-header p {
  margin: 0;
  color: var(--df-muted);
}

.material-button {
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.gallery-modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
}

#galleryCarousel {
  background: #f5f5f5;
  border-radius: 16px;
  overflow: hidden;
}

.gallery-slide-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f7f7;
  min-height: 70vh;
  padding: 1rem;
}

.gallery-slide-image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.gallery-caption {
  text-align: center;
  padding: 1rem 1rem 1.25rem;
  color: var(--df-green-dark);
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .gallery-slide-image-wrap {
    min-height: 50vh;
  }

  .gallery-slide-image {
    max-height: 60vh;
  }
}
.doc-card {
  width: 100%;
  border: 0;
  padding: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--df-shadow);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.doc-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: #eee;
}

.doc-card-body {
  padding: 1rem;
}

.doc-card-body h4 {
  margin: 0 0 0.35rem;
  color: var(--df-green-dark);
  font-size: 1.05rem;
}

.doc-card-body p {
  margin: 0;
  color: var(--df-muted);
  font-size: 0.95rem;
}

.doc-modal-content {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
}

#docCarousel {
  background: #f6f6f6;
  border-radius: 18px;
  overflow: hidden;
}

.doc-slide {
  padding: 1rem;
}

.doc-slide-image-wrap {
  min-height: 68vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f7f7;
}

.doc-slide-image {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.doc-slide-caption {
  text-align: center;
  padding: 0.9rem 1rem 1.1rem;
  color: var(--df-green-dark);
  font-weight: 700;
}

.doc-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  justify-content: center;
}

.doc-thumb {
  border: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: 88px;
  padding: 0;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  cursor: pointer;
}

.doc-thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.doc-thumb.active {
  outline: 3px solid rgba(38, 79, 47, 0.45);
}

@media (max-width: 767.98px) {
  .doc-slide-image-wrap {
    min-height: 48vh;
  }

  .doc-slide-image {
    max-height: 60vh;
  }

  .doc-thumb {
    width: 70px;
  }

  .doc-thumb img {
    height: 88px;
  }
}
.hero-poster-section {
  position: relative;
  background:
    linear-gradient(rgba(27, 48, 28, 0.35), rgba(27, 48, 28, 0.58)),
    url("hero.png") center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-poster-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(360deg, rgba(255,255,255,0.08), rgba(0,0,0,0.15)),
    radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 45%);
}

.hero-poster-content {
  position: relative;
  min-height: 100vh;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-logo-wrap {
  padding-top: 1rem;
  margin-bottom: 2rem;
}

.hero-logo{

}

.hero-center-message {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.hero-main-title {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero-main-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  margin-bottom: 0.8rem;
}

.hero-brush-line {
  width: 260px;
  max-width: 70%;
  height: 18px;
  margin: 0.7rem auto 0;
  border-radius: 999px;
  background: rgba(245, 240, 225, 0.85);
  filter: blur(0.4px);
}

.hero-side-message {
  max-width: 520px;
  margin-top: 1rem;
  padding: 2rem 2rem 2.2rem;
  background: rgba(27, 48, 28, 0.35);
  border-left: 6px solid rgba(255,255,255,0.75);
  backdrop-filter: blur(4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.hero-side-kicker {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.hero-side-message h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-side-message p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-side-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.poster-categories-section {
  position: relative;
  padding: 5rem 0 6rem;
  background:
    linear-gradient(rgba(244, 223, 184, 0.18), rgba(244, 223, 184, 0.28));
  overflow: hidden;
}

.poster-categories-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(360deg, #dce7d1, #f4f1e8)!important;

}

.poster-categories-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--df-green-dark);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.7rem;
  text-shadow: 0 2px 6px rgba(255,255,255,0.25);
}

.poster-categories-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: #2f3b2f;
  font-size: 1.08rem;
}

.poster-category-card {
  position: relative;
  text-align: center;
  padding-top: 72px;
}

.poster-category-image-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto -32px;
  position: relative;
  z-index: 2;
  border: 4px solid rgba(255,255,255,0.9);
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
  background: #ddd;
}

.poster-category-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-category-panel {
  background: rgba(19, 61, 31, 0.92);
  color: #fff;
  border-radius: 22px;
  padding: 3.2rem 1.2rem 1.5rem;
  min-height: 100%;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.poster-category-panel h3 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  line-height: 1.05;
}

.poster-category-panel ul {
  text-align: left;
  margin: 0;
  padding-left: 1.15rem;
}

.poster-category-panel li {
  margin-bottom: 0.45rem;
  color: rgba(255,255,255,0.92);
}

.poster-bottom-ribbon {
  margin-top: 3rem;
  text-align: center;
}

.poster-bottom-ribbon span {
  display: inline-block;
  padding: 1rem 2rem;
  background: #dce7d1;
  color: #182c19;
  font-size: clamp(1.8rem, 4vw, 3rem);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  letter-spacing: 0.08em;
}

.contact-poster-section {
  position: relative;
  padding: 0;
  background: linear-gradient(360deg, #dce7d1, #f4f1e8);
  overflow: hidden;
}

.contact-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
}

.contact-poster-row {
  min-height: 680px;
}

.contact-poster-panel {
  position: relative;
  height: 100%;
  padding: 4rem 3rem;
  background: radial-gradient(circle at top left, #22432a 0%, #17371f 55%, #102716 100%);
  color: #fff;
  border-top-right-radius: 180px;
  border-bottom-right-radius: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 18px 0 40px rgba(0,0,0,0.1);
  z-index: 2;
}

.contact-poster-panel h2 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  margin-bottom: 1.5rem;
}

.contact-poster-lead {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.92);
}

.contact-poster-details h3 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  text-decoration: underline;
}

.contact-poster-details p,
.contact-poster-details li {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.96);
}

.contact-poster-details a {
  color: #fff;
}

.contact-hours {
  margin-top: 1.2rem;
}

.contact-hours ul {
  margin-top: 0.6rem;
  padding-left: 1.2rem;
}

.contact-poster-image-wrap {
  height: 100%;
  min-height: 680px;
  overflow: hidden;
}

.contact-poster-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.02);
}

@media (max-width: 991.98px) {
  .hero-side-message {
    margin: 2rem auto 0;
  }

  .contact-poster-panel {
    border-radius: 0;
    padding: 3rem 1.5rem;
  }

  .contact-poster-image-wrap,
  .contact-poster-row {
    min-height: auto;
  }

  .contact-poster-image-wrap {
    min-height: 360px;
  }
}

@media (max-width: 767.98px) {
  .hero-poster-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-center-message {
    margin-bottom: 2rem;
  }

  .hero-side-message {
    padding: 1.4rem;
    margin-top: 15vh;
  }

  .poster-category-image-circle {
    width: 126px;
    height: 126px;
  }

  .poster-category-panel {
    padding-top: 2.9rem;
  }

  .poster-category-panel h3 {
    font-size: 1.45rem;
  }
  .contact-poster-row
  {
    text-align: center;
  }
}
.poster-categories-section {
  position: relative;
  padding: 5rem 0 6rem; 
 background: white;
  overflow: hidden;
}


.poster-categories-overlay {
  position: absolute;
  inset: 0;
  background:white;
}

.poster-categories-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--df-green-dark);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.7rem;
  text-shadow: 0 2px 6px rgba(255,255,255,0.25);
}

.poster-categories-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: #2f3b2f;
  font-size: 1.08rem;
}

.poster-category-card {
  position: relative;
  text-align: center;
  padding-top: 72px;
  max-width: 280px;
  margin: 0 auto;
}

.poster-category-image-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto -32px;
  position: relative;
  z-index: 3;
  border: 4px solid rgba(255,255,255,0.95);
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
  background: #ddd;
}

.poster-category-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster-category-panel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  background: transparent;
}

.poster-category-head {
  background: rgba(19, 61, 31, 0.96);
  color: #fff;
  padding: 3.2rem 1.1rem 1.1rem;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-category-head h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
  color: #fff;
}

.poster-category-body {
  position: relative;
  background: rgba(245, 241, 232, 0.96);
  padding: 1.4rem 1rem 1.2rem;
  text-align: left;
}

.poster-category-body::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 0;
  width: 100%;
  height: 42px;
  background: rgba(245, 241, 232, 0.96);
  border-top-left-radius: 0 100%;
  border-top-right-radius: 100% 100%;
}

.poster-category-body ul {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: 1rem;
}

.poster-category-body li {
  margin-bottom: 0.45rem;
  color: #2f3b2f;
  font-size: 0.98rem;
  line-height: 1.45;
}

.poster-category-body li:last-child {
  margin-bottom: 0;
}

.poster-bottom-ribbon {
  margin-top: 3rem;
  text-align: center;
}

.poster-bottom-ribbon span {
  display: inline-block;
  padding: 1rem 2rem;
  background: #dce7d1;
  color: #182c19;
  font-size: clamp(1.8rem, 4vw, 3rem);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  letter-spacing: 0.08em;
}

@media (max-width: 991.98px) {
  .poster-category-card {
    max-width: 320px;
  }
}
.df-logo
{
  max-width: 20vw;
}

@media (max-width: 767.98px) {
  .poster-categories-section {
    padding: 4rem 0 5rem;
  }

  .poster-category-image-circle {
    width: 250px;
    height: 250px;
  }

  .poster-category-card {
    padding-top: 62px;
  }

  .poster-category-head {
    min-height: 132px;
    padding: 2.8rem 1rem 1rem;
  }

  .poster-category-head h3 {
    font-size: 1.08rem;
  }

  .poster-category-body li {
    font-size: 0.94rem;
  }

  .poster-bottom-ribbon span {
    padding: 0.85rem 1.4rem;
    letter-spacing: 0.04em;
  }
  .hero-logo
  {
    height: 30vw;
    text-align: center;
    margin-bottom:10vh;
  }

  .df-logo {
    width: 320px;
    max-width: 78vw;
    height: auto;
  }
  
}
.doc-slide-image-wrap {
  min-height: 68vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f7f7;
  overflow: hidden;
}

.doc-zoom-container {
  width: 100%;
  height: 78vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem;
}

.doc-slide-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Mobilon a natív pinch zoom jobban működik, ha nem erőltetjük rá a max-height-et */
@media (max-width: 767.98px) {
  .doc-slide-image-wrap {
    min-height: 50vh;
  }

  .doc-zoom-container {
    height: 68vh;
    padding: 0.75rem;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .doc-slide-image {
    max-width: none;
    width: 100%;
    min-width: 100%;
    height: auto;
  }
}