@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Poppins:wght@500;700&display=swap');

:root {
  --primary-color: #0b6bc7; /* Güven veren mavi */
  --secondary-color: #00b4d8; /* Ferah su mavisi */
  --accent-color: #ff9100; /* Dikkat çekici turuncu */
  --bg-light: #f4f7f6;
  --bg-white: #ffffff;
  --text-dark: #1a1a24;
  --text-muted: #5a6270;
  
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(11, 107, 199, 0.1);
  --shadow-lg: 0 16px 32px rgba(11, 107, 199, 0.15);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* BUTONLAR */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: #0957a3;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: var(--accent-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background: #e68300;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
}

.navbar .logo span {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(11, 107, 199, 0.7), rgba(0, 180, 216, 0.6)), url('../assets/images/hero_carpet.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
  margin-top: 0;
}

.hero-content {
  max-width: 800px;
  color: white;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* SECTION PADDING */
.section-padding {
  padding: 80px 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* FEATURES (Neden Biz) */
.features-section {
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature-item {
  padding: 30px 20px;
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--bg-light);
}

.feature-item:hover {
  background: var(--primary-color);
  color: white;
}

.feature-item:hover h3, .feature-item:hover p {
  color: white;
}

.feature-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.feature-item:hover .feature-icon {
  color: white;
}

/* CTA */
.cta-section {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 60px 5%;
}

.cta-section h2 {
  color: white;
  margin-bottom: 20px;
}

/* FOOTER */
.footer {
  background: #111827;
  color: #fff;
  padding: 60px 5% 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.footer-col p, .footer-col a {
  color: #9ca3af;
  margin-bottom: 10px;
  display: block;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #374151;
  color: #9ca3af;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    gap: 40px;
    font-size: 1.5rem;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

/* ANIMASYONLAR */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* HEADER BACKGROUND ON SCROLL */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 10px 5%;
}

/* =========================================
   GALERİ & LİGHTBOX (ÇALIŞMALARIMIZ & TESİSİMİZ)
========================================= */
.gallery-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, #ebf4fc 100%);
  position: relative;
  overflow: hidden;
}

.gallery-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(11, 107, 199, 0.1);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 30px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(11, 107, 199, 0.08);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(11, 107, 199, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 26px;
  margin-top: 40px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-card {
  border-radius: 18px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, opacity 0.3s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(11, 107, 199, 0.18);
}

.gallery-card.hidden {
  display: none;
}

.gallery-card-inner {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #111827;
}

.gallery-card-inner img, 
.gallery-card-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.gallery-card:hover .gallery-card-inner img, 
.gallery-card:hover .gallery-card-inner video {
  transform: scale(1.08);
}

.gallery-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.photo-tag {
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary-color);
}

.video-tag {
  background: rgba(255, 145, 0, 0.92);
  color: white;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 25, 45, 0.92) 0%, rgba(11, 25, 45, 0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  z-index: 3;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.overlay-content {
  color: white;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.gallery-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h4 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.overlay-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.overlay-icon {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 180, 216, 0.4);
}

/* =========================================
   LİGHTBOX MODAL STİLLERİ
========================================= */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 25, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightbox-content {
  position: relative;
  z-index: 10001;
  max-width: 90vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-media-container {
  max-width: 85vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65);
  background: #050810;
}

.lightbox-media-container img, 
.lightbox-media-container video {
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lightbox-info {
  margin-top: 16px;
  text-align: center;
  color: white;
}

.lightbox-counter {
  font-size: 0.85rem;
  color: var(--secondary-color);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.lightbox-title {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 4px;
}

.lightbox-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary-color);
  transform: scale(1.1);
  border-color: transparent;
}

.lightbox-close {
  top: -55px;
  right: 0;
}

.lightbox-prev {
  left: -70px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* LIGHTBOX & GALLERY MOBİL UYUM */
@media (max-width: 992px) {
  .lightbox-prev {
    left: 15px;
  }
  .lightbox-next {
    right: 15px;
  }
  .lightbox-close {
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gallery-card-inner {
    height: 280px;
  }
  .lightbox-media-container {
    max-width: 95vw;
    max-height: 65vh;
  }
  .lightbox-media-container img, 
  .lightbox-media-container video {
    max-width: 95vw;
    max-height: 65vh;
  }
  .lightbox-title {
    font-size: 1.15rem;
  }
}

