/* =========================================================
   NARLIDERE ALÜMINYUM PVC — Site Stylesheet
   Design direction: Industrial precision. Deep navy + brushed
   steel-slate, with a molten-amber accent for energy on CTAs.
   Sharp-cornered buttons, square icon chips, left-accent card
   reveals — engineered, technical, dependable.
   Fonts: Montserrat (headings) + Open Sans (body).
   ========================================================= */

:root {
  --primary-color: #2B388F;
  /* Deep industrial navy (from logo) */
  --primary-light: #1E4A93;
  --secondary-color: #5B7186;
  /* Brushed steel slate */
  --secondary-light: #7C91A4;
  --accent-color: #535FA6;
  /* Molten amber */
  --accent-dark: #535FA6;
  --text-dark: #1B2430;
  --text-muted: #5C6B7A;
  --light-bg: #EEF2F6;
  --white: #FFFFFF;
  --font-head: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.75;
}

a {
  text-decoration: none;
  transition: all .25s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.2px;
}

.section-padding {
  padding: 96px 0;
}

@media (max-width: 767px) {
  .section-padding {
    padding: 58px 0;
  }
}

.section-tag {
  display: inline-block;
  color: var(--accent-dark);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding-left: 30px;
  position: relative;
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 2px;
  background-color: var(--accent-color);
  transform: translateY(-50%);
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.bg-light-soft {
  background-color: var(--light-bg);
}

/* Buttons — sharp industrial corners */
.btn-brand {
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  font-family: var(--font-head);
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 3px;
  letter-spacing: .4px;
  transition: all .25s ease;
}

.btn-brand:hover {
  background-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px #1e4a9373;
}

.btn-brand-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
  font-family: var(--font-head);
  font-weight: 600;
  padding: 11px 30px;
  border-radius: 3px;
}

.btn-brand-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-brand-secondary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  font-family: var(--font-head);
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 3px;
}

.btn-brand-secondary:hover {
  background-color: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 0.84rem;
  padding: 9px 0;
  border-bottom: 2px solid var(--accent-color);
}

.top-bar a {
  color: var(--white);
  opacity: .92;
}

.top-bar a:hover {
  opacity: 1;
  color: whitesmoke;
}

.top-bar i {
  margin-right: 6px;
  color: white;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.main-navbar {
  background-color: var(--white);
  padding: 14px 0;
  box-shadow: 0 2px 14px rgba(21, 54, 110, 0.07);
  transition: all .3s ease;
}

.main-navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 18px rgba(21, 54, 110, 0.12);
}

.main-navbar .navbar-brand img {
  height: 52px;
}

.main-navbar .nav-link {
  color: var(--primary-color);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 12px;
  padding: 8px 0 !important;
  position: relative;
}

.main-navbar .nav-link.active,
.main-navbar .nav-link:hover {
  color: var(--accent-dark);
}

.main-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
}

.main-navbar .btn-brand {
  font-size: 0.82rem;
  white-space: nowrap;
}

/* =========================================================
   HERO SLIDER — left-aligned, strong diagonal navy overlay
   ========================================================= */
.hero-slider {
  position: relative;
}

.hero-slide {
  height: 90vh;
  min-height: 540px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13, 30, 62, 0.94) 0%, rgba(21, 54, 110, 0.82) 45%, rgba(21, 54, 110, 0.42) 100%);
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-slide .hero-tag {
  display: inline-block;
  color: var(--white);
  background-color: var(--accent-color);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 6px 16px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.hero-slide h1 {
  color: var(--white);
  font-size: 3.35rem;
  font-weight: 800;
  line-height: 1.12;
  max-width: 780px;
}

.hero-slide p {
  color: #DCE5F0;
  font-size: 1.18rem;
  max-width: 600px;
  margin: 22px 0 34px;
}

@media (max-width: 767px) {
  .hero-slide {
    height: 80vh;
    min-height: 480px;
  }

  .hero-slide h1 {
    font-size: 2.1rem;
  }

  .hero-slide p {
    font-size: 1rem;
  }
}

.hero-slider .carousel-indicators {
  bottom: 22px;
  margin-left: 12%;
  justify-content: flex-start;
}

.hero-slider .carousel-indicators button {
  background-color: var(--white);
  width: 34px;
  height: 4px;
  border-radius: 0;
  opacity: 0.5;
}

.hero-slider .carousel-indicators button.active {
  background-color: var(--accent-color);
  opacity: 1;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 5%;
  opacity: 0.55;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
  opacity: 0.9;
}

/* small inner hero banner for sub pages */
.page-hero {
  height: 340px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13, 30, 62, 0.93) 0%, rgba(21, 54, 110, 0.72) 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background-color: var(--accent-color);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero .breadcrumb-custom {
  color: #DCE5F0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
}

.page-hero .breadcrumb-custom a {
  color: var(--accent-color);
}

.page-hero .breadcrumb-custom a:hover {
  color: var(--white);
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  border-radius: 4px;
  width: 100%;
  box-shadow: 0 22px 44px rgba(21, 54, 110, 0.20);
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 90px;
  height: 90px;
  border-top: 5px solid var(--accent-color);
  border-left: 5px solid var(--accent-color);
  z-index: 1;
}

.about-img-wrap .badge-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px 26px;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  text-align: center;
}

