@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
  --gold: #FFD700;
  --gold-dark: #bfa100;
  --black: #111111;
  --black2: #181818;
  --card-bg: #181818;
  --text-main: #fff;
  --text-muted: #b2becd;
  --shadow: 0 4px 32px #0008;
}

* {
  box-sizing: border-box;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--black);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.hero, .admin-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #181818 0%, #232323 100%);
  text-align: center;
  padding-top: 60px;
  animation: fadeIn 1.2s;
  border-bottom: 2px solid var(--gold-dark);
  position: relative;
  z-index: 2;
}
.hero-logo, .admin-hero-logo {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 18px;
  text-shadow: 0 4px 32px #0008;
}
.hero-title, .admin-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: var(--gold);
  text-shadow: 0 2px 8px #000a;
}
.hero-desc, .admin-hero-desc {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 32px;
}

.hero-btn {
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: #181818;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 18px 56px;
  cursor: pointer;
  box-shadow: 0 2px 16px #0004;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  border: 2px solid var(--gold);
  margin-bottom: 18px;
}
.hero-btn:hover {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  transform: scale(1.04);
}

/* Hero giriş animasyonu */
.hero, .admin-hero {
  animation: heroEnter 0.6s cubic-bezier(.77,0,.18,1) both;
}
@keyframes heroEnter {
  0% { opacity: 0; transform: translateY(-20px) scale(0.98); }
  100% { opacity: 1; transform: none; }
}

.hero-logo, .admin-hero-logo {
  animation: logoPop 0.7s 0.1s cubic-bezier(.77,0,.18,1) both;
}
@keyframes logoPop {
  0% { opacity: 0; transform: scale(0.8) rotate(-8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

.hero-title, .admin-hero-title {
  animation: titleFade 0.7s 0.2s cubic-bezier(.77,0,.18,1) both;
}
@keyframes titleFade {
  0% { opacity: 0; letter-spacing: 10px; }
  100% { opacity: 1; letter-spacing: 2px; }
}

.menu-section {
  max-width: 1100px;
  margin: 0 auto 60px auto;
  padding: 40px 16px 0 16px;
  display: none;
  animation: fadeInUp 1.1s;
}
.menu-section.active {
  display: block;
}
.menu-section, .menu-grid {
  overflow-y: initial !important;
  height: auto !important;
  max-height: none !important;
}

.category-tabs {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  margin-bottom: 32px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold-dark);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--card-bg);
}
.category-tab {
  background: var(--card-bg);
  color: var(--gold);
  font-size: 1.18rem;
  font-weight: 700;
  border: 2px solid var(--gold-dark);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  padding: 18px 32px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
  outline: none;
  box-shadow: 0 2px 8px #0002;
  flex: 0 0 auto;
  white-space: nowrap;
}
.category-tab.active, .category-tab:hover {
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: #181818;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 16px #ffd70033;
}

/* Kategori sekmelerine underline animasyonu */
.category-tab {
  position: relative;
  overflow: hidden;
}
.category-tab::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(.77,0,.18,1), left 0.3s cubic-bezier(.77,0,.18,1);
}
.category-tab.active::after, .category-tab:hover::after {
  width: 80%;
  left: 10%;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.menu-card {
  background: linear-gradient(120deg, #232323 60%, #181818 100%);
  border-radius: 18px;
  box-shadow: 0 2px 16px #0004;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.18s, box-shadow 0.18s, border 0.18s;
  position: relative;
  border: 2px solid var(--gold-dark);
  will-change: opacity, transform;
  animation-fill-mode: both;
}
.menu-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px #ffd70055;
  z-index: 2;
  border: 2px solid var(--gold);
}
/* Menü kartlarına wow efekti */
.menu-card {
  animation: cardIn 0.5s cubic-bezier(.77,0,.18,1) both;
  animation-delay: calc(var(--card-index, 0) * 0.04s + 0.1s);
}
@keyframes cardIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.98); }
  100% { opacity: 1; transform: none; }
}
.menu-card:hover {
  box-shadow: 0 8px 32px #ffd70055;
  border: 2px solid var(--gold);
  transform: translateY(-6px) scale(1.03);
}
.menu-card .drink-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gold);
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #000a;
}
.menu-card .drink-price {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 10px;
}

