/* ============================================
   TRBiletim - Global Styles
   ============================================ */

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

:root {
  /* Havayolu Renkleri */
  --thy-red: #CC0000;
  --thy-gold: #D4AF37;
  --pegasus-yellow: #FFD700;
  --pegasus-red: #E63946;
  --ajet-blue: #003DA5;
  --ajet-red: #E63946;
  --sunexpress-blue: #0066CC;
  --sunexpress-yellow: #FFD700;
  
  /* Genel Renkler */
  --primary: #CC0000;
  --secondary: #D4AF37;
  --dark: #1a1a1a;
  --light: #f5f5f5;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --border: #e0e0e0;
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  
  /* Tipografi */
  --font-primary: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-2xl: 32px;
  --font-size-3xl: 48px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--light);
  padding-bottom: 80px; /* Footer için alan */
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary);
}

/* ============================================
   STICKY CALL BUTTON (Sağ Taraf)
   ============================================ */

.sticky-call-button {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 999;
}

.sticky-call-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 25px;
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  color: var(--white);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.sticky-call-button a span {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.sticky-call-button a .phone-icon {
  font-size: 20px;
  color: #FFFFFF;
}

.sticky-call-button a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(39, 174, 96, 0.7);
  }
}

/* ============================================
   STICKY FOOTER (Alt Kısım - Takip Eden)
   ============================================ */

.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary) 0%, #990000 100%);
  color: var(--white);
  padding: 20px;
  text-align: center;
  z-index: 998;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.sticky-footer a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s ease;
}

.sticky-footer a:hover {
  opacity: 0.9;
}

.sticky-footer .phone-icon {
  font-size: 24px;
  color: #FFFFFF;
  animation: ring 1.5s infinite;
}

@keyframes ring {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(-10deg);
  }
  20%, 40% {
    transform: rotate(10deg);
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #990000 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo {
  margin-bottom: 30px;
}

.hero-logo img {
  max-height: 150px;
  width: auto;
}

.hero h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: var(--font-size-lg);
  margin-bottom: 30px;
  opacity: 0.95;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: var(--font-size-base);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, #B8941F 100%);
  color: var(--dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #990000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.btn-large {
  padding: 16px 40px;
  font-size: var(--font-size-lg);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

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

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* ============================================
   GRID SYSTEM
   ============================================ */

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
  padding: 25px;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-size: var(--font-size-xl);
  color: var(--primary);
  margin-bottom: 5px;
  font-weight: 700;
}

.card-body {
  padding: 25px;
  flex-grow: 1;
}

.card-text {
  color: var(--text-light);
  line-height: 1.8;
}

.card-footer {
  padding: 20px 25px;
  background-color: var(--light);
  text-align: center;
}

/* ============================================
   AIRLINE CARDS
   ============================================ */

.airline-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.airline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.airline-logo {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.airline-logo img {
  max-width: 200px;
  max-height: 100px;
  width: auto;
  height: auto;
}

.airline-card.thy .airline-logo {
  background: linear-gradient(135deg, var(--thy-red) 0%, #990000 100%);
}

.airline-card.pegasus .airline-logo {
  background: linear-gradient(135deg, var(--pegasus-yellow) 0%, #FFC700 100%);
}

.airline-card.ajet .airline-logo {
  background: linear-gradient(135deg, var(--ajet-blue) 0%, #002D7A 100%);
}

.airline-card.sunexpress .airline-logo {
  background: linear-gradient(135deg, var(--sunexpress-blue) 0%, #0052A3 100%);
}

.airline-info {
  padding: 25px;
}

.airline-info h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 15px;
  color: var(--text-dark);
}

.airline-info p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.page-title {
  font-size: var(--font-size-3xl);
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  margin-bottom: 40px;
}

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

h2 {
  font-size: var(--font-size-2xl);
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

h3 {
  font-size: var(--font-size-xl);
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.content-box {
  background-color: var(--light);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  margin-bottom: 25px;
}

.content-box h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.content-box ul {
  list-style: none;
  padding-left: 0;
}

.content-box ul li {
  padding: 8px 0;
  color: var(--text-dark);
  position: relative;
  padding-left: 25px;
}

.content-box ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  font-size: var(--font-size-lg);
}

.faq-answer {
  color: var(--text-light);
  line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #990000 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 40px 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 15px;
}

.cta-section p {
  font-size: var(--font-size-lg);
  margin-bottom: 30px;
  opacity: 0.95;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 50px 20px 20px;
  margin-top: 60px;
}

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

.footer-section h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: var(--font-size-xl);
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  .logo img {
    height: 40px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    gap: 15px;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero h1 {
    font-size: var(--font-size-2xl);
  }

  .hero p {
    font-size: var(--font-size-base);
  }

  .page-title {
    font-size: var(--font-size-2xl);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .sticky-call-button {
    right: 10px;
    bottom: 90px;
  }

  .sticky-call-button a {
    padding: 12px 20px;
    font-size: 14px;
  }

  .sticky-footer {
    padding: 15px;
  }

  .sticky-footer a {
    font-size: 16px;
  }

  .content-section,
  .faq-section {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 15px;
  }

  .hero h1 {
    font-size: var(--font-size-xl);
  }

  .btn-large {
    padding: 14px 30px;
    font-size: var(--font-size-base);
  }

  .sticky-call-button a {
    padding: 10px 15px;
    font-size: 12px;
  }
}
