@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* -------------------- Reset & Base -------------------- */
*{
  margin:0; padding:0; box-sizing:border-box;
  text-decoration:none; list-style:none;
  font-family:'Poppins', sans-serif;
}

body{ background:#fff; }

/* -------------------- Header / Navbar -------------------- */
header{
  position:fixed; top:0; right:0; left:0;
  display:flex; align-items:center; justify-content:space-between;
  z-index:1000; padding:33px 9%; height:80px; width:100%;
  background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.logo img{ height:180px; width:auto; display:block; }
@media (max-width:768px){ .logo img{ height:100px; } }
@media (max-width:480px){ .logo img{ height:100px; } }

.navbar{ display:flex; align-items:center; justify-content:center; }
.navbar ul{ display:flex; padding:10px; font-size:15px; }
a{ padding:0 15px; color:#000; font-size:20px; }

.menu-toggle{ display:none; font-size:1.5rem; background:none; border:none; cursor:pointer; }
@media (max-width:768px){
  .navbar{ display:none; flex-direction:column; width:100%; background:#fff; position:absolute; top:60px; left:0; border-top:1px solid #ccc; }
  .navbar ul{ flex-direction:column; padding:10px 0; }
  .navbar.show{ display:flex; }
  .menu-toggle{ display:block; }
}

/* -------------------- Event Banner & Info -------------------- */
.event-calendar{ text-align:center; margin:40px 0 20px; }
.event-calendar img{
  max-width:85%; border-radius:16px; margin-top:75px;
  box-shadow:0 6px 18px rgba(0,0,0,.15); transition:transform .3s ease;
}
.event-calendar img:hover{ transform:scale(1.03); }

.resimworkshop-info{
  background:#fff; padding:2rem; margin:1rem 2rem;
  border-left:5px solid #0073e6; box-shadow:0 1px 5px rgba(0,0,0,.05);
  font-weight:600;
}
.resimworkshop-info h2{
  margin:0 0 10px; color:#8B4513; text-align:center;
  font-size:1.2rem; border-bottom:2px solid #8B4513;
}
.resimworkshop-info p{ text-align:center; padding:10px 0; }

/* -------------------- Ticket Button -------------------- */
.ticket{ text-align:center; margin:40px 0; }
.ticket-button{
  display:inline-block; padding:14px 36px; color:#fff; font-size:1.2rem; font-weight:600;
  background:linear-gradient(135deg, #8B4513, #B8860B);
  border-radius:30px; box-shadow:0 4px 12px rgba(0,0,0,.15); transition:.3s;
}
.ticket-button:hover{ transform:translateY(-3px); box-shadow:0 6px 18px rgba(0,0,0,.25); }

.slide-title{ text-align:center; font-size:1.2rem; font-weight:500; margin-bottom:15px; }

/* -------------------- Footer -------------------- */
.footer{ background:#8B4513; color:#fff; padding:20px 0; }
.footer-container{
  display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap;
  max-width:1200px; margin:0 auto; padding:0 20px;
}
.footer-left h2{ font-size:20px; margin:0; color:#fff; }
.footer-center{ text-align:center; flex:1; }
.footer-center a{
  display:inline-block; color:#fff; margin-bottom:5px; font-weight:500; margin-left:6px; transition:color .25s ease;
}
.footer-center p{ font-size:14px; color:#fff; margin:4px 0; }
.footer-right a{ color:#fff; margin-left:15px; font-size:18px; transition:color .3s; }
.footer-right a:hover{ color:#d2b48c; }
@media (max-width:768px){
  .footer-container{ flex-direction:column; text-align:center; align-items:center; gap:15px; }
  .footer-left, .footer-center, .footer-right{ width:100%; }
  .footer-left h2{ font-size:18px; margin-bottom:8px; }
  .footer-right{ margin-top:10px; }
  .footer-right a{ margin:0 10px; font-size:20px; }
}
@media (max-width:480px){
  .footer-left h2{ font-size:16px; }
  .footer-center p{ font-size:12px; }
}

/* -------------------- Chat Widget -------------------- */
.chat-toggle{
  position:fixed; right:20px; bottom:20px; z-index:10000;
  background:#000; color:#fff; border:none; padding:12px 16px; border-radius:50%;
  font-size:20px; cursor:pointer; box-shadow:0 4px 12px rgba(0,0,0,.2);
}
.chatbox{
  position:fixed; right:20px; bottom:80px; z-index:9999;
  width:320px; max-height:450px; display:flex; flex-direction:column;
  background:rgba(255,255,255,.9); backdrop-filter:blur(8px);
  border:1px solid #ddd; border-radius:16px; overflow:hidden; box-shadow:0 8px 24px rgba(0,0,0,.2);
  font-family:'Segoe UI', sans-serif;
}
.chat-header{
  background:#000; color:#fff; padding:12px; font-weight:700; text-align:center;
  border-bottom:1px solid #ccc; display:flex; justify-content:space-between; align-items:center;
}
.close-btn{ cursor:pointer; font-size:16px; margin-left:10px; }
.chatlogs{ flex:1; overflow-y:auto; padding:12px; }
.bot,.user{ margin:6px 0; padding:10px 14px; border-radius:18px; max-width:85%; word-wrap:break-word; font-size:14px; }
.bot{ background:#f0f0f0; color:#333; align-self:flex-start; }
.user{ background:#cbe4ff; color:#003366; text-align:right; align-self:flex-end; margin-left:auto; }
input[type="text"]{ width:100%; padding:14px; border:none; border-top:1px solid #ccc; font-size:14px; outline:none; }
@media (max-width:480px){
  .chatbox{ width:95%; right:2.5%; bottom:80px; }
  .chat-toggle{ right:10px; bottom:10px; }
}

/* -------------------- (Eski) schedule-box (kullanıyorsan bırak) -------------------- */
.schedule-box{ margin-top:15px; padding:12px; border:1px solid #ddd; border-radius:6px; background:#fafafa; }
.schedule-box label{ font-weight:600; margin-right:6px; }
.schedule-box select, .schedule-box input{ margin-right:10px; padding:4px 6px; }
.schedule-box button{ padding:6px 12px; background:#222; color:#fff; border:none; border-radius:4px; cursor:pointer; }
.schedule-box button:hover{ background:#444; }
.schedule-error{ color:#b00020; margin-top:6px; }

/* -------------------- Yeni Inline Bilet Paneli (chip tasarım) -------------------- */
/* Tekilleştirilmiş: ag-* sınıfları bir kez tanımlandı */
.ag-sched{
  margin-top:15px; padding:14px 16px; border-radius:14px; background:#fff;
  border:1px solid #eee; box-shadow:0 10px 24px rgba(0,0,0,.06); animation:fadeIn .25s ease;
}
.ag-head{ display:flex; gap:8px; align-items:center; justify-content:space-between; margin-bottom:8px; }
.ag-title{ font-weight:700; }
.ag-sub{ color:#666; font-size:12px; }
.ag-badge{
  display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px;
  background:#eef5ff; border:1px solid #cfe2ff; color:#2455a4;
}

.ag-grid{ display:flex; gap:8px; flex-wrap:wrap; }
.ag-chip{
  padding:8px 12px; border:1px solid #ddd; border-radius:999px; background:#fafafa;
  cursor:pointer; user-select:none; transition:.15s;
}
.ag-chip:hover{ transform:translateY(-1px); }
.ag-chip[aria-pressed="true"]{ background:#7a2d2d; color:#fff; border-color:#7a2d2d; }

.ag-row{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:8px; }
.ag-qty{ display:flex; align-items:center; gap:8px; }
.ag-qty input{ width:72px; padding:8px; border:1px solid #ddd; border-radius:8px; }
.ag-price{ margin-left:auto; font-weight:800; align-self:center; color:#444; }

.ag-actions{ display:flex; gap:8px; margin-top:10px; }
.ag-add{
  background:#7a2d2d; color:#fff; border:0; border-radius:10px; padding:10px 14px;
  font-weight:700; cursor:pointer; transition:background .2s;
}
.ag-add:hover{ background:#a0522d; }
.ag-cancel{
  background:#f3f3f3; border:1px solid #e6e6e6; border-radius:10px; padding:10px 14px; cursor:pointer;
}
.ag-err{ color:#b00020; margin-top:6px; }

@keyframes fadeIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }