/* Custom Styles for Mosaic Cafe Restaurant */

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

/* Geometric Background Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #4fd1c5 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #38b2ac 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: -100px;
    animation-delay: -5s;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: #4fd1c5;
    top: 40%;
    right: 10%;
    transform: rotate(45deg);
    animation-delay: -10s;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #319795;
    top: 20%;
    left: 5%;
    animation-delay: -7s;
}

.geo-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #4fd1c5 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(5deg);
    }
    66% {
        transform: translateY(20px) rotate(-5deg);
    }
}

/* Menu Cards */
.menu-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 24px;
    transition: all 0.3s ease;
}

.menu-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(79, 209, 197, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gallery Items */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Navigation */
#navbar {
    background: transparent;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

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

/* Menu Toggle */
.menu-line {
    transition: all 0.3s ease;
}

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

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

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4fd1c5;
}

/* Form Focus States */
input:focus,
textarea:focus {
    outline: none;
    border-color: #4fd1c5 !important;
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.1);
}

/* Button Hover Effects */
button:hover {
    transform: scale(1.02);
}

button:active {
    transform: scale(0.98);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
    
    #hero h1 {
        font-size: 3rem;
    }
    
    .menu-card {
        padding: 16px;
    }
}
