/* =========================================================
   FONT
========================================================= */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}


/* =========================================================
   GLOBAL RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  color: #111;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}


/* =========================================================
   HEADER
========================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  transition: background 0.35s ease, padding 0.35s ease;
  padding: 18px 40px;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 20px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.inner-page .header {
  background: #0a3958;
}

.inner-page .header::after {
  opacity: 1;
}

.header.scrolled {
  background: #0a3958;
}

.header.scrolled::after {
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 70px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 35px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  color: #fff;
  padding: 10px 5px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  opacity: 0.75;
}


/* =========================================================
   RIGHT BOX: CONTACT + LANGUAGE
========================================================= */

.right-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  color: #fff;
}

.contact-box {
  text-align: center;
  line-height: 1.5;
  margin-bottom: 8px;
}

.contact-box a {
  display: block;
  color: #fff;
  font-size: 13px;
  transition: opacity 0.3s ease;
}

.contact-box a:hover {
  opacity: 0.8;
}


/* =========================================================
   LANGUAGE DROPDOWN
========================================================= */

.language-dropdown {
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
}

.language-btn {
  background: transparent;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 0;
}

.language-btn img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.language-btn .arrow {
  font-size: 12px;
  line-height: 1;
  margin-top: 2px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: -71px;
  min-width: 120px;
  background: rgba(10, 57, 88, 0.95);
  border-radius: 8px;
  padding: 10px 0;
  display: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 99999;
}

.language-dropdown.active .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  transition: background 0.3s ease;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.dropdown-menu img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
}


/* =========================================================
   HERO VIDEO
========================================================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  color: #fff;
}

.hero-content-inner h1 {
  font-size: 58px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-content-inner p {
  font-size: 20px;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.6;
}


/* =========================================================
   GENERAL CONTENT SECTIONS
========================================================= */

.section {
  min-height: 100vh;
  padding: 120px 40px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section:nth-child(even) {
  background: #f5f5f5;
}

.section:nth-child(odd) {
  background: #ffffff;
}

.section-content {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.section-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #0a3958;
}

.section-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}


/* =========================================================
   SOLUTIONS SECTION - 3 CARDS
========================================================= */

.solutions-section {
  background: #0a3958;
  padding: 90px 40px 100px;
}

.solutions-container {
  max-width: 1650px;
  margin: 0 auto;
}

.solutions-title {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 45px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solution-card {
  position: relative;
  display: block;
  min-height: 560px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.solution-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.60) 0%,
    rgba(0, 0, 0, 0.18) 45%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
}

.solution-content {
  position: absolute;
  left: 26px;
  right: 90px;
  bottom: 34px;
  z-index: 2;
}

.solution-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}

.solution-content p {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  max-width: 420px;
}

.solution-arrow {
  position: absolute;
  right: 26px;
  bottom: 34px;
  z-index: 2;
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
  transition: transform 0.3s ease;
}

.solution-card:hover img {
  transform: scale(1.04);
}

.solution-card:hover .solution-arrow {
  transform: translateX(6px);
}


/* =========================================================
   CTA / PLANNER SECTION
========================================================= */

.cta-section {
  background-image: url('../img/pozadina.png');
  background-size: cover;
  background-position: center;
  padding: 100px 40px;
}

.cta-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.cta-card {
  display: flex;
  min-height: 420px;
  overflow: hidden;
  background: #f3f3f3;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.cta-image {
  flex: 0 0 40%;
  background: #ddd;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-content {
  flex: 0 0 60%;
  padding: 70px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-content h2 {
  font-size: 48px;
  color: #0a3958;
  margin-bottom: 25px;
}

.cta-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #4a5a6a;
  margin-bottom: 18px;
  max-width: 600px;
}

.cta-btn {
  margin-top: 10px;
  display: inline-block;
  width: fit-content;
  background: #f37121;
  color: #fff;
  padding: 14px 28px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #d8651e;
}


/* =========================================================
   INSPIRATION / GALLERY SECTION
========================================================= */

.inspiration-section {
  background: #ffffff;
  padding: 90px 40px;
}

