:root {
    --primary-blue: #0d47a1; /* Biru Rajawali */
    --primary-red: #d32f2f;  /* Merah Rajawali */
    --dark-bg: #1a1a1a;
    --light-text: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: #333;
}

/* Navbar Styling */
.navbar {
    transition: all 0.4s ease;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
}
.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}
.navbar-brand img {
    height: 50px;
}
.nav-link {
    font-weight: 500;
    color: var(--primary-blue) !important;
    margin: 0 10px;
    transition: 0.3s;
}
.nav-link:hover {
    color: var(--primary-red) !important;
}

/* Hero Carousel */
.carousel-item {
    height: 90vh;
    min-height: 500px;
    background: no-repeat center center scroll;
    background-size: cover;
}
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-btn {
    background-color: var(--primary-red);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.3s;
}
.hero-btn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Section Styling */
section {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}
.section-title h2 {
    font-weight: 700;
    color: var(--primary-blue);
    display: inline-block;
}
.section-title span {
    color: var(--primary-red);
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin: 15px auto;
}

/* About & Vision Mission */
.about-img {
    border-radius: 15px;
    /*box-shadow: 20px 20px 0 var(--primary-blue);*/
}


.vision-mission-card {
    background: #f8f9fa;
    border-left: 5px solid var(--primary-red);
    padding: 25px;
    height: 100%;
    transition: 0.3s;
}
.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Services */
.service-box {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.4s;
    height: 100%;
}
.service-box:hover {
    background: var(--primary-blue);
    color: white;
}
.service-box i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
    transition: 0.3s;
}
.service-box:hover i {
    color: white;
}

/* Portfolio */
.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}
.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}
.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, var(--primary-blue));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
    transition: 0.4s;
}
.portfolio-card:hover .portfolio-img {
    transform: scale(1.1);
}
.portfolio-card:hover .portfolio-overlay {
    bottom: 0;
}

/* Contact Details */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.contact-icon {
    background: #f8f9fa;
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    color: var(--primary-red);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Map Styling */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
    width: 100%;
    border: 5px solid #fff;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
}
.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}
.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: 0.3s;
}
.social-links a:hover {
    color: var(--primary-red);
}
.img-logo {
    max-height: 70px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .carousel-item { height: 70vh; }
    .map-container { height: 300px; }

    /* Background overlay saat menu dibuka di mobile */
    .navbar-collapse.show::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.2);
        z-index: -1;
    }
}
