/* ============================================
   E&O GLOBAL - MAIN STYLESHEET
   ============================================ */

/* CSS Variables - Color Palette */
:root {
  /* PRIMARY */
  --primary-main: #0A1A3C;
  --primary-light: #F0F4F8;
  
  /* SECONDARY */
  --secondary-white: #F8F9FA;
  --secondary-navy: #1B2A49;
  --secondary-red: #FF4D4D;
  
  /* BACKGROUNDS */
  --bg-hero: #070F2B;
  --bg-content: #F5F5F7;
  --bg-section: #2C3E55;
  --bg-card: #FFFFFF;
  --bg-alt: #F2E6E6;
  
  /* BORDER RADIUS */
  --radius-tiny: 2px;
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 16px;
  --radius-full: 50%;
  
  /* SPACING */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
  --spacing-3xl: 80px;
  
  /* SHADOWS */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 12px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
  
  /* TRANSITIONS */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background-color: white;
  overflow-x: hidden;
  padding-top: 110px; /* Space for fixed navbar */
}

/* Homepage body background - prevent white flash on load */
body:has(.hero-section:first-of-type) {
  background-color: #070F2B;
}

/* Remove padding-top for hero pages */
body.hero-page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Typography */
h1 {
  font-family: 'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-main);
  margin-bottom: var(--spacing-md);
}

h2 {
  font-family: 'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-main);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-family: 'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-main);
  margin-bottom: var(--spacing-sm);
}

h4 {
  font-family: 'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--primary-main);
  margin-bottom: var(--spacing-sm);
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #333;
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--secondary-red);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: #E63939;
  text-decoration: underline;
}

/* Buttons */
.btn-primary {
  background: var(--secondary-red);
  color: #FFFFFF;
  padding: 16px 32px;
  border-radius: var(--radius-small);
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-block;
  text-align: center;
  min-height: 44px;
  min-width: 44px;
}

.btn-primary:hover {
  background: #E63939;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: #FFFFFF;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-main);
  border: 2px solid var(--primary-main);
  padding: 14px 30px;
  border-radius: var(--radius-small);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-block;
  text-align: center;
  min-height: 44px;
}

.btn-secondary:hover {
  background: var(--primary-main);
  color: #FFFFFF;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Visa Card */
.visa-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-medium);
  min-height: 393px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  transition: var(--transition-normal);
}

.visa-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.visa-card-image-wrapper {
  position: absolute;
  inset: 0;
  background: #b5b5b5;
  border-radius: var(--radius-medium);
}

.visa-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-medium);
}

.visa-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  border-radius: var(--radius-medium);
}

.visa-card-content {
  position: relative;
  z-index: 1;
  padding: 17px 9px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
}

.visa-card-title {
  color: white;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  font-family: 'DM Sans', sans-serif;
}

.visa-card-description-wrapper {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
}

.visa-card-description {
  color: white;
  font-size: 14px;
  font-weight: 400;
  flex: 1;
  margin: 0;
  line-height: 1.4;
}

.visa-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.visa-card:hover .visa-card-arrow {
  transform: translateX(4px);
}

.visa-card-arrow svg {
  display: block;
}

/* Country Card */
.country-card {
  background: var(--bg-card);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  transition: var(--transition-normal);
  display: block;
  border: 2px solid transparent;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-red);
  background: #fff;
}

.country-card h3 {
  color: var(--primary-main);
  font-size: 20px;
  font-weight: 600;
  margin-top: var(--spacing-xs);
}

.country-card:hover h3 {
  color: var(--secondary-red);
}

.flag-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-small);
}

/* Schengen Country Card - New Design */
.schengen-country-card {
  background: var(--bg-card);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  transition: var(--transition-normal);
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.schengen-country-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-red), var(--primary-main));
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.schengen-country-card:hover::before {
  transform: scaleX(1);
}

.schengen-country-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary-red);
}

.schengen-country-card img {
  transition: var(--transition-normal);
}

.schengen-country-card:hover img {
  transform: scale(1.1);
}

.schengen-country-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-main);
  margin-bottom: var(--spacing-sm);
  transition: var(--transition-normal);
}

.schengen-country-card:hover .schengen-country-name {
  color: var(--secondary-red);
}

.schengen-country-link {
  display: inline-block;
  margin-top: var(--spacing-md);
  padding: 10px 24px;
  background: var(--primary-main);
  color: white;
  border-radius: var(--radius-small);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition-normal);
}

