/* assets/css/style.css */

:root {
    --primary-color: #ff7f00; /* FISIP UNCEN Orange (RGB 255-127-0) */
    --primary-dark: #cc6600;
    --primary-light: #ffa340;
    --accent-color: #ffc107; /* Warm Gold */
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-color: #f8fafc;
    --dark-color: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Override Bootstrap Primary Colors to Orange */
.text-primary {
    color: var(--primary-color) !important;
}
.bg-primary {
    background-color: var(--primary-color) !important;
}
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #ffffff !important;
}
.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    color: #d1d5db;
    font-size: 0.85rem;
    padding: 10px 0;
    font-weight: 500;
}
.top-bar a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}
.top-bar a:hover {
    color: var(--accent-color);
}

/* Navbar */
.navbar {
    background: rgba(255, 127, 0, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-smooth);
    padding: 15px 0;
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 127, 0, 0.98) !important;
}
.navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.navbar-brand small {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    opacity: 0.9;
    font-size: 0.85rem;
    letter-spacing: 0;
}
.nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 0.8rem;
    animation: fadeInDown 0.3s ease;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.2s;
    font-weight: 500;
    color: var(--text-main);
}
.dropdown-item:hover, .dropdown-item.active {
    background-color: #f1f5f9;
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Buttons */
.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
}
.btn-warning:hover {
    background-color: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(245, 158, 11, 0.3);
}

/* Hero Section Styles */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(232, 93, 4, 0.55)), url('../img/gedungfisip.jpeg') center/cover fixed;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
}
@media (max-width: 768px) {
    .hero {
        min-height: auto !important;
        padding: 40px 0 !important;
        background-attachment: scroll !important;
    }
}
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

/* Stat Box */
.stat-box {
    transition: var(--transition-smooth);
}
.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1) !important;
}

/* Cards & Hover */
.card-hover-orange {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
}
.card-hover-orange:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 127, 0, 0.12) !important;
    border-color: rgba(255, 127, 0, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(145deg, #0f172a, #1f2937);
    color: #e5e7eb;
    padding: 70px 0 30px;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}
.footer-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}
footer a {
    transition: all 0.3s ease;
}
footer a:hover {
    color: var(--primary-color) !important;
    padding-left: 8px;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}
.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    padding-left: 0;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
    z-index: 999;
    border: none;
}
#backToTop:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Responsive Styles for Mobile Devices & Tablets */
@media (max-width: 991.98px) {
    .top-bar {
        font-size: 0.8rem;
    }
    .navbar-collapse {
        padding: 1.2rem;
        background-color: rgba(15, 23, 42, 0.98) !important;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 16px;
        margin-top: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }
    .navbar-collapse .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .navbar-collapse .nav-link:last-child {
        border-bottom: none;
    }
    .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.98);
        border-radius: 12px;
        margin-top: 5px;
    }
    .hero {
        min-height: auto !important;
        padding: 30px 0 !important;
        background-attachment: scroll !important;
    }
    .hero h1 {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
    }
    .hero p.lead {
        font-size: 0.95rem !original;
    }
    .glass-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: 0.9rem;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .display-4, .display-5 {
        font-size: 1.65rem !important;
    }
    .display-6 {
        font-size: 1.4rem !important;
    }
    .stat-box {
        padding: 1.25rem 0.75rem !important;
    }
    .stat-box h2 {
        font-size: 1.6rem !important;
    }
    .card-body {
        padding: 1.25rem !important;
    }
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}
