/* Custom styles */
:root {
    --primary-color: #502c2c;
    --secondary-color: #db3434;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-bg: #403434;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
    color: var(--primary-color) !important;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(219, 52, 52, 0.25);
}

.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.table thead th {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.table td, .table th {
    padding: 15px;
    vertical-align: middle;
}

.alert {
    border-radius: 10px;
    border: none;
}

/* Login & Register Forms */
.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

/* Dashboard Cards */
.dashboard-card {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.dashboard-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card {
  transition: box-shadow 0.2s, transform 0.2s;
  background: rgba(255, 0, 0, 0.12); /* biru muda transparan */
}
.service-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  transform: translateY(-4px) scale(1.03);
}
.service-card h6.fw-bold.mb-0 {
    color: #000 !important;
}

.info-card {
  min-height: 340px;
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.info-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.info-card-content {
  z-index: 2;
  width: 100%;
  padding: 3rem 2rem;
}
@media (max-width: 991.98px) {
  .info-card-content {
    padding: 2rem 1.5rem;
  }
}
@media (max-width: 767.98px) {
  .info-card-content {
    padding: 1.25rem 0.75rem;
  }
}
.info-card-overlay {
  z-index: 1;
  transition: background 0.3s;
}
.info-card-overlay-left {
  background: linear-gradient(120deg, rgba(255, 0, 0, 0.35) 60%, rgba(255, 0, 0, 0.1) 100%);
}
.info-card-overlay-right {
  background: linear-gradient(-120deg, rgba(255, 0, 0, 0.35) 60%, rgba(255, 0, 0, 0.1) 100%);
}
.info-card-right .info-card-content {
  text-align: right;
}
@media (max-width: 767.98px) {
  .info-card-content {
    text-align: center !important;
    padding: 2rem !important;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .auth-container {
        margin: 20px;
    }
    
    .table-responsive {
        border-radius: 10px;
    }
}

/* Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
} 

.hero-section {
  padding: 0;
  margin: 0;
  position: relative;
}
.hero-slide {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide .container {
  position: relative;
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.carousel-control-prev, .carousel-control-next {
  z-index: 3;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
  filter: drop-shadow(0 0 4px #000) brightness(1.5);
} 

@media (max-width: 991.98px) {
  .hero-slide {
    min-height: 70vh;
  }
}
@media (max-width: 575.98px) {
  .hero-slide {
    min-height: 50vh;
  }
} 

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.hero-section,
#heroCarousel,
.carousel-inner,
.carousel-item,
.hero-slide {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
} 