.inspiration-wrapper {
  max-width: 1300px;
  margin: 0 auto;
}

.inspiration-title {
  text-align: center;
  font-size: 32px;
  color: #0a3958;
  margin-bottom: 50px;
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.inspiration-grid .item {
  position: relative;
  overflow: hidden;
}

.inspiration-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.inspiration-grid .item:hover img {
  transform: scale(1.05);
}

.tall {
  grid-row: span 2;
}

.wide {
  grid-column: span 2;
}

.inspiration-btn-wrap {
  text-align: center;
  margin-top: 40px;
}

.inspiration-btn {
  background: #0a3958;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.inspiration-btn:hover {
  background: #06273d;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: #0a3958;
  color: #ffffff;
  padding: 70px 55px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 1.5fr 1.5fr;
  gap: 55px;
  max-width: 1800px;
  margin: 0 auto 70px;
}

.footer-logo {
  max-width: 230px;
  height: auto;
  display: block;
  margin-bottom: 35px;
}

.footer-socials {
  display: flex;
  gap: 28px;
}

.footer-socials a {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-socials img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-socials a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.footer-col h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 13px;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
  transition: opacity 0.3s ease;
}

.footer-col a:hover {
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 35px 0 45px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1800px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.footer-copy {
  text-align: right;
  align-self: center;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1200px) {
  .solutions-title {
    font-size: 40px;
  }

  .solution-card {
    min-height: 480px;
  }

  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: span 3;
  }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 991px) {
  .header {
    padding: 16px 20px;
  }

  .logo img {
    max-height: 54px;
  }

  .menu-toggle {
    display: flex;
    z-index: 10001;
  }

  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: rgba(10, 57, 88, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.35s ease;
    padding: 40px 25px;
  }

  .nav-wrapper.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 22px;
  }

  .main-nav a {
    font-size: 20px;
  }

  .right-box {
    min-width: auto;
  }

  .hero-content-inner h1 {
    font-size: 34px;
  }

  .hero-content-inner p {
    font-size: 17px;
  }

  .section {
    padding: 100px 20px 70px;
  }

  .section-content h2 {
    font-size: 30px;
  }

  .section-content p {
    font-size: 16px;
  }

  .solutions-section {
    padding: 70px 20px 80px;
  }

  .solutions-title {
    font-size: 32px;
    margin-bottom: 28px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solution-card {
    min-height: 420px;
  }

  .solution-content {
    left: 20px;
    right: 75px;
    bottom: 24px;
  }

  .solution-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .solution-content p {
    font-size: 15px;
  }

  .solution-arrow {
    right: 20px;
    bottom: 24px;
    font-size: 38px;
  }

  .cta-section {
    padding: 60px 20px;
  }

  .cta-card {
    flex-direction: column;
  }

  .cta-image {
    width: 100%;
    height: 260px;
  }

  .cta-content {
    padding: 30px 20px;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 16px;
  }

  .inspiration-section {
    padding: 70px 20px;
  }

  .inspiration-grid {
    grid-template-columns: 1fr;
  }

  .tall,
  .wide {
    grid-column: auto;
    grid-row: auto;
  }
}


/* =========================================================
   RESPONSIVE - SMALL MOBILE
========================================================= */

@media (max-width: 768px) {
  .site-footer {
    padding: 50px 25px 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: left;
  }

  .footer-copy {
    text-align: left;
  }
}
.has-mega {
  position: static;
}

.has-mega::before {
  content: "";
  position: fixed;
  left: 0;
  top: 78px;
  width: 100%;
  height: 28px;
  display: none;
  background: transparent;
  z-index: 9997;
}

.has-mega:hover::before {
  display: block;
}

.mega-menu {
  position: fixed;
  top: 106px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 130px);
  max-width: 1510px;
  background: #f5f7fa;
  display: none;
  z-index: 9998;
  box-shadow: 0 18px 35px rgba(0,0,0,0.18);
}

.has-mega:hover .mega-menu,
.has-mega.open .mega-menu {
  display: flex;
}

.mega-tabs {
  width: 190px;
  background: #eeeeee;
}

