/* Custom styles for Coco-Cola Macedonia */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
    background: #b02042;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8c1735;
}

/* Navbar transition */
.nav-logo-text {
    transition: color 0.3s ease;
}
.nav-subtext {
    transition: color 0.3s ease;
}
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #b02042;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Scrolled navbar styles */
.navbar-scrolled .nav-logo-text {
    color: #62142a;
}
.navbar-scrolled .nav-subtext {
    color: #b02042;
}
.navbar-scrolled .nav-link {
    color: #62142a;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero gradient animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Button hover effects */
a:hover {
    transition: all 0.3s ease;
}

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

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #b02042;
    outline-offset: 2px;
}

/* Form input transitions */
input, textarea, select {
    transition: all 0.3s ease;
}

/* Card hover lift */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}