.admin-section {
  max-width: 1100px;
  margin: 0 auto 60px auto;
  padding: 40px 16px 0 16px;
  animation: fadeInUp 1.1s;
}

.admin-panel {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 2px 16px #0004;
  padding: 32px 24px 24px 24px;
  margin-top: -60px;
  position: relative;
  z-index: 1;
}

.admin-panel h2 {
  color: var(--gold);
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.admin-panel form, .admin-panel .admin-search-bar {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.admin-panel input, .admin-panel select, .admin-panel button {
  font-family: inherit;
  font-size: 1.1rem;
  padding: 14px 18px;
  border-radius: 7px;
  border: 2px solid var(--gold-dark);
  margin-right: 8px;
  margin-bottom: 8px;
  outline: none;
  background: #232323;
  color: var(--text-main);
  transition: border 0.2s, background 0.2s;
}
.admin-panel input:focus, .admin-panel select:focus {
  border: 2px solid var(--gold);
  background: #181818;
}
.admin-panel button {
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: #181818;
  border: 2px solid var(--gold);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px #ffd70033;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.admin-panel button:hover {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px #ffd70055;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #232323;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px #0002;
}
.admin-table th, .admin-table td {
  padding: 18px 12px;
  border-bottom: 1px solid #222;
  text-align: left;
  font-size: 1.1rem;
}
.admin-table th {
  background: #181818;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.15rem;
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.actions a, .actions button {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  margin-right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  font-size: 1.1rem;
}
.actions a:hover, .actions button:hover {
  color: #fff;
}
.logout {
  float: right;
  background: #232323;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 10px 26px;
  border-radius: 20px;
  font-weight: 700;
  margin-top: -8px;
  margin-right: 8px;
  transition: background 0.2s, color 0.2s;
  font-size: 1.1rem;
}
.logout:hover {
  background: var(--gold);
  color: #181818;
}

.admin-search-bar {
  margin-bottom: 24px;
  gap: 14px;
  background: #181818;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px #0002;
}
.admin-search-bar input, .admin-search-bar select {
  margin-bottom: 0;
  min-width: 180px;
  font-size: 1.1rem;
  padding: 14px 18px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer klasik konumda, sticky değil */
footer {
  background: linear-gradient(90deg, #181818 0%, #232323 100%);
  color: var(--gold);
  text-align: center;
  padding: 22px 0 18px 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 -2px 16px #0008;
  width: 100%;
  margin-top: 60px;
  position: static;
  z-index: 10;
  animation: none;
}

.gallery-section {
  max-width: 1100px;
  margin: 60px auto 0 auto;
  padding: 0 16px;
}
.gallery-title {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 1px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 2px 16px #0006;
  border: 2px solid var(--gold-dark);
  transition: transform 0.18s, box-shadow 0.18s;
  background: #232323;
}
.gallery-img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px #ffd70055;
  border: 2px solid var(--gold);
}

/* Galeri görsellerine hover animasyonu */
.gallery-img {
  transition: transform 0.4s cubic-bezier(.77,0,.18,1), box-shadow 0.3s;
}
.gallery-img:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 32px #ffd70055, 0 0 16px #ffd70044;
  border: 2px solid var(--gold);
}

.contact-section {
  max-width: 900px;
  margin: 60px auto 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.contact-box {
  flex: 1 1 260px;
  background: #181818;
  border-radius: 14px;
  box-shadow: 0 2px 12px #0003;
  padding: 32px 24px;
  color: var(--text-main);
  border: 2px solid var(--gold-dark);
  min-width: 220px;
}
.contact-title {
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.contact-info {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-muted);
}
.contact-social {
  margin-top: 18px;
}
.contact-social a {
  color: var(--gold);
  font-size: 1.6rem;
  margin-right: 18px;
  transition: color 0.2s;
}
.contact-social a:hover {
  color: #fff;
}

/* Sosyal medya ikonlarına animasyon */
.contact-social a {
  transition: transform 0.25s cubic-bezier(.77,0,.18,1), box-shadow 0.25s;
}
.contact-social a:hover {
  transform: scale(1.2) rotate(-8deg);
  box-shadow: 0 0 12px 2px var(--gold);
  color: var(--gold);
}

.map-box {
  flex: 2 1 340px;
  background: #181818;
  border-radius: 14px;
  box-shadow: 0 2px 12px #0003;
  padding: 24px 12px 12px 12px;
  border: 2px solid var(--gold-dark);
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.map-title {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.map-embed {
  width: 100%;
  min-height: 220px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px #0002;
}

/* Parıltı efekti sadeleştirildi */
.hero-logo::after {
  display: none;
}

.menu-section, .menu-grid, .menu-section.active, .menu-grid.active {
  overflow-y: hidden !important;
  height: auto !important;
  max-height: none !important;
}

/* Toast mesajı */
#toast {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 9999;
  background: linear-gradient(90deg, #181818 0%, #232323 100%);
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px 36px;
  border-radius: 16px;
  box-shadow: 0 4px 32px #0008;
  border: 2px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-40px) scale(0.98);
  transition: opacity 0.4s, transform 0.4s;
}
#toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
#toast.danger {
  color: #fff;
  background: linear-gradient(90deg, #b90000 0%, #232323 100%);
  border-color: #b90000;
}

/* Modal */
#modalConfirm {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
}
#modalConfirm .modal-bg {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #000a;
  backdrop-filter: blur(2px);
}
#modalConfirm .modal-content {
  position: relative;
  background: #181818;
  border-radius: 18px;
  box-shadow: 0 4px 32px #000a;
  border: 2px solid var(--gold);
  padding: 36px 32px 28px 32px;
  min-width: 280px;
  max-width: 90vw;
  z-index: 2;
  text-align: center;
  color: var(--gold);
}
#modalConfirm .modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--gold);
}
#modalConfirm .modal-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
}
.modal-btn {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 10px;
  border: 2px solid var(--gold);
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: #181818;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.modal-btn-yes:hover {
  background: linear-gradient(90deg, #b90000 0%, #ffd700 100%);
  color: #fff;
  border-color: #b90000;
}
.modal-btn-no {
  background: #232323;
  color: var(--gold);
  border: 2px solid var(--gold-dark);
}
.modal-btn-no:hover {
  background: #181818;
  color: #fff;
  border-color: var(--gold);
}

@media (max-width: 900px) {
  .menu-section, .admin-section {
    padding: 18px 2vw 0 2vw;
  }
  .menu-grid {
    gap: 12px;
  }
  .gallery-section, .contact-section {
    padding: 0 2vw;
  }
  .contact-section {
    flex-direction: column;
    gap: 24px;
  }
  .map-box, .contact-box {
    min-width: 0;
    width: 100%;
  }
  .menu-section, .menu-grid {
    overflow-y: hidden !important;
    height: auto !important;
    max-height: none !important;
  }
}
@media (max-width: 600px) {
  .hero, .admin-hero {
    min-height: 30vh;
    padding-top: 24px;
  }
  .hero-title, .admin-hero-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
  .hero-logo, .admin-hero-logo {
    font-size: 2.5rem;
    margin-bottom: 8px;
  }
  .hero-desc, .admin-hero-desc {
    font-size: 1.05rem;
    margin-bottom: 18px;
  }
  .hero-btn {
    font-size: 1.1rem;
    padding: 14px 18px;
    width: 90vw;
    max-width: 340px;
    margin-bottom: 12px;
  }
  .menu-section {
    padding: 4px 0 0 0;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  .menu-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 80px;
    margin: 0 auto;
    padding: 18px 8px 16px 8px;
  }
  .category-tabs {
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 4px;
  }
  .category-tab {
    font-size: 1.05rem;
    padding: 12px 18px;
    border-radius: 12px 12px 0 0;
  }
  .menu-card .drink-name {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  .menu-card .drink-price {
    font-size: 1.2rem;
    margin-top: 4px;
  }
  .admin-panel { padding: 8px 2px; }
  .admin-table th, .admin-table td { padding: 7px 2px; font-size: 1rem; }
  .logout { padding: 8px 10px; font-size: 1rem; }
  .gallery-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  .gallery-section {
    margin-top: 30px;
  }
  .contact-section {
    margin-top: 30px;
    gap: 14px;
  }
  .contact-box, .map-box {
    padding: 14px 6px;
  }
  .map-title {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .menu-section, .menu-grid, .menu-section.active, .menu-grid.active {
    overflow-y: hidden !important;
    height: auto !important;
    max-height: none !important;
  }
} 