.schengen-country-link:hover {
  background: var(--secondary-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: white;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-content);
  padding: var(--spacing-3xl) 0;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-medium);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: var(--spacing-md) var(--spacing-lg) var(--spacing-md) 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-main);
  font-size: 18px;
  transition: var(--transition-normal);
  user-select: none;
}

.faq-question > span:first-child {
  flex: 1;
  text-align: left;
  padding-right: var(--spacing-md);
}

.faq-question:hover {
  background: var(--primary-light);
}

.faq-question.active {
  color: var(--secondary-red);
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  transition: var(--transition-normal);
  color: #000;
  flex-shrink: 0;
  transform-origin: center;
}

.faq-icon svg {
  display: block;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--spacing-lg);
}

.faq-answer.active {
  max-height: 500px;
  padding: var(--spacing-xs) var(--spacing-lg) var(--spacing-md);
}

.faq-answer p {
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* Info Section */
.info-section {
  background: white;
  padding: var(--spacing-3xl) 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.info-card {
  background: var(--primary-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-medium);
  border-left: 4px solid var(--secondary-red);
}

.info-card h3 {
  color: var(--primary-main);
  font-size: 20px;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.info-card-icon {
  font-size: 28px;
}

.info-card p {
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* Blog Styles */
.blog-filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-medium);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
}

.blog-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.blog-card {
  cursor: pointer;
}

.blog-card img {
  transition: var(--transition-slow);
}

.blog-category-badge {
  display: inline-block;
  background: #2a5bff;
  color: white;
  padding: 6px 16px;
  border-radius: 20px; /* Sabit radius değeri - tüm badge'ler için tutarlı */
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.blog-read-more-btn {
  display: inline-block;
  background: #0a57ff;
  color: white;
  padding: 12px 40px;
  border-radius: var(--radius-large);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: var(--transition-normal);
  width: 100%;
  max-width: 280px;
  box-shadow: 0 2px 8px rgba(10, 87, 255, 0.2);
}

.blog-read-more-btn:hover {
  background: #0947d9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 87, 255, 0.3);
  text-decoration: none;
  color: white;
}

/* Homepage Blog Card */
.homepage-blog-card {
  background: white;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.homepage-blog-card-image-container {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-main) 0%, var(--secondary-navy) 100%);
}

.homepage-blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.homepage-blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 48px;
}

.homepage-blog-card-badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  display: inline-block;
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-small);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.homepage-blog-card-body {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.homepage-blog-card-title {
  margin: 0 0 var(--spacing-sm) 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-main);
  line-height: 1.3;
  min-height: 60px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}

.homepage-blog-card-excerpt {
  color: #666;
  line-height: 1.6;
  margin: 0 0 var(--spacing-md) 0;
  font-size: 15px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}

.homepage-blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--spacing-md);
  border-top: 1px solid #f0f0f0;
}

.homepage-blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: #999;
  font-size: 13px;
  font-weight: 400;
}

.blog-card-container {
  background: #f8f8f8;
  border-radius: var(--radius-medium);
  overflow: hidden;
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.blog-card-image-container {
  position: relative;
  width: 100%;
  height: 252px;
  overflow: hidden;
  border-radius: var(--radius-medium) var(--radius-medium) 0 0;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 12.261%);
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-main) 0%, var(--secondary-navy) 100%);
  color: rgba(255, 255, 255, 0.3);
  font-size: 48px;
}

.blog-card-badge-container {
  position: absolute;
  top: 12px;
  left: 12px;
}

.blog-card-date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: -0.3px;
}

