/* landing.css - Sadece index.php için modern landing page tasarımı */

:root {
  --primary: #2d6cdf;
  --secondary: #f5f7fa;
  --accent: #fbbf24;
  --text: #222;
  --muted: #6b7280;
  --radius: 16px;
  --shadow: 0 4px 24px 0 rgba(44, 62, 80, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--secondary);
  color: var(--text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Mobil responsive düzeltmeleri */
@media (max-width: 900px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .landing-navbar, .landing-section, .landing-cards, .landing-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  .landing-navbar {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 16px 4vw 10px 4vw;
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1002;
    overflow: visible;
  }
  
  /* Body padding kaldır çünkü artık sticky */
  body {
    padding-top: 0;
  }
}

/* Modern Header */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 100%;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.header-logo i {
  font-size: 1.8rem;
}

.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.header-btn:hover {
  background: #174ea6;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none !important;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  position: relative;
  z-index: 999;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.mobile-nav a {
  padding: 16px 32px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.mobile-nav a:hover {
  background: #f8f9fa;
  color: var(--primary);
}

.mobile-nav a:last-child {
  border-bottom: none;
}
@media (max-width: 1300px) {
  .header-container {
    max-width: 98vw;
    padding-left: 2vw;
    padding-right: 2vw;
  }
}
@media (max-width: 900px) {
  .header-container {
    max-width: 100vw;
    margin: 0;
    padding: 0 4vw;
    height: 75px;
  }
  
  .header-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}


/* Hero Section */
.landing-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 80px 6vw 60px 6vw;
  background: linear-gradient(135deg, #e3ecfa 0%, #f5f7fa 100%);
  text-align: center;
  position: relative;
}

.landing-hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary);
  line-height: 1.2;
  max-width: 800px;
}

.landing-hero p {
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.6;
}

.landing-hero .hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.landing-hero .hero-btns .btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  min-width: 160px;
}

.landing-hero .hero-btns .btn.secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.landing-hero .hero-btns .btn:hover {
  background: #174ea6;
  color: #fff;
  transform: translateY(-2px);
}

.landing-hero .hero-btns .btn.secondary:hover {
  background: #e3ecfa;
  color: var(--primary);
  transform: translateY(-2px);
}

/* Sections */
.landing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 6vw 60px 6vw;
}

.landing-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
  text-align: center;
  line-height: 1.2;
}

/* Cards */
.landing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

/* Başarı hikayeleri için özel grid düzeni */
#success .landing-cards {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog için özel grid düzeni */
#blog .landing-cards {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.landing-date {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 500;
}

.landing-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.landing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px 0 rgba(44, 62, 80, 0.15);
}

