/* ----------------------------------- */
/* 1. TEMEL AYARLAR VE FONT */
/* ----------------------------------- */
:root {
    /* Default Fallback Colors */
    --primary-color: #087df3;
    --accent-color: #FF6B6B;
    --text-color: #262626;
    --text-secondary: #555555;
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --card-bg: #ffffff;
    --input-bg: #ffffff;
    --border-color: #e0e0e0;
    --nav-bg: rgba(255, 255, 255, 0.8);
    --dark-color: #1d1d1f; /* Legacy support */
    --light-color: #f5f5f7; /* Legacy support */
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--bg-color);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--text-color);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: var(--primary-color);
}

.social-link.liquid-bg {
    overflow: hidden;
    position: relative;
}

.social-link i {
    z-index: 1;
}
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 56px;
      width: 100%;
  height: 100%;
  overflow-x: hidden;
  touch-action: manipulation; /* Navbar boşluğu */
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* ----------------------------------- */
/* 2. SABİT GÖRÜNÜR NAVBAR */
/* ----------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  height: 60px;
  /* Desktop: subtle glass navbar (reverting global transparency) */
  background-color: var(--nav-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.4s ease;
}

/* Android-specific: make navbar & mobile menu transparent on Android devices */
.os-android .navbar {
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
}

.os-android .nav-links {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.navbar .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 100%; 
}

.nav-button {
    background: var(--primary-color);
    color: #ffffff;
    padding: 8px 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
}

.coming-soon {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.soon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.nav-button.liquid-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}
.nav-logo { 
  font-size: 1.4rem; 
  font-weight: 1000; 
  color: var(--text-color); 
  text-decoration: none; 
  transition: all 0.1s ease;
  background: transparent;
  padding: 4px 6px;
  border-radius: 200px;
}

.nav-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a { 
  margin: 10px; 
  color: var(--text-color); /* button/link text: dark (black-like) */
  text-decoration: none; 
  font-size: 0.95rem; 
  transition: all 0.3s ease;
  padding: 10px 20px;
  border-radius: 360px;
  position: relative;
  white-space: nowrap;
}

.nav-links a.liquid-bg {
  /* Restore nav link appearance: transparent by default so the link looks like text
     while keeping the liquid/blob behavior available for other elements. */
  background: transparent;
  color: var(--text-color);
  transition: all 0.25s ease;
}
.nav-links a.liquid-bg:hover {
    /* subtle tint on hover for affordance without full fill */
    background: rgba(8,125,243,0.06);
    color: var(--primary-color);
    box-shadow: none;
    transform: translateY(-2px);
}

/* Make button-like elements use correct text color */
.liquid-btn,
.liquid-bg,
.cta-button {
    /* Base text color should be appropriate for the button background or context */
    /* By default, use theme text color if background is transparent, or contrast if filled */
    color: var(--text-color);
}

/* Explicit overrides for filled primary buttons */
.nav-links a.nav-button,
.nav-links a.coming-soon,
.submit-btn,
.create-post-btn,
.social-link:hover {
    color: #ffffff !important; /* Always white on primary color */
}

/* Specific fix for nav-buttons - ensure primary color background with white text */
.nav-button { 
  background: var(--primary-color); 
  color: #ffffff;
}

/* Fix for liquid-bg links in navbar (like "Ana Sayfa") */
.nav-links a.liquid-bg {
  color: var(--text-color) !important;
}

.nav-links a.liquid-bg:hover,
.nav-links a.liquid-bg.active {
    color: var(--primary-color);
    font-weight: 600; /* Slight bold to indicate active/hover better */
}

/* Ensure filled buttons always have readable text */
.nav-links a.nav-button,
.nav-links a.coming-soon {
    color: #ffffff !important;
}

