/* Additional custom styles for Euro Centres */

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

/* Hero asymmetric layout adjustments */
@media (min-width: 1024px) {
    #hero .magazine-grid {
        gap: 4rem;
    }
}

/* Service card hover effects */
.service-card {
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-8px) translateZ(0);
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float-reverse {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(20px) rotate(-5deg);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.float-reverse-anim {
    animation: float-reverse 7s ease-in-out infinite;
}

.spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* Mobile menu transitions */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Button hover states */
.cta-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

/* Form input focus states */
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

/* Success message animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    animation: fadeIn 0.5s ease forwards;
}

/* Navigation link underline animation */
.nav-link::after {
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

::-webkit-scrollbar-track {
    background: #0A1128;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #6EE7B7;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border-width: 2px;
    }
    
    .form-input {
        border-width: 2px;
    }
}

/* Print styles */
@media print {
    .fixed,
    .mobile-menu,
    .cta-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .text-mint-100,
    .text-mint-200,
    .text-mint-400 {
        color: black;
    }
}
