/* Custom Bootstrap Enhancements for Cloud Creations */

:root {
    --cc-primary: #0d6efd;
    --cc-secondary: #6c757d;
    --cc-success: #198754;
    --cc-transition: all 0.3s ease;
}

/* Hover Lift Effect */
.hover-lift {
    transition: var(--cc-transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

/* Card Enhancements */
.card {
    transition: var(--cc-transition);
    border: none;
}

.card-body {
    position: relative;
}

/* Navbar Enhancements */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: var(--cc-transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--cc-primary);
    transition: var(--cc-transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Button Enhancements */
.btn {
    transition: var(--cc-transition);
    font-weight: 600;
    letter-spacing: 0.025em;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, .25);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
}

/* Badge Enhancements */
.badge {
    font-weight: 600;
    letter-spacing: 0.025em;
    padding: 0.5rem 1rem;
}

/* Carousel Enhancements */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* List Group */
.list-group-item {
    border-left: none;
    border-right: none;
    padding-left: 0;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
}

.footer .nav-link {
    padding: 0.25rem 0;
    color: rgba(255, 255, 255, 0.75);
}

.footer .nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

/* Section Spacing */
section {
    scroll-margin-top: 70px;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* SVG Icon Alignment */
svg {
    vertical-align: middle;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}