/* style.css */

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background-color: #2c3e50;
  padding: 1rem 0;
}

header nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

header nav a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease-in-out;
}

header nav a:hover {
  color: #bdc3c7;
}

/* Main Content Area */
main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/* Forms */
form {
  margin-top: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

input[type="text"],
input[type="tel"],
input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease-in-out;
}

button:hover {
  background-color: #2980b9;
}

/* Utility */
.text-center {
  text-align: center;
}


/* loader genel yerleşimi */
.loader {
  text-align: center;
  margin-top: 100px;
}

/* yükleme çubuğu kapsayıcısı */
.loading-wrapper {
  margin: 40px auto;
  width: 300px;
  height: 25px;
  background-color: #e0e0e0;
  border-radius: 15px;
  overflow: hidden;
}

/* gerçek dolan çubuk */
.loading-bar {
  height: 100%;
  width: 0;
  background-color: #4CAF50;
  animation: loadBar 4s linear infinite;
}

/* alt metin */
.loader-subtext {
  margin-top: 30px;
  font-size: 16px;
  color: #666;
}

/* animasyon tanımı */
@keyframes loadBar {
  0%   { width: 0;   }
  50%  { width: 100%; }
  100% { width: 0;   }
}


.nft-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

/* Her NFT için kare kutu */
.nft-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  overflow: hidden;
  width: 120px;     /* İstediğin boyuta ayarla */
  height: 120px;    /* Kare için aynı değer */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.nft-card:hover {
  transform: translateY(-4px);
}

/* İçindeki resim kutuya sığsın */
.nft-card .nft-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobilde tek sütun */
@media (max-width: 480px) {
  .nft-card {
    width: 45vw;
    height: 45vw;
  }
}

/* Linki kart gibi davranacak şekilde ayarla */
.nft-link {
  display: block;
  text-decoration: none;
  color: inherit;        /* metin rengi için */
}
.hidden { display: none !important; }

@media (max-width: 768px) {
  #scan-qr-btn {
    display: block !important;
    margin: 1rem auto;
    padding: .5rem 1rem;
    background:#4CAF50;
    color:#fff;
    border:none;
    border-radius:.5rem;
  }
  #qr-scanner {
    width:90vw; max-width:400px;
    height:90vw; max-height:400px;
    margin:1rem auto;
  }
  #qr-file-input {
    display: block !important;
    margin: .5rem auto;
  }
}

/* Container ayarları: grid ya da flex ile kartları yan yana dizer */
.bands-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

/* Tek bir band kartı için stil */
.band-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem;
  flex: 1 1 calc(33% - 1rem);
  max-width: calc(33% - 1rem);
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Kart hover’da hafif büyüsün */
.band-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Band ismi */
.band-name {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: #333;
}

/* Resim ayarları */
.band-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

/* Açıklama metni */
.band-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

/* Detay linki butonu */
.band-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #0073e6;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.band-link:hover {
  background-color: #005bb5;
}

.band-detail {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.band-header {
  text-align: center;
}
.band-name {
  font-size: 2rem;
  margin-bottom: .5rem;
}
.band-cover {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.band-meta p {
  margin: .5rem 0;
}
.band-desc {
  font-size: 1rem;
  line-height: 1.5;
}

.band-tags .tag {
  display: inline-block;
  background: #eee;
  padding: .25rem .5rem;
  margin: .25rem;
  border-radius: 4px;
  font-size: .85rem;
}

.band-members ul {
  list-style: disc inside;
  margin: .5rem 0 1rem 0;
}

.band-social a {
  display: inline-block;
  margin-right: .75rem;
  text-decoration: none;
  font-weight: bold;
}

button {
  cursor: pointer;
  padding: .5rem 1rem;
  border: none;
  border-radius: 4px;
  background: #0073e6;
  color: white;
  transition: background .2s;
}
button:hover:not([disabled]) {
  background: #005bb5;
}
button[disabled] {
  background: #aaa;
  cursor: default;
}

/* Wrapper to position the custom arrow */
.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 400px;
  margin-bottom: 1rem;
}

/* Hide native arrow and style the <select> */
.select-wrapper select {
  width: 100%;
  padding: 0.5rem 1rem;
  padding-right: 2.5rem;  /* space for our custom arrow */
  font-size: 1rem;
  line-height: 1.2;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
  cursor: pointer;
}

/* Custom arrow using a CSS triangle */
.select-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0;
  height: 0;
  pointer-events: none;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #555;
  transform: translateY(-50%);
}

/* Style the read-only ticket count input to match */
#ticketCount, #date, #venue,#description {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 1.2;
  color: #333;
  background-color: #fafafa;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

/* Focus states */
.select-wrapper


.notification-list {
  list-style: none;
  padding: 0;
}
.notification-item {
  border-bottom: 1px solid #ddd;
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-between;
}
.notif-message {
  flex: 1;
}
.notif-time {
  margin-left: 1rem;
  color: #888;
  font-size: 0.9rem;
}

/* Paket Kartları */
.packages {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  width: 100%;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

.features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 1rem;
}

.features li {
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease-in-out;
}

.btn:hover {
  background-color: #0056b3;
}

#form-alert {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
}
#form-alert.success {
  background-color: #e6ffed;
  color: #2d662d;
  border: 1px solid #2d662d;
}
#form-alert.error {
  background-color: #ffe6e6;
  color: #662d2d;
  border: 1px solid #662d2d;
}

#map {
  height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
}