/* =========================================================================
   ENA GROUP - PETROL (Endüstriyel Sector Theme)
   ========================================================================= */

:root {
  --bg-dark: #0A0F14; /* Derin endüstriyel mavi-siyah */
  --bg-darker: #050709;
  --bg-card: rgba(255, 255, 255, 0.02);
  --gold: #FF6B1A; /* Petrol turuncusu */
  --gold-bright: #FFB347;
  --gold-dim: rgba(255, 107, 26, 0.3);
  --text-main: #F0F2F7;
  --text-muted: rgba(240, 242, 247, 0.5);
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  --glass-bg: rgba(7, 6, 5, 0.75);
  --glass-border: rgba(255, 255, 255, 0.04);
  --glass-shadow: 0 12px 45px rgba(0, 0, 0, 0.9);
  --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.py-20 { padding-top: 6rem; padding-bottom: 6rem; }
.py-10 { padding-top: 3rem; padding-bottom: 3rem; }
.mb-12 { margin-bottom: 3.5rem; }
.mt-4 { margin-top: 1rem; }
.text-center { text-align: center; }
.muted { color: var(--text-muted); }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }
.section-heading { font-size: 2.8rem; color: var(--gold); margin-bottom: 1.5rem; position: relative; letter-spacing: 0.03em; }
.section-heading.inline-block { display: inline-block; }
.section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 1px;
  background: var(--gold);
}
.text-center .section-heading::after { left: 50%; transform: translateX(-50%); }

.section-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  transition: var(--transition);
  padding: 24px 0;
}
.site-header.scrolled {
  padding: 16px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }

/* Brand */
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-serif); letter-spacing: 0.14em; text-decoration: none; color: var(--text-main);
}
.brand-mark { color: var(--gold); font-weight: 600; font-size: 1.2rem; }
.brand-divider { width: 28px; height: 1px; background: var(--gold); opacity: 0.7; }
.brand-word { font-weight: 400; font-size: 1.1rem; }

/* Navigation */
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-main); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-btn span { display: block; width: 24px; height: 1px; background: var(--text-main); margin: 6px 0; transition: 0.3s; }

/* Hero Slider */
.hero-section {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
}
.slider-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.5s ease-in-out;
  display: flex; align-items: center;
  z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }
.slide-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transform: scale(1.08); transition: transform 7s ease-out;
  background-color: #030201;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-bg::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(3,2,1,0.85) 0%, rgba(3,2,1,0.2) 100%);
}

.slide-content {
  position: relative; z-index: 3;
  transform: translateY(40px); opacity: 0; transition: all 1s 0.5s ease-out;
}
.slide.active .slide-content { transform: translateY(0); opacity: 1; }
.slide-title { font-size: 4.8rem; margin-bottom: 12px; text-shadow: 0 4px 30px rgba(0,0,0,0.8); }
.slide-subtitle { font-size: 1.25rem; color: var(--gold); letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 30px; }

.slider-controls {
  position: absolute; bottom: 40px; right: 40px; z-index: 10;
  display: flex; align-items: center; gap: 24px;
}
.slider-btn {
  background: transparent; border: 1px solid var(--glass-border);
  width: 48px; height: 48px; border-radius: 50%;
  color: var(--text-main); cursor: pointer;
  display: flex; justify-content: center; align-items: center;
  backdrop-filter: blur(4px); transition: var(--transition);
}
.slider-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(255,255,255,0.05); }

.slider-dots { display: flex; gap: 8px; }
.slider-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2); cursor: pointer;
  transition: var(--transition);
}
.slider-dots .dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 10; cursor: pointer;
}
.scroll-indicator .mouse {
  width: 26px; height: 44px;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 15px;
  position: relative;
}
.scroll-indicator .mouse::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--gold); border-radius: 2px;
  animation: scroll-wheel 1.6s infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; top: 8px; }
  50% { opacity: 0.3; top: 16px; }
  100% { opacity: 0; top: 18px; }
}

.btn-primary {
  display: inline-block; padding: 14px 32px;
  background: var(--gold); color: #000; text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
  border-radius: 0; transition: var(--transition);
}
.btn-primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(212,175,55,0.2); }

/* Gallery Section */
.gallery-section { background-color: var(--bg-darker); position: relative; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.gallery-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-card:hover {
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.gallery-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  filter: brightness(0.9);
}
.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.08);
  filter: brightness(1.0);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0.9;
  transition: var(--transition);
}

.view-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px;
  height: 56px;
  background: rgba(212, 175, 55, 0.9);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 5;
}
.gallery-card:hover .view-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
  transition: color 0.3s;
}
.gallery-card:hover .gallery-title {
  color: var(--gold);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(3, 2, 1, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.05);
  animation: zoom-in 0.4s ease;
}
@keyframes zoom-in {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  transition: 0.3s;
  cursor: pointer;
}
.lightbox-close:hover { color: var(--gold); }

.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1000px;
  text-align: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  padding: 15px 0;
}

/* Footer */
.site-footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p { font-size: 0.9rem; color: var(--text-muted); }
.back-to-portal {
  color: var(--gold); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; transition: var(--transition);
}
.back-to-portal:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* Responsive */
@media (max-width: 991px) {
  .slide-title { font-size: 3.5rem; }
  .section-heading { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 260px; height: 100vh;
    background: var(--bg-darker); border-left: 1px solid var(--glass-border);
    flex-direction: column; padding: 80px 30px; transition: 0.4s; z-index: 100;
    display: flex;
  }
  .nav-links.active { right: 0; }
  .mobile-menu-btn { display: block; position: relative; z-index: 101; }
  .slide-title { font-size: 2.8rem; }
  .slide-subtitle { font-size: 1rem; }
  .slider-controls { right: 20px; bottom: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}
