/* Add here all your css styles (customizations) */

/* Preloader for GOEN Slider */
#goen-slider-preloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1e2329;
  /* Brand background */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

#goen-slider-preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Elegant CSS Preloader styles */
.goen-elegant-loader {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.goen-pulse-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1.5px solid #05b4c7;
  border-radius: 50%;
  opacity: 1;
  transform: scale(0);
  animation: goen-elegant-pulse 3s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
}

@keyframes goen-elegant-pulse {
  0% {
    transform: scale(0);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}


.goen-svg-loader {
  width: 100%;
  height: 100%;
  transform-origin: center;
  animation: goen-rotate-cosmos 8s linear infinite;
}

.goen-ring {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: 50px 50px;
}

.goen-ring-1 {
  stroke: rgba(5, 180, 199, 0.2);
  stroke-dasharray: 200;
  animation: goen-spin-ring 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.goen-ring-2 {
  stroke: rgba(5, 180, 199, 0.6);
  stroke-dasharray: 140;
  stroke-dashoffset: 40;
  animation: goen-spin-ring-reverse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.goen-ring-3 {
  stroke: rgba(41, 137, 216, 0.8);
  stroke-dasharray: 80;
  stroke-dashoffset: 20;
  animation: goen-spin-ring 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.goen-ring-core {
  fill: #05b4c7;
  stroke: none;
  animation: goen-pulse-core 2s ease-in-out infinite;
}

@keyframes goen-rotate-cosmos {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes goen-spin-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes goen-spin-ring-reverse {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

@keyframes goen-pulse-core {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(5, 180, 199, 0.8));
  }
}

.goen-hero {
  position: relative;
  padding: 120px 0 100px;
  background-image: linear-gradient(135deg, #0b1a21 0%, #041014 60%, #02161d 100%);
}

.goen-hero__overline {
  letter-spacing: 0.18em;
  opacity: 0.8;
}

.goen-hero__title {
  font-size: 2.4rem;
}

@media (min-width: 992px) {
  .goen-hero__title {
    font-size: 3rem;
  }
}

.goen-hero__subtitle {
  max-width: 560px;
  opacity: 0.9;
}

.goen-hero__solutions {
  background-color: rgba(6, 19, 26, 0.9);
  border-radius: 16px;
  padding: 24px 24px 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.goen-hero__solution-card {
  border-left: 2px solid rgba(8, 117, 137, 0.5);
  padding-left: 14px;
}

.goen-hero__solution-card h3 {
  color: #fff;
}

.goen-hero__solution-card p {
  color: rgba(255, 255, 255, 0.85);
}

.goen-highlights {
  padding: 36px 0;
}

.goen-highlight-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.75;
  margin-bottom: 6px;
}

.goen-highlight-card__value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #05b4c7;
  margin-bottom: 4px;
}

.goen-highlight-card__desc {
  font-size: 13px;
  opacity: 0.9;
}

@media (max-width: 767.98px) {
  .goen-highlights {
    padding: 28px 0 32px;
  }
}

/* Marka buton rengi (tüm ana butonlar) */
.u-btn-primary,
.btn.u-btn-primary,
.btn-primary {
  background-color: #004e6d !important;
  border-color: #004e6d !important;
}

/* Seçim (Selection) Rengi Değişimi - Tüm Site İçin */
::selection {
  background-color: #012737 !important;
  color: #ffffff !important;
}

::-moz-selection {
  background-color: #012737 !important;
  color: #ffffff !important;
}

/* --- Enerji Depolama Kartları Stilleri --- */
.val-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 20px;
  border: 1px solid rgba(5, 180, 199, 0.3);
  background: #012737;
  border-radius: 12px;
  min-height: 210px;
  overflow: hidden;
  cursor: default;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Alt Başlık Yazı Rengi Değişimi */
.val-card .g-color-white-opacity-0_5 {
  color: #05b4c7 !important;
  opacity: 1;
  transition: opacity 0.4s ease 0.15s;
  /* Sadece yavaşça belirsin (fade-in) */
}

/* Ön Yüz Ana Başlık Rengi Değişimi */
.val-card .val-front p.g-color-primary {
  color: #ffffff !important;
}

/* Ön Yüz İkon (SVG) Renk Değişimi */
.val-card .val-front svg {
  opacity: 0.75;
}

.val-card .val-front svg path,
.val-card .val-front svg circle,
.val-card .val-front svg line,
.val-card .val-front svg rect {
  stroke: rgba(255, 255, 255, 0.6) !important;
}

.val-card .val-front svg [fill="#05b4c7"] {
  fill: rgba(255, 255, 255, 0.6) !important;
}

.val-card:hover {
  background: #ffffff;
  border-color: #e1e7ec;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.val-card .val-front {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center !important;
  padding: 17px 0px 0px 0px !important;
  transition: all 0.4s ease;
}

/* İkonları Sol Üst Köşeye Sabitlemek */
.val-card .val-front svg,
.val-card .val-front .g-mb-15 {
  position: absolute !important;
  top: 15px;
  left: 15px;
  margin: 0 !important;
  width: auto !important;
  transition: opacity 0.4s ease 0.15s;
  /* İkonların geri dönüşü sadece fade-in */
}

/* Hover durumunda SVG ve Alt Başlığı Gizleme */
.val-card:hover .val-front svg,
.val-card:hover .val-front .g-mb-15,
.val-card:hover .val-front .g-color-white-opacity-0_5 {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.2s ease 0s;
  /* Kaybolurken sadece fade-out */
}

/* 1. Wrapper setup */
.title-container {
  position: relative;
  margin-bottom: 8px;
}

.title-container p {
  margin-bottom: 0 !important;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Ön yüz başlığı */
.title-container .g-color-primary {
  opacity: 1;
  transform-origin: center top;
}

/* Arka yüz başlığı (Gizli başlıyor) */
.title-container .title-back {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  opacity: 0;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  color: #ffffff !important;
  white-space: nowrap;
  transform-origin: center top;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.01s ease 0.12s, color 0.4s ease;
}

/* Dipnot Fade-in Animasyonu */
.val-card-anim.footnote-fade {
  transform: none !important;
  opacity: 0;
}

.footnote-fade.reveal {
  animation: simpleFadeIn 1.8s ease-out forwards;
  animation-delay: 0.6s;
}

@keyframes simpleFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Hover Davranışı - İki başlık birlikte süzülsün */
.val-card:hover .title-container .g-color-primary {
  opacity: 0 !important;
  transform: translateY(-36px) scale(0.6) !important;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
}

.val-card:hover .title-container .title-back {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(-36px);
  color: #01405b !important;
}

.val-card .val-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 92px 22px 24px;
  background: #ffffff;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.val-card .val-back p {
  color: #585f69 !important;
}

.val-card:hover .val-back {
  opacity: 1;
  transition-delay: 0.15s;
}

/* Custom Stagger Animation */
@keyframes customFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.val-card-anim {
  opacity: 0;
  transform: translateY(30px);
}

.val-card-anim.reveal {
  animation: customFadeUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* --- Global Main Header Glassmorphism Effect --- */
.u-header__section.g-bg-white-opacity-0_9 {
  background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* --- Anchor Offset for Secondary Header --- */
#performans,
#kazanim,
#teknoloji,
#modeller,
#versiyonlar,
#iletisim {
  scroll-margin-top: 130px;
}

/* --- Secondary Header ScrollSpy --- */
.bess-nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.bess-nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background-color: #05b4c7;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.bess-nav-link.active-bess-link::after {
  width: 100%;
}

/* --- Custom Spacing for BESS Z-Layout --- */
@media (min-width: 992px) {
  .bess-pl-75--lg {
    padding-left: 75px !important;
  }

  .bess-pr-75--lg {
    padding-right: 75px !important;
  }
}

/* --- El-Harezmi Saygı Overlay --- */
.bess-harezmi-card {
  cursor: default;
  /* Remove pointer if any, or keep it standard */
}

.bess-harezmi-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 5, 0.94);
  /* Ağırbaşlı siyah arka plan */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 35px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 1.2s ease-in-out;
  /* Slow fade for black background */
  z-index: 20;
}

.bess-harezmi-card:hover .bess-harezmi-overlay,
.bess-harezmi-card.trigger-hover .bess-harezmi-overlay {
  opacity: 1;
  visibility: visible;
}

.bess-harezmi-overlay .harezmi-content {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  /* Only opacity, no translate for sliding */
}

.bess-harezmi-card:hover .bess-harezmi-overlay .harezmi-content,
.bess-harezmi-card.trigger-hover .bess-harezmi-overlay .harezmi-content {
  opacity: 1;
  transition-delay: 0.15s;
}

/* Yaprak Wreath Icon Görünümü */
.harezmi-wreath {
  display: inline-block;
  margin-bottom: 24px;
}

.harezmi-wreath img {
  width: 48px;
  height: auto;
}

/* --- Premium Footer Design --- */
.goen-premium-footer {
  background: linear-gradient(135deg, #0b1a21 0%, #041014 60%, #02161d 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(5, 180, 199, 0.2);
}

/* Subtle glow behind footer */
.goen-premium-footer::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(5, 180, 199, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.goen-premium-footer::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 78, 109, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1.5px;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 30px;
  height: 1px;
  background-color: #05b4c7;
  transition: width 0.3s ease;
}

.goen-premium-footer:hover .footer-heading::after {
  width: 50px;
}

.footer-link-item {
  position: relative;
  display: block;
  color: rgba(255, 255, 255, 0.5);
  padding: 8px 0;
  transition: all 0.3s ease;
  font-size: 13px;
}

.footer-link-item::before {
  content: '\f105';
  /* FontAwesome angle-right */
  font-family: FontAwesome;
  font-size: 12px;
  color: #05b4c7;
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-link-item:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateX(15px);
}

.footer-link-item:hover::before {
  opacity: 1;
  left: -15px;
}

.footer-content-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.8;
}

.footer-icon-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  transition: all 0.3s ease;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  width: fit-content;
}

.footer-icon-link i {
  color: #05b4c7;
  margin-right: 10px;
  font-size: 14px;
}

.footer-icon-link:hover {
  color: #ffffff;
  border-color: rgba(5, 180, 199, 0.3);
  text-decoration: none;
}

.footer-contact-block {
  display: flex;
  margin-bottom: 22px;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #05b4c7;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-contact-icon:hover {
  color: #05b4c7 !important;
}

.footer-contact-block:hover .footer-contact-icon {
  border-color: rgba(5, 180, 199, 0.3);
  text-decoration: none;
  color: #05b4c7 !important;
}

.footer-contact-details span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  transition: color 0.3s ease;
  line-height: 1.6;
  display: block;
}

.footer-contact-block:hover .footer-contact-details span {
  color: #05b4c7;
}

.footer-image-box {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-image-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.footer-image-box img {
  transition: transform 0.6s ease;
}

.footer-image-box:hover img {
  transform: scale(1.08);
}

/* Custom Large Padding */
@media (min-width: 768px) {
  .g-px-250--md {
    padding-left: 20% !important;
    padding-right: 20% !important;
  }
}

@media (min-width: 992px) {
  .g-px-250--lg {
    padding-left: 250px !important;
    padding-right: 250px !important;
  }

  .g-px-450--lg {
    padding-left: 450px !important;
    padding-right: 450px !important;
  }
}

@media (min-width: 2200px) {
  .g-px-450--xl {
    padding-left: 20% !important;
    padding-right: 20% !important;
  }
}

/* GOiris Vertical Version Tabs */
.goiris-version-tabs .nav-link {
  background-color: transparent;
  color: #555;
  border: 1px solid transparent;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.goiris-version-tabs .nav-link:hover {
  background-color: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.goiris-version-tabs .nav-link.active {
  background-color: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-left: 4px solid #05b4c7;
}