.blog-card-excerpt {
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0 0 24px 0;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  flex: 1;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Section Spacing */
.section {
  padding: var(--spacing-3xl) 0;
}

/* Navbar Styles */
.navbar {
  background: var(--bg-hero);
  color: #FFFFFF;
  padding: var(--spacing-sm) 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: none;
  border-bottom: none;
  transition: var(--transition-normal);
}

/* Navbar when scrolled */
.navbar.scrolled {
  background: #FFFFFF;
  color: var(--primary-main);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Navbar for hero pages (transparent start, white on scroll) */
.navbar.hero-page {
  background: transparent;
  color: #FFFFFF;
  box-shadow: none;
  border-bottom: none;
}

.navbar.hero-page .navbar-menu a {
  color: #FFFFFF;
}

.navbar.hero-page .navbar-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.navbar.hero-page .navbar-logo .logo-img {
  filter: brightness(0) invert(1); /* White logo */
}

.navbar.hero-page .hamburger span {
  background: #FFFFFF;
}

/* Navbar hero-page when scrolled */
.navbar.hero-page.scrolled {
  background: #FFFFFF;
  color: var(--primary-main);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar.hero-page.scrolled .navbar-menu a {
  color: var(--primary-main);
}

.navbar.hero-page.scrolled .navbar-menu a:hover {
  background: rgba(10, 26, 60, 0.05);
  color: var(--secondary-red);
}

.navbar.hero-page.scrolled .navbar-logo .logo-img {
  filter: brightness(0) invert(0); /* Dark logo when scrolled */
}

.navbar.hero-page.scrolled .hamburger span {
  background: var(--primary-main);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-main);
  text-decoration: none;
  transition: var(--transition-fast);
}

.navbar-logo:hover {
  opacity: 0.9;
}

.navbar-logo .logo-img {
  height: 90px; /* Much larger logo */
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* White logo by default */
  transition: var(--transition-normal);
}

/* Logo when navbar is scrolled */
.navbar.scrolled .navbar-logo .logo-img {
  filter: brightness(0) invert(0); /* Dark logo when scrolled */
}

/* Mobile: Responsive logo sizing */
@media (max-width: 768px) {
  .navbar-logo .logo-img {
    height: 75px; /* Proportional scaling */
  }
}

@media (max-width: 480px) {
  .navbar-logo .logo-img {
    height: 65px; /* Proportional scaling */
  }
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.navbar-menu a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-small);
}

.navbar-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #FFFFFF;
}

/* Menu links when navbar is scrolled */
.navbar.scrolled .navbar-menu a {
  color: var(--primary-main);
}

.navbar.scrolled .navbar-menu a:hover {
  background: rgba(10, 26, 60, 0.05);
  color: var(--secondary-red);
}

.navbar-menu a.active {
  color: var(--secondary-red);
  background: rgba(255, 77, 77, 0.1);
}

.navbar.scrolled .navbar-menu a.active {
  color: var(--secondary-red);
  background: rgba(255, 77, 77, 0.1);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-link {
  display: inline-flex;
  align-items: center;
}

.dropdown-icon {
  display: inline-block; /* Always visible */
  vertical-align: middle;
  margin-left: 6px;
  transition: var(--transition-fast);
  color: currentColor;
}

.dropdown:hover .dropdown-icon,
.dropdown.active .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  min-width: 220px;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-sm) 0;
  margin-top: var(--spacing-xs);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-normal);
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 24px;
  color: #333;
  text-decoration: none;
  transition: var(--transition-fast);
  border-radius: var(--radius-small);
}

.dropdown-menu a:hover {
  background: rgba(10, 26, 60, 0.08);
  color: var(--primary-main);
  text-decoration: none;
}

/* Force dropdown items to be dark even when navbar is transparent */
.navbar.hero-page .dropdown-menu a {
  color: #333 !important;
  background: #FFFFFF;
}

.navbar.hero-page .dropdown-menu a:hover {
  background: rgba(10, 26, 60, 0.08);
  color: var(--primary-main) !important;
}

/* Navbar Contact Button */
.navbar-contact-btn {
  background: var(--secondary-red) !important;
  color: white !important;
  padding: var(--spacing-xs) var(--spacing-md) !important;
  border-radius: var(--radius-medium) !important;
  font-weight: 600 !important;
  transition: var(--transition-fast) !important;
  margin-left: var(--spacing-sm);
}

.navbar-contact-btn:hover {
  background: #E63946 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
  position: relative;
  margin-top: 0; /* Ensure no margin at top */
  margin-bottom: 0;
  height: 650px;
  background-color: #070F2B; /* Default background color - use background-color instead of background to allow background-image */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  min-height: 650px; /* Ensure minimum height on load */
  opacity: 1; /* Ensure visibility */
  visibility: visible;
  padding-top: 120px; /* Default padding for homepage */
}

/* Homepage hero section - solid background */
body:not(.hero-page) .hero-section {
  background-color: #070F2B !important; /* Prevent white flash on homepage */
}

