/* Custom styles for Tim & Doris's */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1e1e24;
}
::-webkit-scrollbar-thumb {
    background: #5c5c68;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7a7a86;
}

/* Selection color */
::selection {
    background: #ff7866;
    color: #ffffff;
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(17, 17, 22, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

#navbar.scrolled #nav-logo {
    color: #ffffff !important;
}

#navbar.scrolled #nav-links a {
    color: rgba(255,255,255,0.85) !important;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero image subtle animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

/* Coral gradient text */
.gradient-coral {
    background: linear-gradient(135deg, #ff7866 0%, #e03e28 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

/* Input focus states */
input:focus,
textarea:focus {
    outline: none;
}

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

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

/* Decorative line animation */
@keyframes expandLine {
    from { width: 0; }
    to { width: 32px; }
}

/* Subtle pattern overlay for sections */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,120,102,0.05) 1px, transparent 0);
    background-size: 24px 24px;
}
