/* pages.css - Özel Sayfa Bölümleri İçin Stiller (UI Revamp) */

/* --- General Header & Nav --- */
.site-header {
  background-color: transparent;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: var(--space-4) 0; /* Boşluklu floating hissi */
}

.site-header.scrolled {
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  padding: 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 900;
  color: var(--color-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -1px;
}

.logo-icon {
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.desktop-nav ul {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}
.desktop-nav .has-submenu {
  position: relative;
}
.desktop-nav .has-submenu > a {
  position: relative;
  padding-right: 1.15rem;
}

.desktop-nav .has-submenu > a::after {
  content: '▾';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-45%);
  font-size: 0.9rem;
  line-height: 1;
  color: var(--color-primary);
  pointer-events: none;
  opacity: 0.9;
}
.desktop-nav a {
  display: block;
  padding: 0.6rem 0;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1.125rem;
  background: transparent;
  transition: color var(--transition-fast), font-weight var(--transition-fast), transform var(--transition-fast);
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--color-primary);
}

.desktop-nav > ul > li > a:hover,
.desktop-nav > ul > li > a.active {
  background: transparent;
  font-weight: 700;
  transform: translateY(-1px);
}

.desktop-nav .submenu {
  position: absolute;
  top: calc(100% - 1px);
  left: -12px;
  right: auto;
  min-width: 260px;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.85rem 0.85rem;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 1200;
  overflow: hidden;
  text-align: left;
  align-items: flex-start;
}

.desktop-nav .has-submenu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.desktop-nav .submenu li {
  margin: 0;
  width: 100%;
  line-height: 1.25;
}

.desktop-nav .submenu a {
  display: block;
  width: 100%;
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-align: left;
  background: transparent;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), padding-left var(--transition-fast);
}

.desktop-nav .submenu a:hover {
  background-color: transparent;
  color: var(--color-primary);
  font-weight: 700;
  transform: translateX(4px);
  padding-left: 1.35rem;
  box-shadow: inset 3px 0 0 var(--color-primary);
}

.desktop-nav .has-submenu:hover .submenu,
.desktop-nav .has-submenu:focus-within .submenu {
  display: flex;
}

.desktop-nav .submenu a.active {
  background-color: rgba(0, 0, 0, 0.06);
  color: var(--color-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-secondary);
  cursor: pointer;
}

@media (max-width: 991px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg-white);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.mobile-nav-overlay.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--space-4);
  height: 80px;
  border-bottom: 1px solid var(--color-border);
}

.close-menu-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-secondary);
  cursor: pointer;
}

.mobile-nav-links {
  padding: var(--space-6) var(--space-4);
}

.mobile-nav-links li {
  margin-bottom: var(--space-4);
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-secondary);
  display: block;
}

.mobile-submenu {
  margin-top: var(--space-2);
  padding-left: var(--space-4);
  margin-left: 0;
}

.mobile-submenu li {
  margin-bottom: var(--space-2);
}

.mobile-submenu a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-main);
  padding-left: 0;
}

/* --- Home Hero (Floating Rounded) --- */
.hero-home-wrapper {
  padding: 0 var(--space-4);
  margin-top: calc(
    -80px - var(--space-4) * 2
  ); /* Header'ın altına girmesi için */
  padding-top: calc(80px + var(--space-4) * 2 + var(--space-6));
  padding-bottom: var(--space-10);
  background-position: center top;
  background-size: cover;
}

.hero-home {
  position: relative;
  height: 60vh;
  min-height: 500px;
  border-radius: var(--radius-3xl); /* Dev kavis */
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  margin: 0 auto;
  max-width: 1400px;
}

.hero-home-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.2);
}

video.hero-home-bg {
  object-fit: cover !important;
  object-position: center !important;
  width: 100% !important;
  height: 100% !important;
  transform: scale(1.2);
}
.hero-home-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 2;
}
.hero-home-content {
  position: relative;
  z-index: 3;
  color: var(--color-bg-white);
  width: 100%;
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}
.hero-home-center-text {
  color: #fff;
  font-size: clamp(1.25rem, 2.3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 980px;
  margin: 0;
}

.purpose-vision-title {
  text-align: center;
  max-width: 980px;
  margin: 0 auto var(--space-6);
  line-height: 1;
  font-size: clamp(1.5rem, 3.5vw, 3.25rem);
  color: #fff;
  font-family: var(--font-modern);
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
  padding: 0 var(--space-2);
  margin-top: var(--space-6);
}
.purpose-vision-title .subtitle {
  display: block;
  margin-top: var(--space-4);
  white-space: nowrap;
  color: #000;
}

.purpose-vision-description {
  text-align: center;
  font-size: clamp(0.56rem, 1.31vw, 1.22rem);
  color: var(--color-text-main);
  margin: var(--space-4) 0 var(--space-8) 0;
  line-height: 1.5;
}

.purpose-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: var(--space-6);
}