.mega-tab {
  width: 100%;
  height: 82px;
  border: none;
  background: #c5c9d8;
  color: #0a3958;
  text-align: left;
  padding: 0 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.7);
}

.mega-tab.active {
  background: #0a3958;
  color: #ffffff;
  font-weight: 700;
  position: relative;
}

.mega-tab.active::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 12px solid #0a3958;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.mega-content {
  flex: 1;
  padding: 38px 40px 46px;
}

.mega-panel {
  display: none;
}

.mega-panel.active {
  display: block;
}

.mega-panel h3 {
  font-size: 30px;
  color: #0a3958;
  margin-bottom: 32px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 30px 44px;
  max-width: 880px;
}

.mega-product {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #0a3958;
  font-size: 15px;
  font-weight: 500;
}

.mega-product span {
  color: #0a3958 !important;
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.mega-product img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  flex: 0 0 76px;
}

.mega-product:hover span {
  color: #f37121;
}

@media (max-width: 991px) {
  .mega-menu {
    display: none !important;
  }

  .has-mega:hover .mega-menu,
  .has-mega.open .mega-menu {
    display: none !important;
  }
}

.products-page {
  background: #ffffff;
  padding: 150px 40px 100px;
}

.products-page-container {
  max-width: 900px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 13px;
  color: #7a8793;
  margin-bottom: 55px;
}

.breadcrumb a {
  color: #0a3958;
  text-decoration: none;
}

.breadcrumb span {
  margin-right: 8px;
}

.products-page h1 {
  font-size: 42px;
  color: #0a3958;
  margin-bottom: 25px;
}

.products-grid-page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.product-category-card {
  display: block;
  text-decoration: none;
  color: #ffffff;
  overflow: hidden;
  background: #0a3958;
}

.product-category-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.product-category-card:hover img {
  transform: scale(1.04);
}

.product-category-content {
  min-height: 140px;
  padding: 24px 26px;
  position: relative;
}

.product-category-content h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #ffffff;
}

.product-category-content p {
  font-size: 15px;
  line-height: 1.5;
  max-width: 420px;
  color: #ffffff;
}

.product-category-content span {
  position: absolute;
  left: 26px;
  bottom: 20px;
  font-size: 24px;
}

.product-category-content.blue {
  background: #0a3958;
}

.product-category-content.grey {
  background: #b7aaa3;
}

.product-category-content.rose {
  background: #c89699;
}

.product-category-content.orange {
  background: #f3a27f;
}

@media (max-width: 768px) {
  .products-page {
    padding: 120px 20px 70px;
  }

  .products-page h1 {
    font-size: 32px;
  }

  .products-grid-page {
    grid-template-columns: 1fr;
  }

  .product-category-card img {
    height: 230px;
  }
}

/* =========================================================
   DECKING PAGE
========================================================= */

.decking-page {
  background: #ffffff;
}

.decking-container {
  max-width: 1300px;
  margin: 0 auto;
}

.decking-hero {
  padding: 155px 40px 55px;
  background: #ffffff;
}

.decking-hero h1 {
  font-size: 56px;
  color: #0a3958;
  margin-bottom: 22px;
}

.decking-intro {
  font-size: 22px;
  line-height: 1.55;
  color: #3f5064;
  max-width: 720px;
}

.breadcrumb {
  font-size: 13px;
  color: #7a8793;
  margin-bottom: 45px;
}

.breadcrumb a {
  color: #0a3958;
}

.breadcrumb span {
  margin-right: 8px;
}


/* category tabs */

.decking-categories {
  padding: 20px 40px 45px;
  background: #ffffff;
}