/* Hero section for hero pages - positioned behind navbar, larger height, better spacing */
body.hero-page .hero-section {
  position: relative;
  z-index: 1;
  top: 0 !important; /* Ensure hero starts at top */
  margin-top: 0 !important; /* Ensure hero starts right after navbar - force override */
  margin-bottom: 0 !important;
  padding-top: 0 !important; /* Remove any padding that might create gap */
  height: 700px; /* Balanced height - not too large */
  align-items: flex-start; /* Align content to top instead of center */
  min-height: 700px; /* Ensure minimum height on load */
  background-color: transparent !important; /* Allow background-image from inline styles to show */
}

/* Hero content positioning for hero pages */
body.hero-page .hero-content {
  margin-top: 0 !important;
  padding-top: 200px !important; /* Content positioned from top - accounts for navbar */
}

/* Desktop adjustment for hero page - move content higher */
@media (min-width: 1024px) {
  body.hero-page .hero-section {
    height: 550px; /* Reduced height for desktop */
    min-height: 550px;
    padding-top: 0 !important; /* No padding - hero starts at top */
  }
  
  body.hero-page .hero-content {
    padding-top: 180px !important; /* Content positioned from top on desktop */
  }
}

/* Responsive adjustments for hero pages */
@media (max-width: 768px) {
  body.hero-page .hero-section {
    margin-top: 0 !important;
    top: 0 !important;
    height: 350px !important; /* Reduced height for mobile */
    padding-top: 0 !important;
    min-height: 350px !important;
  }
  
  body.hero-page .hero-content {
    padding-top: 100px !important; /* Adjusted padding for shorter hero */
  }
  
  /* Hero button spacing - 24px from hero bottom */
  body.hero-page .hero-content > div:last-child {
    margin-bottom: 24px !important;
  }
  
  body.hero-page .hero-content p {
    margin-bottom: var(--spacing-lg) !important; /* More space below text */
  }
}

@media (max-width: 480px) {
  body.hero-page .hero-section {
    margin-top: 0 !important;
    top: 0 !important;
    height: 300px !important; /* Reduced height for small mobile */
    padding-top: 0 !important;
    min-height: 300px !important;
  }
  
  body.hero-page .hero-content {
    padding-top: 80px !important; /* Adjusted padding for shorter hero */
  }
  
  /* Hero button spacing - 24px from hero bottom */
  body.hero-page .hero-content > div:last-child {
    margin-bottom: 24px !important;
  }
  
  body.hero-page .hero-content p {
    margin-bottom: var(--spacing-lg) !important; /* More space below text */
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 var(--spacing-md);
  margin-top: 0; /* Reset margin for proper positioning */
}

/* Hero content for hero pages - more space from navbar */
body.hero-page .hero-content {
  margin-top: 0; /* Reset margin */
}

.hero-content h1 {
  color: #FFFFFF;
  font-size: 48px;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  color: var(--primary-light);
  font-size: 20px;
  margin-bottom: var(--spacing-xl);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-section .btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.hero-section .btn-secondary:hover {
  background: #FFFFFF;
  color: var(--primary-main);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Footer */
.footer {
  background: var(--primary-main);
  color: #FFFFFF;
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.footer-column h4 {
  color: #FFFFFF;
  margin-bottom: var(--spacing-md);
  font-size: 18px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-column a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-column a:hover {
  color: var(--secondary-red);
  text-decoration: none;
}

.footer-quick-links h4:last-of-type {
  color: var(--secondary-red);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.footer-quick-links ul li a[href*="kvkk"],
.footer-quick-links ul li a[href*="gizlilik"],
.footer-quick-links ul li a[href*="cerez"],
.footer-quick-links ul li a[href*="kullanim"] {
  font-size: 13px;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  color: #FFFFFF;
}

.footer-social a:hover {
  background: var(--secondary-red);
  transform: translateY(-3px);
  color: #FFFFFF;
}

.footer-social a svg {
  fill: currentColor;
  color: #FFFFFF;
}

.footer-social a:hover svg {
  fill: #FFFFFF;
  color: #FFFFFF;
}

.footer-copyright {
  text-align: center;
  padding-top: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #FFFFFF;
}

.footer-copyright p {
  color: #FFFFFF;
}

.footer-copyright a {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-copyright a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition-normal);
  opacity: 1;
  transform: scale(1);
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  text-decoration: none;
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  color: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--primary-main);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-small);
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--primary-main);
}

/* Phone Float Button */
.phone-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--secondary-red);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 77, 77, 0.4);
  z-index: 9999;
  transition: var(--transition-normal);
  opacity: 1;
  transform: scale(1);
  text-decoration: none;
  animation: pulse-phone 2s infinite;
}

