/* ===== CSS Variables & Base ===== */
:root {
  --red: #b60f19;
  --yellow: #f6b901;
  --molten-lava: #780000;
  --flag-red: #c1121f;
  --papaya-whip: #fdf0d5;
  --deep-space-blue: #003049;
  --steel-blue: #669bbc;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --smoky-gray: #f0f0f0;
  --text-dark: #333333;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

section {
  padding: 80px 0;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  transform: translateY(-100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar.visible {
  transform: translateY(0);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 50px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .nav-logo img {
    height: 45px; /* %10 küçültme */
    max-width: 160px; /* 180px'in %90'ı */
  }
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  position: relative;
  padding-bottom: 5px;
  font-weight: 400;
  font-size: 15px;
  color: var(--text-dark);
}

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

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

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: var(--papaya-whip);
  color: var(--red);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.lang-btn.active {
  outline: 2px solid var(--flag-red);
}

.lang-switcher--nav {
  margin-left: auto;
  margin-right: 18px;
}

.lang-switcher--footer {
  justify-content: center;
  margin-top: 14px;
}

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 80px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  clip-path: circle(0% at 50% 50%);
  animation: none;
}

.slide.active .slide-bg {
  animation: heroReveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes heroReveal {
  0% {
    clip-path: circle(0% at 50% 50%);
    transform: scale(1.1);
  }
  100% {
    clip-path: circle(150% at 50% 50%);
    transform: scale(1);
  }
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  animation: none;
}

.slide.active .slide-overlay {
  animation: overlayFade 1s ease 0.5s forwards;
}

@keyframes overlayFade {
  to {
    opacity: 1;
  }
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

/* Floating geometric shapes */
.hero-slider::before,
.hero-slider::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.hero-slider::before {
  width: 300px;
  height: 300px;
  border: 2px solid rgba(246, 185, 1, 0.3);
  top: 10%;
  right: 10%;
  animation: floatShape1 8s ease-in-out infinite;
}

.hero-slider::after {
  width: 200px;
  height: 200px;
  border: 2px solid rgba(182, 15, 25, 0.3);
  bottom: 15%;
  left: 5%;
  animation: floatShape2 10s ease-in-out infinite;
}

@keyframes floatShape1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-30px, 30px) rotate(90deg);
  }
  50% {
    transform: translate(20px, -20px) rotate(180deg);
  }
  75% {
    transform: translate(30px, 20px) rotate(270deg);
  }
}

@keyframes floatShape2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  33% {
    transform: translate(25px, -25px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translate(-20px, 15px) rotate(240deg) scale(0.9);
  }
}

.slide-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  filter: blur(10px);
  letter-spacing: 15px;
  transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0.8s;
}

.slide-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  max-width: 600px;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(5px);
  transition: all 1s ease 1s;
}

.slide.active .slide-content h1 {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  letter-spacing: 0;
}

.slide.active .slide-content p {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.cta-button {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  box-shadow: 0 0 0 0 rgba(182, 15, 25, 0.7);
}

.slide.active .cta-button {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease 1.2s, box-shadow 0.3s ease;
  animation: ctaGlow 2s ease-in-out 2s infinite;
}

@keyframes ctaGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(182, 15, 25, 0.7), 0 0 20px rgba(246, 185, 1, 0);
  }
  50% {
    box-shadow: 0 0 30px 10px rgba(182, 15, 25, 0.3), 0 0 40px rgba(246, 185, 1, 0.2);
  }
}

.cta-button:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.cta-button.secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
  margin-left: 15px;
}

.cta-button.secondary:hover {
  background: var(--white);
  color: var(--text-dark);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* ===== Section Styles ===== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--deep-space-blue);
  margin-bottom: 15px;
}

.section-title .subtitle {
  font-size: 1.2rem;
  color: var(--steel-blue);
  font-weight: 300;
}

.section-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 40px;
}

.section-content.reverse {
  flex-direction: row-reverse;
}

.section-text {
  flex: 1;
}

.section-text h3 {
  font-size: 1.8rem;
  color: var(--flag-red);
  margin-bottom: 20px;
}

.section-text p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.section-text ul {
  list-style: none;
  margin: 20px 0;
}

.section-text ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.section-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: bold;
}

.section-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.section-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.cta-group {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--red);
}

.btn-secondary {
  background: transparent;
  color: var(--deep-space-blue);
  border-color: var(--deep-space-blue);
}

.btn-secondary:hover {
  background: var(--deep-space-blue);
  color: var(--white);
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== About Section ===== */
.about-section {
  background: var(--light-gray);
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--deep-space-blue);
  margin-bottom: 20px;
}

/* ===== Testimonials / Google Reviews ===== */
.reviews-section {
  background: var(--papaya-whip);
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  white-space: nowrap;
  flex-wrap: nowrap;
  width: max-content;
}

