/*
   Krafttürk - Kurumsal Sayfa Stilleri
   corporate.css
*/


/* =========================================
   CORPORATE SECTIONS
   ========================================= */

.corp-section {
  padding: var(--section-padding) 0;
  position: relative;
}


.corp-section.bg-light-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, #f8f9fb 0%, rgba(248, 249, 251, 0.85) 20%, rgba(248, 249, 251, 0.5) 35%, rgba(248, 249, 251, 0) 55%);
  pointer-events: none;
}

.pt-0 {
  padding-top: 0 !important;
}

/* Section Desc */
.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 3rem;
}

.section-desc.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   ABOUT SECTION - Sticky Foto
   ========================================= */
.corp-about.bg-light-pattern {
  overflow: unset;
}

.corp-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.corp-about-image-wrapper {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.corp-about-content .section-title {
  margin-bottom: 1.5rem;
}

.corp-about-content P {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* =========================================
   VIDEO SECTION
   ========================================= */

.corp-video-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.corp-video-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy-dark);
}

.corp-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.corp-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(255, 110, 66, 0.4);
}

.corp-video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 15px 50px rgba(255, 110, 66, 0.5);
}

.corp-video-play-btn.playing {
  opacity: 0;
  pointer-events: none;
}

.corp-video-container:hover .corp-video-play-btn.playing {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================
   GALLERY SECTION
   ========================================= */

.corp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.corp-gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.corp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.corp-gallery-item:hover img {
  transform: scale(1.1);
}

.corp-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(63, 57, 52, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.corp-gallery-overlay i {
  font-size: 2.5rem;
  color: var(--white);
}

.corp-gallery-item:hover .corp-gallery-overlay {
  opacity: 1;
}

/* =========================================
   CERTIFICATES SECTION
   ========================================= */

.corp-certificates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.corp-certificate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.corp-certificate-card:hover {
  border-color: transparent;
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.corp-certificate-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.corp-certificate-icon i {
  font-size: 2rem;
  color: var(--primary);
}

.corp-certificate-card:hover .corp-certificate-icon {
  background: var(--primary);
}

.corp-certificate-card:hover .corp-certificate-icon i {
  color: var(--white);
}

.corp-certificate-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.corp-certificate-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.corp-certificate-view {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.corp-certificate-view i {
  transition: transform 0.3s ease;
}

.corp-certificate-card:hover .corp-certificate-view i {
  transform: translateX(5px);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
  .corp-about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .corp-about-image-wrapper {
    position: relative;
    top: 0;
  }

  .about-v2-visual {
    height: 450px;
    max-width: 500px;
    margin: 0 auto;
  }

  .visual-tertiary {
    right: 0;
  }

  .corp-about-image img {
    height: 400px;
  }

  .corp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .corp-certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .corp-section {
    padding: 60px 0;
  }

  .corp-about-image img {
    height: 300px;
  }

  .corp-video-play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .corp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .corp-certificates-grid {
    grid-template-columns: 1fr;
  }

  .about-v2-stats {
    flex-direction: column;
    gap: 1rem;
  }
}