/* Imperial Vaults - Unified Glass Theme */

:root {
    --bg-primary: #0F0F23;
    --bg-card: #1A1A2E;
    --accent: #16213E;
    --purple: #8B5CF6;
    --cyan: #06B6D4;
    --pink: #EC4899;
    --bg-dark: #0A0A10;
    --glow-primary: rgba(79, 70, 229, 0.5);
    --glow-secondary: rgba(139, 92, 246, 0.4);
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #16213E 100%);
    color: #E2E8F0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Effects - Grid pattern removed */
.background-grid {
    display: none;
}

.glow-effect {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.2), transparent 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulse-glow 10s infinite ease-in-out;
    z-index: -1;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.main-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(124, 58, 237, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 85% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 30%);
    animation: float 25s infinite ease-in-out;
    z-index: -1;
    will-change: transform;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -25px); }
    100% { transform: translate(0, 0); }
}

/* Glass Morphism Cards */
.modern-card, .glass-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.modern-card:hover, .glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(17, 24, 39, 0.7);
}

/* Header Styles */
header.glass-header, .site-header {
    background: rgba(10, 10, 16, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form Elements */
.form-input {
    background: rgba(15, 15, 35, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #E2E8F0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-input:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(15, 15, 35, 0.8);
}

.form-input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    outline: none;
}

/* Buttons */
.btn-primary, .fh-btn {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover, .fh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Gradient Borders */
.gradient-border {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    padding: 1px;
    border-radius: 16px;
}

.gradient-border > div {
    background: var(--bg-card);
    border-radius: 15px;
}

/* Hover Effects */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(55, 65, 81, 0.6);
    border-color: rgba(139, 92, 246, 0.4);
}

.glow-on-hover:hover {
    box-shadow: 0 0 30px var(--glow-primary), 0 0 10px var(--glow-secondary) inset;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.215, 0.610, 0.355, 1), 
                transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Preloader Styles */
.loader-container {
    position: relative;
    width: 250px;
    overflow: hidden;
}

.truck-animation {
    font-size: 3rem;
    color: #818cf8;
    animation: drive 2.5s ease-in-out infinite;
    position: relative;
    z-index: 10;
}

.road {
    height: 4px;
    width: 100%;
    background-color: #4b5563;
    position: relative;
    margin-top: -8px;
}

.road::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(90deg, #4b5563, #4b5563 10px, transparent 10px, transparent 20px);
    animation: moveRoadLines 0.5s linear infinite;
}

@keyframes drive {
    0% { transform: translateX(-100px); }
    10% { transform: translateX(0); }
    90% { transform: translateX(200px); }
    100% { transform: translateX(350px); }
}

@keyframes moveRoadLines {
    from { background-position: 0 0; }
    to { background-position: -20px 0; }
}

/* FAB Styles */
.fab-menu-button {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.fab-menu-button.active {
    transform: rotate(135deg);
}

.fab-menu-items {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    transform-origin: bottom center;
}

.fab-menu-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.fab-glass {
    background: rgba(79, 70, 229, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(129, 140, 248, 0.5);
}

.fab-glass:hover {
    background: rgba(99, 102, 241, 0.8);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
}

/* Footer Styles */
footer.glass-card, .site-footer {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px 24px 0 0;
    margin-top: 4rem;
}

/* Service Cards */
.service-card, .fh-service-box {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover, .fh-service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

/* Team Cards */
.team-card, .fh-team .team-member {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

/* Contact Forms */
.contact-form, .fh-form {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.9), rgba(22, 33, 62, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        background: #111827 !important;
    }
    
    .modern-card, .glass-card {
        background: rgba(31, 41, 55, 0.98) !important;
        border: 1px solid rgba(139, 92, 246, 0.6) !important;
    }
    
    .glow-effect {
        opacity: 0.8 !important;
    }
    
    .background-grid {
        opacity: 0.7 !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 600;
}

p {
    color: #E2E8F0;
    line-height: 1.6;
}

/* Links */
a {
    color: #8B5CF6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #A78BFA;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neon-glow {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.cyber-grid {
    /* Grid pattern removed */
}

.hologram {
    background: linear-gradient(45deg, transparent 30%, rgba(139, 92, 246, 0.1) 50%, transparent 70%);
    animation: hologram 3s ease-in-out infinite;
}

@keyframes hologram {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}