.reviews-track img {
  height: 168px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

@media (max-width: 768px) {
  .reviews-section {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }

  .reviews-track {
    gap: 16px;
    padding: 20px 16px;
    width: max-content;
  }

  .reviews-track img {
    height: 180px;
    width: 300px;
    object-fit: contain;
    max-height: none;
    flex: 0 0 auto;
  }

  .reviews-row {
    margin-bottom: 15px;
  }
}

.reviews-track img:hover {
  transform: scale(1.1);
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.marquee-left {
  animation: marquee-left 30s linear infinite;
}
.marquee-right {
  animation: marquee-right 30s linear infinite;
}
.reviews-track:hover {
  animation-play-state: paused;
}



/* ===== FAQ Section ===== */
.faq-section {
  background: var(--white);
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background: var(--light-gray);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  transition: background 0.3s ease;
}

.faq-question .faq-category {
  display: inline-block;
  padding: 3px 10px;
  margin-right: 8px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.82em;
  line-height: 1.2;
}

.faq-question .faq-category--pasif {
  background: linear-gradient(135deg, #aa151b 0%, #d32f2f 100%);
}

.faq-question .faq-category--dijital {
  background: linear-gradient(135deg, #0f4c81 0%, #1d70b8 100%);
}

.faq-question .faq-category--ogrenci {
  background: linear-gradient(135deg, #f1b80b 0%, #d89f00 100%);
  color: #222;
}

.faq-question .faq-category--genel {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.faq-question:hover {
  background: var(--papaya-whip);
}

.faq-question .icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  background: var(--white);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* ===== Lead Form ===== */
.lead-form-section {
  background: var(--smoky-gray);
  padding: 80px 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-container h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--deep-space-blue);
  margin-bottom: 10px;
}

.form-container .form-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel-blue);
}

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

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: var(--flag-red);
  transform: translateY(-2px);
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s ease;
}

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

.whatsapp-btn img {
  width: 35px;
  height: 35px;
}

/* ===== Footer ===== */
.footer {
  background: var(--smoky-gray);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 15px;
}

.footer-logo img {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.footer-about {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

.footer-nav h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--deep-space-blue);
}

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

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a:hover {
  color: var(--red);
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact .contact-item strong {
  display: block;
  font-size: 13px;
  color: #999;
}

.footer-bottom {
  background: #222;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

.footer-bottom a {
  color: var(--red);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .section-content {
    flex-direction: column;
  }
  
  .section-content.reverse {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 30px;
  }

  .about-image {
    width: 100%;
    order: 1;
  }

  .about-image img {
    width: 100%;
    height: auto !important;
  }

  .about-text {
    order: 2;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .mobile-toggle {
    display: block;
  }

  .lang-switcher--nav {
    order: 2;
    margin-left: auto;
    margin-right: 10px;
  }

  .mobile-toggle {
    order: 3;
  }

  .nav-links {
    order: 4;
  }

  .lang-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  
  .slide-content h1 {
    font-size: 2rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .cta-group {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cta-button.secondary {
    margin-left: 0;
    margin-top: 10px;
  }
  
  .reviews-track img {
    height: 80px;
  }
}

/* Icon Box Grid */
.icon-box-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  align-items: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Tercümanlık Section Hidden */
#tercumanlik {
  display: none;
}

.icon-box-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-color: var(--red);
}

.icon-box .icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.icon-box .label {
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
}

/* Desktop: 2+3 layout with flexible widths */
@media (min-width: 769px) {
  .icon-box-row .icon-box {
    flex: 0 0 calc(50% - 15px);
    min-height: 180px;
  }
  .icon-box-row.bottom-row .icon-box {
    flex: 0 0 calc(33.333% - 15px);
  }
}

/* Insurance Section */
.insurance-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--papaya-whip) 100%);
}

.insurance-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
}

.insurance-text {
  flex: 1;
  max-width: 700px;
}

.insurance-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.insurance-logos-container {
  text-align: center;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.insurance-logos-track {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: center;
  margin-top: 40px;
}

.insurance-logos-track img {
  height: auto !important;
  width: calc((100% - 100px) / 6) !important;
  max-width: 160px !important;
  min-width: 120px;
  flex: 0 0 calc((100% - 100px) / 6);
  object-fit: contain;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.insurance-logos-track img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .insurance-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .insurance-text {
    max-width: 100%;
  }
  
  .insurance-logos-track {
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .insurance-logos-track img {
    height: auto !important;
    width: 180px !important;
    max-width: 180px !important;
    flex: 0 0 180px;
  }
}

/* Mobile: 2+3 layout with percentage widths */
@media (max-width: 768px) {
  .icon-box-grid {
    align-items: stretch;
  }
  .icon-box-row.top-row {
    justify-content: center;
  }
  .icon-box-row.bottom-row {
    justify-content: center;
  }
  .icon-box-row .icon-box {
    flex: 0 0 calc(50% - 10px);
    min-height: 120px;
  }
  .icon-box-row.bottom-row .icon-box {
    flex: 0 0 calc(33.333% - 10px);
  }
}

