/* Custom styles for Hungry Birds Eatery */

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

/* Geometric background shapes */
.geometric-shape {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    background: #ff5c3f;
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: #ff856f;
    border-radius: 50%;
    bottom: 10%;
    left: -50px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid #ff5c3f;
    top: 30%;
    right: 5%;
    opacity: 0.04;
    transform: rotate(15deg);
}

.shape-square {
    width: 200px;
    height: 200px;
    background: #ffad9f;
    top: 60%;
    left: 10%;
    transform: rotate(45deg);
    opacity: 0.05;
}

.shape-ring {
    width: 400px;
    height: 400px;
    border: 3px solid #ff5c3f;
    border-radius: 50%;
    top: 20%;
    left: 40%;
    opacity: 0.03;
}

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

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

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

/* Selection color */
::selection {
    background: #ff5c3f;
    color: #1a1a2e;
}

/* Image hover effects */
.rounded-2xl.overflow-hidden img,
.rounded-3xl.overflow-hidden img {
    transition: transform 0.5s ease;
}

.rounded-2xl.overflow-hidden:hover img,
.rounded-3xl.overflow-hidden:hover img {
    transform: scale(1.03);
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #ff5c3f;
    outline-offset: 2px;
}

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

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

/* Form focus styles */
input:focus,
textarea:focus {
    background: rgba(26, 26, 46, 0.8) !important;
}

/* Gallery image grid adjustments */
.grid-cols-2 .col-span-2 {
    grid-column: span 2;
}

.grid-cols-2 .row-span-2 {
    grid-row: span 2;
}

/* Ensure hero is always visible */
#hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%);
}

/* Counter animation */
.font-display {
    text-rendering: optimizeLegibility;
}
