/* =========================================================
   WILSHIRE MASTER TEMPLATE — Site Stylesheet
   Client: INFRA LEAD YAPI MALZEMELERI VE INSAAT ANONIM SIRKETI
   Update :root color variables for each client. Do not change anything else.
   ========================================================= */

:root {
  --primary-color: #2B718C;     /* Dark Navy Teal — from logo text */
  --primary-light: #80ADBF;
  --secondary-color: #308C7B;   /* Teal — from logo cube icon */
  --secondary-light: #60BFAE;
  --accent-color: #60BFAE;      /* Amber Gold */
  --accent-dark: #60BFAE;
  --text-dark: #1A1A1A;
  --text-muted: #5C6B7A;
  --light-bg: #F6F8FB;
  --white: #FFFFFF;
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color);
}

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

.section-tag {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

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

/* Buttons */
.btn-brand {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: none;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 6px;
  letter-spacing: .3px;
  transition: all .25s ease;
}
.btn-brand:hover {
  background-color: var(--accent-dark);
  color: var(--primary-color);
  transform: translateY(-2px);
}
.btn-brand-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 6px;
}
.btn-brand-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}
.btn-brand-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 6px;
}
.btn-brand-secondary:hover {
  background-color: #177e7e;
  color: var(--white);
}

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar a { color: var(--white); opacity: .9; }
.top-bar a:hover { opacity: 1; color: var(--accent-color); }
.top-bar i { margin-right: 6px; color: var(--accent-color); }

/* =========================================================
   NAVBAR
   ========================================================= */
.main-navbar {
  background-color: var(--white);
  padding: 14px 0;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  transition: all .3s ease;
}
.main-navbar.scrolled { padding: 8px 0; }
.main-navbar .navbar-brand img { height: 46px; }
.main-navbar .nav-link {
  color: var(--primary-color);
  font-weight: 600;
  margin: 0 12px;
  padding: 8px 0 !important;
  position: relative;
}
.main-navbar .nav-link.active,
.main-navbar .nav-link:hover {
  color: var(--secondary-color);
}
.main-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background-color: var(--accent-color);
}

/* Email CTA button in navbar */
.main-navbar .btn-brand { font-size: 0.82rem; white-space: nowrap; color: white; }

/* =========================================================
   HERO SLIDER
   ========================================================= */
.hero-slider { position: relative; }
.hero-slide {
  height: 88vh;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26,62,82,0.90) 0%, rgba(26,62,82,0.60) 60%, rgba(26,62,82,0.35) 100%);
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-slide .hero-tag {
  color: var(--accent-color);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.hero-slide h1 {
  color: var(--white);
  font-size: 3.2rem;
  font-weight: 700;
  max-width: 760px;
}
.hero-slide p {
  color: #E4EAF1;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 20px 0 32px;
}
@media (max-width: 767px) {
  .hero-slide { height: 76vh; min-height: 460px; }
  .hero-slide h1 { font-size: 2.1rem; }
  .hero-slide p { font-size: 1rem; }
}
.hero-slider .carousel-indicators { bottom: 20px; }
.hero-slider .carousel-indicators button {
  background-color: var(--accent-color);
  width: 10px; height: 10px; border-radius: 50%;
}
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { width: 5%; opacity: 0.7; }

/* small inner hero banner for sub pages */
.page-hero {
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26,62,82,0.92) 0%, rgba(26,62,82,0.70) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: 2.6rem; margin-bottom: 8px; }
.page-hero .breadcrumb-custom { color: var(--accent-color); font-weight: 600; }
.page-hero .breadcrumb-custom a { color: var(--white); }
.page-hero .breadcrumb-custom a:hover { color: var(--accent-color); }

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-img-wrap { position: relative; }
.about-img-wrap img {
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(26,62,82,0.18);
}
.about-img-wrap .badge-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 18px 24px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  text-align: center;
}
@media (max-width: 991px) {
  .about-img-wrap .badge-float { right: 12px; }
}
.about-img-wrap .badge-float .num { font-size: 1.8rem; font-weight: 700; color: var(--accent-color); display: block; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   WHY CHOOSE US — feature cards
   ========================================================= */
.feature-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 36px 28px;
  height: 100%;
  text-align: left;
  box-shadow: 0 6px 24px rgba(26,62,82,0.08);
  transition: all .3s ease;
  border: 1px solid #EDF0F4;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(26,62,82,0.14);
  border-color: transparent;
}
.feature-card .icon-wrap {
  width: 60px; height: 60px;
  border-radius: 12px;
  background-color: rgba(30,158,158,0.1);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.feature-card:nth-child(2) .icon-wrap,
.feature-card:nth-child(4) .icon-wrap {
  background-color: rgba(245,166,35,0.18);
  color: var(--accent-dark);
}
.feature-card h5 { font-size: 1.15rem; margin-bottom: 10px; }
.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(120deg, rgba(26,62,82,0.92) 0%, rgba(44,95,122,0.88) 100%);
  z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 8px; }
