/*
 * Star-CSIRT Professional Design System
 * Based on Reference Design (Pertamina CIRT)
 * Standard Security Compliance BSSN Colors: Green & Professional Dark
 * Remark: UI/UX slider and typography refinements by Bagas - 4-5 Mar 2026
 */

:root {
    --primary-color: #FE8C1D;
    --secondary-color: #ff9d42;
    --dark-blue: #2c3e50;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --white: #ffffff;
    --accent-color: #FE8C1D;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Animations */
@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(254, 140, 29, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(254, 140, 29, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(254, 140, 29, 0);
    }
}

.transition-hover {
    transition: all 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.btn-success {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(254, 140, 29, 0.3);
}

.btn-outline-success {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-success:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Top Bar */
.top-bar {
    background-color: #111;
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--primary-color);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar .social-icons a {
    margin-left: 15px;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar-nav .nav-link {
    color: var(--dark-blue) !important;
    font-weight: 500;
    padding: 10px 20px !important;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-brand img {
    height: 50px;
}

.navbar-brand .brand-logo {
    display: block;
    max-width: 100%;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.carousel-control-prev,
.carousel-control-next {
    width: 80px;
    z-index: 3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    background-size: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--primary-orange);
    transform: scale(1.1);
}

.carousel-item {
    min-height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--slider-overlay-opacity, 0.1));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55), 0 8px 24px rgba(0, 0, 0, 0.7);
    text-align: center !important;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55), 0 6px 16px rgba(0, 0, 0, 0.65);
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Section Headlines */
.section-title {
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Standard Bootstrap color overrides should be specific or avoided to preserve utility classes */
.text-success-orange {
    color: var(--primary-color) !important;
}

.bg-success-orange {
    background-color: var(--primary-color) !important;
}

/* TLP Specific Colors */
.bg-tlp-clear {
    background-color: #28a745 !important;
    color: #fff !important;
}

.bg-tlp-amber {
    background-color: #FE8C1D !important;
    color: #fff !important;
}

.bg-tlp-red {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.bg-tlp-white {
    background-color: #f8f9fa !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: #adb5bd;
    padding: 60px 0 20px;
}

footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 25px;
}

footer .footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-brand {
        gap: 10px !important;
    }

    .navbar-collapse {
        margin-top: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 0 20px;
        text-align: center;
        margin-bottom: 40px;
    }
}
