/* Global Theme Fallbacks (In case Tailwind CDN fails) */
body {
    background-color: #0a0a0a !important;
    color: #ffffff !important;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

/* Performance hints */
.reveal, #hero-sub, #hero-title, #hero-desc, #hero-btns, #hero-img {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Hardware acceleration for main sections */
section {
    transform: translateZ(0);
}

/* Optimized Animations */
@keyframes float {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -10px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Custom Cursor - Optimized with translate3d in JS */
.custom-cursor {
    width: 10px;
    height: 10px;
    background: #dc143c;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.6);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border 0.3s;
    will-change: transform;
}

.custom-cursor.cursor-hover {
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: 1px solid #dc143c;
}

/* Glassmorphism - Optimized (reduce blur radius for better perf) */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Typography Refinements */
.tracking-ultra {
    letter-spacing: 0.5em;
}

/* Image masking */
.image-mask {
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Logo Sizing */
.v-logo-nav {
    height: 110px !important;
    width: auto;
}

.v-logo-footer {
    height: 80px !important;
    width: auto;
}

/* Fallback Icon Containers */
.v-logo-icon-nav {
    width: 64px !important;
    height: 64px !important;
}

.v-logo-icon-footer {
    width: 80px !important;
    height: 80px !important;
}

/* Optimized Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #dc143c;
}

/* Fleet Page Specifics */
.fleet-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.fleet-card:hover {
    border-color: rgba(220, 20, 60, 0.5);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.fleet-img-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.fleet-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fleet-card:hover .fleet-img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.1);
}

.fleet-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(4px);
    color: #dc143c;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(220, 20, 60, 0.3);
    z-index: 10;
}

.fleet-content {
    padding: 2rem;
}

/* Section Header Styles */
.fleet-section-header {
    border-left: 4px solid #dc143c;
    padding-left: 1.5rem;
    margin-bottom: 3rem;
    margin-top: 6rem;
}

.fleet-section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.fleet-section-header p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-6xl { font-size: 2.5rem; }
    .text-7xl { font-size: 3rem; }
    .text-8xl { font-size: 3.5rem; }
    .text-9xl { font-size: 4rem; }
    
    .v-logo-nav {
        height: 60px !important;
    }
    
    .v-logo-footer {
        height: 60px !important;
    }

    .v-logo-icon-nav {
        width: 60px !important;
        height: 60px !important;
    }

    .v-logo-icon-footer {
        width: 60px !important;
        height: 60px !important;
    }

    /* Padding adjustments for mobile */
    .pt-60 { padding-top: 8rem; }
    .pb-40 { padding-bottom: 4rem; }
    .py-40 { padding-top: 4rem; padding-bottom: 4rem; }
    
    .custom-cursor { display: none !important; }
}
