.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;  
  }
  
  .swiper-slide {
    position: relative;
  }
  

  .swiper-slide video.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görüntü oranını bozmadan alanı kaplar */
    position: absolute; /* Konumlandırmayı garantiye alır */
    top: 0;
    left: 0;
    z-index: -1; /* İçeriğin arkasında kalmasını sağlar */
  }
  

   
.hero-slider-dots {
    position: absolute !important;  
    top: 50% !important;
    left: 5rem !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: auto !important;  
    z-index: 20;
    pointer-events: auto;
}
.hero-slider-dots .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;  
    transition: all 0.2s;
    margin: 0 !important;  
}
.hero-slider-dots .swiper-pagination-bullet:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}
.hero-slider-dots .swiper-pagination-bullet-active {
    background-color: var(--white);
    transform: scale(1.4);
}
  
  
   
   
   
  .hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    display: flex;  
    color: var(--white);
    overflow: hidden;
  }
  
   
  .hero .swiper-slide .container {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      height: 100%;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
     
  }
  
  .hero__content {
    text-align: center;
    max-width: 800px;
    width: 100%;
    pointer-events: auto;
    padding-bottom: 100px;
  
     
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s;  
  }
  
   
  .hero__content.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .hero__title {
    font-size: 41px;
    font-weight: var(--font-weight-light);
    line-height: 1.2;
  }
  .hero__title strong {
     font-weight: var(--font-weight-bold);
     font-size: 55px;
  }
  .hero__content  img {
    display: block;
    margin: 16px auto;
    max-width: 105px!important;
  }


  
  .hero__subtitle {
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    max-width: 650px;
    margin: 24px auto 0 auto;
    color: var(--white);
  }
  
   
  .hero__categories {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--container-width);
    padding: 8px 16px;  
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    row-gap: 16px;
    column-gap: 16px;
    overflow: visible;
    scrollbar-width: none;
    z-index: 10;
  }
  /* Safari eski sürümlerinde flex-gap çalışmıyorsa yedek boşluk */
  @supports not (gap: 16px) {
    .hero__categories {
      margin-left: -8px;
      margin-right: -8px;
    }
    .hero__categories .hero-category-btn {
      margin: 0 8px 16px;
    }
  }
  
  .hero-category-btn {
     
    position: relative;  
    display: flex;
    align-items: center;
    gap: 5px;
  
    padding: 15px;
    border-radius: 15px;
    width: 100%;
    max-width: 263px;
    background-color: var(--category-color, var(--accent-orange-400));  
    color: var(--white);
    text-decoration: none;     
    overflow: hidden;  
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, filter 0.3s ease-out;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0,0,0,0.16);
  }
  
  .hero-category-btn:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 14px 32px rgba(0,0,0,0.2);
    filter: brightness(1.03);
  }
  
  
   
  .hero-category-btn__icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);  
    flex-shrink: 0;
  }

  
   
  .hero-category-btn__text {
    display: flex;
    flex-direction: column;
  
  }
  .hero-category-btn__text span {
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    opacity: 0.9;
  }
  .hero-category-btn__text strong {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
  }

  .hero-category-btn__arrow{
    position:absolute;
    top:0;
    right: 0;
  }
  
   
  .hero-category-btn__arrow  img{
    position: absolute;
    top: 12px;
    right: 12px;
    width: 11px;
    height: 11px;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
  }
  .hero-category-btn:hover .hero-category-btn__arrow {
    opacity: 1;
    
  }
  .hero-category-btn:hover .hero-category-btn__arrow img{
    transform: translate(5px,-3px) rotate(12deg);
    opacity: 1;
  }
 
.hero-magazine {
    position: absolute;
    right: 0;  
    bottom: 40%; 
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(10px);  
    padding: 1rem;
    border-top-left-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
    z-index: 10;
   
}
.hero-magazine .hero-magazine-content{
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

.hero-magazine-content .hero-magazine-date{
    font-size: 15px;
    font-weight: var(--font-weight-light);
}


.hero-magazine-content .divider {
    width: 45px;
    height: 0.5px;
    background-color: var(--white);
}

.hero-magazine-content a{
    display: flex;
    gap:5px;
    margin-top:16px;
    color: var(--white);
    text-decoration: none;
}

/* Hover animasyonu: Read ikonunu hafif çapraz kaydır */
.hero-magazine-content a img{
  transition: transform 0.25s ease;
}
.hero-magazine-content a:hover img{
  transform: translate(3px,-2px) rotate(8deg);
}


  .hero-overlay {
    
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(
        to bottom, 
        rgba(3, 27, 48, 0.7),   
        rgba(3, 27, 48, 0.2)    
    );
    z-index: 1;  
}


.swiper-slide-active,
.swiper-slide-prev,
.swiper-slide-next {
    pointer-events: auto !important;
}


.hero-ghost-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 250px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    z-index: 1;
    white-space: nowrap;
    letter-spacing: 45px;
    pointer-events: none;
}



 
.hero-vertical-text {
    position: absolute;
    bottom: 2rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    z-index: 10;
}
.hero-vertical-text:last-of-type {
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: rotate(180deg) translateY(0); opacity: 0.7; }
  50% { transform: rotate(180deg) translateY(-8px); opacity: 1; }
  100% { transform: rotate(180deg) translateY(0); opacity: 0.7; }
}


