/* ========================================================
   Burak Yapı & İnşaat - Custom Styles & Enhancements
   ======================================================== */

:root {
  --burak-gold: #c58f38;
  --burak-gold-light: #e5b25d;
  --burak-gold-dark: #a57322;
  --burak-navy: #12222d;
  --burak-navy-dark: #0a141c;
  --burak-text: #555555;
  --burak-gray-bg: #f7f9fb;
}

/* Header Top Styling - Site-wide consistency matching index.html */
.tg-header__top.tg-header__top-five {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tg-header__top-list > .list-wrap {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 24px;
}

.tg-header__top-list > .list-wrap > li {
  white-space: nowrap;
  font-size: 13.5px;
}

.tg-header__top-list > .list-wrap > li a {
  white-space: nowrap;
}

.tg-header__top-list-four > .list-wrap {
  gap: 24px;
}

.tg-header__top-list-four > .list-wrap > li::before {
  right: -12px;
}

/* ========================================================
   Floating WhatsApp Button
   ======================================================== */
.tg-whatsapp-btn {
  position: fixed;
  right: 28px;
  bottom: 92px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  filter: drop-shadow(0 4px 12px rgba(37, 211, 102, 0.45));
  animation: tgWhatsappPulse 3s infinite;
}

@keyframes tgWhatsappPulse {
  0% {
    filter: drop-shadow(0 4px 10px rgba(37, 211, 102, 0.45));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 6px 20px rgba(37, 211, 102, 0.75));
    transform: scale(1.05);
  }
  100% {
    filter: drop-shadow(0 4px 10px rgba(37, 211, 102, 0.45));
    transform: scale(1);
  }
}

.tg-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 8px 24px rgba(37, 211, 102, 0.75));
  animation: none;
}

.tg-whatsapp-btn img,
.tg-whatsapp-btn svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tg-whatsapp-btn .tg-whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(18, 34, 45, 0.95);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.tg-whatsapp-btn .tg-whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(18, 34, 45, 0.95);
}

.tg-whatsapp-btn:hover .tg-whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 74px;
}

@media (max-width: 1199.98px) {
  .tg-whatsapp-btn {
    right: 23px;
    bottom: 86px;
  }
}

@media (max-width: 991.98px) {
  .tg-whatsapp-btn {
    right: 28px;
    bottom: 92px;
  }
}

@media (max-width: 767.98px) {
  .tg-whatsapp-btn {
    right: 13px;
    bottom: 60px;
    width: 44px;
    height: 44px;
  }
  .tg-whatsapp-btn .tg-whatsapp-tooltip {
    display: none;
  }
}



/* Quick Quote Drawer / Modal */
.quote-modal-header {
  background: var(--burak-navy);
  color: #ffffff;
  padding: 24px;
  border-bottom: 3px solid var(--burak-gold);
}

.quote-modal-header .btn-close {
  filter: invert(1);
}

