/* Renk Değişkenleri */
:root {
  /* Orijinal renkler */
  --primary-color: #1abc9c;       
  --secondary-color: #333;        
  --bg-color: #fff;
  --footer-bg: #222;
  --light-gray: #f4f4f4;
  --accent-color: #e74c3c;        
  --transition-speed: 0.3s;
  --font-family: 'Montserrat', sans-serif;

  /* Dark varyasyon (optional usage) */
  --primary-color-dark: #16a085; 
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--secondary-color);
  background-color: var(--bg-color);
  line-height: 1.5;
}

/* container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.header {
  background-color: var(--light-gray);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.logo {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  position: relative;
  transition: color var(--transition-speed);
}

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

/* Dil Butonları */
.language-switch {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
}

.lang-btn {
  background-color: transparent;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: background var(--transition-speed), border var(--transition-speed), color var(--transition-speed);
}

.lang-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* HAMBURGER ICON */
.mobile-menu-icon {
  display: none; /* Masaüstünde gizli */
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.mobile-menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--secondary-color);
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition-speed);
}

.mobile-menu-icon span:nth-child(1) {
  top: 0;
}
.mobile-menu-icon span:nth-child(2) {
  top: 10px;
}
.mobile-menu-icon span:nth-child(3) {
  top: 20px;
}

/* "X" animasyonunda class .open eklediğimizde dönüşümler */
.mobile-menu-icon.open span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}
.mobile-menu-icon.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
.mobile-menu-icon.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--transition-speed);
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--primary-color-dark);
}

/* SECTION */
.section {
  padding: 4rem 0;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.section p {
  text-align: center;
  line-height: 1.6;
  max-width: 800px;
  margin: 0.5rem auto;
}

/* About Images */
.about-images {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* SERVICES */
.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.services-list li {
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: box-shadow var(--transition-speed);
}

.services-list li:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.services-list h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 2rem auto 0 auto;
  gap: 1rem;
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-family);
}

.contact-form button {
  align-self: flex-start;
}

.form-response {
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* FOOTER */
.footer {
  background-color: var(--footer-bg);
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

/* ANİMASYONLAR */
.fade-in-onload {
  opacity: 0;
  animation: fadeInOnload 1s forwards;
  animation-delay: 0.2s;
}

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

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in-up.scroll-visible {
  animation: fadeInUp 0.8s forwards;
}

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

/* RESPONSIVE TASARIM */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--light-gray);
    flex-direction: column;
    width: 200px;
    gap: 1rem;
    padding: 1rem;
    display: none; /* Başlangıçta gizle */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .mobile-menu-icon {
    display: flex; /* Mobilde göster */
  }

  .about-images {
    flex-direction: column;
  }
}