/* Custom Styles for The Farmstead Pastries */

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

/* Geometric Background Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: #FF6B6B;
    border-radius: 50%;
    top: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: #2D2D2D;
    bottom: 20%;
    left: -50px;
    transform: rotate(45deg);
    animation: float 10s ease-in-out infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #FF6B6B;
    top: 50%;
    left: 10%;
    animation: rotate 15s linear infinite;
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    background: #FF6B6B;
    border-radius: 50%;
    bottom: 10%;
    right: 20%;
    animation: float 6s ease-in-out infinite;
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

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

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

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

/* Mobile Links */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }
#mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* Navbar Scroll Effect */
header.scrolled {
    padding-top: 0;
    padding-bottom: 0;
}

header.scrolled nav {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

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

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

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

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

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

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

/* Print Styles */
@media print {
    .geo-shape,
    #mobile-menu {
        display: none;
    }
}
