/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar styling */
.navbar {
    background-color: #000000 !important; /* New purple color */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    transition: background-color 0.3s ease;
}

/* Logo container - ensures proper display */
.navbar-brand {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-right: 1rem;
}

/* Logo image styling */
.navbar-brand img {
    height: 40px; /* Fixed height */
    width: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease;
}

/* Nav items */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #ffd700; /* Gold accent */
    transform: translateY(-2px);
}

/* Active link styling */
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffd700;
    font-weight: 500;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: #ffd700;
}

/* Mobile menu button */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero section */
.hero-banner {
    background: linear-gradient(rgba(104, 80, 161, 0.8), rgba(121, 92, 172, 0.8)), 
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

/* Main content */
main {
    flex: 1;
    padding-top: 20px; /* Small space below navbar */
}

/* Buttons */
.btn-primary {
    background-color: #6850a1;
    border-color: #5a4690;
}

.btn-primary:hover {
    background-color: #795cac;
    border-color: #6850a1;
}

.btn-outline-primary {
    color: #6850a1;
    border-color: #6850a1;
}

.btn-outline-primary:hover {
    background-color: #6850a1;
    border-color: #6850a1;
    color: white;
}

/* Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-header {
    background-color: #6850a1;
    color: white;
}

/* Badges */
.badge.bg-primary {
    background-color: #6850a1 !important;
}

/* WhatsApp button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Gold accents */
.text-gold {
    color: #ffd700;
}

.bg-gold {
    background-color: #ffd700;
}

/* Form focus styles */
.form-control:focus {
    border-color: #795cac;
    box-shadow: 0 0 0 0.25rem rgba(104, 80, 161, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-banner {
        padding: 80px 0;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}