/*============= HEADER =============*/
.navbar, footer {
    background-color: #005f73 !important;
    padding: 0.5rem 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo container for proper alignment */
.logo-combo {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Kiluan logo styling */
.logo-kiluan {
    height: 50px;
    width: auto;
    object-fit: contain;
    transform: scale(1.15);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

/* Unila logo styling - slightly smaller */
.logo-unila {
    height: 45px;
    width: auto;
    object-fit: contain;
    transform: scale(1.1);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.navbar-title {
    font-family: 'Great Vibes', cursive;
    color: #f3efe9;
    font-weight: 600; /* Reduced for better script font rendering */
    font-size: 25px; /* Using rem for better responsiveness */
    letter-spacing: 2px;
    margin: 0;
    line-height: 1;
    transform: translateY(2px); /* Better vertical alignment */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.navbar-title {
  font-family: 'Great Vibes', cursive;
  color: #f3efe9;
    font-weight: 600;
    font-size: 25px;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1;
}

.footer-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    padding: 5px 0;
    transition: 0.5s ease;
}

.navbar-toggler,
.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.navbar-toggler-icon {
    color: #f3efe9;
}

.nav-link, .footer-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: #f3efe9 !important;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
    font-family: 'Belleza', sans-serif;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover, 
.nav-link.active,
.footer-link:hover {
    color: #f3efe9 !important;
    transform: translateY(-2px);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
}

.navbar-collapse .form-control {
    outline: 1px solid #f3efe9;
    font-family: 'Belleza', sans-serif;
}

.navbar-collapse .btn {
    background: #f3efe9;
    color: #005f73;
    border-radius: 5px;
    font-family: 'Belleza', sans-serif;
    transition: all 0.3s ease;
}

.navbar-collapse .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.collapse.navbar-collapse {
    justify-content: flex-end;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .navbar-title {
        font-size: 1.5rem;
    }
    
    .logo-kiluan {
        height: 45px;
        transform: scale(1.1);
    }
    
    .logo-unila {
        height: 40px;
        transform: scale(1.05);
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.5rem;
    }
}

/* ========== Footer Styles ========== */
.footer {
  background-color: #005b6b;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-left {
  flex: 1;
  min-width: 240px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 10px;
}

.footer-left p {
  font-size: 15px;
  line-height: 1.6;
}

.footer-center {
  flex: 1;
  min-width: 200px;
}

.footer-center h4 {
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 16px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 6px 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-right {
  flex: 1;
  min-width: 200px;
}

.footer-right h4 {
  font-size: 16px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-right a {
  display: block;
  color: #fff;
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-right i {
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
}
