/* ===================================
   TOPBAR COMPONENT
   =================================== */

.topbar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    font-size: 0.875rem;
    border-bottom: 2px solid #FF7E3E;
    position: relative;
    z-index: 1001;
}

.topbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    min-height: 45px;
}

/* Left Side - Contact Info */
.topbar-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Right Side - Social & Quick Links */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Topbar Items */
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

.topbar-item i {
    font-size: 0.95rem;
    color: #FF7E3E;
    transition: transform 0.3s ease;
}

.topbar-item:hover {
    color: #FF7E3E;
}

.topbar-item:hover i {
    transform: scale(1.1);
}

/* Crisis Help Link - Special Styling */
.topbar-crisis {
    background: #e74c3c;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.topbar-crisis:hover {
    background: #c0392b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.topbar-crisis i {
    color: #ffffff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Social Media Icons */
.topbar-social {
    display: flex;
    gap: 12px;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s ease;
}

.topbar-social a:hover {
    background: #FF7E3E;
    color: #ffffff;
    transform: translateY(-3px);
}

.topbar-social i {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .topbar-left {
        gap: 15px;
    }
    
    .topbar-item span {
        display: none;
    }
    
    .topbar-crisis span {
        display: inline;
    }
    
    .topbar-item i {
        font-size: 1rem;
    }
    
    .topbar-social {
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .topbar {
        font-size: 0.8rem;
    }
    
    .topbar-inner {
        padding: 8px 0;
    }
    
    .topbar-left {
        gap: 12px;
    }
    
    .topbar-right {
        gap: 12px;
    }
    
    .topbar-hours {
        display: none;
    }
    
    .topbar-social {
        gap: 8px;
        padding-right: 12px;
    }
    
    .topbar-social a {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .topbar-left .topbar-item:last-child {
        display: none;
    }
    
    .topbar-social {
        display: none;
    }
}