/* 
   Gamze Hoca - Özel Direksiyon Eğitmeni
   Official Logo Palette System (Warm Cream & White Background + Logo Magenta/Charcoal)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Official Logo Color Tokens */
  --primary-rgb: 232, 67, 147;
  --primary: #e84393;          /* Logo Cursive Magenta Pink */
  --primary-hover: #d63031;
  --primary-dark: #be185d;

  --secondary-rgb: 45, 52, 54;
  --secondary: #2d3436;        /* Logo Dark Charcoal HOCA Text */
  --secondary-hover: #1e272e;

  --accent-rgb: 253, 121, 168;
  --accent: #fd79a8;

  --success: #10b981;
  --danger: #ef4444;

  /* Warm Cream & Pure White Background System */
  --bg-main: #fdfbf7;          /* Warm Cream / Fildişi Arka Plan */
  --bg-card: #ffffff;          /* Saf Beyaz Kartlar */
  --bg-card-border: rgba(232, 67, 147, 0.15);
  --bg-surface: #f7f3ed;       /* Açık Krem Yüzey */
  --bg-header: rgba(253, 251, 247, 0.96);

  --text-main: #2d3436;
  --text-muted: #636e72;
  --text-inverse: #ffffff;

  --shadow-sm: 0 4px 14px rgba(232, 67, 147, 0.08);
  --shadow-md: 0 10px 30px rgba(232, 67, 147, 0.12);
  --shadow-lg: 0 20px 50px rgba(45, 52, 54, 0.1);
  --shadow-glow: 0 0 25px rgba(232, 67, 147, 0.25);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-main: #18191a;
  --bg-card: #242526;
  --bg-card-border: rgba(232, 67, 147, 0.25);
  --bg-surface: #1e1f20;
  --bg-header: rgba(24, 25, 26, 0.96);

  --text-main: #f5f6fa;
  --text-muted: #a4b0be;
  --text-inverse: #18191a;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(232, 67, 147, 0.35);
}

/* Base Reset & Layout */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Components */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #be185d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-padding {
  padding: 5.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  letter-spacing: 0.03em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #be185d 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(232, 67, 147, 0.45);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border: 1.5px solid var(--bg-card-border);
}

.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
  color: var(--primary);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* Page Header & Breadcrumb Banner */
.page-banner {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
  padding: 4rem 0 3rem 0;
  border-bottom: 1px solid var(--bg-card-border);
  text-align: center;
}

.page-banner h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

/* Top Announcement Bar */
.top-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--bg-card-border);
  padding: 0.65rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-info .info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Navigation Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-card-border);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 5rem 0 6.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.4rem;
  margin: 1.2rem 0;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bg-card-border);
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--bg-card-border);
}

.hero-img-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.floating-badge {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--bg-card-border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 4s ease-in-out infinite;
}

.floating-badge-1 {
  bottom: 30px;
  left: -25px;
}

.floating-badge-2 {
  top: 30px;
  right: -25px;
  animation-delay: 2s;
}

.floating-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Feature Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Compare Table in Services Page */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--bg-card-border);
}

.compare-table th, .compare-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--bg-card-border);
}

.compare-table th {
  background: var(--bg-surface);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary);
}

.compare-table td i.fa-check {
  color: var(--success);
}

.compare-table td i.fa-times {
  color: var(--text-muted);
  opacity: 0.4;
}

/* Calculator Section & Page */
.calculator-section {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
  border-top: 1px solid var(--bg-card-border);
  border-bottom: 1px solid var(--bg-card-border);
}

.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.calc-form-group {
  margin-bottom: 1.75rem;
}

.calc-form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.option-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.option-btn {
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.option-btn:hover, .option-btn.active {
  background: rgba(var(--primary-rgb), 0.12);
  border-color: var(--primary);
  color: var(--primary);
}

.calc-result-card {
  background: rgba(var(--primary-rgb), 0.06);
  border: 1.5px solid rgba(var(--primary-rgb), 0.3);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-header h4 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.result-hours {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.result-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.result-features li i {
  color: var(--success);
}

/* Exam Tips Tabs */
.tips-container {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.tips-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--bg-card-border);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.tab-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.step-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #be185d);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.stars {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.6rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.6rem 1.35rem 1.6rem;
  color: var(--text-muted);
  display: none;
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Contact & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-info-list {
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  position: relative;
}

.float-whatsapp {
  background: #25d366;
}

.float-phone {
  background: var(--primary);
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-tooltip {
  position: absolute;
  right: 70px;
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--bg-card-border);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
}

/* Footer */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-card-border);
  padding: 3.5rem 0 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-card-border);
}

/* Responsive Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .calc-grid, .contact-grid, .tab-content.active {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-menu {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: var(--bg-surface);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 576px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .option-cards {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
