/* Custom Styles for Sweet Point Bakery */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FDFBF7;
}

/* Hero Animation */
.hero-content {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature Items Animation */
.feature-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section Animation */
.about-img-wrapper {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-text {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.2s;
}

.about-img-wrapper.visible,
.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Navbar Scroll Effect */
.nav-scrolled #nav-bg {
    opacity: 1;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #dfc0a8;
    border-radius: 5px;
}

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

/* Selection Color */
::selection {
    background-color: #c45d3b;
    color: white;
}
