h1, h2, h3 {
  color: #dadbdc; /* Blue for headings */
}

/* Style all page titles (h1) to match hero-title */
h1.title, .title h1, h1:first-child {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: white;
}

p { 
    color: #dadbdc
}

/* Navbar styling to match tile-link background */
.navbar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border-bottom: none;
}

.navbar .navbar-brand,
.navbar .navbar-nav .nav-link {
  color: white !important;
}

.navbar .navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 0.8) !important;
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

/* Modern tile styling */
.hero-section {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin-bottom: 3rem;
  border-radius: 12px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 1;
}

.tiles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.tile {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tile:hover::before {
  transform: scaleX(1);
}

.tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Hidden text that appears on hover */
.tile-hidden-text {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(102, 126, 234, 0.95);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.tile:hover .tile-hidden-text {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tile-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.tile-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2d3748;
}

.tile-description {
  color: #718096;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tile-link {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.tile-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .tiles-container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .tile {
    padding: 1.5rem;
  }

  .tile-hidden-text {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    font-size: 0.8rem;
  }
}

/* Indented markdown code block styling */
.indented-code {
  margin-left: 2em;
  background-color: #e9ecef;
  border-radius: 5px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .tile {
    background: #2d3748;
    border-color: #4a5568;
  }
  
  .tile-title {
    color: #e2e8f0;
  }
  
  .tile-description {
    color: #a0aec0;
  }

  .tile-hidden-text {
    background: rgba(45, 55, 72, 0.95);
    color: #e2e8f0;
  }

  .indented-code {
    background-color: #4a5568;
  }
}