:root {
  --primary: #FF4757;
  --secondary: #FFD93D;
  --accent: #4ECDC4;
  --purple: #A29BFE;
  --orange: #FF9F43;
  --green: #26DE81;
  --bg-gradient: linear-gradient(180deg,
    rgba(255, 71, 87, 0.15) 0%,
    rgba(255, 159, 67, 0.12) 25%,
    rgba(255, 217, 61, 0.10) 50%,
    rgba(78, 205, 196, 0.12) 75%,
    rgba(38, 222, 129, 0.15) 100%
  );
  --text-dark: #2C3E50;
  --text-light: #7F8C8D;
  --white: #FFFFFF;
  --radius: 20px;
  --max-width: 1100px;
}

/* RESET */
* { margin:0; padding:0; box-sizing:border-box; }
html,body { height:100%; }

body {
  font-family: "Comic Sans MS","Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
  background: var(--bg-gradient) fixed no-repeat;
  background-size: cover;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  color:var(--text-dark);
}

/* HEADER */
.site-header {
  background: linear-gradient(90deg,var(--primary),var(--orange),var(--secondary));
  padding: 30px 20px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
  position: sticky; top: 0; z-index: 50;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.header-logo {
  max-height: 120px;
  transition: transform .3s ease;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}
.header-logo:hover {
  transform: scale(1.05) rotate(2deg);
}

/* MAIN */
main {
  flex:1;
  display:flex;
  flex-direction:column;
  margin:auto;  
}

.hero { flex:1; display:flex; flex-direction:column;   max-height: 80vh;
}
.slider-container { flex:1; position:relative;   max-height: 80vh;
}

/* SLIDES */
.slides {
  width:100%;
  height:100%;
  position:relative;
  overflow:hidden;
}

.slide {
  display:none;
  width:100%;
  height:100%;
  text-align:center;
}

.slide img {
  width:100%;
  height:100%;        /* 🔥 Görsel alanı DOLDURACAK */
  object-fit:fill; 
  display:block;
  margin:auto;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.2));
}

/* SLIDER BUTTONS */
.btn.ctrl {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:none;
  background-color: gray; opacity: 0.5;
  width:45px; height:45px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  font-size:32px;
  color:var(--orange);
  cursor:pointer;
  transition:.3s;
  z-index:5;
}
.btn.ctrl:hover {
  transform:translateY(-50%) scale(1.15);
}

.prev { left:20px; }
.next { right:20px; }

/* MODAL */
.modal {
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  z-index:9999;
  align-items:center;
  justify-content:center;
  padding:32px;
}

.modal-content {
  max-width:90%;
  max-height:85%;
  border-radius:20px;
  box-shadow:0 25px 80px rgba(0,0,0,0.6);
}

.modal-close {
  position:absolute;
  top:25px; right:25px;
  width:50px; height:50px;
  background:var(--primary);
  color:white;
  border:none;
  font-size:28px;
  border-radius:50%;
  cursor:pointer;
  transition:.3s;
}
.modal-close:hover { transform:scale(1.15); }

.modal-ctrl {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:18px;
  padding:12px 18px;
  color:white;
  border:none;
  border-radius:15px;
  background:linear-gradient(135deg,var(--primary),var(--orange));
  cursor:pointer;
  transition:.3s;
}
.modal-ctrl.hidden {
  display: none !important;
}

/* pan etkinken daha uygun bir işaretçi */
.modal-content.dragging {
  cursor: grabbing;
  user-select: none;
  -webkit-user-drag: none;
}

.modal-ctrl:hover { transform:translateY(-50%) scale(1.1); }
.modal-ctrl.prev { left:20px; }
.modal-ctrl.next { right:20px; }

/* FOOTER */
footer {
  background: linear-gradient(90deg,var(--accent),var(--green),var(--purple));
  padding:40px 25px;
  margin-top:auto;
  color:white;
  box-shadow:0 -6px 25px rgba(0,0,0,0.1);
}

.contact-info {
  max-width:var(--max-width);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.contact-item {
  background:rgba(255,255,255,0.15);
  padding:24px;
  border-radius:15px;
  backdrop-filter:blur(10px);
  transition:.3s;
}
.contact-item:hover {
  transform:translateY(-5px);
  background:rgba(255,255,255,0.25);
}

.contact-item h4 {
  margin-bottom:12px;
  font-size:1.2rem;
  font-weight:bold;
}

.contact-item a {
  color:white;
  text-decoration:none;
  font-weight:bold;
}
.contact-item a:hover {
  color:var(--secondary);
  text-decoration:underline;
}

.copyright {
  text-align:center;
  margin-top:20px;
  opacity:0.9;
  padding-top:15px;
}

/* RESPONSIVE */
@media (max-width:900px) {
  .header-logo { max-height:90px; }
  .btn.ctrl { width:40px; height:40px; }
}

@media (max-width:600px) {
  .header-logo { max-height:70px; }
  .prev { left:10px; }
  .next { right:10px; }
  .slide figcaption { font-size:1.1rem; }
}