/* Estilos personalizados para Virtual Web Class */

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.navbar {
    background-color: var(--secondary);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

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

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

.hero {
    background: linear-gradient(rgba(6, 30, 92, 0.8), rgba(6, 30, 92, 0.8)), url('../img/banners/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Estilos para el logo */
.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
}

.logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: white;
}

/* Ajustes responsive para el logo */
@media (max-width: 768px) {
    .logo {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .logo {
        height: 30px;
        margin-right: 8px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

.service-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    margin-bottom: 30px;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary);
    margin-bottom: 15px;
}

.client-logo {
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
}

.client-logo img {
    max-width: 150px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 20px;
}

footer h5 {
    color: var(--primary);
    margin-bottom: 20px;
}

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

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

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* Estilos para página de servicios */
.service-detail {
    margin-bottom: 50px;
}

.service-detail h3 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding-left: 0;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.service-features li:before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Estilos para formulario de contacto */
.contact-form .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 180, 29, 0.25);
}

.alert {
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .team-member img {
        width: 150px;
        height: 150px;
    }
}