/* ============================================
   BTE — Better Tomorrow Environment
   Main stylesheet
   ============================================ */

:root {
  --bte-deep: #024452;   /* Deep Ocean */
  --bte-eco: #48b96b;    /* Eco Green */
  --bte-lime: #b8dd1b;   /* Energy Lime */
  --bte-mist: #eaf2f4;   /* Mist White */
  --bte-carbon: #000000; /* Carbon Black */
}

/* ---------- Base ---------- */

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bte-mist);
}

a {
  color: var(--bte-deep);
  text-decoration: none;
}

a:hover {
  color: var(--bte-eco);
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
}

.eyebrow {
  color: var(--bte-eco);
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-weight: 700;
  color: var(--bte-deep);
  font-size: clamp(28px, 3vw, 40px);
  margin: 0;
  text-wrap: balance;
}

.section {
  padding: 88px 0;
}

.section-white {
  background: #fff;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(2, 68, 82, 0.1);
}

.site-header .container {
  height: 84px;
  gap: 24px;
}

.site-logo {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  gap: 32px;
}

.main-nav a {
  font-weight: bold;
  font-size: 15px;
  color: var(--bte-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a:hover {
  color: var(--bte-eco);
}

.main-nav .caret {
  font-size: 10px;
  opacity: 0.6;
}

.lang-switch {
  gap: 8px;
  font-size: 13px;
  font-weight: bold;
}

.lang-switch .active {
  color: var(--bte-deep);
  border-bottom: 2px solid var(--bte-lime);
  padding-bottom: 1px;
}

.lang-switch .inactive {
  color: rgba(2, 68, 82, 0.55);
}

.lang-switch .divider {
  color: rgba(2, 68, 82, 0.25);
}

/* ---------- Buttons ---------- */

.btn-bte-dark {
  background: var(--bte-deep);
  color: #fff;
  border-radius: 999px;
  padding: 11px 26px;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
  display: inline-block;
}

.btn-bte-dark:hover {
  background: var(--bte-eco);
  color: #fff;
}

.btn-bte-lime {
  background: var(--bte-lime);
  color: var(--bte-deep);
  border-radius: 999px;
  padding: 16px 42px;
  font-weight: bold;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-bte-lime:hover {
  background: #fff;
  color: var(--bte-deep);
}

.btn-bte-lime.btn-sm {
  padding: 15px 36px;
  font-size: 16px;
}

.btn-bte-outline {
  border: 2px solid rgba(234, 242, 244, 0.5);
  color: #fff;
  border-radius: 999px;
  padding: 13px 28px;
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-bte-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex;
  flex-direction: column;
  background: var(--bte-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero.jpg') center / cover no-repeat, var(--bte-deep);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(2, 68, 82, 0.96) 0%,
    rgba(2, 68, 82, 0.59) 55%,
    rgba(2, 68, 82, 0.25) 100%
  );
}

.hero-content {
  padding-top: 72px;
  padding-bottom: 48px;
}

.hero-badge {
  gap: 10px;
  border: 1px solid rgba(234, 242, 244, 0.35);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bte-lime);
  display: inline-block;
}

.hero-badge .label {
  color: var(--bte-mist);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: bold;
  white-space: nowrap;
}

.hero h1 {
  font-weight: 800;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
  margin: 0 0 22px;
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--bte-lime);
}

.hero .lead-text {
  color: rgba(234, 242, 244, 0.88);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  margin: 0 0 36px;
  max-width: 560px;
}

/* ---------- Services carousel ---------- */

.svc-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.svc-track::-webkit-scrollbar {
  display: none;
}

.svc-card {
  background: var(--bte-mist);
  border: 1px solid rgba(2, 68, 82, 0.06);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 auto;
  width: clamp(240px, 22vw, 296px);
  color: var(--bte-deep);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2, 68, 82, 0.12);
  color: var(--bte-deep);
  background: #fff;
}

.svc-card .title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
}

.svc-card .text {
  color: rgba(2, 68, 82, 0.7);
  font-size: 14px;
  line-height: 1.55;
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bte-deep);
  color: var(--bte-lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex: none;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(2, 68, 82, 0.25);
  background: #fff;
  color: var(--bte-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.carousel-btn:hover {
  background: var(--bte-deep);
  color: #fff;
  border-color: var(--bte-deep);
}

/* ---------- Advantages ---------- */

.adv-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--bte-deep);
  color: var(--bte-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.adv-item {
  gap: 18px;
  padding-left: 28px;
  padding-right: 28px;
}

.adv-item h3 {
  font-weight: 700;
  color: var(--bte-deep);
  font-size: 20px;
  margin: 0;
}

.adv-item p {
  color: rgba(2, 68, 82, 0.75);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 300px;
}

/* ---------- Stats ---------- */

.stats {
  background: var(--bte-deep);
  padding: 72px 0;
}

.stat-number {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 5vw, 68px);
  color: var(--bte-lime);
  line-height: 1;
}

.stat-label {
  color: var(--bte-mist);
  font-size: 16px;
  font-weight: bold;
}

/* ---------- Portfolio ---------- */

.portfolio-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--bte-deep);
}

