/* Internal Pages CSS - Matching Homepage Theme */
:root {
  --primary-color: #22674b;
  --secondary-color: #ffbf00f2;
  --accent-color: #c15473;
  --text-light: #f5f5f5;
  --text-dark: #333;
  --background-light: #fff0bb;
  --background-dark: #22674b;
  --border-color: #dee2e6;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Internal Page Specific Styles */
.internal-page {
  background-color: var(--primary-color);
  min-height: 100vh;
  color: var(--text-light);
}

.internal-content {
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.internal-hero {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 4rem 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.internal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../image/background.png') center/cover;
  opacity: 0.2;
  z-index: 1;
}

.internal-hero .container {
  position: relative;
  z-index: 2;
}

.internal-hero .row {
  align-items: center;
}

.internal-hero .col-12.col-lg-6:first-child {
  text-align: left;
}

.internal-hero .col-12.col-lg-6:last-child {
  text-align: center;
}

.internal-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.internal-hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.internal-hero .btn {
  font-size: 1.125rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.internal-hero img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--secondary-color);
}

.content-section {
  background: var(--background-light);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--secondary-color);
}

.content-section h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.content-section h3 {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.content-section p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-dark);
  text-align: left;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background: var(--text-light);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 2px solid var(--secondary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-color);
}

.feature-card h4 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-dark);
  line-height: 1.6;
}

.cta-section {
  background: var(--secondary-color);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--accent-color);
}

.cta-section h2 {
  color: var(--text-dark);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-section p {
  color: var(--text-dark);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Navigation Styles */
.internal-nav {
  background: var(--primary-color);
  border-bottom: 3px solid var(--secondary-color);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.internal-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-brand a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.nav-brand a:hover {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-category {
  position: relative;
}

.nav-category-title {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-category-title:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 0.5rem;
  padding: 1rem;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-category:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.25rem;
}

.nav-dropdown a:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
  transform: translateX(5px);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  z-index: 2001;
}

.mobile-nav-toggle:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.mobile-nav-toggle:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  padding: 2rem;
  overflow-y: auto;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.mobile-nav.active {
  display: block !important;
  opacity: 1;
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--secondary-color);
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.mobile-nav-close:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.mobile-nav-category {
  margin-bottom: 1.5rem;
}

.mobile-nav-category-title {
  color: var(--secondary-color);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--secondary-color);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
  border: 1px solid transparent;
}

.mobile-nav-links a:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
  border-color: var(--accent-color);
  transform: translateX(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .internal-hero h1 {
    font-size: 2rem;
  }
  
  .internal-hero p {
    font-size: 1rem;
  }
  
  .content-section {
    padding: 1.5rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile Navigation */
  .nav-menu {
    display: none !important;
  }
  
  .mobile-nav-toggle {
    display: block !important;
  }
  
  .nav-brand {
    flex: 1;
  }
  
  .internal-nav .container {
    justify-content: space-between;
  }
  
  /* Ensure mobile nav is properly positioned */
  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
  }
}

@media (min-width: 769px) {
  .mobile-nav-toggle {
    display: none;
  }
}

/* Button Styles */
.btn-md3 {
  background: var(--secondary-color);
  color: var(--text-dark);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-md3:hover {
  background: var(--accent-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-md3-secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.btn-md3-secondary:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
  border-color: var(--accent-color);
}
