
/* Card styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.card-header {
    border-bottom: none;
    padding: 1.5rem;
    font-weight: bold;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Section spacing */
section {
    padding: 4rem 0;
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
}

.btn-light {
    background-color: white;
    color: #1e3a8a;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: #1e3a8a;
}

/* Hero Carousel Styles */
.hero-carousel {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero-carousel .carousel-item {
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-carousel .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.hero-carousel .carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hero-carousel .carousel-caption p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 300;
}

.hero-carousel .carousel-caption .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    margin: 0 0.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-caption .btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border: none;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.hero-carousel .carousel-caption .btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.hero-carousel .carousel-caption .btn-outline-light {
    border: 2px solid white;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-carousel .carousel-caption .btn-outline-light:hover {
    background: white;
    color: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Carousel Indicators */
.hero-carousel .carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators .active {
    background-color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Carousel Controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 80px;
    z-index: 3;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Slide specific backgrounds */
.hero-slide-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('https://alexandrucelbun.md/static/images/home.webp');
}

.hero-slide-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.hero-slide-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-carousel .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .hero-carousel .carousel-caption p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-carousel .carousel-caption .btn {
        font-size: 1rem;
        padding: 0.8rem 2rem;
        margin: 0.3rem;
    }
    
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 60px;
    }
    
    .hero-carousel .carousel-control-prev-icon,
    .hero-carousel .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-carousel .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .hero-carousel .carousel-caption p {
        font-size: 1rem;
    }
    
    .hero-carousel .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Animation pentru slideuri */
.hero-carousel .carousel-item {
    transition: transform 0.8s ease-in-out;
}

.hero-carousel .carousel-caption {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
