/* Custom styles for Top Pot */

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 252, 248, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(156, 34, 66, 0.08);
}

/* Mobile menu animations */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.menu-line:nth-child(1) {
    transform-origin: center;
}

.menu-line:nth-child(2) {
    transform-origin: center;
}

.menu-line:nth-child(3) {
    transform-origin: center;
}

.menu-active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* 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.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero decorative elements animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

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

/* Custom selection color */
::selection {
    background: #f9d0d9;
    color: #6c1c31;
}

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

/* Form styles (for future use) */
input, textarea {
    border: 2px solid #fce7eb;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #9c2242;
}

/* Mobile menu link styles */
.mobile-link {
    transition: all 0.3s ease;
}

.mobile-link:hover {
    transform: scale(1.05);
}

/* Scroll indicator animation */
@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Ensure all images have proper aspect ratio handling */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth transitions for interactive elements */
button, a {
    -webkit-tap-highlight-color: transparent;
}

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

::-webkit-scrollbar-track {
    background: #fffcf8;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #e96a8f;
}
