/* National Convention Page Specific Styles */

/* Hero Section for Convention Page */
.hero-convention {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  z-index: 1;
}

/* Override any Bootstrap container padding */
.hero-convention .container,
.hero-convention .container-fluid {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* Hero image styling - full width */
.hero-convention .hero-image {
  width: 100%;
  height: 45vh;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.7);
  background-color: #090933;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hero content overlay */
.hero-convention .hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 2;
  padding: 2rem;
  background: rgba(9, 9, 51, 0.3);
  margin: 0 !important;
}

/* Convention hero text styling */
.hero-convention .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.hero-convention .hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Content container */
.convention-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Page title styling */
.convention-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #090933;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.convention-page-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  text-align: center;
  margin-bottom: 3rem;
  font-style: italic;
}

.convention-page-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, #090933 0%, #262c83 100%);
  border-radius: 2px;
}

/* Convention info card */
.convention-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 12px 30px rgba(9, 9, 51, 0.15);
  border: 2px solid rgba(9, 9, 51, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.convention-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(9, 9, 51, 0.25);
  border-color: #090933;
}

/* Convention card body */
.convention-card .card-body {
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Convention card title */
.convention-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: #090933;
  margin-bottom: 2rem;
  position: relative;
}

.convention-card-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  border-radius: 2px;
}

/* Convention description */
.convention-description {
  font-size: 1.1rem;
  color: #495057;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Convention button */
.convention-btn {
  background: linear-gradient(135deg, #090933 0%, #262c83 100%);
  border: none;
  color: white;
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 0.75rem;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 6px 20px rgba(9, 9, 51, 0.2);
  position: relative;
  overflow: hidden;
}

.convention-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.convention-btn:hover::before {
  left: 100%;
}

.convention-btn:hover {
  background: linear-gradient(135deg, #262c83 0%, #3d4db8 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(9, 9, 51, 0.3);
  color: white;
  text-decoration: none;
}

.convention-btn:active {
  transform: translateY(-1px);
}

/* Convention icon */
.convention-icon {
  font-size: 4rem;
  color: #090933;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.convention-card:hover .convention-icon {
  opacity: 1;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* Feature highlights */
.convention-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.feature-item {
  text-align: center;
  padding: 1rem;
}

.feature-icon {
  font-size: 2rem;
  color: #090933;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .convention-content {
    padding: 2.5rem 1.5rem;
  }
  
  .hero-convention .hero-image {
    height: 40vh;
  }
  
  .hero-convention .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-convention .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .convention-page-title {
    font-size: 2.2rem;
  }
  
  .convention-card .card-body {
    padding: 2.5rem;
  }
  
  .convention-card-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 767.98px) {
  .convention-content {
    padding: 2rem 1rem;
  }
  
  .hero-convention .hero-image {
    height: 35vh;
  }
  
  .hero-convention .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-convention .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-convention .hero-content {
    padding: 1rem;
  }
  
  .convention-page-title {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
  }
  
  .convention-page-subtitle {
    margin-bottom: 2rem;
  }
  
  .convention-card .card-body {
    padding: 2rem;
  }
  
  .convention-card-title {
    font-size: 1.6rem;
  }
  
  .convention-description {
    font-size: 1rem;
  }
  
  .convention-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .convention-content {
    padding: 1.5rem 0.5rem;
  }
  
  .hero-convention .hero-image {
    height: 30vh;
  }
  
  .hero-convention .hero-title {
    font-size: 1.9rem;
  }
  
  .convention-page-title {
    font-size: 1.7rem;
  }
  
  .convention-card .card-body {
    padding: 1.5rem;
  }
  
  .convention-icon {
    font-size: 3rem;
  }
  
  .convention-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Animation for card on load */
.convention-card {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced typography */
.convention-content h1,
.convention-content h2,
.convention-content h3 {
  color: #090933;
}

.convention-content p {
  color: #495057;
}