.decking-tabs-simple {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.decking-tabs-simple a {
  border: 1px solid #0a3958;
  color: #0a3958;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.decking-tabs-simple a.active,
.decking-tabs-simple a:hover {
  background: #0a3958;
  color: #ffffff;
}

.decking-filter-note {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.decking-filter-note span {
  background: #f2f5f7;
  color: #0a3958;
  padding: 9px 16px;
  font-size: 14px;
}


/* ranges */

.decking-ranges {
  padding: 45px 40px 90px;
  background: #f5f7fa;
}

.range-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 55px;
  padding: 55px 0;
  border-bottom: 1px solid rgba(10, 57, 88, 0.15);
}

.range-block:last-child {
  border-bottom: none;
}

.range-title span {
  display: block;
  color: #f37121;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.range-title h2 {
  font-size: 34px;
  color: #0a3958;
  margin-bottom: 16px;
}

.range-title p {
  font-size: 15px;
  line-height: 1.6;
  color: #4a5a6a;
}

.range-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.decking-product-card {
  background: #ffffff;
  display: block;
  color: #0a3958;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.decking-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.decking-product-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.decking-product-card h3 {
  font-size: 19px;
  padding: 18px 18px 6px;
  color: #0a3958;
}

.decking-product-card p {
  font-size: 14px;
  color: #6f7b86;
  padding: 0 18px 20px;
}


/* comparison */

.decking-comparison {
  padding: 90px 40px 110px;
  background: #ffffff;
}

.decking-comparison h2 {
  font-size: 38px;
  color: #0a3958;
  margin-bottom: 35px;
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}

.comparison-table th {
  background: #0a3958;
  color: #ffffff;
  padding: 18px;
  text-align: left;
  font-size: 15px;
}

.comparison-table td {
  padding: 18px;
  border-bottom: 1px solid #dfe5ea;
  color: #34495a;
  font-size: 15px;
  line-height: 1.5;
}

.comparison-table td:first-child {
  font-weight: 700;
  color: #0a3958;
}

.comparison-note {
  margin-top: 28px;
  max-width: 900px;
  color: #4a5a6a;
  line-height: 1.7;
}


/* mobile */

@media (max-width: 991px) {
  .decking-hero {
    padding: 130px 20px 45px;
  }

  .decking-hero h1 {
    font-size: 38px;
  }

  .decking-intro {
    font-size: 18px;
  }

  .decking-categories,
  .decking-ranges,
  .decking-comparison {
    padding-left: 20px;
    padding-right: 20px;
  }

  .range-block {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 42px 0;
  }

  .range-grid {
    grid-template-columns: 1fr;
  }

  .decking-product-card img {
    height: 240px;
  }

  .decking-comparison h2 {
    font-size: 30px;
  }
}
/* =========================================================
   PLANER PAGE
========================================================= */

.planer-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 180px 20px 120px;

  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('../img/planer-bg.jpg');

  background-size: cover;
  background-position: center;
}

.planer-container {
  text-align: center;
  max-width: 700px;
}

.planer-container h1 {
  font-size: 52px;
  color: #0a3958;
  margin-bottom: 20px;
}

.planer-subtitle {
  font-size: 22px;
  color: #f37121;
  font-weight: 700;
  margin-bottom: 25px;
}

.planer-text {
  font-size: 18px;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 15px;
}

.planer-btn {
  margin-top: 25px;
  display: inline-block;
  background: #0a3958;
  color: #fff;
  padding: 14px 28px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.planer-btn:hover {
  background: #06273d;
}

/* =========================================================
   REALIZACIJE PAGE
========================================================= */

.realizacije-page {
  background: #ffffff;
}

.realizacije-container {
  max-width: 1500px;
  margin: 0 auto;
}

.realizacije-hero {
  padding: 155px 40px 45px;
}

.realizacije-hero h1 {
  font-size: 56px;
  color: #0a3958;
  margin-bottom: 18px;
}

.realizacije-hero p {
  font-size: 19px;
  line-height: 1.6;
  color: #4a5a6a;
  max-width: 720px;
}

.realizacije-content {
  padding: 20px 40px 100px;
}

.realizacije-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 35px;
}

.realizacije-sidebar {
  position: sticky;
  top: 130px;
  align-self: start;
}

.realizacije-type-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 34px;
}

.filter-btn {
  border: 1px solid #0a3958;
  background: #ffffff;
  color: #0a3958;
  padding: 14px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #0a3958;
  color: #ffffff;
}

.realizacije-sidebar h3 {
  font-size: 18px;
  color: #0a3958;
  margin-bottom: 16px;
}

