/* ===== DDYPD - Ana Stil Dosyası ===== */

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

:root {
  --navy: #1a2e4a;
  --blue: #2563a8;
  --gold: #c9a227;
  --light: #f4f7fb;
  --text: #2d3748;
  --muted: #64748b;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(26,46,74,0.10);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 12px 24px;
}
.logo img { height: 60px; width: auto; }

.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  background: var(--blue); color: var(--white);
}


.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); min-width: 200px;
  padding: 8px 0; z-index: 200;
}
.has-dropdown.open .dropdown { display: block; }
.dropdown a {
  color: var(--text) !important; display: block;
  padding: 10px 20px; font-size: 0.9rem;
}
.dropdown a:hover { background: var(--light); color: var(--blue) !important; }


.has-dropdown.open 
.dropdown a {
  color: var(--text) !important; display: block;
  padding: 10px 20px; font-size: 0.9rem;
  border-radius: 0;
}
.dropdown a:hover { background: var(--light); color: var(--blue) !important; }

.header-contact { margin-left: auto; color: var(--gold); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.mobile-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.3); color: white; font-size: 1.4rem; padding: 4px 10px; border-radius: 4px; cursor: pointer; }

/* ===== HERO ===== */
.hero { position: relative; height: 580px; overflow: hidden; }
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,46,74,0.82) 40%, rgba(26,46,74,0.2) 100%);
  display: flex; align-items: center;
}
.hero-content { padding: 0 60px; max-width: 640px; }
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white); line-height: 1.25;
  margin-bottom: 16px;
}
.hero-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 28px; }
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 12px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem; margin-right: 12px;
  transition: var(--transition);
}
.btn-primary:hover { background: #e6b72e; transform: translateY(-2px); }
.btn-outline {
  display: inline-block; border: 2px solid var(--white); color: var(--white);
  padding: 10px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; transition: var(--transition);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.slider-dots {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 8px;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.45); cursor: pointer; transition: var(--transition);
}
.dot.active { background: var(--gold); transform: scale(1.2); }

/* ===== ABOUT ===== */
.about-section { padding: 80px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.section-tag {
  display: inline-block; background: rgba(37,99,168,0.1); color: var(--blue);
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; color: var(--navy); margin-bottom: 20px; line-height: 1.2;
}
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.about-image { position: relative; }
.about-image img { border-radius: 12px; width: 100%; height: 380px; object-fit: cover; }
.about-card {
  position: absolute; bottom: -24px; left: 24px;
  background: var(--navy); color: white;
  padding: 16px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-card strong { display: block; font-size: 1rem; }
.about-card span { font-size: 0.85rem; color: var(--gold); }

/* ===== QUICK LINKS ===== */
.quick-links { padding: 80px 0; background: var(--light); }
.ql-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ql-card {
  background: var(--white); border-radius: 12px; padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow);
  transition: var(--transition); border-bottom: 3px solid transparent;
}
.ql-card:hover { transform: translateY(-6px); border-color: var(--blue); }
.ql-card img { width: 48px; height: 48px; object-fit: contain; margin: 0 auto 16px; }
.ql-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.ql-card p { font-size: 0.88rem; color: var(--muted); }

/* ===== EVENTS ===== */
.events-section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--navy); margin-top: 8px; }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.event-card { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,46,74,0.15); }
.event-img { height: 200px; background-size: cover; background-position: center; }
.event-body { padding: 24px; }
.event-date { font-size: 0.8rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.event-body h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); margin: 8px 0 10px; line-height: 1.3; }
.event-body p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.btn-text { color: var(--blue); font-weight: 700; font-size: 0.9rem; transition: var(--transition); }
.btn-text:hover { color: var(--navy); }

/* ===== PAGE CONTENT ===== */
.page-hero {
  background: var(--navy); color: white;
  padding: 60px 0; text-align: center;
}
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; }
.breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 10px; }
.breadcrumb a { color: var(--gold); }
.page-content { padding: 64px 0; }
.content-box {
  background: var(--white); border-radius: 12px;
  box-shadow: var(--shadow); padding: 48px;
  max-width: 860px; margin: 0 auto;
}
.content-box h2 { font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 20px; }
.content-box h3 { color: var(--blue); margin: 24px 0 12px; font-size: 1.1rem; }
.content-box p { color: var(--muted); margin-bottom: 14px; line-height: 1.8; }
.content-box ul { padding-left: 20px; margin-bottom: 16px; }
.content-box ul li { color: var(--muted); margin-bottom: 8px; line-height: 1.7; list-style: disc; }
.madde-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; background: var(--blue); color: white;
  border-radius: 50%; font-weight: 700; font-size: 0.85rem; margin-right: 8px; flex-shrink: 0;
}
.madde { display: flex; align-items: flex-start; margin-bottom: 20px; }
.madde-text h4 { color: var(--navy); font-size: 1rem; margin-bottom: 6px; }

/* ===== MEMBERS TABLE ===== */
.members-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.member-card {
  background: var(--light); border-radius: 10px; padding: 24px;
  border-left: 4px solid var(--blue);
}
.member-card .role { font-size: 0.8rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.member-card .name { font-size: 1.2rem; font-family: 'Playfair Display', serif; color: var(--navy); margin: 6px 0 4px; }
.member-card .organ { font-size: 0.9rem; color: var(--muted); }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-img {
  aspect-ratio: 4/3; border-radius: 8px; overflow: hidden;
  cursor: pointer; transition: var(--transition);
}
.gallery-img:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.info-icon {
  width: 48px; height: 48px; background: var(--blue); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.info-text h4 { color: var(--navy); margin-bottom: 4px; }
.info-text p { color: var(--muted); font-size: 0.95rem; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  padding: 12px 16px; border: 1.5px solid #e2e8f0;
  border-radius: var(--radius); font-family: inherit; font-size: 1rem;
  transition: var(--transition); outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); }
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form button {
  background: var(--blue); color: white; border: none;
  padding: 14px; border-radius: var(--radius); font-size: 1rem;
  font-weight: 700; cursor: pointer; transition: var(--transition);
}
.contact-form button:hover { background: var(--navy); }
.map-wrapper { border-radius: 12px; overflow: hidden; height: 300px; background: var(--light); margin-top: 40px; }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* ===== BASINDA BIZ ===== */
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.press-card {
  border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition);
}
.press-card:hover { transform: translateY(-4px); }
.press-card img { width: 100%; height: 180px; object-fit: cover; }
.press-body { padding: 20px; }
.press-body h4 { color: var(--navy); font-family: 'Playfair Display', serif; margin-bottom: 8px; }
.press-body p { color: var(--muted); font-size: 0.9rem; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { height: 64px; margin-bottom: 16px; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ql-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; width: 100%; order: 3; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; }
  
  .has-dropdown.open 
  .mobile-toggle { display: block; }
  .header-contact { font-size: 0.8rem; }
  .hero { height: 420px; }
  .hero-content { padding: 0 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; margin-top: 16px; }
  .ql-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .press-grid { grid-template-columns: 1fr; }
  .members-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .content-box { padding: 28px; }
}
@media (max-width: 480px) {
  .ql-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