/* Marquee customization */
.marquee__item {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.marquee_mode {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

/* Project Badge */
.project-status-badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-completed {
  background-color: rgba(40, 167, 69, 0.15);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.badge-ongoing {
  background-color: rgba(197, 143, 56, 0.15);
  color: #c58f38;
  border: 1px solid rgba(197, 143, 56, 0.3);
}

/* Counter Box refinement */
.counter__item-four {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter__item-four:hover {
  transform: translateY(-8px);
}

/* Custom form inputs */
.burak-form-control {
  border: 1px solid #e1e6eb;
  padding: 14px 20px;
  border-radius: 6px;
  width: 100%;
  font-size: 15px;
  transition: all 0.25s ease;
}

.burak-form-control:focus {
  border-color: var(--burak-gold);
  box-shadow: 0 0 0 3px rgba(197, 143, 56, 0.15);
  outline: none;
}

/* Social Icon Hover */
.footer__social-list a:hover {
  background: var(--burak-gold) !important;
  color: #ffffff !important;
  border-color: var(--burak-gold) !important;
}

/* Breadcrumb overlay enhancement */
.breadcrumb__bg {
  position: relative;
}
.breadcrumb__bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18, 34, 45, 0.78);
}
.breadcrumb__content {
  position: relative;
  z-index: 2;
}

/* Hero Slider Video Background */
.slider__video-slide {
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.slider__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

/* Mobile Hero Optimization: instant zero-wait poster rendering on phones */
@media (max-width: 767.98px) {
  .slider__video-bg {
    display: none !important;
  }
  .slider__video-slide {
    background-image: url('../video/insaat-slider-poster.webp') !important;
  }
}

/* Project Details Gallery Slider */
.project__details-thumb-slider {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.project__details-thumb-slider .swiper-slide {
  border-radius: 15px;
  overflow: hidden;
}

.project__details-thumb-slider .swiper-slide img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

@media (max-width: 1500px) {
  .project__details-thumb-slider .swiper-slide img {
    height: 380px;
  }
}

@media (max-width: 767.98px) {
  .project__details-thumb-slider .swiper-slide img {
    height: 320px;
  }
}

.project-slider-prev,
.project-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(18, 34, 45, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.project-slider-prev {
  left: 20px;
}

.project-slider-next {
  right: 20px;
}

.project-slider-prev:hover,
.project-slider-next:hover {
  background: var(--tg-theme-primary, #D3D3D3);
  color: #0E1E28;
  border-color: var(--tg-theme-primary, #D3D3D3);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(211, 211, 211, 0.45);
}

.project-slider-pagination {
  position: absolute;
  bottom: 16px !important;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.project-slider-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 0.8;
  margin: 0 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.project-slider-pagination .swiper-pagination-bullet-active {
  background: var(--tg-theme-primary, #D3D3D3);
  opacity: 1;
  width: 26px;
  border-radius: 6px;
}

/* Service Details Hero Image - Consistent Dimensions matching insaat.html across all service pages */
.services__details-thumb img {
  width: 100%;
  aspect-ratio: 952 / 460;
  object-fit: cover;
}

.services__details-inner-img img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 460 / 300;
}

/* Sidebar contact button readability */
.sidebar__contact-list a.tg-btn {
  background: var(--burak-gold, #c58f38) !important;
  color: #ffffff !important;
  font-weight: 700;
  transition: all 0.3s ease;
}

.sidebar__contact-list a.tg-btn:hover {
  background: #ffffff !important;
  color: #0E1E28 !important;
}

/* About Badge Refinement - %100 Quality Badge */
.experience-year-three .counter-number-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 0.9;
  color: var(--tg-heading-color);
}
.experience-year-three .counter-number-wrap .symbol {
  font-size: 52px;
  line-height: 1;
  margin-top: 6px;
  margin-right: 2px;
  font-weight: 700;
}
.experience-year-three .counter-number-wrap .counter-number {
  font-size: 96px;
  line-height: 0.85;
}
@media (max-width: 1199.98px) {
  .experience-year-three .counter-number-wrap .symbol {
    font-size: 38px;
    margin-top: 2px;
  }
  .experience-year-three .counter-number-wrap .counter-number {
    font-size: 68px;
  }
}

/* Choose Section (Değerlerimiz) Dark Background Typography & Icon Fixes (for hakkimizda.html) */
.choose__content-two .choose__item .title {
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}

.choose__content-two .choose__item p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 14.5px;
  line-height: 1.55;
}

.choose__content-two .choose__item .icon svg {
  width: 52px;
  height: 52px;
  display: block;
}

/* Kurumsal Değerlerimiz / Kalite İlkelerimiz Cards (vizyon-misyon.html) */
.policy__card {
  background: #ffffff;
  border-radius: 14px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.policy__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px auto;
  border-radius: 12px;
  background: rgba(197, 143, 56, 0.1);
  color: var(--burak-gold, #c58f38);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.policy__card:hover .policy__icon {
  background: var(--burak-gold, #c58f38);
  color: #ffffff;
  transform: scale(1.05);
}

.policy__icon svg {
  width: 42px;
  height: 42px;
  display: block;
  transition: transform 0.3s ease;
}

.policy__icon i {
  font-size: 38px;
  line-height: 1;
  display: inline-block;
  color: inherit;
  transition: transform 0.3s ease, color 0.3s ease;
}

.policy__card:hover .policy__icon i {
  color: #ffffff !important;
}

.policy__card .title {
  color: #171a1d !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
}

.policy__card p {
  color: #5d6670 !important;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* 3 Adımda Proje Teslimi (Work Items) Icon Styling & Gold Hover */
.work__item-two .work__icon {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.work__item-two:hover .work__icon {
  background: var(--burak-gold, #c58f38) !important;
  color: #ffffff !important;
}

/* Sidebar Recent Blog Posts Widget */
.sidebar__rc-post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar__rc-post-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.sidebar__rc-post-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar__rc-post-thumb {
  width: 80px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar__rc-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sidebar__rc-post-item:hover .sidebar__rc-post-thumb img {
  transform: scale(1.08);
}

.sidebar__rc-post-content {
  flex-grow: 1;
}

.sidebar__rc-post-content .post-date {
  font-size: 12px;
  color: #888888;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.sidebar__rc-post-content .post-date i {
  color: var(--burak-gold, #c58f38);
  font-size: 11px;
}

.sidebar__rc-post-content .title {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 0;
}

.sidebar__rc-post-content .title a {
  color: #171a1d;
  transition: color 0.2s ease;
}

.sidebar__rc-post-content .title a:hover {
  color: var(--burak-gold, #c58f38);
}