@media (max-width: 768px) {
.nav-links {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 20px;
  flex-direction: column;
  gap: 15px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  border-bottom: 1px solid var(--border-color);
}

.nav-links.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (min-width: 769px) {
  .nav-links {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    flex-direction: row;
    padding: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 1.1rem;
        margin: 5px 0;
    }
}

/* Nav buttons should use primary color background with white text */
.nav-links a.nav-button.liquid-bg {
  background: var(--primary-color) !important;
  color: #ffffff !important;
}

.dark-bg .nav-links a.liquid-bg:hover {
    background: var(--primary-color);
    color: var(--bg-color) !important;
}

.nav-button { 
  background: var(--primary-color); 
  color: #ffffff; 
  padding: 8px 16px; 
  border-radius: 20px; 
  font-weight: 500;
  text-decoration: none; 
  transition: all 0.25s ease; 
}
.nav-button:hover { 
  filter: brightness(0.95);
  transform: translateY(-2px);
}

/* Make the primary CTAs (Bize Katılın and YAKINDA!) use the primary color */
.nav-links a.nav-button,
.nav-links a.coming-soon {
  background: var(--primary-color) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(8,125,243,0.12);
}
.nav-links a.nav-button:hover,
.nav-links a.coming-soon:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

/* On very small screens keep the filled look but full-width */
@media (max-width: 768px) {
  .nav-links a.nav-button,
  .nav-links a.coming-soon {
    background: var(--primary-color) !important;
    color: #fff !important;
    width: 100%;
  }
}

/* Desktop optimizations */
@media (min-width: 769px) {
  .nav-links { gap: 18px; }
  .nav-links a { padding: 10px 18px; font-size: 1rem; }
  .nav-links a:hover { transform: translateY(-2px); }
  .menu-toggle { display: none; }
}

/* Android / touch optimizations: larger tap targets and spacing */
.os-android .nav-links a {
  padding: 14px 22px;
  font-size: 1.05rem;
  border-radius: 14px;
}
.os-android .menu-toggle span { background: var(--text-color); }

/* Ensure focus states are visible and accessible */
.nav-links a:focus-visible { outline: 3px solid rgba(8,125,243,0.18); outline-offset: 3px; }

/* ------------------------------------------------------------------ */
/* Disable liquid/glass hover effect when pointer approaches buttons  */
/* Keeps static backgrounds but prevents the hover blob/highlight.   */
/* This targets pointer-capable devices (mouse) and preserves focus. */
/* ------------------------------------------------------------------ */
@media (hover: hover) and (pointer: fine) {
  /* Prevent CSS-only hover highlight */
  .liquid-bg:hover::before,
  .liquid-bg.is-pressed::before {
    opacity: 0 !important;
    transform: none !important;
  }

  /* Prevent blob visibility on hover if any exists */
  .liquid-btn:hover .liquid-blob,
  .liquid-btn.is-pressed .liquid-blob {
    opacity: 0 !important;
    transform: none !important;
  }
}

/* ----------------------------------- */
/* 3. GENEL BÖLÜM STİLLERİ */
/* ----------------------------------- */
.section, .section-container {
    padding: 100px 20px;
    overflow: hidden;
}
.light-bg { background-color: var(--bg-color); }
.dark-bg { background-color: var(--bg-secondary); color: var(--text-color); }
.cta-bg { background-color: var(--bg-secondary); }

/* ----------------------------------- */
/* 4. BÖLÜM 1: HERO (LOGO) */
/* ----------------------------------- */
.hero-section {
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    height: calc(100vh - 56px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--bg-secondary);
}
.hero-section .section-content { position: relative; z-index: 3; margin-bottom: 0; }
.hero-logo {
  width: min(80%, 650px);
  min-height: 60;
  height: auto;
  margin-bottom: 30px;
  transform: scale(2);
  transition: transform 0.6s ease-out;
}
.hero-title { font-size: 5rem; font-weight: 700; margin: 0; letter-spacing: -2px; color: var(--text-color); }
.hero-subtitle { font-size: 2rem; font-weight: 400; margin: 10px 0 30px 0; color: var(--text-secondary); }

/* ----------------------------------- */
/* 5. BÖLÜM 2: HAKKIMIZDA */
/* ----------------------------------- */

.section-content-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.split-content { flex-basis: 50%; flex-grow: 1; }
.text-left { text-align: left; }
.text-left .section-paragraph { margin-left: 0; margin-right: 0; max-width: 100%; }

/* Desktop: Video on the side */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 50px;
    box-shadow: 0 1px 30px rgba(0,0,0,0.1);
}
.video-container iframe { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    display: block; 
    border: 0; 
}