.phone-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 77, 77, 0.6);
  text-decoration: none;
}

.phone-icon {
  width: 28px;
  height: 28px;
  color: white;
}

.phone-tooltip {
  position: absolute;
  right: 70px;
  background: var(--primary-main);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-small);
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.phone-float:hover .phone-tooltip {
  opacity: 1;
}

.phone-tooltip::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--primary-main);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulse-phone {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 77, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
  }
}

/* Form Styles */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--primary-main);
  font-size: 14px;
}

.form-group label .required {
  color: var(--secondary-red);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E0E0E0;
  border-radius: var(--radius-small);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-red);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--secondary-red);
  background: #FFF5F5;
}

.form-note {
  background: var(--primary-light);
  border-left: 4px solid var(--secondary-red);
  padding: var(--spacing-sm);
  border-radius: var(--radius-small);
  margin-top: var(--spacing-md);
}

.form-note p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.form-note a {
  color: var(--secondary-red);
  text-decoration: none;
  font-weight: 600;
}

.form-note a:hover {
  text-decoration: underline;
}

/* KVKK Rıza Metni */
.kvkk-consent {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm);
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  text-align: center;
}

.kvkk-consent a {
  color: var(--secondary-red);
  text-decoration: underline;
  font-weight: 500;
  transition: var(--transition-fast);
}

.kvkk-consent a:hover {
  color: #E63939;
  text-decoration: underline;
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: var(--spacing-md);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  min-width: 300px;
  animation: slideIn 0.3s ease;
}

.toast.success {
  background: #10B981;
  color: white;
}

.toast.error {
  background: var(--secondary-red);
  color: white;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
  position: relative;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #FFFFFF;
  transition: var(--transition-normal);
  border-radius: var(--radius-tiny);
}

/* Hamburger when navbar is scrolled */
.navbar.scrolled .hamburger span {
  background: var(--primary-main);
}

/* Simple X icon when active - hide spans and show X */
.hamburger.active span {
  display: none;
}

.hamburger.active::after {
  content: '×';
  display: block;
  font-size: 40px;
  line-height: 1;
  color: #FFFFFF !important;
  font-weight: 300;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* X icon always white - override all scroll states */
.navbar.scrolled .hamburger.active::after,
.navbar.hero-page .hamburger.active::after,
.navbar.hero-page.scrolled .hamburger.active::after {
  color: #FFFFFF !important;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 3px solid var(--secondary-red);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.cookie-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
}

.cookie-text h3 {
  font-size: 18px;
  color: var(--primary-main);
  margin-bottom: var(--spacing-xs);
  font-weight: 700;
}

.cookie-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.cookie-text a {
  color: var(--secondary-red);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-text a:hover {
  color: #E63939;
}

.cookie-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-actions button {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-small);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
  min-height: 44px;
}

.btn-accept-all {
  background: var(--secondary-red);
  color: white;
}

.btn-accept-all:hover {
  background: #E63939;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 77, 77, 0.3);
}

.btn-settings {
  background: var(--primary-main);
  color: white;
}

.btn-settings:hover {
  background: var(--secondary-navy);
  transform: translateY(-2px);
}

.btn-reject {
  background: transparent;
  color: #666;
  border: 2px solid #E0E0E0;
}

.btn-reject:hover {
  background: var(--bg-content);
  border-color: #999;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.cookie-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal-content {
  background: white;
  border-radius: var(--radius-large);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-modal-header {
  padding: var(--spacing-md);
  border-bottom: 1px solid #E0E0E0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h2 {
  font-size: 24px;
  color: var(--primary-main);
  font-weight: 700;
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
  transition: var(--transition-normal);
  min-height: 44px;
  min-width: 44px;
}

.cookie-modal-close:hover {
  background: var(--bg-content);
  color: #333;
}

.cookie-modal-body {
  padding: var(--spacing-md);
}

.cookie-modal-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.cookie-category {
  margin-bottom: var(--spacing-md);
  border: 1px solid #E0E0E0;
  border-radius: var(--radius-medium);
  padding: var(--spacing-md);
  transition: var(--transition-normal);
}

.cookie-category:hover {
  border-color: var(--secondary-red);
  box-shadow: 0 2px 8px rgba(255, 77, 77, 0.1);
}

.cookie-category-header {
  cursor: pointer;
}

.cookie-category-info {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

.cookie-category h4 {
  font-size: 16px;
  color: var(--primary-main);
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.cookie-category-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: var(--radius-full);
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: var(--radius-full);
}

input:checked + .cookie-slider {
  background-color: var(--secondary-red);
}

input:checked + .cookie-slider:before {
  transform: translateX(24px);
}

input:disabled + .cookie-slider {
  background-color: #999;
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: var(--spacing-md);
  border-top: 1px solid #E0E0E0;
  display: flex;
  gap: var(--spacing-sm);
  justify-content: flex-end;
}

.cookie-modal-footer button {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-small);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  min-height: 44px;
}

.btn-save-settings {
  background: var(--primary-main);
  color: white;
}

.btn-save-settings:hover {
  background: var(--secondary-navy);
  transform: translateY(-2px);
}

.btn-accept-all-settings {
  background: var(--secondary-red);
  color: white;
}

.btn-accept-all-settings:hover {
  background: #E63939;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 77, 77, 0.3);
}

@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-md);
  }
  
  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-actions button {
    width: 100%;
  }
  
  .cookie-modal-content {
    margin: 0 10px;
  }
  
  .cookie-modal-footer {
    flex-direction: column;
  }
  
  .cookie-modal-footer button {
    width: 100%;
  }
  
  .cookie-category-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Blog Detail Page Styles */
