:root {
    --primary-color: #007bff; /* Azul vibrante */
    --secondary-color: #ffc107; /* Amarillo carnaval */
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9) !important;
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/barranquilla.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 5px solid var(--secondary-color);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
}

/* Headings */
h2 {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Cards and Images */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    color: var(--dark-gray);
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    height: 220px;
}

.gallery-item img {
    transition: transform 0.5s;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* Famous People Section */
.famous-person {
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
}

.famous-person:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.avatar-container {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--secondary-color);
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.1);
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white !important;
}

/* Icon Boxes */
.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Sections */
section {
    position: relative;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

/* Footer */
footer {
    background-color: var(--dark-gray) !important;
}

footer h4, footer h5 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

footer h4::after, footer h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .card-img-top, .gallery-item {
        height: 180px;
    }
}