@media (max-width: 991px) {
  .about-img-wrap .badge-float {
    right: 12px;
  }
}

.about-img-wrap .badge-float .num {
  font-size: 1.9rem;
  font-weight: 800;
  font-family: var(--font-head);
  color: var(--accent-color);
  display: block;
  line-height: 1.1;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 3px;
  width: 21px;
  height: 21px;
  background-color: var(--accent-color);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   WHY CHOOSE US — feature cards, left-accent reveal
   ========================================================= */
.feature-card {
  background-color: var(--white);
  border-radius: 6px;
  padding: 34px 28px;
  height: 100%;
  text-align: left;
  box-shadow: 0 4px 18px rgba(21, 54, 110, 0.07);
  transition: all .3s ease;
  border-left: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(21, 54, 110, 0.14);
  border-left-color: var(--accent-color);
}

.feature-card .icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 4px;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 22px;
  transition: all .3s ease;
}

.feature-card:hover .icon-wrap {
  background-color: var(--accent-color);
}

.feature-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  background-color: var(--primary-color);
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13, 30, 62, 0.93) 0%, rgba(21, 54, 110, 0.86) 100%);
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-section p {
  color: #C7D3E0;
  margin-bottom: 0;
  font-size: 1.08rem;
}

/* =========================================================
   PRODUCTS / SERVICES
   ========================================================= */
.product-card {
  background-color: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(21, 54, 110, 0.08);
  transition: all .3s ease;
  height: 100%;
  border-bottom: 3px solid transparent;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(21, 54, 110, 0.16);
  border-bottom-color: var(--accent-color);
}