.blog-detail-content {
  background: transparent;
  padding: var(--spacing-xl) 0;
  max-width: 900px;
  margin: 0 auto;
}

.blog-detail-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-main);
  margin-bottom: var(--spacing-md);
}

.blog-detail-meta {
  font-size: 15px;
  color: #666;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
}

.blog-detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-detail-category {
  background: #2a5bff;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.blog-detail-image-wrapper {
  width: 100%;
  margin-bottom: var(--spacing-xl);
}

.blog-detail-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.blog-detail-body {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
}

.blog-detail-body h1,
.blog-detail-body h2,
.blog-detail-body h3,
.blog-detail-body h4,
.blog-detail-body h5,
.blog-detail-body h6 {
  font-weight: 700;
  color: var(--primary-main);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  line-height: 1.4;
}

.blog-detail-body h1 {
  font-size: 36px;
}

.blog-detail-body h2 {
  font-size: 30px;
}

.blog-detail-body h3 {
  font-size: 24px;
}

.blog-detail-body h4 {
  font-size: 20px;
}

.blog-detail-body p {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
  margin-bottom: var(--spacing-md);
  font-weight: 400;
}

.blog-detail-body ul,
.blog-detail-body ol {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
}

.blog-detail-body li {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
  margin-bottom: var(--spacing-sm);
  font-weight: 400;
}

.blog-detail-body strong,
.blog-detail-body b {
  font-weight: 700;
  color: var(--primary-main);
}

.blog-detail-body em,
.blog-detail-body i {
  font-style: italic;
}

.blog-detail-body a {
  color: var(--secondary-red);
  text-decoration: underline;
  font-weight: 500;
}

.blog-detail-body a:hover {
  color: #E63939;
}

.blog-detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-medium);
  margin: var(--spacing-xl) 0;
}

.blog-detail-body blockquote {
  border-left: 4px solid var(--secondary-red);
  padding-left: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  font-style: italic;
  color: #666;
}

.blog-detail-body code {
  background: var(--bg-content);
  padding: 2px 6px;
  border-radius: var(--radius-small);
  font-size: 16px;
  font-family: 'Courier New', monospace;
}

.blog-detail-body pre {
  background: var(--bg-content);
  padding: var(--spacing-md);
  border-radius: var(--radius-small);
  overflow-x: auto;
  margin: var(--spacing-md) 0;
}

.blog-detail-body pre code {
  background: transparent;
  padding: 0;
}

/* Markdown heading styles - Admin panelde # kullanıldığında */
.blog-detail-body h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-main);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
  font-family: 'DM Sans', sans-serif;
}

.blog-detail-body h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-main);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
  font-family: 'DM Sans', sans-serif;
}

.blog-detail-body h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-main);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
  font-family: 'DM Sans', sans-serif;
}

