/* =============================
   🌊 SEYİR Web Sitesi - style.css
   Tema: Açık gri degrade + mavi vurgu
============================= */

:root {
  --blue-light: #e8f4ff;
  --blue: #3d4244;       /* Tüm başlıklarda kullanılan ana vurgu rengi */
  --blue-dark: #dce1e9;  /* Açık vurgu rengi */
  --text: #1a1a1a;
  --gray-bg: linear-gradient(180deg, #f0f2f5 0%, #d8dee5 100%);
  --white: #ffffff;
}

/* Temel ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

body {
  background: var(--gray-bg);
  color: var(--text);
  overflow-x: hidden;
}

/* =============================
   🔹 Navbar
============================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(51, 52, 54, 0.65);
  backdrop-filter: blur(10px);
  padding: 12px 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.navbar .logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--blue);
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.navbar a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover,
.navbar a.active {
  color: rgb(179, 182, 187);
  font-weight: 600;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  height: 28px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}

/* =============================
   🔹 HERO Animasyonlu Arka Plan
============================= */

.hero {
  position: relative;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Arka plan animasyonu (zoom-in + hareket) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.08)),
    url('./assets/hero.png') center/cover no-repeat;
  animation: heroBgMove 12s ease-in-out infinite alternate;
  transform-origin: center;
  z-index: -1;
}

@keyframes heroBgMove {
  0% {
    transform: scale(1.05) translateX(0) translateY(0);
  }
  50% {
    transform: scale(1.12) translateX(-10px) translateY(-8px);
  }
  100% {
    transform: scale(1.15) translateX(10px) translateY(12px);
  }
}

/* Yazı bloğu animasyonu */
.hero-content {
  opacity: 0;
  transform: translateY(25px);
  animation: heroFade 1.3s ease forwards;
  animation-delay: 0.3s;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Başlık ve açıklama */
.hero-content h1,
.hero-content p {
  color: var(--blue);
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}


/* Keşfet Butonu (küçültülmüş versiyon) */
.hero-content button {
  background: var(--blue-dark);
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 0.45rem 1.2rem;      /* küçültüldü */
  border-radius: 6px;           /* daha minimal */
  font-size: 0.85rem;           /* daha küçük yazı */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    /* 🔹 Butonu 2 cm aşağı alıyoruz (yaklaşık 75px) */
  margin-top: 5px;
}

.hero-content button:hover {
  background: var(--blue);
  color: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);   /* daha küçük hover yükselmesi */
}


/* =============================
   🔹 Sections
============================= */
.section {
  padding: 100px 60px;
  text-align: center;
  background: transparent;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--blue);
}

.alt-bg {
  background: rgba(232, 244, 255, 0.6);
}

/* =============================
   🔹 Kartlar
============================= */
.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  width: 320px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  color: var(--blue);
  margin: 20px 0 10px;
}

.card p {
  padding: 0 20px 30px;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =============================
   🔹 Video & Görseller
============================= */
.media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.media video {
  width: 80%;
  max-width: 700px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery img {
  width: 280px;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* =============================
   🔹 Fiyatlandırma
============================= */
.pricing {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.price-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  width: 280px;
  transition: 0.3s;
}

.price-card.highlight {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  transform: scale(1.05);
}

.price-card h3 {
  margin-bottom: 10px;
  color: var(--blue);
}

.price-card.highlight h3 {
  color: white;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 15px 0;
}

.price-card ul {
  list-style: none;
  padding: 0;
}

.price-card li {
  margin: 8px 0;
  color: #555;
}

.price-card.highlight ul li {
  color: white;
}

/* =============================
   🔹 İletişim
============================= */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  background: var(--blue-dark);
  color: var(--blue);
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: var(--blue);
  color: var(--blue-dark);
}

/* =============================
   🔹 Footer
============================= */
footer {
  text-align: center;
  padding: 30px 0;
  background: var(--blue-dark);
  color: var(--blue);
  font-size: 0.9rem;
}

/* =============================
   🔹 Scroll Fade Animasyon
============================= */
.section,
.card,
.price-card,
.gallery img {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* =============================
   🔹 Responsive
============================= */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 25px;
  }

  .navbar ul {
    gap: 15px;
  }

  .section {
    padding: 80px 25px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .media video {
    width: 100%;
  }
}

/* 🔹 İletişim ikonları */
.contact-icons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.icon-wrapper {
  width: 64px;        /* Sabit kutu genişliği */
  height: 64px;       /* Sabit kutu yüksekliği */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;    /* Büyük görsel taşmasın */
  border-radius: 8px;  /* Hafif köşe yumuşatma */
}

.icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* Görseli kutuya göre ölçeklendir */
  object-position: center;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.icon-wrapper:hover img {
  transform: scale(1.12);
  opacity: 0.85;
}

/* =============================
   📩 Popup Mail Formu
============================= */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  display: none; /* Başta kapalı */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: white;
  padding: 25px;
  border-radius: 14px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  position: relative;
  animation: popupFade 0.3s ease;
}

.popup-box h3 {
  text-align: center;
  margin-bottom: 15px;
  color: var(--blue);
}

.popup-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-box input,
.popup-box textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.popup-box button {
  background: var(--blue);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.popup-box button:hover {
  background: #2f3234;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 26px;
  cursor: pointer;
  color: #444;
  transition: 0.2s;
}

.popup-close:hover {
  color: #000;
}

/* Açılış animasyonu */
@keyframes popupFade {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* =============================
   🔹 İLETİŞİM KARTVİZİT TASARIMI
============================= */

.contact-card {
  margin: 0 auto 30px auto;
  max-width: 360px;
  background: white;
  padding: 25px 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border: 1px solid rgba(220, 225, 233, 0.6);
  animation: contactCardFade 0.5s ease;
}

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.contact-card .name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 4px;
}

.contact-card .role {
  font-size: 0.95rem;
  color: #666;
}

/* Kart fade animasyonu */
@keyframes contactCardFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================
   📷 Görsel Popup (Lightbox)
============================= */

.img-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;             /* Başlangıçta kapalı */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(3px);
}

.img-popup-content {
  max-width: 50vw;           /* Ekranın yarısı kadar genişlik */
  max-height: 50vh;          /* Ekranın yarısı kadar yükseklik */
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  animation: popupZoom 0.3s ease;
}

.img-popup-close {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 42px;
  color: white;
  cursor: pointer;
  transition: 0.25s ease;
}

.img-popup-close:hover {
  color: #ddd;
}

/* Açılış animasyonu */
@keyframes popupZoom {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.gallery img {
  width: 280px;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer; /* 🔹 tıklanabilir imleç */
}

.gallery img:hover {
  transform: scale(1.05);           /* 🔹 hafif büyüme */
  opacity: 0.9;                     /* 🔹 hafif parlaklık */
  box-shadow: 0 6px 18px rgba(0,0,0,0.25); /* 🔹 küçük blur gölge */
}

/* Mobilde tam ekran popup */
@media (max-width: 768px) {
  .img-popup-content {
    max-width: 95vw !important;
    max-height: 80vh !important;
    border-radius: 10px;
  }
}


