/* ===== Custom Styles for Barbara's Maplehaven ===== */

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

/* Gold button base styles */
.gold-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #f59e0b 100%);
    background-size: 200% auto;
    color: #020617;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
}

.gold-btn:hover {
    background-position: right center;
    box-shadow: 0 6px 30px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

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

/* Navbar styles */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(148, 163, 184, 0.08);
}

/* Nav links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #14b8a6, #f59e0b);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile nav links */
.mobile-nav-link {
    position: relative;
    padding-left: 0;
}

/* Hero text glow */
h1 {
    text-shadow: 0 0 80px rgba(20, 184, 166, 0.15);
}

/* Image hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

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

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

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

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

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f1f5f9;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
    
    .gold-btn {
        transition: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .gold-btn {
        padding: 0.75rem 1.5rem;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .scroll-reveal {
        transition-delay: 0ms;
    }
}
