/* 
   ARMADA GEMICILIK - LUXURY INDEX PAGE CSS
   Overrides and Custom Layouts 
*/

/* Hero Section */
.hero-luxury {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--brand-primary);
  overflow: hidden;
}

.hero-luxury video, .hero-luxury img.bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-luxury-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-luxury-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  padding: 0 34px 0px 24px;
  margin-left: 8%;
  border-left: 2px solid #ffffff;
}

.hero-luxury-label {
  display: inline-block;
  padding: 8px 16px;
  border-left: 2px solid var(--brand-accent);
  color: #ffffff;
  font-family: var(--font-body-family);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 30px;
  font-weight: 600;
}

.hero-luxury-title {
  font-family: var(--font-h-family);
  font-size: clamp(48px, 6vw);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
  font-size:65px;
}

.hero-luxury-desc {
  font-family: var(--font-body-family);
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions-lux {
  display: flex;
  gap: 20px;
}

/* Stats Section Luxury */
.stats-luxury {
  background-color: var(--brand-primary);
  padding: 44px 0;
  border-bottom: 1px solid rgba(196, 155, 85, 0.2);
}

.stats-lux-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-lux-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stat-lux-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: rgba(196, 155, 85, 0.3);
}

.stat-lux-num {
  font-family: var(--font-h-family);
  font-size: 56px;
  font-weight: 800;
  color: var(--brand-accent);
  margin-bottom: 10px;
}

.stat-lux-lbl {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* About Luxury */
.about-luxury {
  padding: 52px 0;
  background-color: #fff;
}

.about-lux-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.about-lux-img {
  position: relative;
  height: min(520px, 56vw);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 31, 56, 0.1);
}

.about-lux-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-lux-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background-color: var(--brand-accent);
  z-index: -1;
}

.about-lux-content {
  padding-right: 40px;
}

.about-lux-content h2 {
  font-size: 40px;
  margin-bottom: 30px;
}

.about-lux-content p {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Services Luxury Cards */
.services-luxury {
  padding: 52px 0;
  background-color: var(--surface);
}

.services-lux-header {
  text-align: center;
  margin-bottom: 32px;
}

.srv-lux-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.index-news-category {
  margin-bottom: 10px;
  font-size: 12px;
  padding: 4px 8px;
  color: var(--brand-primary);
  border-color: var(--brand-accent);
  background: rgba(196, 155, 85, 0.12);
}

.srv-lux-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.4s ease;
  position: relative;
  padding: 32px 26px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.srv-lux-card:hover {
  transform: translateY(-10px);
}

.srv-lux-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.srv-lux-card:hover::before {
  transform: scaleX(1);
}

.srv-lux-icon {
  color: var(--brand-accent);
  margin-bottom: 24px;
}

.srv-lux-title {
  font-family: var(--font-h-family);
  font-size: 24px;
  color: var(--brand-primary);
  margin-bottom: 16px;
}

.srv-lux-desc {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
}

.srv-lux-arrow {
  color: var(--brand-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Projects Luxury */
.projects-luxury {
  padding: 52px 0;
  background: var(--brand-primary);
  color: #fff;
}

/* Öne Çıkan Projeler başlığının kapsayıcısını kartlarla aynı hizaya getirir */
.projects-luxury .container {
  max-width: 1500px !important;
  /* Alt boşluğu sıfırlamaması için margin ayarlarını ayırdık: */
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 40px !important; /* Kartlarla yazı arasına 40px boşluk ekledik */
  padding: 0 32px !important;
}

.proj-lux-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px; 
  max-width: 1500px; 
  margin: 0 auto;
  padding: 0 32px; 
}

.proj-lux-item {
  position: relative;
  height: 500px; 
  overflow: hidden;
  text-decoration: none;
  display: block;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.proj-lux-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.proj-lux-item:hover img {
  transform: scale(1.1);
}

.proj-lux-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(15,31,56,0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.proj-lux-tag {
  color: var(--brand-accent);
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.proj-lux-title {
  font-family: var(--font-h-family);
  font-size: 28px;
  color: #fff;
  margin-bottom: 0;
}

/* Short Gallery */
.gallery-short-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-short-item {
  position: relative;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}
.gallery-short-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-short-item:hover img {
  transform: scale(1.1);
}
.gallery-short-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 31, 56, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-short-overlay span {
  color: #fff;
  font-family: var(--font-h-family);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 0 20px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.gallery-short-item:hover .gallery-short-overlay {
  opacity: 1;
}
.gallery-short-item:hover .gallery-short-overlay span {
  transform: translateY(0);
}

/* References & partner visuals */
.references-section {
  background-color: var(--surface);
  padding: 44px 0;
}
.ref-logo-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ref-logo-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  min-height: 98px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ref-logo-item:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 155, 85, 0.45);
  box-shadow: var(--shadow-md);
}
.ref-logo-item img {
  max-width: 100%;
  max-height: 44px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.78;
}
.ref-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.ref-note {
  margin-top: 14px;
  color: rgba(15, 31, 56, 0.58);
  font-size: 13px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.services-lux-footer {
  margin-top: 36px;
}

/* Responsive */
@media (max-width: 1024px) {
  .srv-lux-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-lux-container {
    grid-template-columns: 1fr;
  }
  .proj-lux-grid {
    grid-template-columns: 1fr;
  }
  .stats-lux-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .stat-lux-item:not(:last-child)::after {
    right: 50%;
    top: auto;
    bottom: -30px;
    height: 1px;
    width: 60px;
    transform: translateX(50%);
  }
  .gallery-short-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .srv-lux-grid {
    grid-template-columns: 1fr;
  }
  .gallery-short-grid {
    grid-template-columns: 1fr;
  }
  .ref-logo-grid {
    grid-template-columns: 1fr;
  }
  .hero-luxury-content {
    top: -30px;
    margin-left: 0;
    padding: 0 12px 34px;
    border-left: none;
  }
  .hero-luxury-title {
    font-size: clamp(30px, 8vw, 42px);
  }
  .hero-luxury-desc {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .hero-actions-lux {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions-lux .btn {
    width: 100%;
  }
}


/* =========================================
   LIGHTBOX (GALERİ BÜYÜTME) TASARIMI
========================================= */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(9, 20, 31, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}
.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-content-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease;
}
.lightbox-caption {
    color: #fff;
    margin-top: 20px;
    font-family: var(--font-h-family);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
}

/* Lightbox Butonları */
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    color: white;
    cursor: pointer;
    z-index: 10000;
    transition: background 0.3s ease, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: var(--brand-accent); /* Üzerine gelince Gold rengi alır */
    transform: scale(1.1);
}
.lightbox-close {
    top: 30px;
    right: 40px;
    font-size: 28px;
}
.lightbox-prev {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-next {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-prev:hover, .lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Mobil Görünüm (Responsive) */
@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px; height: 40px; font-size: 24px;
    }
    .lightbox-prev { left: 10px; width: 40px; height: 40px; }
    .lightbox-next { right: 10px; width: 40px; height: 40px; }
    .lightbox-img { max-height: 70vh; }
    .lightbox-caption { font-size: 15px; }
}