/* Vize PR Section */
.visa-pr-section {
  margin-top: var(--spacing-3xl);
  padding-top: var(--spacing-xl);
  border-top: 2px solid #e0e0e0;
}

.visa-pr-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-main);
  margin-bottom: var(--spacing-lg);
  font-family: 'DM Sans', sans-serif;
}

.visa-pr-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.visa-pr-link {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-main);
  color: white;
  border-radius: var(--radius-medium);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-normal);
  font-size: 16px;
}

.visa-pr-link:hover {
  background: var(--secondary-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: white;
}

@media (max-width: 768px) {
  .blog-detail-content {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .blog-detail-title {
    font-size: 32px;
  }
  
  .blog-detail-body {
    font-size: 16px;
    line-height: 1.8;
  }
  
  .blog-detail-body h1 {
    font-size: 28px;
  }
  
  .blog-detail-body h2 {
    font-size: 24px;
  }
  
  .blog-detail-body h3 {
    font-size: 20px;
  }
  
  .blog-detail-body p {
    font-size: 16px;
    line-height: 1.8;
  }
  
  .blog-detail-body li {
    font-size: 16px;
    line-height: 1.8;
  }
  
  .visa-pr-title {
    font-size: 24px;
  }
  
  .visa-pr-links {
    flex-direction: column;
  }
  
  .visa-pr-link {
    width: 100%;
    text-align: center;
  }
}

/* Global AOS Animation Optimization - Faster visibility */
/* Reduce initial opacity fade for faster appearance */
[data-aos] {
  transition-duration: 0.4s !important;
}

/* Page sections at top - immediate visibility */
.section:first-of-type [data-aos],
.section:first-of-type h1[data-aos],
.section:first-of-type h2[data-aos] {
  opacity: 1;
  visibility: visible;
}

/* Visa Categories Section - Immediate visibility on load */
#visa-categories {
  opacity: 1;
  visibility: visible;
}

#visa-categories .visa-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Ensure cards are visible even before AOS loads */
#visa-categories .visa-card[data-aos] {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Page sections - immediate visibility */
.section[data-aos],
.section [data-aos] {
  opacity: 1;
  visibility: visible;
}

/* Cards and content blocks - immediate visibility */
.card[data-aos],
.country-card[data-aos],
.visa-card[data-aos],
.faq-item[data-aos] {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   UNIVERSAL INPUT AUTOFILL FIX
   Tüm input ve textarea'lar için
   ============================================ */

/* Tüm input ve textarea için temel styling */
input,
textarea,
select {
  background-color: white !important;
  color: #333 !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Chrome, Safari, Edge autofill override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: #333 !important;
  box-shadow: 0 0 0 1000px white inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
  border: 2px solid #E0E0E0 !important;
}

/* Firefox autofill override */
input:-moz-autofill,
input:-moz-autofill-preview,
textarea:-moz-autofill,
textarea:-moz-autofill-preview,
select:-moz-autofill,
select:-moz-autofill-preview {
  filter: none !important;
  background-color: white !important;
  color: #333 !important;
}

/* Dark mode'da bile beyaz kalması için */
@media (prefers-color-scheme: dark) {
  input,
  textarea,
  select,
  input:-webkit-autofill,
  input:-webkit-autofill:hover,
  input:-webkit-autofill:focus,
  textarea:-webkit-autofill,
  textarea:-webkit-autofill:hover,
  textarea:-webkit-autofill:focus,
  select:-webkit-autofill,
  select:-webkit-autofill:hover,
  select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #333 !important;
    background-color: white !important;
    color: #333 !important;
    border: 2px solid #E0E0E0 !important;
  }
}

/* Placeholder renkleri */
input::placeholder,
textarea::placeholder {
  color: #999 !important;
  opacity: 1 !important;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999 !important;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #999 !important;
  opacity: 1 !important;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #999 !important;
}

/* Focus state - autofill ile çakışmaması için */
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: var(--secondary-red) !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.1) !important;
  background-color: white !important;
}

/* Password input özel fix */
input[type="password"],
input[type="password"]:-webkit-autofill,
input[type="password"]:-webkit-autofill:hover,
input[type="password"]:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: #333 !important;
  background-color: white !important;
  color: #333 !important;
}

/* Disabled state */
input:disabled,
textarea:disabled,
select:disabled {
  background-color: #f5f5f5 !important;
  color: #999 !important;
  cursor: not-allowed !important;
}

