/* Custom styles for FLUX LOGISTIC, LLC */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom hover effects */
.service-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Custom button styles with logo colors */
.btn-primary {
    background: linear-gradient(135deg, #4BB3BE 0%, #0A80A6 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(75, 179, 190, 0.3);
}

/* Custom form styles */
.form-input:focus {
    border-color: #4BB3BE;
    box-shadow: 0 0 0 3px rgba(75, 179, 190, 0.1);
}

/* Logo-specific styling */
.logo-container {
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

/* Hero section with logo colors */
.hero-gradient {
    background: linear-gradient(135deg, #4BB3BE 0%, #0A80A6 100%);
}

/* Service card borders */
.service-card {
    border-left: 4px solid #4BB3BE;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-left-color: #0A80A6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive text adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Loading animation with logo colors */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #4BB3BE;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom color variables based on logo */
:root {
    --primary-teal: #4BB3BE;
    --secondary-blue: #0A80A6;
    --dark-bg: #061727;
    --accent-teal: #5BC0CC;
    --accent-blue: #1A9BC2;
}

/* Enhanced button hover effects */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-blue) 100%);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(75, 179, 190, 0.4);
}

/* Logo animation */
.logo-animate {
    animation: logoPulse 2s ease-in-out infinite;
}

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

/* Hero logo background effects */
.hero-logo-bg {
    animation: float 6s ease-in-out infinite;
    filter: brightness(1.2) contrast(1.1);
}

.hero-logo-bg:nth-child(2) {
    animation-delay: -2s;
}

.hero-logo-bg:nth-child(3) {
    animation-delay: -4s;
}

.hero-logo-bg:nth-child(4) {
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.2;
    }
    25% { 
        transform: translateY(-10px) rotate(2deg); 
        opacity: 0.25;
    }
    50% { 
        transform: translateY(-5px) rotate(-1deg); 
        opacity: 0.3;
    }
    75% { 
        transform: translateY(-15px) rotate(1deg); 
        opacity: 0.25;
    }
}

/* Ensure logo background is visible */
.hero-logo-bg {
    pointer-events: none;
    z-index: 1;
}

/* Language dropdown styles for cross-browser compatibility */
#lang-dropdown-menu,
#lang-dropdown-menu-mobile {
    position: absolute;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    min-width: 8rem;
}

.lang-option,
.lang-option-mobile {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.lang-option:hover,
.lang-option-mobile:hover {
    background-color: #f3f4f6;
}

/* Ensure dropdown is above other elements */
.relative {
    position: relative;
}

/* Fix for Chrome dropdown positioning */
#lang-dropdown-menu {
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
}

#lang-dropdown-menu-mobile {
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
} 