/* ===== KodeHost GLOBAL THEME STYLING ===== */
/* This file contains all shared theme styles for navbar, footer, and page backgrounds */

/* ===== GLOBAL STYLING ===== */
body {
    background: linear-gradient(180deg, #0a0c14 0%, #0f1420 50%, #14192a 100%);
    background-attachment: fixed;
    color: rgba(255,255,255,0.85);
    font-family: 'Poppins', sans-serif;
    padding-top: 60px; /* Account for fixed navbar */
}

/* ===== NAVBAR STYLING ===== */
#navbar_top.navbar {
    background: linear-gradient(180deg, rgba(10,12,20,0.98), rgba(10,12,20,0.92));
    border-bottom: 1px solid rgba(43, 140, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(2,6,23,0.5);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

#navbar_top .navbar-brand img {
    max-height: 56px; /* slightly bigger per request */
}

#navbar_top .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 0.5rem;
}

#navbar_top .nav-link:hover {
    color: #2b8cff !important;
}

#navbar_top .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2b8cff, #00d4ff);
    transition: width 0.3s ease;
}

#navbar_top .nav-link:hover::after {
    width: 100%;
}

/* CTA Button in Navbar */
.btn-cta-nav {
    background: linear-gradient(135deg, #2b8cff, #0066ff);
    color: #fff !important;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(43, 140, 255, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 140, 255, 0.5);
    background: linear-gradient(135deg, #0066ff, #2b8cff);
    color: #fff !important;
}

.btn-cta-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: left 0.3s ease;
}

.btn-cta-nav:hover::before {
    left: 100%;
}

/* Dropdown Menu */
#navbar_top .dropdown-menu {
    background: rgba(6,8,14,0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(2,6,23,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#navbar_top .dropdown-item {
    color: rgba(255,255,255,0.8);
    transition: all 0.25s ease;
}

#navbar_top .dropdown-item:hover {
    background: rgba(43, 140, 255, 0.15);
    color: #2b8cff;
    border-left: 3px solid #2b8cff;
    padding-left: calc(1rem - 3px);
}

/* Mobile responsive */
@media (max-width: 991px) {
    #navbar_top .navbar-brand img {
        max-height: 48px;
    }
    
    #navbar_top .nav-link {
        margin: 0.5rem 0;
    }
    
    .btn-cta-nav {
        width: 100% !important;
        text-align: center;
    }
}

/* ===== FOOTER STYLING ===== */
.footer-modern {
    background: linear-gradient(180deg, rgba(10,12,20,0.95), rgba(5,8,15,0.98));
    border-top: 1px solid rgba(43, 140, 255, 0.25);
    position: relative;
    overflow: hidden;
    color: rgba(255,255,255,0.85);
    padding: 2.5rem 0 1.5rem !important;
}

.footer-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
    opacity: 0.3;
}

.footer-glow {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    animation: footerGlowFloat 8s ease-in-out infinite;
}

.footer-glow-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #2b8cff, transparent);
    top: -100px;
    left: -100px;
}

.footer-glow-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #2b8cff, transparent);
    bottom: -80px;
    right: -80px;
    animation-delay: 4s;
}

.z-1000 {
    position: relative;
    z-index: 1000;
}

.footer-column {
    animation: slideInUp 0.5s ease-out forwards;
    opacity: 0;
}

.footer-column-content {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-column:hover .footer-column-content {
    transform: translateY(-3px);
}

.footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(43, 140, 255, 0.3);
}

.footer-title i {
    color: #2b8cff;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
    opacity: 0;
    animation: slideInUp 0.5s ease-out forwards;
}

.footer-links li:nth-child(1) { animation-delay: 0.1s; }
.footer-links li:nth-child(2) { animation-delay: 0.15s; }
.footer-links li:nth-child(3) { animation-delay: 0.2s; }
.footer-links li:nth-child(4) { animation-delay: 0.25s; }

.footer-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: #2b8cff;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #2b8cff;
    padding-left: 0.5rem;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links span {
    font-size: 1.1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-links a:hover span {
    transform: scale(1.15) rotate(8deg);
}

.footer-brand-section {
    text-align: center;
}

.footer-logo-container {
    background: transparent;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(43, 140, 255, 0.2);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-brand-section:hover .footer-logo-container {
    border-color: rgba(43, 140, 255, 0.5);
    background: rgba(43, 140, 255, 0.05);
    box-shadow: 0 8px 20px rgba(43, 140, 255, 0.15);
}

.footer-logo {
    max-height: 160px; /* larger full-size logo for web */
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.footer-brand-section:hover .footer-logo {
    transform: scale(1.05);
}

.footer-tagline {
    font-size: 0.85rem;
    color: #2b8cff;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(43, 140, 255, 0.1);
    border: 1px solid rgba(43, 140, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b8cff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 0.9rem;
}

.social-link:hover {
    background: linear-gradient(135deg, #2b8cff, #0066ff);
    border-color: #2b8cff;
    color: #fff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(43, 140, 255, 0.3);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(43, 140, 255, 0.2), transparent);
    margin: 1.5rem 0;
}

.footer-bottom-animate {
    opacity: 0;
    animation: slideInUp 0.6s ease-out 0.4s forwards;
}

.footer-copyright {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.footer-copyright strong {
    color: #2b8cff;
    font-weight: 600;
}

.footer-company-info {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    margin: 0;
}

.footer-tagline-bottom {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.85rem;
}

.footer-highlight {
    color: #2b8cff;
    font-weight: 600;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes footerGlowFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(20px) scale(1.1);
    }
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) translateX(20px);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body {
        padding-top: 50px;
    }

    .footer-title {
        font-size: 0.95rem;
    }

    .footer-tagline-bottom {
        font-size: 0.8rem;
    }

    .footer-bottom-animate {
        text-align: center;
    }

    .social-links {
        margin-top: 1.5rem;
    }
}
