/* WORLD-CLASS ALDRICH MARITIME NIGHT / INSTRUMENTATION THEME */

:root {
  --navy: #020B19;       /* Deepest Ocean Night */
  --off-navy: #071224;   /* Secondary Navy (for cards/sections) */
  --white: #FFFFFF;
  --text-main: #E2E8F0;  /* Main body text */
  --text-light: #94A3B8; /* Subtext */
  --accent: #0EA5E9;     /* Cyan/Aqua highlight, denizcilik radarı/gösterge rengi */
  
  --font-global: 'Aldrich', sans-serif;
}

body {
  font-family: var(--font-global);
  font-weight: 400;
  color: var(--text-main);
  background-color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Sidebar İptal */
#header.header { display: none !important; }
main, .footer { margin-left: 0 !important; }

/* 1. Ultra-Clean Transparent Navbar */
.premium-nav {
  position: absolute;
  top: 0; left: 0; width: 100%;
  padding: 30px 5%;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}
.premium-nav.scrolled {
  position: fixed;
  background: rgba(2, 11, 25, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  border-bottom: 1px solid rgba(14, 165, 233, 0.15); /* Hafif cyan çizgi */
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.premium-nav .logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}
.premium-nav ul {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 40px;
}
.premium-nav ul li a {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
}
.premium-nav ul li a:hover { color: var(--accent); }

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.mobile-toggle .bar {
  width: 25px; height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .mobile-toggle { display: flex; }
  .premium-nav ul {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(2, 11, 25, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 1000;
  }
  .premium-nav ul.active {
    opacity: 1;
    pointer-events: all;
  }
  .premium-nav ul li a { font-size: 20px; }
}

/* 2. Hero Section */
.hero-premium {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.bg-slideshow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.bg-slideshow .carousel-item {
  transition: opacity 2.5s ease-in-out !important;
}
.bg-slideshow img {
  object-fit: cover;
  animation: slowZoom 20s linear infinite alternate;
}
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}
.hero-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Teknolojik denizaltı / gece marin seyri hissiyatı */
  background: linear-gradient(180deg, rgba(2,11,25,0.4) 0%, rgba(2,11,25,1) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  padding: 0 20px;
}
.hero-content h1 {
  font-family: var(--font-global);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: 4px;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-content p {
  font-family: var(--font-global);
  font-size: 20px;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--accent);
}

@media (max-width: 768px) {
  .hero-content p {
    font-size: 13px;
    letter-spacing: 3px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .hero-content p span {
    display: none; /* Hide the pipe separator on mobile */
  }
  .hero-content h1 {
    font-size: 3rem;
    letter-spacing: 2px;
  }
  .hero-premium {
    height: 70vh;
    min-height: 500px;
    background-color: transparent;
  }
  .bg-slideshow img {
    object-fit: cover !important;
    object-position: center center !important;
  }
}

/* Scroll Ind */
.scroll-down-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  z-index: 3;
}
.scroll-down-indicator span {
  font-family: var(--font-global);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  opacity: 0.8;
}
.scroll-down-indicator .line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.scroll-down-indicator .line::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 1px; height: 100%;
  background: var(--accent);
  animation: scrollDownDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
@keyframes scrollDownDrop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* 3. Section Titles */
.section-premium { padding: 120px 0; }
.title-wrapper { margin-bottom: 80px; }
.title-wrapper span {
  font-family: var(--font-global);
  display: block;
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 400;
  margin-bottom: 15px;
}
.title-wrapper h2 {
  font-family: var(--font-global);
  font-size: 48px;
  color: var(--white);
  font-weight: 400;
  line-height: 1.2;
}

/* 4. The Editorial Story */
.editorial-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.editorial-text {
  width: 48%;
  padding-right: 5%;
}
.editorial-text p {
  font-family: var(--font-global);
  font-size: 16px;
  line-height: 2;
  color: var(--text-main);
  margin-bottom: 25px;
  font-weight: 400;
}
.editorial-image {
  width: 45%;
  position: relative;
}
.editorial-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: -20px 20px 0px rgba(0,0,0,0.5); /* Derin gölge */
  border-radius: 4px;
}
.editorial-image::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 120px; height: 120px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
  z-index: 2;
}

@media (max-width: 991px) {
  .editorial-wrapper { flex-direction: column; }
  .editorial-text { width: 100%; margin-bottom: 50px; padding: 0; }
  .editorial-image { width: 100%; padding-left: 20px; padding-top: 20px; }
}

/* 5. The Fleet (Slider Mode) */
  .fleet-slide {
    position: relative;
    height: 65vh; /* Dinamik yükseklik */
    min-height: 450px;
    background-color: #01060D; /* Görselleri saran lüks keskin zemin */
  }
  .fleet-slide img {
    width: 100%;
    height: 100%;
    padding: 0 5vw; /* Sağdan soldan nefes payı bırakarak ortalar */
    object-fit: contain; /* Görseli ASLA kırpmaz, tam oranında sığdırır (Akıllı Gösterim) */
    filter: brightness(0.8);
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  .fleet-slide:hover img { 
    transform: scale(1.03); 
    filter: brightness(0.9); 
  }
  .fleet-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2,11,25,1) 0%, transparent 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    pointer-events: none;
  }
  .fleet-overlay h3 {
    color: var(--white);
    font-family: var(--font-global);
    font-size: 42px;
    font-weight: 400;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
  }
  .fleet-overlay p {
    color: var(--accent);
    font-family: var(--font-global);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
    font-weight: 400;
  }
  /* Özel İndikatörler (Beyaz ve Cyan) */
  .carousel-indicators [data-bs-target] {
    width: 40px;
    height: 3px;
    background-color: var(--white);
    opacity: 0.3;
    margin: 0 5px;
    border: none;
  }
  .carousel-indicators .active {
    background-color: var(--accent);
    opacity: 1;
  }

