/* Common Components Styles */

/* Buttons */
.btn-primary {
    @apply bg-blue-600 hover:bg-blue-500 text-white font-medium py-3 px-6 rounded-lg transition-colors duration-300 inline-flex items-center;
}

.btn-secondary {
    @apply border border-blue-600 text-blue-400 hover:bg-blue-600 hover:text-white font-medium py-3 px-6 rounded-lg transition-colors duration-300 inline-flex items-center;
}

/* Cards */
.card-base {
    @apply bg-slate-800 rounded-xl overflow-hidden border border-slate-700 transition-all duration-300;
}

.card-hover {
    @apply hover:shadow-lg hover:border-blue-500/30;
}

/* Feature Cards */
.feature-card {
    @apply bg-slate-800 rounded-xl p-8 border border-slate-700 text-center transition-all duration-300;
}

.feature-card:hover {
    @apply transform -translate-y-1 shadow-lg;
}

/* Use Case Cards */
.use-case-card {
    @apply bg-slate-900 p-8 rounded-xl border border-slate-700 transition-all duration-300;
}

.use-case-card:hover {
    @apply transform -translate-y-1 shadow-lg;
}

/* Problem Cards */
.problem-card {
    @apply bg-slate-900 p-8 rounded-xl border border-slate-700;
}

/* Sections */
.section-title {
    @apply text-3xl md:text-4xl font-bold mb-4;
}

.section-divider {
    @apply w-24 h-1 bg-blue-600 mx-auto;
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #60a5fa;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Badges and Tags */
.badge {
    @apply px-3 py-1 rounded-full text-xs font-medium;
}

.badge-blue {
    @apply bg-blue-600 text-white;
}

.badge-green {
    @apply bg-green-600 text-white;
}

/* Tech Badges */
.tech-badge {
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 9999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin: 0.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tech-badge:hover {
    background-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Gradients */
.gradient-blue {
    @apply bg-gradient-to-r from-blue-600 to-indigo-600;
}

.gradient-slate {
    @apply bg-gradient-to-r from-slate-800 to-slate-900;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    margin-top: 0;
    padding-top: 0;
}

/* Info Boxes */
.info-box-red {
    @apply bg-red-900/20 border border-red-600/30 p-4 rounded-lg mb-6;
}

.info-box-green {
    @apply bg-green-900/20 border border-green-600/30 p-4 rounded-lg mb-6;
}

.info-box-blue {
    @apply bg-blue-900/20 border border-blue-600/30 p-4 rounded-lg;
}

/* Tech Icons */
.tech-icon-container {
    transition: all 0.3s ease;
}

.tech-icon-container:hover {
    transform: translateY(-5px);
}

/* Mobile menu styling */
#mobile-menu {
  background-color: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1e293b;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

#mobile-menu a {
  padding: 0.75rem 1rem;
  display: block;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

#mobile-menu a:hover {
  background-color: rgba(30, 41, 59, 0.5);
  border-left: 3px solid #60a5fa;
  padding-left: 1.25rem;
}