.portfolio-card:hover {
  color: var(--bte-eco);
}

.portfolio-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #d5e3e7;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-card .category {
  color: var(--bte-eco);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-card .title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
}

/* ---------- CTA ---------- */

.cta-box {
  background: linear-gradient(120deg, #024452 0%, #0a5f68 60%, #1a7a5e 100%);
  border-radius: 24px;
  padding: clamp(40px, 5vw, 64px);
  gap: 32px;
}

.cta-box h2 {
  font-weight: 700;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 12px;
  text-wrap: balance;
}

.cta-box p {
  color: rgba(234, 242, 244, 0.85);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #fff;
  border-top: 1px solid rgba(2, 68, 82, 0.08);
  padding: 32px 0;
}

.site-footer .copyright {
  color: rgba(2, 68, 82, 0.6);
  font-size: 14px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(2, 68, 82, 0.2);
  color: var(--bte-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.social-btn:hover {
  background: var(--bte-deep);
  color: #fff;
  border-color: var(--bte-deep);
}

/* On small screens the footer items stack — center them */
@media (max-width: 767.98px) {
  .site-footer .container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}


/* ---------- Partner logo carousel (Slick) ---------- */

.client-active { overflow: hidden; }
.client-active .slick-slider { margin: 0 -5px; }
.client-active .slick-track { display: flex; }
.client-active .slick-slide { position: relative; width: 226px; }

.client-active .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  padding: 5px 25px;
  height: 102px;
  background-color: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
}

.client-active .client-logo a {
  display: flex;
  max-height: 100%;
}

.client-active .client-logo a img,
.client-active .client-logo > img {
  max-height: 55px;
  max-width: 100%;
  object-fit: contain;
}

.client-active .client-logo img {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.client-active .client-logo:hover img {
  filter: grayscale(0);
}

/* Slick base */
.slick-slider { position: relative; display: block; box-sizing: border-box; user-select: none; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }
.slick-list:focus { outline: none; }
.slick-list.dragging { cursor: pointer; }
.slick-slider .slick-track,
.slick-slider .slick-list { transform: translate3d(0, 0, 0); }
.slick-track { position: relative; top: 0; left: 0; display: block; }
.slick-track:before,
.slick-track:after { display: table; content: ''; }
.slick-track:after { clear: both; }
.slick-slide { display: none; float: left; height: 100%; min-height: 1px; }
.slick-slide img { display: block; }
.slick-initialized .slick-slide { display: block; }
.slick-arrow.slick-hidden { display: none; }


/* ============================================
   Inner pages
   ============================================ */

/* ---------- Header dropdowns ---------- */

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 84px;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 300px;
  background: #fff;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 44px rgba(2, 68, 82, 0.18);
  padding: 10px;
  display: none;
  z-index: 120;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  color: var(--bte-deep);
}

.nav-dropdown a:hover {
  background: var(--bte-mist);
  color: var(--bte-eco);
}

.main-nav > .nav-item > a.active {
  color: var(--bte-eco);
}

/* ---------- Mobile menu ---------- */

.mobile-burger {
  border: 0;
  background: none;
  color: var(--bte-deep);
  font-size: 30px;
  line-height: 1;
  padding: 0;
}

.mobile-menu {
  max-width: 320px;
}

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

.mnav > li {
  border-bottom: 1px solid rgba(2, 68, 82, 0.08);
}

.mnav .mnav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mnav a {
  display: block;
  padding: 13px 2px;
  font-weight: bold;
  font-size: 15px;
  color: var(--bte-deep);
}

.mnav-row button i {
  display: inline-block;
  transition: transform 0.2s ease;
}

.mnav-row button[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.mnav-row button {
  border: 0;
  background: var(--bte-mist);
  color: var(--bte-deep);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex: none;
}

.mnav .sub {
  list-style: none;
  margin: 0;
  padding: 0 0 10px;
}

.mnav .sub a {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 2px 9px 16px;
  color: rgba(2, 68, 82, 0.85);
}

/* ---------- Page head + breadcrumb ---------- */

.page-head {
  background: var(--bte-deep);
  padding: 64px 0 48px;
}

.page-title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  margin: 0 0 14px;
  text-wrap: balance;
}

.breadcrumb {
  margin: 0;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: rgba(234, 242, 244, 0.65);
  font-size: 14px;
  font-weight: bold;
}

.breadcrumb-item a:hover {
  color: var(--bte-lime);
}

.breadcrumb-item.active {
  color: var(--bte-lime);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(234, 242, 244, 0.35);
}

@media (max-width: 767.98px) {
  .page-head {
    text-align: center;
  }
  .page-head .breadcrumb {
    justify-content: center;
  }
}

.page-body {
  padding: 72px 0;
}

/* ---------- Sidebar ---------- */

.side-widget {
  background: #fff;
  border: 1px solid rgba(2, 68, 82, 0.08);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 108px;
}

.side-widget h3 {
  font-weight: 700;
  color: var(--bte-deep);
  font-size: 18px;
  margin: 0 0 16px;
}

.side-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.side-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 14px;
  color: var(--bte-deep);
  background: var(--bte-mist);
}

.side-nav a:hover,
.side-nav a.active {
  background: var(--bte-deep);
  color: #fff;
}

.side-nav a i {
  font-size: 12px;
  opacity: 0.7;
}

/* ---------- Detail content ---------- */

/* Like ProSound: content sits directly on the page background,
   full column width (~816px at xxl) — no card, no padding. */
.detail-content {
  background: transparent;
  padding: 0;
}

.detail-title {
  font-weight: 700;
  color: var(--bte-deep);
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 0 0 18px;
  text-wrap: balance;
}

.detail-content p {
  color: rgba(2, 68, 82, 0.8);
  font-size: 15.5px;
  line-height: 1.7;
}

.detail-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 28px;
  display: block;
}

