/* Custom styles for Oldtimer-Verein Ellwangen */

/* Import rounded font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navigation items bold */
nav a {
    font-weight: 600;
    position: relative;
    padding-bottom: 4px;
}

/* Active navigation indicator line */
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #C9A961;
    transition: width 0.3s ease;
}

nav a.active-section::after {
    width: 100%;
}

/* Carousel Styling */
.carousel-container {
    position: relative;
}

.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Carousel Button Hover Effects */
.carousel-btn {
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    position: relative;
    z-index: 10;
}

.indicator {
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator.active {
    background-color: #C9A961;
    transform: scale(1.3);
}

.indicator:hover {
    background-color: #C9A961;
}

/* Smooth scrolling for navigation links */
section {
    scroll-margin-top: 4rem;
}

/* Animation for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive font scaling */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* Custom shadow effects */
.shadow-vintage {
    box-shadow: 0 10px 30px rgba(92, 74, 58, 0.2);
}

/* Hover effects for links */
a {
    transition: all 0.3s ease;
}

/* Print styles */
@media print {
    nav {
        display: none;
    }

    .carousel-btn,
    .carousel-indicators {
        display: none;
    }
}