/* 6. Ghost Border Services */
.services-premium {
  background-color: var(--off-navy);
  padding: 120px 5%;
}
.service-card {
  background: linear-gradient(145deg, #071224, #040915);
  padding: 40px;
  height: 100%;
  border-radius: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 15px 15px 35px rgba(0,0,0,0.6), -5px -5px 15px rgba(255,255,255,0.02);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .service-card {
    padding: 25px 20px;
  }
  .section-premium {
    padding: 60px 0;
  }
}
.service-card::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.4s;
}
.service-card:hover {
  background: linear-gradient(145deg, #08152a, #050d1d);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 20px 20px 50px rgba(0,0,0,0.9), -5px -5px 25px rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.4);
}
.service-card:hover::after { width: 100%; }
.service-card h4 {
  font-family: var(--font-global);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 1px;
}
.service-card p {
  font-family: var(--font-global);
  color: var(--text-light); /* Karanlıkta göz yormasın */
  line-height: 1.8;
  font-size: 14px;
  font-weight: 400;
}

/* 10. Global 3D Elements */
.carousel-inner, .editorial-image img {
  border-radius: 12px !important;
  box-shadow: 20px 20px 50px rgba(0,0,0,0.8), -8px -8px 25px rgba(255,255,255,0.04) !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  border-left: 1px solid rgba(255,255,255,0.05) !important;
}

/* 7. Footer */
.footer-premium {
  background-color: #01060D;
  padding: 40px 0;
  text-align: center;
  color: var(--text-light);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-premium p {
  font-family: var(--font-global);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  font-weight: 400;
}

/* 8. APPDEVELOPER LED SHINE EFFECT */
.appdeveloper-link {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  color: var(--text-light) !important;
}

.appdeveloper-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.9), transparent);
  transform: skewX(-25deg);
  mix-blend-mode: screen;
  z-index: 1;
  pointer-events: none;
}

.appdeveloper-link:hover {
  opacity: 1;
  color: var(--white) !important;
  text-shadow: 0 0 10px rgba(14, 165, 233, 0.8);
}

.appdeveloper-link:hover::before {
  animation: ledSweep 1s ease-in-out infinite;
}

@keyframes ledSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

.appdeveloper-link svg {
  transition: filter 0.3s ease, stroke 0.3s ease;
}
.appdeveloper-link:hover svg {
  filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.9));
  stroke: var(--white);
}

/* 11. Custom GTranslate Styling */
.gtranslate_wrapper img {
  filter: grayscale(30%) opacity(0.9) !important;
  border-radius: 4px !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin: 0 5px;
  cursor: pointer;
}
.gtranslate_wrapper img:hover {
  filter: grayscale(0%) opacity(1) !important;
  transform: scale(1.2);
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.5);
}
