/* Custom styles for The Rustic Oven */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.geo-circle {
    border-radius: 50%;
}

.geo-square {
    border-radius: 1rem;
}

.geo-triangle {
    width: 0 !important;
    height: 0 !important;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid;
}

/* Nav transitions */
.nav-text {
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-text {
    color: #1a4d2e;
}

#navbar.light .nav-text {
    color: white;
}

#navbar.scrolled {
    background: rgba(250, 248, 244, 0.95);
    backdrop-blur-lg;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#navbar.light {
    background: rgba(26, 77, 46, 0.9);
    backdrop-blur-lg;
}

#navbar.light .nav-text {
    color: rgba(255, 255, 255, 0.85);
}

#navbar.light .mobile-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8bb58a;
}

/* Selection color */
::selection {
    background: #3d7a3d;
    color: white;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #3d7a3d;
    outline-offset: 2px;
}

/* Button hover lift */
button, a {
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Image hover zoom container */
img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