.purpose-vision-grid > * {
  width: 100%;
}

/* Purpose cards: square visuals + left aligned copy with narrower text width */
.purpose-vision-grid .card-soft-img-wrapper {
  height: 300px;
  aspect-ratio: 1/1;
}

.purpose-vision-grid .card-soft-body {
  align-items: flex-start;
}

.purpose-vision-grid .card-soft-title,
.purpose-vision-grid .card-soft-text {
  width: 90%;
  text-align: left;
}

.purpose-vision-grid .card-soft-title {
  font-size: 1.125rem;
}

.purpose-vision-grid .card-soft-text {
  font-size: 0.75rem;
  margin-top: auto;
  padding-bottom: 20px;
}

.purpose-vision-grid .card-soft-action {
  margin-top: var(--space-6);
}

@media (max-width: 767px) {
  .purpose-vision-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .purpose-vision-grid > * {
    width: 100%;
    max-width: 420px;
    justify-self: center;
  }

  .purpose-vision-grid .card-soft-title,
  .purpose-vision-grid .card-soft-text {
    width: 100%;
  }
}

/* --- Sections --- */
.section-title-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: var(--space-8);
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 3.25rem);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 0;
  margin-top: var(--space-6);
  padding: 0 var(--space-2);
}

.bg-blend-section {
  position: relative;
  overflow: hidden;
  padding: 50px 1.5rem var(--space-section) 1.5rem;
}

.news-marquee {
  overflow: hidden;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0 0 30px 0;
}

.news-marquee-track {
  display: flex;
  width: max-content;
  gap: var(--space-6);
  animation: news-marquee-right 96s linear infinite;
  will-change: transform;
}

.news-marquee:hover .news-marquee-track {
  animation-play-state: paused;
}

.news-marquee-track > a {
  flex: 0 0 424px;
  width: 424px;
  height: 424px;
}

.news-marquee .card-soft-img-wrapper {
  height: 424px;
}

.news-marquee .card-soft-action {
  display: none;
}

@keyframes news-marquee-right {
  0% {
    transform: translateX(-4904px);
  }
  100% {
    transform: translateX(0);
  }
}

.card-news .card-soft-body {
  display: none !important;
}

/* Unleash Potential Text */
.huge-text-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 3.25rem);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: var(--space-12);
  margin-top: var(--space-6);
  padding: 0 var(--space-2);
}

/* Logos Strip */
.brand-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8);
  align-items: center;
}
.brand-logo-item {
  height: 60px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-fast);
}
.brand-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Page Hero (Internal Pages) */
.page-hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  background-color: var(--color-secondary);
  border-radius: 0 0 var(--radius-3xl) var(--radius-3xl); /* Alt kısmı kavisli */
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
  filter: saturate(0);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-bg-white);
  text-align: center;
  width: 100%;
  padding: 0 var(--space-4);
}
.page-hero-content h1 {
  color: var(--color-bg-white);
  margin-bottom: var(--space-2);
  font-size: clamp(1.5rem, 3.5vw, 3rem);
}

/* CTA Band */
.cta-band {
  background-color: var(--color-secondary);
  color: var(--color-text-inverse);
  padding: var(--space-10) 0;
  text-align: center;
  border-radius: var(--radius-3xl);
  margin: var(--space-10) var(--space-4);
}
.cta-band h2 {
  color: var(--color-bg-white);
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
}

/* --- Footer --- */
.site-footer {
  background-color: #000;
  color: #fff;
  padding: var(--space-12) 0 var(--space-4) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
.footer-col h4 {
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid #fff;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  line-height: 1.5;
}
.footer-links li {
  margin-bottom: 0;
  line-height: 1.5;
}
.footer-links a {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-bottom-left {
  text-align: left;
}

.footer-bottom-right {
  text-align: right;
}
