/* Custom CSS for Parapendio Club Laveno - Modern Bootstrap 5 Theme */

:root {
    --primary-color: #0d6efd;
    --dark-bg: #10222b;
    --accent-color: #318282;
}

/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Styles */
.navbar {
    background-color: var(--dark-bg) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(16, 34, 43, 0.95) !important;
    padding: 0.5rem 0;
}

.brand-logo {
    width: 30px;
    height: auto;
}

.nav-link {
    font-weight: 500;
    padding: 0.8rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 85vh;
    position: relative;
    overflow: hidden;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.carousel-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(13, 110, 253, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    z-index: 3;
    width: 5%;
    opacity: 0.7;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 1;
}

.hero-section .carousel-indicators {
    z-index: 3;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(13, 110, 253, 0.3) 100%);
}

.hero-section h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Section Styles */
section {
    scroll-margin-top: 80px;
}

.badge {
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.card-img-top {
    height: 300px;
    object-fit: cover;
}

/* Blockquote Styles */
.blockquote {
    font-size: 1.1rem;
    color: #555;
}

/* Button Styles */
.btn {
    border-radius: 50px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
}

.btn-outline-primary {
    border-width: 2px;
}

.btn-outline-primary:hover {
    transform: scale(1.02);
}

.btn-lg {
    padding: 0.8rem 2rem;
}

/* Image Styles */
.cursor-pointer {
    cursor: pointer;
}

.img-fluid.rounded-circle {
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* List Group */
.list-group-item {
    border: none;
    padding-left: 0;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #10222b 0%, #1a3a4a 100%);
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

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

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 70vh;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Iframe Responsive */
iframe {
    max-width: 100%;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a58ca;
}

/* Z-Index Utility */
.z-1 {
    z-index: 1;
}

/* Loading Animation for images */
img {
    transition: opacity 0.3s ease;
}