.realizacije-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.realizacije-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.realizacija-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: block;
  background: #0a3958;
}

.realizacija-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.realizacija-card:hover img {
  transform: scale(1.04);
}

.realizacija-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
  color: #ffffff;
}

.realizacija-overlay h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.realizacija-overlay p {
  font-size: 15px;
  line-height: 1.4;
}

.realizacija-card.hide {
  display: none;
}

@media (max-width: 991px) {
  .realizacije-hero {
    padding: 130px 20px 40px;
  }

  .realizacije-hero h1 {
    font-size: 38px;
  }

  .realizacije-content {
    padding: 20px 20px 70px;
  }

  .realizacije-layout {
    grid-template-columns: 1fr;
  }

  .realizacije-sidebar {
    position: static;
  }

  .realizacije-gallery {
    grid-template-columns: 1fr;
  }

  .realizacija-card,
  .realizacija-card img {
    min-height: 300px;
  }
}

.hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
  background: #ffffff;
}

.contact-container {
  max-width: 1300px;
  margin: 0 auto;
}

.contact-hero {
  padding: 155px 40px 70px;
  background: #f5f7fa;
}

.contact-hero h1 {
  font-size: 56px;
  color: #0a3958;
  margin-bottom: 20px;
}

.contact-hero p {
  font-size: 20px;
  line-height: 1.6;
  color: #4a5a6a;
  max-width: 760px;
}

.contact-content {
  padding: 90px 40px 110px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-card,
.contact-message-card {
  background: #f5f7fa;
  padding: 50px;
}

.contact-info-card h2,
.contact-message-card h2 {
  font-size: 34px;
  color: #0a3958;
  margin-bottom: 30px;
}

.contact-item {
  margin-bottom: 28px;
}

.contact-item span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #f37121;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-item a {
  font-size: 18px;
  color: #0a3958;
  line-height: 1.6;
  text-decoration: underline;
}
.contact-hero p {
  font-size: 20px;
  line-height: 1.6;
  color: #4a5a6a;

  max-width: none;
  white-space: nowrap; 
}

.contact-message-card {
  background: #0a3958;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-message-card h2 {
  color: #ffffff;
}

.contact-message-card p {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  max-width: 650px;
  margin-bottom: 35px;
}

.contact-btn {
  width: fit-content;
  background: #f37121;
  color: #ffffff;
  padding: 15px 32px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #d8651e;
}

@media (max-width: 991px) {
  .contact-hero {
    padding: 130px 20px 50px;
  }
  
  .contact-hero p {
    white-space: normal;
  }

  .contact-hero h1 {
    font-size: 38px;
  }

  .contact-content {
    padding: 60px 20px 80px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card,
  .contact-message-card {
    padding: 32px 24px;
  }
}
/* =========================================================
   DECKING PAGE V2 - SILVADEC STYLE
========================================================= */

.decking-page-v2 {
  background: #ffffff;
}

.decking-v2-container {
  max-width: 1500px;
  margin: 0 auto;
}

.decking-v2-hero {
  padding: 155px 40px 45px;
}

.decking-v2-hero h1 {
  font-size: 56px;
  color: #23344d;
  margin-bottom: 22px;
}

.decking-v2-intro {
  font-size: 19px;
  line-height: 1.5;
  color: #5b6b7f;
  max-width: 520px;
  margin-bottom: 55px;
}

.decking-v2-filter-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 45px;
  align-items: start;
}

.decking-v2-type-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.decking-v2-type-tabs a {
  border: 3px solid #91ad8e;
  color: #91ad8e;
  width: 92px;
  height: 78px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding-bottom: 10px;
  font-weight: 700;
  font-size: 16px;
}

.decking-v2-type-tabs a.active {
  background: #23344d;
  border-color: #23344d;
  color: #ffffff;
}

.decking-v2-left h3 {
  font-size: 18px;
  color: #111;
  margin-bottom: 14px;
}

.decking-v2-colors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 35px;
}

.deck-filter {
  border: none;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  color: #4c5d70;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.deck-filter.active {
  font-weight: 700;
  color: #23344d;
}