.page-wrapper{
  width: 100%;
  overflow-x: hidden;
}
.hero-bg-video,
.hero-overlay {
    pointer-events: none;
}

.hero__content {
  pointer-events: auto;
  z-index: 50;
}



.news-section__navigate-buttons{
  position: relative;
  z-index: 5;
}

.news-section__navigate-buttons .btn-nav{
  background-color: rgba(9, 120, 171, 0.05);
  pointer-events: auto;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.news-section__navigate-buttons .btn-nav .icon{
  background-color: rgba(9, 120, 171, 0.15);
  transition: background-color .2s ease, transform .2s ease;
}

.news-section__navigate-buttons .btn-nav:hover,
.news-section__navigate-buttons .btn-nav:focus-visible,
.news-section__navigate-buttons .btn-nav.active{
  background-color: rgba(9, 120, 171, 0.15);
  box-shadow: 0 4px 12px rgba(9, 120, 171, 0.18);
}

.news-section__navigate-buttons .btn-nav:hover .icon,
.news-section__navigate-buttons .btn-nav:focus-visible .icon,
.news-section__navigate-buttons .btn-nav.active .icon{
  background-color:#0978AB;
  transform: translateY(-1px);
}

.news-slider {
  padding-bottom: 10px!important;
  z-index: 2!important;
  overflow: visible!important;
  margin-left: 0;
  width: calc(100% + (100vw - var(--container-width)) / 2 - var(--container-padding));
}

.news-slider .swiper-slide {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  z-index: 2;
}

@media (max-width: 768px){
  .news-slider{
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }
  .news-slider .swiper-slide{
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;
  }
  .card--article{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: none;
  }
}

.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
}

.about-section .row{
  gap:6rem;
}

.about-section  .about-section-img-wrapper{
  width: 100%;
  height: 100%;
}
.about-section  .about-section-img{
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 5px;
}


.about-section-content p{
  font-size: 18;
  font-weight: var(--font-weight-regular);
}

.about-section-content-item{
  display: flex;
  margin-bottom:15px;
}

.about-section-content-item__icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 10px;
}


 
.about-section-content-item__text {
  display: flex;
  flex-direction: column;

}
.about-section-content-item__text span {
  font-size: 16px;
  font-weight: var(--font-weight-light);
  color: var(--primary-blue-900);
}
.about-section-content-item__text strong {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  color: var(--neutral-gray-900);
  margin-bottom: 5px;

}

.about-section {
  position: relative;  
  z-index: 1;
  padding-bottom: 110px;
  overflow-x: clip; 
}

.about-section::before {
  content: '';
  background-image: url('../../assets/icons/Mediterranean_Sea_location_map_1.svg');  
  background-size: cover;
  background-position: center;
  position: absolute;
  top: -300px;  
  left: 0;
  width: 100%;
  height: calc(100% + 300px);  
  z-index: -1;  
  max-width: 100%;
}

.projects-section .project-section-header{
  display: flex;
  justify-content: space-between;
}

.projects-section .project-section-header{
  display: flex;
}

.projects-section__navigate-buttons{
  align-self: flex-end;
  margin-left: 50px;
}




.projects-section .row{
  gap:6rem;
}

