/* Estilos generales */
:root {
    --primary-color: #FF6B00; /* Naranja principal */
    --primary-dark: #E55C00; /* Naranjo oscuro */
    --secondary-color: #000000; /* Negro */
    --accent-color: #FF8C42; /* Naranja claro */
    --text-color: #333333;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    padding-top: 76px;
    line-height: 1.6;
}

/* Aplicar Montserrat a todos los elementos principales */
h1, h2, h3, h4, h5, h6,
.navbar, .hero-section, .card, .btn,
.form-control, .dropdown-menu {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar */
.navbar {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    max-height: 50px;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        #FF7A1A 25%, 
        var(--accent-color) 30%, 
        #FF9D5C 75%, 
        var(--accent-color) 100%);
    padding-top: 120px;
    padding-bottom: 55px;
    margin-top: -76px;
    color: var(--white);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-section .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Testimonios */
.testimonial-card {
    border-left: 4px solid var(--primary-color);
    background-color: var(--light-gray);
}

.testimonial-card .card-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Formación */
#formacion .card {
    background-color: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
}

/* Contacto */
.form-control {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    padding: 12px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 161, 154, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Contact Info */
.contact-info {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-links a {
    color: var(--text-color);
    transition: color 0.3s ease;
    margin-right: 15px;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 40px 0;
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Blog Section Styles */
.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(255, 107, 0, 0.2);
}

.blog-card img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.blog-card .card-body {
    padding: 20px;
}

.blog-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin: 10px 0;
    color: var(--secondary-color);
}

.blog-card p {
    color: var(--text-color);
    margin-bottom: 15px;
}

/* Calendar Section Styles */
.calendar-section {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8d9 100%);
    padding: 80px 0;
}

.calendar-container {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.1);
}

#calendar {
    margin-bottom: 20px;
}

/* FullCalendar Customization */
.fc {
    font-family: 'Montserrat', sans-serif;
}

.fc .fc-button-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.fc .fc-button-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.fc .fc-event {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: rgba(255, 107, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-card {
        margin-bottom: 20px;
    }
    
    .calendar-container {
        padding: 20px;
    }
    
    .fc .fc-toolbar-title {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }
    
    /* Selector de idioma responsive */
    .language-selector .dropdown-menu {
        min-width: 120px;
    }
    
    .language-selector .dropdown-item {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .btn-primary{
        margin-bottom: 20px !important;
    }
} 

/* Estilos para el selector de idioma */
.language-selector .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-selector .dropdown-toggle i {
    font-size: 0.9rem;
}

.language-selector .dropdown-menu {
    min-width: 120px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 5px;
}

.language-selector .dropdown-item {
    padding: 10px 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.language-selector .dropdown-item:last-child {
    border-bottom: none;
}

.language-selector .dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    transform: translateX(5px);
}

.language-selector .dropdown-item:active {
    background-color: var(--primary-color);
    color: var(--white);
}