/* ============================================
   Wag's Bar — Custom Styles
   ============================================ */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFF7ED;
}
::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

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

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid #6ee7b7;
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: #34d399;
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    border: 2px solid #a7f3d0;
    border-radius: 50%;
    top: 30%;
    left: 10%;
    animation: float 10s ease-in-out infinite;
}

.shape-square-1 {
    width: 100px;
    height: 100px;
    background: #FFF7ED;
    opacity: 0.08;
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #6ee7b7;
    opacity: 0.1;
    bottom: 20%;
    right: 8%;
    animation: float 7s ease-in-out infinite;
}

.shape-dots {
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, #34d399 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    top: 60%;
    left: 8%;
    opacity: 0.2;
    animation: float 9s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* Navbar */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 247, 237, 0.95);
    backdrop-blur-lg;
    box-shadow: 0 1px 20px rgba(4, 120, 87, 0.1);
    padding: 0;
}

#navbar.scrolled .logo-text {
    color: #047857;
}

/* Mobile menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.inactive {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-link:hover {
    transform: scale(1.05);
    color: #059669;
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .geo-shape {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Button hover effects */
a:hover {
    transition: all 0.2s ease;
}

/* Image hover */
img {
    transition: transform 0.5s ease;
}

/* Selection color */
::selection {
    background: #047857;
    color: #FFF7ED;
}