/* Mobile: video full width below text */
@media (max-width: 768px) {
  .video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* ----------------------------------- */
/* 6. BÖLÜM 3: DİSİPLİN KARTLARI */
/* ----------------------------------- */
.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin: 60px auto;
    max-width: 1400px;
    overflow: hidden;
    color: var(--text-color);
    transition: all 0.5s ease-in-out;
  }
  
  .feature-card:nth-of-type(even) {
    grid-template-areas: "image text";
  }
  
  .feature-card:nth-of-type(even) .feature-text {
    grid-area: text;
  }
  
  .feature-card:nth-of-type(even) .feature-image {
    grid-area: image;
  }
  
  .feature-text {
    padding: 60px;
    text-align: left;
  }
  
  .feature-image {
    width: 100%;
    height: 100%;
  }
  
  .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .feature-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
  }
  
  .feature-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 10px 0;
    color: var(--text-color);
  }
  
  .feature-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 400px;
  }
  
  .dark-bg .section-title {
    color: var(--text-color);
  }
  
  .dark-bg .section-eyebrow {
    color: var(--primary-color);
  }


/* ----------------------------------- */
/* 7. GENEL İÇERİK STİLLERİ (Başlık, Buton vs) */
/* ----------------------------------- */
.section-eyebrow { font-size: 1.1rem; color: var(--primary-color); font-weight: 600; margin-bottom: 10px; }
.section-title { font-size: 3rem; font-weight: 600; margin-top: 0; margin-bottom: 20px; letter-spacing: -1px; color: var(--text-color); }
.section-paragraph { font-size: 1.2rem; max-width: 700px; margin: 0 auto 15px auto; color: var(--text-secondary); }
.cta-button { background-color: var(--primary-color); color: #fff; padding: 12px 28px; border-radius: 30px; text-decoration: none; font-size: 1.1rem; font-weight: 500; transition: all 0.3s ease; display: inline-block; }
.cta-button:hover { background-color: var(--primary-color); /* keep same color on hover */ }
.cta-button-light { background-color: var(--card-bg); color: var(--primary-color); padding: 12px 28px; border-radius: 30px; text-decoration: none; font-size: 1.1rem; font-weight: 500; transition: background-color 0.3s ease; display: inline-block; }
.cta-button-light:hover { background-color: var(--card-bg); /* keep same color on hover */ }

/* ----------------------------------- */
/* LIQUID BUTTON (Reusable) */
/* Add class `liquid-btn` to any <a> or <button> to get the liquid blob effect. */
/* ----------------------------------- */
.liquid-btn {
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  /* keep existing visual style, let existing classes control colors */
  /* default small scale (will be overridden by JS per-element) */
  --scale: 0.15;
}
.liquid-btn:focus { outline: none; }

/* Accessibility: visible focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

.liquid-blob {
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
  /* Reduced default size so the glass/liquid feels subtler */
  width: var(--size, 110px);
  height: var(--size, 110px);
  /* use a base scale so JS can animate to a larger --scale on hover */
  transform: translate(-50%, -50%) scale(var(--base-scale, 0.15));
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(49, 49, 49, 0.55) 0%, rgba(255,255,255,0.25) 25%, rgba(255,255,255,0.08) 50%, transparent 60%);
  opacity: 0;
  transition: transform 360ms cubic-bezier(.2,1,.3,1), opacity 280ms ease;
  mix-blend-mode: screen;
  will-change: transform, opacity, left, top;
}

.liquid-btn:hover .liquid-blob,
.liquid-btn.is-pressed .liquid-blob { /* show on hover or while pressed */
  opacity: 1;
  transform: translate(-50%, -50%) scale(var(--scale, 1));
}

.liquid-btn:active { transform: scale(0.995); }

/* Light variant tweaks when used on light backgrounds */
.liquid-btn.liquid--light .liquid-blob {
  background: radial-gradient(circle at 30% 30%, rgba(0,0,0,0.08) 0%, rgba(255, 253, 253, 0.04) 25%, rgba(0,0,0,0.02) 50%, transparent 60%);
  mix-blend-mode: normal;
}

/* Small buttons */
.liquid-btn.small .liquid-blob { width: var(--size, 70px); height: var(--size, 70px); }

/* ----------------------------------- */
/* LIQUID BACKGROUND (applies to button backgrounds)
   Use class `liquid-bg` — JS will set --x / --y (px) and toggle .is-pressed
   Works well on buttons and anchors. */
