/* Custom CSS for Logistixly  */

/* Import Google Fonts for better typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section Background - Enhanced */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&h=1080&fit=crop') center/cover no-repeat;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Hero Text Animation */
.hero-section h1 {
    animation: slideInFromLeft 1s ease-out;
}

.hero-section .text-sm {
    animation: fadeInUp 1.2s ease-out;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Removed Hexagonal Shapes - Replaced with modern design */

/* Background Texture */
.bg-texture {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    background-size: 100px 100px;
}

/* Custom Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

/* Card Hover Effects */
.stat-card {
    transition: all 0.3s ease;
    border: 2px solid #fbbf24;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: #f59e0b;
}

/* Image Gallery */
.image-gallery {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.image-gallery::-webkit-scrollbar {
    display: none;
}

.gallery-image {
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Enhanced Navigation Hover Effects - No border on click */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Remove border on active/clicked links */
.nav-link:active,
.nav-link:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

/* Header Social Icons - Match original website */
.social-icon-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.social-icon-header:hover {
    background: #fbbf24;
    color: #000;
    border-color: #fbbf24;
    transform: scale(1.05);
}

/* Mobile Menu Button - Enhanced styling */
.mobile-menu-btn {
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 4px;
    padding: 8px 12px !important;
    transition: all 0.3s ease;
    background: transparent;
    color: white;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fbbf24 !important;
}

.mobile-menu-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);
}

/* Bootstrap Collapse Enhancement */
.collapse {
    transition: all 0.3s ease;
}

.collapse.show {
    animation: slideDown 0.3s ease-out;
}

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

/* Mobile Menu Animation */
.mobile-menu {
    transition: all 0.3s ease;
    transform-origin: top;
}

.mobile-menu.show {
    transform: scaleY(1);
    opacity: 1;
}

.mobile-menu.hide {
    transform: scaleY(0);
    opacity: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #fbbf24;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    /* Hexagonal shapes removed */
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .gallery-image {
        width: 200px;
        height: 150px;
    }
    
    /* Enhanced mobile navigation */
    .collapse nav a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .collapse nav a:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .gallery-image {
        width: 150px;
        height: 100px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Logistixly Logo Animation */
.Logistixly-logo {
    animation: flame 2s ease-in-out infinite alternate;
}

@keyframes flame {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1.1) rotate(5deg);
    }
}

/* Background Pattern for Sections */
.pattern-bg {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
    background-size: 200px 200px;
}

/* Custom Focus Styles */
button:focus,
a:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

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

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

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

/* Print Styles */
@media print {
    .hero-section {
        background: none !important;
        color: #000 !important;
    }
    
    .bg-black {
        background: #fff !important;
        color: #000 !important;
    }
} 

/* Mobile Sidebar Styles */
#mobileSidebar {
    width: 18rem;
    max-width: 90vw;
    background: #111;
    color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -2px 0 16px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}
#mobileSidebar.open {
    transform: translateX(0);
}
#sidebarOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    display: none;
}
#sidebarOverlay.active {
    display: block;
}
#sidebarCloseBtn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}
#sidebarCloseBtn:hover {
    color: #fbbf24;
}
@media (min-width: 768px) {
    #mobileSidebar, #sidebarOverlay {
        display: none !important;
    }
} 