/* Custom styles for DV's Homemade Donuts */

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

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

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

.shape-circle-2 {
    width: 150px;
    height: 150px;
    background: #FF5C3A;
    border-radius: 50%;
    top: 60%;
    left: -30px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 80px;
    height: 80px;
    background: #8b2424;
    border-radius: 50%;
    top: 40%;
    right: 10%;
    animation: float 10s ease-in-out infinite;
}

.shape-square-1 {
    width: 100px;
    height: 100px;
    background: #FF5C3A;
    border-radius: 20px;
    bottom: 20%;
    right: 5%;
    transform: rotate(15deg);
    animation: rotate 12s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #8b2424;
    top: 75%;
    left: 5%;
    opacity: 0.05;
    animation: float 7s 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); }
}

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

.animate-float-delayed {
    animation: float 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 248, 240, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(139, 36, 36, 0.08);
}

.nav-scrolled .nav-link {
    color: #5f1a1a;
}

/* Mobile menu */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

.mobile-nav-link {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.mobile-nav-link:hover {
    background: rgba(139, 36, 36, 0.05);
}

/* Section reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form focus styles */
input:focus,
textarea:focus {
    border-color: #e9a0a0 !important;
    box-shadow: 0 0 0 4px rgba(233, 160, 160, 0.2) !important;
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 150px;
        height: 150px;
    }
    
    .shape-circle-2 {
        width: 80px;
        height: 80px;
    }
    
    .shape-square-1 {
        width: 60px;
        height: 60px;
    }
}