.liquid-bg {
  position: relative;
  overflow: hidden;
  --scale: 0.1;
  background: var(--primary-color);
  color: var(--bg-color) !important;
  transition: all 0.5s ease;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.liquid-bg:hover {
  background: var(--primary-color);
  filter: brightness(0.95);
}

.liquid-bg::before {
  content: '';
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  transform: translate(-50%, -50%) scale(var(--scale, 1));
  width: var(--size, 110px);
  height: var(--size, 110px);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, 
    rgba(255,255,255,0.1) 0%, 
    rgba(255,255,255,0.1) 25%, 
    rgba(255,255,255,0.1) 50%, 
    transparent 60%
  );
  opacity: var(--opacity, 0);
  transition: transform 320ms cubic-bezier(.2,1,.3,1), opacity 260ms ease;
  mix-blend-mode: normal;
  z-index: 0; /* keep highlight behind the text/content */
  will-change: transform, opacity, left, top;
}

.liquid-bg:hover::before,
.liquid-bg.is-pressed::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(var(--scale, 1));
}

/* variant for light backgrounds where a dark soft blob is preferred */
.liquid-bg.liquid--dark::before {
  background: radial-gradient(circle at 30% 30%, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.06) 25%, rgba(0,0,0,0.02) 50%, transparent 60%);
  mix-blend-mode: normal;
}

/* smaller size option */
.liquid-bg.small::before { --size: 70px; }

/* Respect user's reduced motion preference (disable transitions/animations) */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .liquid-blob,
  .liquid-bg::before,
  .flip-card-inner,
  .gallery-item {
    transition: none !important;
    animation: none !important;
  }
  .hero-logo { transition: none !important; }
}




/* ----------------------------------- */
/* 8. BÖLÜM 4: GALERİ (DOCK + FLIP + ENLARGE BTN) */
/* ----------------------------------- */
.gallery-scroll-wrapper {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    cursor: grab;
    perspective: 1500px;
    transform-style: preserve-3d;
      overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  will-change: transform;
}
.gallery-scroll-wrapper::-webkit-scrollbar {
    display: none;
    height: 8px;
    background: #ccc;
    border-radius: 4px;
    scrollbar-width: thin;
    scrollbar-color: #ccc #eee;
}
.gallery-grid {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    width: max-content;
    align-items: center;
      display: flex;
  scroll-snap-align: start;
}
.gallery-item {
    flex-shrink: 0;
    width: clamp(260px, 38vw, 450px); /* responsive width for desktop and mobile */
    height: clamp(200px, 38vw, 450px); /* keep square-ish responsive */
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transition: transform 0.5s ease-out;
    opacity: 2;
    perspective: 900px;
    cursor: default;
      scroll-snap-align: center;
  backface-visibility: hidden;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 10px;
}
.gallery-item:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}
.flip-card-front {
    background-color: var(--card-bg);
    color: var(--text-color);
    /* position: relative; Artık ön yüzde buton yok */
}
.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    /* filter ve cursor artık ön yüzde hover'da değişmeyecek */
    /* transition: filter 0.3s ease; */
    cursor: default;
}

/* YENİDEN DÜZENLENMİŞ Büyüt Butonu stilleri */
    .enlarge-button {
        background-color: rgba(255, 255, 255, 0.2);
        color: #fff;
        border: 1px solid rgba(255,255,255,0.4);
        border-radius: 25px; /* Biraz daha yuvarlak oval */
        padding: 8px 20px; /* Padding artırıldı */
        font-size: 0.95rem; /* Yazı boyutu artırıldı */
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px; /* İkon ile metin arasına boşluk artırıldı */
        transition: background-color 0.3s ease, border-color 0.3s ease;
        margin-top: 20px; /* Arka yüzdeki diğer içerikten ayırmak için biraz daha boşluk */
}
.enlarge-button:hover {
    background-color: rgba(255, 255, 255, 0.4); /* Hover'da daha belirgin */
    border-color: rgba(255,255,255,0.6);
}

/* Ön yüze hover efekti artık olmayacak */
/* .gallery-item:hover .flip-card-front img { filter: brightness(0.7); } */
/* .gallery-item:hover .enlarge-button { opacity: 1; visibility: visible; } */


