/* CABUS Theme - Bootstrap 5.3 */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css');

:root {
  --bs-primary: #0d47a1;
  --bs-secondary: #1565c0;
  --bs-success: #2e7d32;
  --bs-danger: #c62828;
  --bs-warning: #f57f17;
  --bs-info: #01579b;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  
  /* CABUS Colors */
  --cabus-primary: #0d47a1;
  --cabus-accent: #ff6f00;
  --cabus-light: #eceff1;
  --cabus-text: #37474f;
}

* {
  transition: all 0.3s ease;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--cabus-text);
  background-color: #fff;
  line-height: 1.6;
}

/* Navigation Bar */
.navbar {
  background: linear-gradient(135deg, var(--cabus-primary) 0%, var(--bs-secondary) 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.nav-link {
  font-weight: 500;
  margin: 0 8px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--cabus-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.9) 0%, rgba(21, 101, 192, 0.9) 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') center/cover;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 0.8s ease;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

/* Buttons */
.btn {
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cabus-primary) 0%, var(--bs-secondary) 100%);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(13, 71, 161, 0.3);
}

.btn-outline-primary {
  border-color: var(--cabus-primary);
  color: var(--cabus-primary);
}

.btn-outline-primary:hover {
  background-color: var(--cabus-primary);
  border-color: var(--cabus-primary);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--cabus-primary) 0%, var(--bs-secondary) 100%);
  color: white;
  margin-top: 80px;
  padding: 40px 0 20px;
}

footer h5 {
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

footer h5::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--cabus-accent);
  bottom: 0;
  left: 0;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--cabus-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: 300px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
}

/* Utilities */
.section-padding {
  padding: 80px 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--cabus-primary) 0%, var(--cabus-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  height: 4px;
  background: linear-gradient(90deg, var(--cabus-primary) 0%, var(--cabus-accent) 100%);
  width: 100px;
  margin: 20px auto;
}
