/* style/index-core-features.css */

/* Biến CSS */
:root {
  --page-index-core-features-primary-color: #0A192F;
  --page-index-core-features-secondary-color: #FFD700;
  --page-index-core-features-text-light: #FFFFFF;
  --page-index-core-features-text-dark: #0A192F;
  --page-index-core-features-accent-dark: #b39700;
  --page-index-core-features-background-light: #f4f4f4;
}

.page-index-core-features {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-index-core-features-text-dark); /* Default text color */
  background-color: var(--page-index-core-features-background-light);
}

.page-index-core-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-index-core-features__hero-section {
  background: linear-gradient(135deg, var(--page-index-core-features-primary-color) 0%, #1a355e 100%);
  color: var(--page-index-core-features-text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-core-features__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,dark_pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-index-core-features__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-index-core-features-secondary-color);
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-core-features__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-index-core-features__cta-button {
  display: inline-block;
  background-color: var(--page-index-core-features-secondary-color);
  color: var(--page-index-core-features-text-dark);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-core-features__cta-button:hover {
  background-color: var(--page-index-core-features-accent-dark);
  transform: translateY(-3px);
}

/* Sections */
.page-index-core-features__features-overview,
.page-index-core-features__detailed-features,
.page-index-core-features__cta-section {
  padding: 60px 0;
}

.page-index-core-features__section-title {
  font-size: 2.5em;
  color: var(--page-index-core-features-primary-color);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-index-core-features__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--page-index-core-features-secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-index-core-features__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #333;
}

/* Feature Grid */
.page-index-core-features__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-core-features__feature-item {
  background-color: var(--page-index-core-features-text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-core-features__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index-core-features__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-index-core-features__feature-heading {
  font-size: 1.5em;
  color: var(--page-index-core-features-primary-color);
  margin-bottom: 15px;
}

.page-index-core-features__feature-text {
  font-size: 1em;
  color: #555;
}

/* Detailed Features */
.page-index-core-features__detailed-features {
  background-color: #fcfcfc;
}

.page-index-core-features__feature-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 80px;
  background-color: var(--page-index-core-features-text-light);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-index-core-features__feature-block--reverse {
  flex-direction: row-reverse;
}

.page-index-core-features__feature-content {
  flex: 1;
  padding: 40px;
  min-width: 300px;
}

.page-index-core-features__feature-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eee;
}

.page-index-core-features__feature-img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-index-core-features__feature-subtitle {
  font-size: 2em;
  color: var(--page-index-core-features-secondary-color);
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-index-core-features__feature-content p {
  margin-bottom: 20px;
  color: #444;
}

.page-index-core-features__feature-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-index-core-features__feature-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #333;
}

.page-index-core-features__feature-content ul li::before {
  content: '✓';
  color: var(--page-index-core-features-secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-core-features__inline-cta {
  display: inline-block;
  background-color: var(--page-index-core-features-primary-color);
  color: var(--page-index-core-features-text-light);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 10px;
}

.page-index-core-features__inline-cta:hover {
  background-color: #1a355e;
  transform: translateY(-2px);
}

/* CTA Section at bottom */
.page-index-core-features__cta-section {
  background: var(--page-index-core-features-primary-color);
  color: var(--page-index-core-features-text-light);
  text-align: center;
  padding: 80px 0;
}

.page-index-core-features__cta-title {
  font-size: 2.8em;
  color: var(--page-index-core-features-secondary-color);
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-core-features__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

.page-index-core-features__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin: 0 10px;
}

.page-index-core-features__cta-button--secondary {
  background-color: transparent;
  border: 2px solid var(--page-index-core-features-secondary-color);
  color: var(--page-index-core-features-secondary-color);
  box-shadow: none;
}

.page-index-core-features__cta-button--secondary:hover {
  background-color: var(--page-index-core-features-secondary-color);
  color: var(--page-index-core-features-primary-color);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-core-features__hero-title {
    font-size: 2.8em;
  }
  .page-index-core-features__hero-subtitle {
    font-size: 1.1em;
  }
  .page-index-core-features__section-title {
    font-size: 2em;
  }
  .page-index-core-features__feature-block {
    flex-direction: column;
    margin-bottom: 50px;
  }
  .page-index-core-features__feature-block--reverse {
    flex-direction: column;
  }
  .page-index-core-features__feature-content {
    padding: 30px;
  }
  .page-index-core-features__feature-image-wrapper {
    order: -1; /* Image appears above content on mobile for reverse blocks */
  }
}

@media (max-width: 768px) {
  .page-index-core-features__hero-section {
    padding: 80px 0;
  }
  .page-index-core-features__hero-title {
    font-size: 2.2em;
  }
  .page-index-core-features__hero-subtitle {
    font-size: 1em;
  }
  .page-index-core-features__features-overview,
  .page-index-core-features__detailed-features,
  .page-index-core-features__cta-section {
    padding: 40px 0;
  }
  .page-index-core-features__section-title {
    font-size: 1.8em;
  }
  .page-index-core-features__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-index-core-features__cta-title {
    font-size: 2em;
  }
  .page-index-core-features__cta-description {
    font-size: 1em;
  }
  .page-index-core-features__cta-button--large,
  .page-index-core-features__cta-button--secondary {
    padding: 12px 25px;
    font-size: 1em;
    margin: 10px 0;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .page-index-core-features__feature-subtitle {
    font-size: 1.6em;
  }
  .page-index-core-features__feature-item {
    padding: 20px;
  }
  .page-index-core-features__feature-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .page-index-core-features__hero-title {
    font-size: 1.8em;
  }
  .page-index-core-features__hero-subtitle {
    font-size: 0.9em;
  }
  .page-index-core-features__section-description {
    font-size: 0.95em;
  }
  .page-index-core-features__cta-title {
    font-size: 1.6em;
  }
  .page-index-core-features__feature-content {
    padding: 20px;
  }
  .page-index-core-features__feature-subtitle {
    font-size: 1.4em;
  }
}