.product-card .product-img {
  height: 400px;
  overflow: hidden;
  position: relative;
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-card .product-body {
  padding: 22px 24px;
  text-align: center;
}

.product-card .product-body h5 {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 700;
  transition: color .25s ease;
}

/* =========================================================
   MISSION / VISION / VALUES (About page)
   ========================================================= */
.mv-card {
  background-color: var(--white);
  border-radius: 6px;
  padding: 38px 32px;
  height: 100%;
  box-shadow: 0 4px 18px rgba(21, 54, 110, 0.08);
  border-top: 4px solid var(--accent-color);
  transition: all .3s ease;
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(21, 54, 110, 0.14);
}

.mv-card:nth-child(2) {
  border-top-color: var(--primary-color);
}

.mv-card i {
  font-size: 1.8rem;
  color: var(--white);
  background-color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mv-card:nth-child(2) i {
  background-color: var(--accent-color);
}

.mv-card h4 {
  margin-bottom: 14px;
  font-weight: 700;
}

.mv-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.value-pill {
  background-color: var(--white);
  border-radius: 6px;
  padding: 28px 22px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 16px rgba(21, 54, 110, 0.07);
  border: 1px solid #E2E8EF;
  transition: all .3s ease;
}

.value-pill:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
}

.value-pill i {
  font-size: 1.6rem;
  color: var(--accent-dark);
  background-color: rgba(232, 133, 43, 0.14);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.value-pill h6 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-pill p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-info-card {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 6px;
  padding: 42px 34px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-info-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  background-color: var(--accent-color);
}

.contact-info-card h4 {
  color: var(--white);
  margin-bottom: 26px;
  font-weight: 700;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 26px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item .ci-icon {
  width: 46px;
  height: 46px;
  background-color: var(--accent-color);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-item .ci-text small {
  display: block;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item .ci-text a,
.contact-info-item .ci-text span {
  color: var(--white);
  font-weight: 500;
}

.contact-info-item .ci-text a:hover {
  color: var(--accent-color);
}

.contact-form-wrap {
  background-color: var(--white);
  border-radius: 6px;
  padding: 42px;
  box-shadow: 0 6px 30px rgba(21, 54, 110, 0.09);
  border: 1px solid #E2E8EF;
}

.contact-form-wrap h4 {
  font-weight: 700;
}

.contact-form-wrap .form-control {
  border: 1px solid #D6DEE7;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.contact-form-wrap .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(232, 133, 43, 0.15);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background-color: #102a55;
  color: #C0CCDB;
}

.site-footer .footer-top {
  padding: 72px 0 42px;
}

.site-footer h5 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.site-footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 3px;
  background-color: var(--accent-color);
}

.site-footer .footer-brand-text {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.site-footer .footer-brand-text img {
  height: 42px;
}

.site-footer p {
  font-size: 0.92rem;
  text-align: justify;
  max-width: 450px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 13px;
}

.site-footer ul li a {
  color: #C0CCDB;
  font-size: 0.94rem;
}

.site-footer ul li a:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  font-size: 0.85rem;
  background-color: #0c2247;
}

.footer-bottom a {
  color: var(--accent-color);
}

/* =========================================================
   MISC
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  background-color: var(--accent-color);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 999;
  font-size: 1.1rem;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-dark);
}

.preloader-fade {
  animation: fadeInUp .7s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   MOBILE NAVBAR
   ========================================================= */
@media (max-width: 375px) {
  .main-navbar .navbar-brand img {
    height: auto;
    max-width: 200px !important;
  }

}

@media (max-width: 991.98px) {
  .top-bar {
    display: none;
  }
  .site-footer .footer-brand-text img {
    height: auto;
    width: 300px;
  }

  .main-navbar .navbar-brand img {
    height: auto;
    max-width: 270px;
  }

  .main-navbar .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
  }

  .main-navbar .navbar-collapse.show,
  .main-navbar .navbar-collapse.collapsing {
    padding: 10px 0 14px;
    border-top: 1px solid #eee;
    margin-top: 6px;
  }

  .main-navbar .navbar-nav {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .main-navbar .navbar-nav .nav-link {
    margin: 0;
    padding: 10px 0 !important;
  }

  .main-navbar .navbar-nav .nav-item {
    width: 100%;
  }

  .nav-products-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .mobile-cat-toggle {
    background: none;
    border: none;
    padding: 6px 8px;
    color: var(--primary-color);
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform .25s ease;
    line-height: 1;
  }

  .mobile-cat-toggle.open {
    transform: rotate(180deg);
  }

  .main-navbar .navbar-nav .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 0 4px 16px !important;
    margin-top: 0 !important;
    animation: none !important;
    display: none;
  }

  .main-navbar .navbar-nav .dropdown-menu.show {
    display: block;
  }
}

/* =========================================================
   PRODUCTS DROPDOWN (navbar) — kept for completeness
   ========================================================= */
.main-navbar .dropdown-menu {
  border: none;
  border-radius: 6px;
  box-shadow: 0 14px 32px rgba(21, 54, 110, 0.16);
  padding: 10px;
  margin-top: 6px;
  min-width: 240px;
}

.main-navbar .dropdown-item {
  color: var(--primary-color);
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 4px;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
  background-color: rgba(232, 133, 43, 0.10);
  color: var(--accent-dark);
}

@media (min-width: 992px) {
  .main-navbar .dropdown-menu {
    display: none;
    animation: fadeInUp .2s ease both;
  }

  .main-navbar .dropdown-menu.show {
    display: block;
  }
}

/* =========================================================
   INDIVIDUAL ITEM CARDS (unused — flat product list — kept for parity)
   ========================================================= */
.item-card {
  background-color: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(21, 54, 110, 0.08);
  transition: all .3s ease;
  height: 100%;
}

.item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(21, 54, 110, 0.16);
}

.item-card .item-img {
  height: 220px;
  overflow: hidden;
}

.item-card .item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.item-card:hover .item-img img {
  transform: scale(1.08);
}

.item-card .item-body {
  padding: 20px 22px;
  text-align: center;
}

.item-card .item-body h5 {
  margin-bottom: 0;
  font-size: 1.05rem;
  font-weight: 700;
}