/* =============================================
   EVENT DETAILS — AJR Brand
   ============================================= */

/* ── Cover ── */
.event-cover {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.event-cover-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1B4332 0%, #0f2b20 100%);
}

.event-cover-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.event-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #1B4332 0%, transparent 60%);
}

.event-cover-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0 50px;
}

.event-cover-content h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.event-cover-content .lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.event-cover-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.event-cover-meta-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 22px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.event-cover-meta-item i {
  color: #FFBA08;
  font-size: 1rem;
}

.event-cover-meta-item .label {
  opacity: 0.6;
  font-weight: 400;
}

/* ── Body ── */
.event-body {
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

/* ── Description Card ── */
.event-desc-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(27, 67, 50, 0.06);
  border: 1px solid rgba(116, 198, 157, 0.1);
  height: 100%;
}

.event-desc-card h5 {
  color: #1B4332;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-desc-card h5 i {
  color: #F48C06;
}

.event-desc-card p {
  color: #262626;
  font-size: 1rem;
  line-height: 2;
  opacity: 0.85;
}

/* ── Sidebar ── */
.event-sidebar {
  position: sticky;
  top: 100px;
}

/* ── Widget base ── */
.visual-widget {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(27, 67, 50, 0.06);
  border: 1px solid rgba(116, 198, 157, 0.1);
  margin-bottom: 20px;
}

.visual-widget h5 {
  color: #1B4332;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.visual-widget h5 i {
  color: #F48C06;
}

/* ── Facebook Widget ── */
.social-card {
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-card.facebook {
  background: rgba(24, 119, 242, 0.06);
  color: #1877F2;
}

.social-card.facebook:hover {
  background: #1877F2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.25);
}

.social-card .social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(24, 119, 242, 0.1);
  flex-shrink: 0;
}

.social-card:hover .social-icon {
  background: rgba(255, 255, 255, 0.15);
}

.social-card .social-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.social-card .social-handle {
  font-size: 0.75rem;
  opacity: 0.5;
  font-weight: 500;
}

.social-card:hover .social-name,
.social-card:hover .social-handle {
  color: #fff;
}

/* ── Search Widget ── */
.search-widget {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(27, 67, 50, 0.06);
  border: 1px solid rgba(116, 198, 157, 0.1);
  margin-bottom: 20px;
}

.search-widget h5 {
  color: #1B4332;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-widget h5 i {
  color: #F48C06;
}

.search-input-group {
  display: flex;
  align-items: center;
  background: rgba(244, 140, 6, 0.04);
  border: 1.5px solid rgba(244, 140, 6, 0.12);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.search-input-group:focus-within {
  border-color: #F48C06;
}

.search-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-size: 0.9rem;
  outline: none;
  font-family: 'Cairo', sans-serif;
}

.search-input-group button {
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #F48C06;
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.25s;
}

.search-input-group button:hover {
  color: #1B4332;
}

/* ── Subscription Card ── */
.subscription-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(27, 67, 50, 0.06);
  border: 1px solid rgba(116, 198, 157, 0.1);
}

.subscription-card .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.subscription-card .card-head h3 {
  color: #1B4332;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.subscription-card .card-head h3 i {
  color: #F48C06;
}

.subscription-card .form-group {
  margin-bottom: 16px;
}

.subscription-card .form-group label {
  display: block;
  color: #1B4332;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.subscription-card .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.88rem;
  color: #262626;
  background: #fff;
  width: 100%;
}

.subscription-card .form-control:focus {
  border-color: #F48C06;
  box-shadow: 0 0 0 3px rgba(244, 140, 6, 0.08);
  outline: none;
}

.subscription-card select.form-control option {
  color: #262626;
}

.seats-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 140, 6, 0.08);
  color: #F48C06;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}

.btn-subscribe {
  background: #1B4332;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  background: #F48C06;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 140, 6, 0.2);
}

.btn-subscribe i {
  color: #74C69D;
}

.btn-subscribe:hover i {
  color: #1B4332;
}

/* ── Custom Select ── */
.subscription-card .custom-select-wrapper {
  position: relative;
  width: 100%;
}

.subscription-card .custom-select-label {
  display: block;
  color: #1B4332;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.subscription-card .custom-select-display {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.88rem;
  color: #262626;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.25s;
}

.subscription-card .custom-select-display:hover {
  border-color: #F48C06;
}

.subscription-card .custom-select-display.active {
  border-color: #F48C06;
  box-shadow: 0 0 0 3px rgba(244, 140, 6, 0.08);
}

.subscription-card .custom-select-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  list-style: none;
  padding: 6px;
  margin: 4px 0 0;
  z-index: 100;
  display: none;
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.1);
}

.subscription-card .custom-select-list.show {
  display: block;
}

.subscription-card .custom-select-list li {
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  color: #262626;
  transition: background 0.2s;
}

.subscription-card .custom-select-list li:hover {
  background: rgba(244, 140, 6, 0.08);
}

.subscription-card .custom-select-list li.selected {
  background: rgba(244, 140, 6, 0.12);
  color: #1B4332;
  font-weight: 600;
}

.subscription-card .arrow {
  color: #F48C06;
  font-size: 0.8rem;
}

/* ── Animations ── */
.event-cover.anim-rise {
  animation: riseUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