.projects-section .projects-section-img{
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.projects-section__navigate-buttons button{
  background-color: rgba(9, 120, 171, 0.05);
}

.projects-section__navigate-buttons button .icon{
  background-color: rgba(9, 120, 171, 0.15);
}

.projects-section__navigate-buttons button:hover {
  background-color: rgba(9, 120, 171, 0.15);
  .icon{
    background-color:#0978AB
  }
}

.projects-section__navigate-buttons button.active {
  background-color: rgba(9, 120, 171, 0.15);
  .icon{
    background-color:#0978AB
  }
}

.countries-section{
  justify-items: center;
  margin-bottom:70px
}


.countries-section .tag-group {
  display: flex;
  flex-wrap: wrap;  
  justify-content: center;  
  gap: 20px;  
}

.countries-section .tag-link {
   
  display: inline-block;
  padding: 15px 25px;
  
   
  border-radius: 10px;  
  
   
  background-color: var(--primary-blue-700);
  color: var(--white);

   
  font-size: 22px;
  font-weight:var(--font-weight-regular);
  text-decoration: none;
  white-space: nowrap;  
  
   
  transition: all 0.2s ease-in-out;
}

.countries-section .tag-link:hover {
  background-color: var(--primary-blue-500);
  transform: translateY(-2px);  
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}



.video-gallery-section {
  position: relative; 
  padding: 80px 0;
  background-color: var(--primary-blue-900);
  background-image: url('../../assets/images/map-1.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: var(--white);
  background-color: #031B30;
  overflow: hidden; 
}

.video-gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
   
  background: linear-gradient(to top, #031B30 0%, rgba(3, 27, 48, 0) 100%);
  
   
  z-index: 1; 
}

 
.video-gallery-section .container {
    position: relative;
    z-index: 2;
}

 
.video-gallery__header {
  justify-items: center;
  text-align: center;
  margin-bottom: 40px;
  color: white;
}
.video-gallery__header span {
  color: var(--white);

}
.video-gallery__header h2 {
  color: var(--white);
}


 
.video-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 320px;  
  gap: 24px;
  align-items: start;
}

 
.video-player {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #000;
}
.video-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-in-out;
}
.video-player:hover img {
  transform: scale(1.01);
}
 
.video-player .play-button {
   
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}
 
.video-player::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.2);
  transition: background-color 0.3s;
}
.video-player:hover::after {
  background-color: rgba(0,0,0,0.4);
}

 
.main-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;  

}
 
.main-video-player .badge-overlay {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

 
.video-playlist {
 
  grid-template-columns: 1fr;  
  gap: 16px;

  max-height: 520px;  
  overflow-y: auto;  
  grid-auto-rows: calc((100% - 32px) / 3);  
  padding-right: 12px;
}

.video-playlist-wrapper{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
 
.video-playlist::-webkit-scrollbar { width: 7px; }
.video-playlist::-webkit-scrollbar-track { background: #21363D;border-radius: 10px; }
.video-playlist::-webkit-scrollbar-thumb { background: var(--accent-orange-400);border-radius: 10px; }

.playlist-item {
  position: relative;
}
.playlist-item p {
  position: absolute;
  bottom: 8px;
  left: 12px;
  right: 12px;
  font-size: 12px;
  color: var(--white);
  z-index: 5;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}



@media (max-width: 1025px) {
  .hero__categories {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hero__categories::-webkit-scrollbar{
    display: none;
  }
  .hero-category-btn{
    min-width: 280px;
    max-width: none;
    padding: 13px;
    border-radius: 14px;
  }
  .about-section .row {
    gap: 1rem;
  }
  .mt-12{
    margin-top: 50px!important;
  }
  .projects-section .row {
    gap: 1rem;
  }
  .video-gallery__grid {
    grid-template-columns: auto;
  }

  .hero__title {
    font-size: 23px;

  }
  .hero__title strong {
  
     font-size: 32px;
  }
  .hero__subtitle{
    font-size: 17px;
  }
  .hero-slider-dots{
    display: none!important;
  }

  .hero .swiper-slide .container{
    top: 50px;
    /* left: 5%!important;
    right: 5%!important;
    transform: none; */
  }

  .hero-vertical-text{
    display: none!important;
  }

  .news-section .page-header-wrapper{
    flex-direction: row;
  }
  .countries-section .tag-group{
    display: -webkit-box;
    overflow: scroll;
    scrollbar-width: none;

    position: absolute;

    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--container-width);
    padding: 0 16px;
  }

  .countries-section .tag-link {
    display: flex;
    position: relative;
    overflow: hidden;
    margin-right: 12px;
  }

  .countries-section .tag-link:last-of-type{
    margin-right: 0;
  }
}

@media (max-width: 768px){
  .video-playlist{
    display:none!important;
  }
}



/* @media (min-width: 768px) and (max-width: 1025px){
 
  .video-gallery__grid{
    grid-template-columns: 1fr;
  }

  .video-playlist{
    max-height: none!important;
    grid-auto-rows:100%!important;
    display: grid!important;
  }
  

} */
