body {
    font-family: 'Inter', sans-serif;
    background-color: #111827; /* Fallback background */
}

/* --- Parallax Background --- */
#parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Paste your image URL from Firebase Storage here */
    background-image: url('https://firebasestorage.googleapis.com/v0/b/mechanic-app-91787.firebasestorage.app/o/pexels-maltelu-2244746.jpg?alt=media&token=4ab729fd-0e49-4d51-882a-3d2a4247c5a1');
    background-size: cover;
    background-position: center center;
    /* REMOVED background-attachment: fixed; */
    z-index: -1; /* Puts it behind all other content */
    /* Will be moved by JavaScript */
}

/* --- Make content sections readable over the background --- */
#home {
    /* Semi-transparent to let the background show through slightly */
    background-color: rgba(17, 24, 39, 0.8); 
    backdrop-filter: blur(2px);
}
#about, #contact {
    /* Solid background for better readability on text-heavy sections */
    background-color: #1f2937; /* bg-gray-800 */
}
#faq {
    background-color: #111827; /* bg-gray-900 */
}
/* --- End Parallax Styles --- */


#app-container,
#public-container,
#auth-container,
#loader,
#landing-container {
    display: none;
}

#app-container.active,
#public-container.active,
#auth-container.active,
#loader.active,
#landing-container.active {
    display: flex;
}

.modal-container {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 50;
}

.modal-container.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

::-webkit-scrollbar-track {
    background: #1f2937;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}
/* In style.css */

/* --- New Landing Page Styles --- */
.feature-card {
    background-color: #1f2937; /* bg-gray-800 */
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #374151; /* bg-gray-700 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

/* FAQ Accordion Styles */
.faq-item {
    background-color: #1f2937; /* bg-gray-800 */
    border-radius: 0.5rem;
    border: 1px solid #374151; /* bg-gray-700 */
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #111827; /* bg-gray-900 */
    color: #d1d5db; /* text-gray-300 */
}

.faq-answer p {
    padding: 1.25rem;
    line-height: 1.6;
}

/* Fade-in Animation on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