.flip-card-back {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
    /* İçerik hizalamasını korumak için flexbox zaten var */
}
.flip-card-back h4 { margin-top: 0; font-size: 1.3rem; color: #fff; }
.flip-card-back p { font-size: 0.9rem; margin-bottom: 15px; line-height: 1.4; max-width: 90%; }
/*   */
/*
.details-button {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.4);
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.details-button:hover {
    background-color: rgba(255,255,255,0.4);
}
*/

/* ----------------------------------- */
/* 9. BÖLÜM 5: CTA VE FOOTER */
/* ----------------------------------- */
.invitation-text { font-size: 1.2rem; color: var(--text-secondary); max-width: 700px; margin: 20px auto; line-height: 1.6; }
.cta-bg .section-title { margin-top: 40px; }
.cta-bg .cta-button { margin-top: 40px; }
.footer-content { margin-top: 80px; color: var(--text-secondary); font-size: 0.9rem; }

/* ----------------------------------- */
/* 10. GELİŞMİŞ SCROLL ANİMASYONLARI */
/* ----------------------------------- */
.fade-in { opacity: 0; transform: translateY(30px) scale(0.98); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.hero-logo.fade-in.is-visible { transform: scale(2); }

/* ----------------------------------- */
/* 10.5. KADEMELİ ANİMASYON (Stagger) */
/* ----------------------------------- */
.feature-card.is-visible:nth-child(1) { transition-delay: 0.1s; }
.feature-card.is-visible:nth-child(2) { transition-delay: 0.2s; }
.feature-card.is-visible:nth-child(3) { transition-delay: 0.3s; }
.feature-card.is-visible:nth-child(4) { transition-delay: 0.4s; }
.feature-card.is-visible:nth-child(5) { transition-delay: 0.5s; }

.fade-in.is-visible[data-delay="1"] { transition-delay: 0.1s; }
.fade-in.is-visible[data-delay="2"] { transition-delay: 0.2s; }
.fade-in.is-visible[data-delay="3"] { transition-delay: 0.3s; }
.fade-in.is-visible[data-delay="4"] { transition-delay: 0.4s; }
.fade-in.is-visible[data-delay="5"] { transition-delay: 0.5s; }

/* ----------------------------------- */
/* 11. MOBİL UYUMLULUK (Responsive) */
/* ----------------------------------- */
@media (max-width: 768px) {
    /* --- GENEL DÜZEN --- */
    body {
      padding-top: 56px;
      -webkit-text-size-adjust: 110%; /* iOS zoom bug fix */
    }
  
    .section-container {
      padding: 60px 15px;
    }
  .section-content-split {
        flex-direction: column; /* video alta (sonda), metin üste */
        text-align: center;
        gap: 20px;
    }

    .split-content {
        flex-basis: 100%;
    }
  /* ensure text comes first and video after on small screens */
  .split-content.text-left { order: 1; }
  .split-content.image-content { order: 2; }

  .video-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
  }

  /* Video iframe positioning on mobile */
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .text-left {
        text-align: center;
    }

    .text-left .section-paragraph {
        margin: 0 auto 10px auto;
    }
    /* --- HERO BÖLÜMÜ --- */
    .hero-section {
      min-height: 100dvh; /* iOS/Android güvenli */
      height: auto;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      overflow: visible;
    }
  
    .hero-logo {
      width: 280px;
      transform: none;
    }
  
    .hero-title,
    .section-title {
      font-size: 2rem;
      text-align: center;
      line-height: 1.2;
    }
  
    .hero-subtitle,
    .section-paragraph,
    .invitation-text {
      font-size: 1rem;
      line-height: 1.6;
      text-align: center;
    }
  
    /* --- FELSEFEMİZ / ÖZELLİKLER --- */
    .feature-card,
    .feature-card:nth-of-type(even) {
        .feature-card {
            grid-template-columns: 1fr; /* yan yana değil, alta alta */
            grid-template-areas: none;
            text-align: center;
            margin: 40px auto;
          }
        
          /* Görsellerin yukarıda, metnin aşağıda görünmesi için */
          .feature-card .feature-image {
            order: -2;
          }
        
          .feature-text {
            padding: 30px 20px;
            text-align: center;
          }
        
          .feature-title {
            font-size: 1.8rem;
          }
        
          .feature-description {
            font-size: 1rem;
            max-width: 100%;
            margin: 0 auto 25px auto;
          }
        
          .feature-image img {
            height: auto;
            max-height: 300px;
          }
        }
    /* --- DİĞER BÖLÜMLER --- */
    .section-content-split {
      flex-direction: column;
      text-align: center;
      gap: 20px;
    }
  
    .text-left {
      text-align: center;
    }
  
    .text-left .section-paragraph {
      margin: 0 auto 10px auto;
    }
  
    /* --- GALERİ --- */
    .gallery-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding: 0 10px;
      gap: 15px;
      
    }
  
    .gallery-item {
      width: 240px;
      height: 150px;
      transform: none !important;
      opacity: 1 !important;
      perspective: none;
    }
  
    .gallery-item:hover .flip-card-inner {
      transform: none;
    }
  
    /* --- NAV DOTS --- */
    .dot-nav {
      display: none;
    }
  }
  
  