.cta-section p { color: #C7D3E0; margin-bottom: 0; }

/* =========================================================
   PRODUCTS / SERVICES
   ========================================================= */
.product-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(26,62,82,0.08);
  transition: all .3s ease;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(26,62,82,0.14);
}
.product-card .product-img {
  height: 450px;
  overflow: hidden;
}
.product-card .product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img img { transform: scale(1.07); }
.product-card .product-body { padding: 24px; }
.product-card .product-body h5 { margin-bottom: 0; }

/* =========================================================
   MISSION / VISION / VALUES (About page)
   ========================================================= */
.mv-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 36px 30px;
  height: 100%;
  box-shadow: 0 6px 24px rgba(26,62,82,0.08);
  border-top: 4px solid var(--accent-color);
}
.mv-card:nth-child(2) { border-top-color: var(--secondary-color); }
.mv-card:nth-child(3) { border-top-color: var(--primary-color); }
.mv-card i { font-size: 2rem; color: var(--secondary-color); margin-bottom: 16px; display: block; }
.mv-card h4 { margin-bottom: 12px; }
.mv-card p { color: var(--text-muted); margin-bottom: 0; }

.value-pill {
  background-color: var(--white);
  border-radius: 10px;
  padding: 26px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 6px 20px rgba(26,62,82,0.07);
}
.value-pill i {
  font-size: 1.7rem;
  color: var(--primary-color);
  background-color: rgba(245,166,35,0.2);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.value-pill h6 { font-weight: 700; 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: 10px;
  padding: 40px 32px;
  height: 100%;
}
.contact-info-card h4 { color: var(--white); margin-bottom: 22px; }
.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(--primary-color);
  border-radius: 8px;
  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;
  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: 10px;
  padding: 40px;
  box-shadow: 0 6px 30px rgba(26,62,82,0.08);
}
.contact-form-wrap .form-control {
  border: 1px solid #DDE3EA;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.contact-form-wrap .form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(30,158,158,0.15);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background-color: var(--primary-color);
  color: #C7D3E0;
}
.site-footer .footer-top { padding: 70px 0 40px; }
.site-footer h5 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.site-footer h5::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  background-color: var(--accent-color);
}
.site-footer .footer-brand-text {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-top p {
  text-align: justify;
  max-width: 500px;
}
.site-footer .footer-brand-text img { max-width: 350px; }
.site-footer p { font-size: 0.92rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul li a { color: #C7D3E0; 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;
}
.footer-bottom a { color: var(--accent-color); }

/* =========================================================
   INDIVIDUAL PRODUCT ITEM CARDS (category pages)
   ========================================================= */
.item-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(26,62,82,0.08);
  transition: all .3s ease;
  height: 100%;
}
.item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(26,62,82,0.14);
}
.item-card .item-img {
  height: 450px;
  overflow: hidden;
}
.item-card .item-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.item-card:hover .item-img img { transform: scale(1.07); }
.item-card .item-body { padding: 20px; }
.item-card .item-body h5 { margin-bottom: 0; font-size: 1rem; }

/* =========================================================
   CATEGORY OVERVIEW CARDS (products.html)
   ========================================================= */
.category-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.category-card-link .product-card { cursor: pointer; }
.category-card-link:hover .product-card h5 { color: var(--secondary-color); }

/* =========================================================
   MISC
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px; height: 46px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  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
   Bootstrap handles collapse show/hide — we only style layout
   ========================================================= */
@media (max-width: 991.98px) {
  .top-bar { display: none; }

  .main-navbar .navbar-brand img { height: 38px; }
  .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)
   ========================================================= */
.main-navbar .dropdown-menu {
  border: none;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(26,62,82,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: 6px;
}
.dropdown-item.active, .dropdown-item:active {
  background-color: whitesmoke;
}
.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
  background-color: rgba(30,158,158,0.08);
  color: var(--secondary-color);
}
@media (min-width: 992px) {
  .main-navbar .dropdown-menu {
    display: none;
    animation: fadeInUp .2s ease both;
  }
  .main-navbar .dropdown-menu.show {
    display: block;
  }
}


@media (max-width: 350px) {
  .main-navbar .navbar-brand img {
    height: auto;
    max-width: 200px;
  }

}