.color-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid transparent;
}

.color-dot.all {
  background: linear-gradient(135deg, #7b573a 0%, #7b573a 45%, #d8d8d8 46%, #d8d8d8 100%);
}

.color-dot.brown {
  background: linear-gradient(135deg, #c79b72, #5d3e25);
}

.color-dot.grey {
  background: linear-gradient(135deg, #d5d9dc, #5f666b);
}

.deck-filter.active .color-dot {
  border-color: #23344d;
}

.decking-v2-right {
  border-left: 1px solid #d6dce3;
  padding-left: 45px;
}

.decking-v2-tech {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 30px;
}

.tech-card {
  background: #f3f4f6;
  border: 3px solid #e1e4e8;
  padding: 20px 28px;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-card strong {
  color: #111;
  font-size: 17px;
}

.tech-card span {
  font-size: 14px;
  color: #5b6b7f;
}

.tech-card.active {
  border-color: #23344d;
}

.decking-v2-note {
  font-size: 17px;
  color: #4c5d70;
  line-height: 1.5;
}


/* PRODUCTS */

.decking-v2-products {
  padding: 35px 40px 70px;
}

.deck-range {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 55px;
  padding: 45px 0;
  border-top: 1px solid #dce2e8;
}

.deck-range-info img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 12px;
}

.deck-range-info span {
  display: block;
  font-size: 15px;
  color: #8490a0;
  margin-bottom: 6px;
}

.deck-range-info h2 {
  font-size: 30px;
  color: #23344d;
  margin-bottom: 10px;
}

.deck-range-info p {
  font-size: 15px;
  color: #5b6b7f;
}

.deck-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.deck-product {
  display: block;
  color: #23344d;
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.deck-product {
  overflow: hidden;
}

.deck-product img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-bottom: 14px;

  transform: scale(2);
}

.deck-product h3 {
  font-size: 16px;
  font-weight: 700;
}

.deck-product:hover {
  transform: translateY(-4px);
}

.deck-product.hide {
  display: none;
}


/* TABLE */

.decking-v2-table-section {
  padding: 70px 40px 110px;
  background: #f5f7fa;
}

.decking-v2-table-section h2 {
  font-size: 36px;
  color: #23344d;
  margin-bottom: 30px;
}

.decking-v2-table-wrap {
  overflow-x: auto;
  background: #ffffff;
}

.decking-v2-table {
  width: 100%;
  min-width: 950px;
  border-collapse: collapse;
}

.decking-v2-table th {
  background: #23344d;
  color: #ffffff;
  padding: 20px;
  text-align: left;
  font-size: 17px;
}

.decking-v2-table th span {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
}

.decking-v2-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #dce2e8;
  font-size: 15px;
  line-height: 1.5;
  color: #34495a;
}

.decking-v2-table td:first-child {
  font-weight: 700;
  color: #23344d;
  width: 260px;
}

.decking-v2-bottom-text {
  max-width: 1050px;
  margin-top: 38px;
}

.decking-v2-bottom-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #4c5d70;
  margin-bottom: 18px;
}


/* MOBILE */

@media (max-width: 991px) {
  .decking-v2-hero {
    padding: 130px 20px 40px;
  }

  .decking-v2-hero h1 {
    font-size: 42px;
  }

  .decking-v2-filter-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .decking-v2-right {
    border-left: none;
    padding-left: 0;
  }

  .decking-v2-tech {
    grid-template-columns: 1fr;
  }

  .decking-v2-products,
  .decking-v2-table-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .deck-range {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .deck-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deck-product img {
    height: 120px;
  }
}

@media (max-width: 600px) {
  .decking-v2-type-tabs {
    flex-direction: column;
  }

  .decking-v2-type-tabs a {
    width: 100%;
  }

  .decking-v2-colors {
    grid-template-columns: 1fr;
  }

  .deck-product-grid {
    grid-template-columns: 1fr;
  }
}
.deck-elegance-wrapper {
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.deck-subcategory > h3 {
  font-size: 24px;
  color: #23344d;
  margin-bottom: 24px;
}

.deck-subcategory .deck-product h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
}