/* ----------------------------------- */
/* 12. GALERİ LIGHTBOX STİLLERİ */
/* ----------------------------------- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
     height: 100vh;
    overflow: hidden;

    background-color: rgba(0, 0, 0, 0.95);
    /* Lightbox içeriğini dikeyde ve yatayda ortalamak için ekledik */ /* Gerekirse flexbox ile ortalama */
    align-items: center; /* Dikeyde ortala */
    justify-content: center; /* Yatayda ortala */
}
.lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 60%; /* Güncellendi */
    max-height: 80vh; /* Güncellendi */
    animation: zoom 0.6s;
    object-fit: contain; /* Güncellendi */
    box-shadow: 0 0 20px rgba(0,0,0,0.7); /* Eklendi */
    border-radius: 8px; /* Eklendi */
}
#lightbox-img {
    width: auto;
    height: auto;
    max-width: 100%; /* Güncellendi */
    max-height: 100%; /* Güncellendi */
    display: block;
    margin: 0 auto; /* Güncellendi */
    border-radius: 8px; /* Eklendi */
}
@keyframes zoom { from {transform: scale(0.8); opacity: 0;} to {transform: scale(1); opacity: 1;} }
#lightbox-caption {
    margin: 15px auto 0 auto; /* Güncellendi */
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    min-height: 50px; /* Güncellendi */
    font-size: 1.1rem;
}
.lightbox-close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; }
.lightbox-close:hover,
.lightbox-close:focus { color: #bbb; text-decoration: none; }
/* ----------------------------------- */
/* 13. DOT NAVİGASYONU */
/* ----------------------------------- */
.dot-nav { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 99; }
.dot-nav ul { list-style: none; padding: 0; margin: 0; }
.dot-nav li { margin: 8px 0; position: relative; display: flex; align-items: center; justify-content: flex-end; }
.dot-nav .dot { display: block; width: 14px; height: 14px; background-color: rgba(0, 0, 0, 0.35); border-radius: 50%; transition: background-color 0.25s ease, transform 0.25s ease; margin-left: 12px; order: 2; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.dot-nav a { /* increase hit area */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; /* accessible tap target */
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
}
.dot-label { position: absolute; right: 50px; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.75); color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 0.85rem; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease; pointer-events: none; order: 1; }
.dot-nav li.active .dot { background-color: var(--primary-color); transform: scale(1.4); }
.dot-nav li.active .dot-label { opacity: 1; visibility: visible; }

/* Hide dot navigation on very small screens (can be customized) */
@media (max-width: 520px) {
  .dot-nav { display: none; }
}

/* Keyboard focus visibility for dots */
.dot-nav a:focus-visible .dot {
  outline: 2px solid rgba(8,125,243,0.18);
  outline-offset: 3px;
}

/* ----------------------------------- */
/* MODAL STİLLERİ */
/* ----------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-color);
}

.modal-content h2 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    background: var(--input-bg);
    color: var(--text-color);
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(8, 125, 243, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.submit-btn {
    background: var(--primary-color);
    color: white !important;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-color);
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 125, 243, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* User menu stilleri */
#user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

#user-name {
    color: var(--text-color);
    font-weight: 600;
}

.logout-btn {
    background: var(--accent-color);
    color: white !important;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: var(--accent-color);
    filter: brightness(0.9);
    transform: translateY(-2px);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 10px;
    }
    
    #user-menu {
        flex-direction: column;
        gap: 10px;
    }
}

/* ----------------------------------- */
/* FOOTER STİLLERİ */
/* ----------------------------------- */
.site-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px 0;
    margin-top: 60px;
    color: var(--text-secondary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-section h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-bottom .footer-brand {
    color: var(--primary-color);
    font-weight: 600;
}

/* Mobile uyumluluk */
@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 15px 0;
        margin-top: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        padding-top: 15px;
    }
}