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

:root {
  --primary: #2ba4c8;
  --primary-dark: #1e8aab;
  --primary-light: #e8f6fa;
  --text: #333;
  --text-light: #666;
  --bg: #f8f9fa;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

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

ul { list-style: none; }

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

/* ===== Header ===== */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text span {
  display: block;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== Hero Slider ===== */
.hero {
  position: relative;
  overflow: hidden;
  height: 500px;
}

.hero-slides {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43,164,200,0.7) 0%, rgba(30,138,171,0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  color: var(--white);
  padding: 20px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 1.2rem;
  opacity: 0.95;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

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

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.section-title .underline {
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0 auto;
}

/* ===== Homepage 3-Column Grid ===== */
.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.home-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.home-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.home-card h3 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}

.home-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Duyurular list */
.duyuru-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  color: var(--text-light);
}

.duyuru-list li:last-child { border-bottom: none; }

.duyuru-list li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
  margin-right: 8px;
}

/* SSS Accordion on homepage */
.sss-mini-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sss-mini-list li:last-child { border-bottom: none; }

.sss-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.85;
}

.breadcrumb a {
  color: var(--white);
  opacity: 0.8;
}
.breadcrumb a:hover { opacity: 1; }

/* ===== About Page ===== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.9;
}

.about-content p:last-child { margin-bottom: 0; }

/* ===== FAQ / SSS ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background var(--transition);
  gap: 16px;
}

.faq-question:hover {
  background: var(--primary-light);
}

.faq-question .icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

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

.faq-item.open .faq-question {
  color: var(--primary);
  background: var(--primary-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 24px 20px;
}

.faq-answer p,
.faq-answer ul {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-answer ul {
  padding-left: 20px;
  list-style: disc;
  margin-top: 8px;
}

.faq-answer ul li {
  padding: 4px 0;
}

/* ===== Gallery ===== */
.gallery-note {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 350px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-info-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-detail .icon-circle {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}

.contact-detail span {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-top: 8px;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

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

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(43,164,200,0.4);
  color: var(--white);
}

/* ===== Registration ===== */
.kayit-content {
  max-width: 800px;
  margin: 0 auto;
}

.kayit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.kayit-card h3 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 20px;
}

.kayit-card ul {
  list-style: none;
  padding: 0;
}

.kayit-card ul li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.kayit-card ul li:last-child { border-bottom: none; }

.kayit-card ul li .check {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 2px;
}

.kayit-form-section {
  margin-top: 40px;
}

.kayit-form-section h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ===== Footer ===== */
.footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

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

.footer-about .logo-text {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact .ic {
  color: var(--primary);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: all var(--transition);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  color: var(--primary-dark);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero { height: 400px; }
  .hero-text h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    border-radius: 8px;
  }

  .menu-toggle {
    display: block;
  }

  .hero { height: 350px; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-text p { font-size: 1rem; }

  .section { padding: 48px 0; }
  .section-title h2 { font-size: 1.6rem; }

  .page-header { padding: 40px 0; }
  .page-header h1 { font-size: 1.6rem; }

  .about-content,
  .kayit-card { padding: 28px; }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .contact-info-card { padding: 24px; }
}

@media (max-width: 480px) {
  .header .container { height: 64px; }
  .logo img { height: 44px; }
  .logo-text { font-size: 1rem; }
  .hero { height: 280px; }
  .hero-text h1 { font-size: 1.4rem; }
  .nav-links { top: 64px; }
}
