/* GreenSSH Custom Logo Styling */
.greenssh-logo {
    display: flex !important;
    align-items: center;
    gap: 6px;
    font-family: 'Arial Black', Arial, sans-serif;
    text-decoration: none !important;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.greenssh-logo:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.logo-shield {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.4));
    animation: shield-pulse 3s ease-in-out infinite;
}

@keyframes shield-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-text-green {
    font-size: 22px;
    font-weight: 900;
    color: #10b981;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 4px rgba(16, 185, 129, 0.2);
}

.logo-text-ssh {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.logo-subtitle {
    font-size: 8px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1.5px;
    padding: 2px 6px;
    background: rgba(16, 185, 129, 0.3);
    border-radius: 3px;
    margin-left: 2px;
}

/* Update navbar gradient untuk green theme */
.bg-gradient-primary-to-secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

/* Update button colors */
.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
}

/* Update link colors */
a {
    color: #10b981;
}

a:hover {
    color: #059669;
}

/* Update badges and tags */
.badge-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.badge-success {
    background: #34d399 !important;
}

/* Card hover effects */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.2) !important;
    border-color: #10b981 !important;
}

/* Custom accent colors */
.text-primary {
    color: #10b981 !important;
}

.bg-primary {
    background-color: #10b981 !important;
}

.border-primary {
    border-color: #10b981 !important;
}

/* Hero section gradient overlay */
.hero-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
}

/* Feature icons */
.feature-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Responsive logo */
@media (max-width: 768px) {
    .logo-text-green,
    .logo-text-ssh {
        font-size: 18px;
    }
    
    .logo-shield {
        font-size: 20px;
    }
    
    .logo-subtitle {
        display: none;
    }
}


/* Additional Green Theme Enhancements */

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s ease;
}

/* Hero section with animated gradient background */
.masthead {
    background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 50%, #a7f3d0 100%);
    position: relative;
    overflow: hidden;
}

.masthead::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Card animations and hover effects */
.card {
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3) !important;
}

/* Button pulse animation */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Icon animations */
.fa, [class^="icon-"] {
    transition: all 0.3s ease;
}

.nav-link:hover .fa {
    transform: scale(1.2) rotate(5deg);
    color: #10b981;
}

/* Server cards ribbon enhancement */
.ribbon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.ribbon-hot {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.ribbon-popular {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.ribbon-fast {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Dropdown menu styling */
.dropdown-menu {
    border: 2px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: #059669 !important;
    padding-left: 20px;
}

/* Footer styling */
.footer {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    color: #d1fae5;
}

.footer a {
    color: #a7f3d0;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Loading animation for images */
img {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Form inputs */
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    border: 2px solid rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    outline: none;
}

/* Stats/Counter styling */
.stats-counter {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 20px;
    border-radius: 12px;
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #059669 0%, #047857 100%);
}

/* Toast/Alert styling */
.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
    border-left: 4px solid #10b981;
    color: #065f46;
}

/* Animated background particles (optional) */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.05;
}

/* Smooth page transitions */
.page-content {
    animation: pageSlideIn 0.5s ease;
}

@keyframes pageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
