/* Custom CSS for Dungeonfall Website */

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Timeline for Roadmap */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid #fff;
    z-index: 1;
}

.timeline-content {
    margin-left: 60px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-content {
        margin-left: 70px;
    }
}

/* Feature Icons */
.feature-icon {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navbar Brand */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* Card Hover Effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Custom Button Styles */
.btn-primary {
    background-color: #6b46c1;
    border-color: #6b46c1;
}

.btn-primary:hover {
    background-color: #553c9a;
    border-color: #553c9a;
}

/* Footer Links */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Image */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Custom Animation for Hero Section */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-section h1, .hero-section p {
    animation: fadeIn 1s ease-out;
}

.hero-section h1 {
    animation-delay: 0.2s;
}

.hero-section p {
    animation-delay: 0.4s;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6b46c1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #553c9a;
}