.landing-card .icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.landing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.landing-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* About Section */
.landing-about {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.landing-about-img {
  flex: 1 1 400px;
  min-width: 300px;
  max-width: 500px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 400px;
}

.landing-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-about-content {
  flex: 2 1 500px;
  min-width: 300px;
}

.landing-about-content h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.landing-about-content p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-title {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 16px;
  line-height: 1.7;
  font-weight: 500;
}

.about-description {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 16px;
  line-height: 1.7;
  white-space: pre-line;
}

/* Utility classes */
.landing-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.landing-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--primary);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.landing-result {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 12px;
  display: inline-block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.landing-alert {
  background: #e3ecfa;
  color: var(--primary);
  border-radius: var(--radius);
  padding: 16px 24px;
  margin: 24px 0;
  font-weight: 500;
  text-align: center;
}

/* Contact Form */
.landing-card input,
.landing-card textarea,
.landing-card select {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.landing-card input:focus,
.landing-card textarea:focus,
.landing-card select:focus {
  outline: none;
  border-color: var(--primary);
}

.landing-card button {
  width: 100%;
  padding: 14px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.landing-card button:hover {
  background: #174ea6;
}

/* Footer */
.landing-footer {
  background: #fff;
  color: var(--muted);
  text-align: center;
  padding: 40px 6vw 20px 6vw;
  font-size: 1rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 60px;
}

/* Hamburger Menü ve Responsive Navbar */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
  margin: 0 8px 0 0;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3.5px;
  background: #2d6cdf;
  border-radius: 2px;
  margin: 4px 0;
  transition: all 0.3s cubic-bezier(.4,2,.6,1);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.landing-menu {
  display: flex;
  gap: 32px;
  align-items: center;
  transition: all 0.3s cubic-bezier(.4,2,.6,1);
}

.desktop-menu {
  display: flex;
}
.mobile-menu {
  display: none !important;
}
@media (max-width: 900px) {
  .landing-navbar {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 0;
    padding: 16px 4vw 10px 4vw;
    position: sticky !important;
    top: 0 !important;
    z-index: 200 !important;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: visible;
  }
  .navbar-left, .navbar-center, .navbar-right {
    flex: 1 1 0;
    min-width: 0;
    max-width: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .navbar-left {
    justify-content: flex-start;
  }
  .navbar-center {
    display: none !important;
  }
  .navbar-right {
    justify-content: flex-end;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  .navbar-right .cta-btn {
    font-size: 1rem;
    padding: 10px 18px;
    min-width: 100px;
    height: 40px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .navbar-right .hamburger {
    display: flex !important;
    position: relative;
    z-index: 1001;
    margin: 0;
    margin-left: 0.5rem;
    cursor: pointer;
    pointer-events: auto !important;
  }
  .desktop-menu {
    display: none !important;
  }
  #landingMenu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 32px 0 rgba(44, 62, 80, 0.10);
    z-index: 999;
    padding: 0;
    margin: 0;
    min-height: 200px;
  }
  
  #landingMenu[style*="display: flex"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    transform: none !important;
  }
  /* .active class'ı kaldırıldı - JavaScript direkt style.display kullanıyor */
  #landingMenu a {
    padding: 18px 24px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f2f7;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    background: #fff !important;
    transition: background 0.2s;
    display: block !important;
    color: #000 !important;
    text-decoration: none;
    cursor: pointer;
    min-height: 50px !important;
    line-height: 1.2 !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1002 !important;
  }
  #landingMenu a:hover {
    background: #f8f9fa;
    color: var(--primary);
  }
  #landingMenu a:last-child {
    border-bottom: none;
  }
  
  /* Mobil menü basit animasyonu */
  #landingMenu {
    transition: opacity 0.3s ease;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .landing-hero h1 {
    font-size: 2.8rem;
  }
  
  .landing-section h2 {
    font-size: 2.2rem;
  }
  
  .landing-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .landing-navbar {
    flex-direction: row;
    gap: 8px;
    padding: 12px 4vw;
    align-items: center;
    position: sticky;
    top: 0;
  }
  
  .landing-navbar nav {
    gap: 20px;
    justify-content: center;
  }
  
  .landing-hero {
    padding: 40px 4vw 30px 4vw;
    min-height: 50vh;
    margin-top: 0;
  }
  
  .landing-hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  
  .landing-hero p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 30px;
  }
  
  .landing-hero .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .landing-hero .hero-btns .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 1rem;
  }
  
  .landing-section {
    padding: 40px 4vw 30px 4vw;
    width: 100%;
    max-width: 100%;
  }
  
  .landing-section h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
  
  .landing-about {
    flex-direction: column;
    gap: 30px;
    width: 100%;
  }
  
  .landing-about-img {
    flex: 1 1 100%;
    max-width: 100%;
    height: 250px;
    border-radius: 12px;
  }
  
  .landing-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 100%;
  }
  
  #success .landing-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  
  #blog .landing-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  
  .landing-card {
    padding: 20px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .landing-avatar {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }
  
  .landing-avatar-placeholder {
    font-size: 1.3rem;
  }
  
  .landing-result {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .landing-footer {
    padding: 30px 4vw 15px 4vw;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .landing-navbar {
    padding: 10px 3vw;
    position: static;
  }
  
  .landing-navbar .logo {
    font-size: 1.3rem;
  }
  
  .landing-navbar .cta-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    min-width: 80px;
  }
  
  .landing-hero {
    padding: 30px 3vw 20px 3vw;
    min-height: 40vh;
  }
  
  .landing-hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .landing-hero p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  .landing-hero .hero-btns .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .landing-section {
    padding: 30px 3vw 20px 3vw;
  }
  
  .landing-section h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  
  .landing-card {
    padding: 16px 12px;
    margin: 0;
  }
  
  .landing-card .icon {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .landing-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .landing-card p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .landing-about-img {
    height: 200px;
  }
  
  .landing-avatar {
    width: 50px;
    height: 50px;
  }
  
  .landing-avatar-placeholder {
    font-size: 1.1rem;
  }
  
  .landing-badge {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
  
  .landing-footer {
    padding: 20px 3vw 10px 3vw;
    font-size: 0.9rem;
  }
} 

.btn, .btn.secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Ek mobil düzeltmeler */
@media (max-width: 900px) {
  /* Tüm container'ları sınırla */
  .landing-hero, .landing-section, .landing-cards {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Blog resimlerini düzelt */
  .landing-blog-image {
    width: 100%;
    max-width: 100%;
    height: 180px;
  }
  
  /* İletişim formunu düzelt */
  .landing-card input,
  .landing-card textarea,
  .landing-card button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Sosyal medya kartlarını düzelt */
  .landing-cards[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  /* Daha küçük ekranlar için ek düzeltmeler */
  .landing-hero, .landing-section {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  
  .landing-cards {
    gap: 16px;
  }
  
  .landing-card {
    margin: 0;
    border-radius: 12px;
  }
  
  /* Hakkımda bölümündeki kartları düzelt */
  .landing-cards[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  
  .landing-cards[style*="grid-template-columns: repeat(3, 1fr)"] .landing-card {
    padding: 12px !important;
  }
  
  .landing-cards[style*="grid-template-columns: repeat(3, 1fr)"] .landing-card h3 {
    font-size: 1.2rem !important;
  }
} 