/* Custom CSS for Emagz Landing Page - Yellow & Black Theme */

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 9));
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(calc(-300px * 9));
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px hsl(45 100% 51% / 0.3);
    }
    50% {
        box-shadow: 0 0 40px hsl(45 100% 51% / 0.6);
    }
}

@keyframes scale-in {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

@keyframes gradient {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Apply animations */
.animate-fade-in {
    animation: fade-in 0.6s ease-out;
}

.animate-scroll {
    animation: scroll 60s linear infinite;
}

.animate-scroll-reverse {
    animation: scroll-reverse 60s linear infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.animate-scale-in {
    animation: scale-in 0.4s ease-out;
}

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

.animate-gradient {
    background-size: 200% auto;
    animation: gradient 3s linear infinite;
}

/* Gradient text effects */
.gradient-text {
    background: linear-gradient(135deg, hsl(45 100% 51%), hsl(38 92% 50%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-primary {
    background: linear-gradient(to right, hsl(45 100% 51%), hsl(43 96% 56%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(to right, hsl(45 100% 51%), hsl(43 96% 56%));
    color: hsl(0 0% 0%);
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px hsl(45 100% 51% / 0.5);
}

.btn-outline {
    background: transparent;
    color: hsl(0 0% 10%);
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid hsl(0 0% 10%);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: hsl(0 0% 10%);
    color: hsl(45 100% 51%);
    transform: scale(1.05);
}

/* Shadow effects */
.shadow-glow-primary {
    box-shadow: 0 0 20px hsl(45 100% 51% / 0.3);
}

.shadow-glow-primary-strong {
    box-shadow: 0 0 30px hsl(45 100% 51% / 0.5);
}

/* Card hover effect */
.card-hover {
    background: hsl(0 0% 100% / 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid hsl(45 20% 88%);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.card-hover:hover {
    border-color: hsl(45 100% 51%);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px hsl(45 100% 51% / 0.2);
}

/* Magazine card styles */
.magazine-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.magazine-card:hover {
    transform: scale(1.05);
}

.magazine-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Feature card styles */
.feature-card {
    background: hsl(0 0% 100% / 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid hsl(45 20% 88%);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: hsl(45 100% 51%);
    transform: translateY(-5px);
}

/* Testimonial card styles */
.testimonial-card {
    background: hsl(0 0% 100% / 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid hsl(45 20% 88%);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: hsl(45 100% 51%);
}

/* FAQ accordion styles */
.faq-item {
    background: hsl(0 0% 100% / 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid hsl(45 20% 88%);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: hsl(45 100% 51%);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    color: hsl(0 0% 40%);
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.active {
    transform: rotate(180deg);
}

/* Language dropdown styles */
.language-dropdown .language-menu,
.language-dropdown-mobile .language-menu-mobile {
    z-index: 1000;
}

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

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

::-webkit-scrollbar-track {
    background: hsl(0 0% 98%);
}

::-webkit-scrollbar-thumb {
    background: hsl(45 100% 51%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(43 96% 56%);
}

/* Input styles */
input, textarea {
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: hsl(45 100% 51%);
    box-shadow: 0 0 0 3px hsl(45 100% 51% / 0.1);
}

/* Magazine showcase container */
.magazine-showcase {
    display: flex;
    gap: 1.5rem;
    animation: scroll 60s linear infinite;
}

.magazine-showcase:hover {
    animation-play-state: paused;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .card-hover {
        padding: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}
