/* Enhanced Page Styles */

/* Page Banner Enhanced */
.page-banner-enhanced {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Banner with Image */
.banner-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 51, 66, 0.85) 0%, rgba(10, 37, 64, 0.85) 100%);
}

/* Banner with Gradient */
.banner-gradient-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0A3342 0%, #0a2540 100%);
}

.banner-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

/* Banner Shapes */
.banner-shape {
  position: absolute;
}

.shape-1 {
  top: 20px;
  right: 50px;
  width: 100px;
  height: 100px;
  border: 3px solid rgba(245, 158, 11, 0.3);
  border-radius: 50%;
  transform: rotate(45deg);
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  bottom: 30px;
  left: 80px;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
  top: 50%;
  left: 10%;
  width: 60px;
  height: 60px;
  background: rgba(12, 146, 165, 0.2);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Banner Content */
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 30px;
  max-width: 900px;
}

.banner-content h1 {
  margin: 0 0 20px 0;
  font-size: 42px;
  font-weight: 800;
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.banner-content h1 i {
  font-size: 48px;
  color: #fbbf24;
}

/* Page Content Section */
.page-content-section {
  margin-bottom: 40px;
}

.page-content-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 2px solid #e2e8f0;
}

/* Featured Image */
.page-featured-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  background: #f1f5f9;
}

.page-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Page Content Body */
.page-content-body {
  padding: 40px;
}

.content-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid #e2e8f0;
}

.content-header h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-header h2 i {
  color: var(--primary-color);
  font-size: 36px;
}

/* Content Text */
.content-text {
  font-size: 17px;
  line-height: 1.8;
  color: #334155;
  font-weight: 500;
}

.content-text p {
  margin-bottom: 20px;
}

.content-text h1,
.content-text h2,
.content-text h3,
.content-text h4,
.content-text h5,
.content-text h6 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #1e293b;
  font-weight: 700;
}

.content-text h1 {
  font-size: 32px;
}

.content-text h2 {
  font-size: 28px;
}

.content-text h3 {
  font-size: 24px;
}

.content-text ul,
.content-text ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.content-text li {
  margin-bottom: 10px;
}

.content-text img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.content-text a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.content-text a:hover {
  color: var(--secondary-color);
}

.content-text blockquote {
  margin: 25px 0;
  padding: 20px 25px;
  background: #f8fafc;
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  font-style: italic;
  color: #475569;
}

.content-text table {
  width: 100%;
  margin: 25px 0;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-text table th,
.content-text table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.content-text table th {
  background: var(--primary-color);
  color: white;
  font-weight: 700;
}

.content-text table tr:hover {
  background: #f8fafc;
}

/* No Content Message */
.no-content-message {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid #fbbf24;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.2);
}

.no-content-message i {
  font-size: 80px;
  color: #f59e0b;
  margin-bottom: 20px;
}

.no-content-message h3 {
  margin: 0 0 15px 0;
  font-size: 28px;
  font-weight: 800;
  color: #78350f;
}

.no-content-message p {
  margin: 0;
  font-size: 17px;
  color: #92400e;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .page-banner-enhanced {
    height: 250px;
  }
  
  .banner-content h1 {
    font-size: 32px;
  }
  
  .banner-content h1 i {
    font-size: 36px;
  }
  
  .shape-1,
  .shape-2,
  .shape-3 {
    display: none;
  }
  
  .page-content-body {
    padding: 30px 25px;
  }
  
  .content-header h2 {
    font-size: 26px;
  }
  
  .content-text {
    font-size: 16px;
  }
  
  .no-content-message {
    padding: 40px 25px;
  }
  
  .no-content-message i {
    font-size: 60px;
  }
  
  .no-content-message h3 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .page-banner-enhanced {
    height: 200px;
  }
  
  .banner-content h1 {
    font-size: 24px;
  }
  
  .banner-content h1 i {
    font-size: 28px;
  }
  
  .page-content-body {
    padding: 25px 20px;
  }
  
  .content-header h2 {
    font-size: 22px;
    flex-direction: column;
    text-align: center;
  }
}