.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  color: var(--bte-deep);
  font-size: 15px;
}

.check-list i {
  color: var(--bte-eco);
  font-size: 18px;
  flex: none;
}

/* ---------- Services listing grid ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.svc-grid .svc-card {
  width: auto;
  background: #fff;
}

.svc-grid .svc-card:hover {
  background: var(--bte-mist);
}

/* ---------- Equipment / certificate cards ---------- */

.equip-card {
  background: #fff;
  border: 1px solid rgba(2, 68, 82, 0.08);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.equip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2, 68, 82, 0.12);
}

.equip-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.equip-card.cert img {
  aspect-ratio: 3 / 4;
}

.equip-card .name {
  padding: 14px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--bte-deep);
}

/* ---------- Contact ---------- */

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid rgba(2, 68, 82, 0.08);
  border-radius: 16px;
  padding: 26px;
}

.contact-card h3 {
  font-weight: 700;
  color: var(--bte-deep);
  font-size: 17px;
  margin: 0 0 4px;
}

.contact-card a {
  font-weight: bold;
  font-size: 15px;
}

.icon-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bte-deep);
  color: var(--bte-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex: none;
}

.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ---------- Forms (Görüş Təyin Et) ---------- */

.form-card {
  background: #fff;
  border-radius: 16px;
  padding: clamp(28px, 4vw, 48px);
}

.form-intro {
  color: rgba(2, 68, 82, 0.8);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.bte-form .form-label {
  font-weight: bold;
  color: var(--bte-deep);
  font-size: 14px;
}

.req {
  color: var(--bte-eco);
}

.bte-form .form-control,
.bte-form .form-select {
  border: 1px solid rgba(2, 68, 82, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--bte-deep);
}

.bte-form .form-control:focus,
.bte-form .form-select:focus {
  border-color: var(--bte-eco);
  box-shadow: 0 0 0 3px rgba(72, 185, 107, 0.2);
}


/* ============================================
   lightGallery (see integration README)
   ============================================ */

.gallery-section :has(> .d-flex).row { row-gap: var(--bs-gutter-x); }
.gallery-section .img-fluid { object-fit: cover; }
.gallery-section .overlay { border-radius: 5px; }
.effect-image-1 { position: relative; display: block; }
.effect-image-1 img { border-radius: 5px; }
.overlay {
  position: absolute; display: grid; place-content: center;
  width: 100%; height: 100%; left: 0; top: 0;
  background: rgba(0, 0, 0, 0.2); border-radius: 10%;
  opacity: 0; visibility: hidden; transition: all 0.4s linear;
}
.simple-overlay { opacity: 0; visibility: hidden; }
.effect-image-1:hover .simple-overlay { visibility: visible; opacity: 1; }

.lg-backdrop { background-color: rgba(30, 30, 30, 0.9); }
.lg-outer .lg-thumb-outer { background-color: transparent; }

/* Production fixes — always include */
.gallery-section .faq-gal-img { aspect-ratio: 1 / 1; }

@media (max-width: 767.98px) {
  .gallery-section .row { --bs-gutter-x: .75rem; row-gap: .75rem; }
}

.lg-outer { z-index: 2000; }
.lg-backdrop { z-index: 1990; }
.lg-toolbar { padding-top: env(safe-area-inset-top, 0px); }

/* Mobile viewport fixes (gallery-viewport-fix-context.md) */

/* Kill horizontal page panning on mobile (body alone is not enough) */
html, body {
  overflow-x: hidden;
}

/* Lightbox: track the real (dynamic) viewport height */
@supports (height: 100dvh) {
  .lg-outer {
    height: 100dvh;
  }
}

/* Keep the bottom thumbnail strip above browser chrome / home indicator */
.lg-outer .lg-thumb-outer {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
