/* === Custom Styles for Good Ground Coffeehouse === */

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

/* Hero animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

/* Floating orbs animation */
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-orb-1 {
    animation: float 20s ease-in-out infinite;
}

.hero-orb-2 {
    animation: float 25s ease-in-out infinite reverse;
}

.hero-orb-3 {
    animation: float 15s ease-in-out infinite;
}

/* Scroll reveal animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Gold shimmer on hover for special elements */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

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

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

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

/* Selection color */
::selection {
    background: rgba(200, 107, 74, 0.3);
    color: #fff;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

/* Subtle hover lift for cards */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-orb-1 {
        width: 300px !important;
        height: 300px !important;
    }
    .hero-orb-2 {
        width: 250px !important;
        height: 250px !important;
    }
    .hero-orb-3 {
        width: 150px !important;
        height: 150px !important;
    }
}

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

/* Print styles */
@media print {
    nav, #contact, .hero-orb {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
