:root {
  --primary-glow: #ffd650c2;
  --glow-intense: #ffd837;
  --glass-bg: rgba(30, 30, 30, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
  --primary-glow: #ffd650c2;
  --glow-intense: #ffd837;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.1);
}

.details-container {
  max-width: 1200px;
  margin: 110px auto 40px;
  padding: 0 5%;
}

/* --- Hero Banner --- */
.hero-banner {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
}

.event-title-main {
  font-size: 2.5rem;
  margin: 10px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.event-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* --- Layout Grid --- */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .content-grid {
    display: flex;
    flex-direction: column;
  }

  .main-column,
  .sidebar-column {
    display: contents;
  }

  .details-section {
    order: 1;
  }
  .event-review {
    order: 2;
  }
  .event-gallery {
    order: 3;
  }
  .info-card {
    order: 4;
  }
  .map-card {
    order: 5;
  }
  .comments-section {
    order: 6;
    margin-top: 30px;
  }
}
/* --- Glass Panels --- */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  color: var(--text-color);
}

.glass-panel h2,
.glass-panel h3 {
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 10px;
}

.feature-list {
  padding-left: 20px;
  line-height: 1.8;
}

/* --- Sidebar & Info Card --- */
.sidebar-column {
  position: sticky;
  top: 100px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.info-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary-glow);
}

.info-item div {
  display: flex;
  flex-direction: column;
}

.info-item span {
  font-size: 0.9rem;
  opacity: 0.7;
}

.price-tag {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
  color: var(--primary-glow);
}

.btn-register,
.btn-primary {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background: var(--primary-glow);
  color: #111;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.9s ease;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.btn-register:hover,
.btn-primary:hover {
  background: #ffd837d6;
  box-shadow:
    inset 0 0 20px var(--glow-intense),
    0 0 21px var(--primary-glow);
  transform: translateY(-2px);
}
/* --- Map --- */
.map-placeholder {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
}
.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Comments --- */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.comment {
  display: flex;
  gap: 15px;
}

.comment-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid var(--primary-glow);
  color: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comment-avatar svg {
  width: 24px;
  height: 24px;
}

.comment-body {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 0 15px 15px 15px;
  flex-grow: 1;
}

[data-theme="light"] .comment-body {
  background: rgba(0, 0, 0, 0.05);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.comment-date {
  opacity: 0.5;
}

.comment-form textarea {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-color);
  margin-bottom: 15px;
  resize: vertical;
  font-family: inherit;
}

[data-theme="light"] .comment-form textarea {
  background: rgba(255, 255, 255, 0.5);
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary-glow);
}

.event-gallery {
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.gallery-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.2);
}
.event-review {
  margin-bottom: 30px;
}
