/* ===============================
   GLOBAL RESET & ROOT VARIABLES
================================= */

:root {
  --bg: #fff7f2;
  --primary: #ff6f61;
  --secondary: #ffcb5c;
  --accent: #6ad1e3;
  --green: #8ddf7e;
  --pink: #ff9ed9;

  --white: #ffffff;
  --text: #333;
  --shadow-soft: 0 8px 25px rgba(0,0,0,0.05);
  --shadow-medium: 0 5px 15px rgba(0,0,0,0.1);
  --footer-bg: #f2f2f2; /* Footer arka plan rengi */
  --footer-text: #333;
  --footer-link: #333; /* Footer linkleri metin rengiyle uyumlu */
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Comic Sans MS', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  height: 65px;
}

nav {
  margin-left: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 12px;
  transition: 0.3s ease;
}

nav ul li a:hover {
  background: var(--pink);
  color: var(--white);
}

/* ===== DROPDOWN ===== */
nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 220px;
  box-shadow: var(--shadow-medium);
  z-index: 999;
}

nav ul li:hover > ul {
  display: block;
}

nav ul li ul li {
  width: 100%;
}

nav ul li ul li a {
  padding: 10px 15px;
  display: block;
  font-weight: 500;
  color: var(--text);
}

nav ul li ul li a:hover {
  background: var(--secondary);
  color: var(--white);
}

/* ===============================
   SLIDER
================================= */

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  width: 50%;
  height: 600px;
  object-fit: cover;
  display: block;
}

/* Slide Yazı Alanı */
.slide-content {
  position: absolute;
  bottom: 40px;
  left: 60px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  max-width: 500px;
}

.slide-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 16px;
}

/* Slider Butonları */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  transition: 0.3s;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

/* ===============================
   CONTENT
================================= */

.content {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.content h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.content p {
  font-size: 18px;
}

/* ===============================
   FOOTER
================================= */

footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 25px 20px;
  text-align: center;
  font-size: 14px;
}

footer a {
  color: var(--footer-link); /* Gri ton ile uyumlu */
  text-decoration: none;
  transition: 0.3s;
}

footer a:hover {
  color: var(--primary); /* Hoverda site rengiyle uyumlu */
  text-decoration: underline;
}

footer .footer-links {
  margin: 10px 0;
}

footer .footer-links a {
  margin: 0 5px;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .slide img {
    height: 300px;
  }

  .slide-content {
    left: 20px;
    bottom: 20px;
    padding: 15px 20px;
  }

  .slide-content h2 {
    font-size: 20px;
  }

  .slide-content p {
    font-size: 14px;
  }
}
