/* Custom styles for Panxa Contenta */

/* Base styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', system-ui, -apple-system, sans-serif;
    background-color: #0a1628;
    color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Hero section */
.hero-gradient {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(15, 33, 64, 0.72) 50%, rgba(21, 45, 84, 0.58) 100%);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.4s ease;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(10, 22, 40, 0.35);
}

/* Blob animation */
.blob {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    animation: blob 8s ease-in-out infinite;
}

@keyframes blob {
    0%, 100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
    25% {
        border-radius: 58% 42% 30% 70% / 55% 55% 45% 45%;
    }
    50% {
        border-radius: 70% 30% 58% 42% / 45% 55% 45% 55%;
    }
    75% {
        border-radius: 30% 70% 42% 58% / 55% 45% 55% 45%;
    }
}

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

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

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation blur */
.nav-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #1ab88a 0%, #3dd1aa 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #11966f 0%, #1ab88a 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(26, 184, 138, 0.5);
}

/* Text shadow */
.text-shadow {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Image hover zoom */
img {
    transition: transform 0.7s ease;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #3dd1aa;
}

/* Focus styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .font-display {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .hero-gradient {
        background: none;
    }
}

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