/* Custom Styles for Johnson Underground */

/* Base Typography */
body {
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Navbar Transition */
nav.scrolled {
    background-color: rgba(252, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Hero Animations */
.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out 0.3s forwards;
}

.hero-actions {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out 0.6s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Stats Animation */
.stat-card {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.8s ease-out forwards;
}

.stat-card:nth-child(1) {
    animation-delay: 1s;
}

.stat-card:nth-child(2) {
    animation-delay: 1.2s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Card Hover Effect */
.service-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Scroll Reveal Utility */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

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

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

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

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