/* === General Styles === */
html, body {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #007bff; /* Cambia el color al pasar el cursor */
}

/* === Navbar Styles === */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 20px; /* Aumentar padding para alinear el menú */
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo img {
    max-height: 50px;
    margin-right: 20px;
    margin-bottom: 18px;
}

/* Menú */
.menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li a {
    font-size: 16px;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #007bff;
}

/* Botón Login */
.menu .btn {
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    padding: 6px 12px; /* Tamaño reducido */
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-right: 10px; /* Espaciado extra antes de los iconos de idioma */
}

.menu .btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Idioma */
.language-switch {
    display: flex;
    align-items: center;
    gap: 5px; 
    margin-left: 18px;
}

.language-switch img {
    max-height: 22px;
    cursor: pointer;
}

/* === Hero Section === */
.hero {
    background-color: #007bff;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero .btn-primary {
    background-color: #ffffff;
    color: #007bff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero .btn-primary:hover {
    background-color: #e9ecef;
    transform: scale(1.05);
}

/* === Footer === */
footer {
    background-color: #FF0085;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: yellow;
}

footer a:hover {
    text-decoration: underline;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .menu {
        flex-direction: column;
        gap: 10px;
    }

    .language-switch {
        margin-top: 10px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero .btn-primary {
        font-size: 16px;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 5px;
    }

    .menu li a {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero .btn-primary {
        font-size: 14px;
        padding: 6px 12px;
    }
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.card-text {
    font-size: 0.95rem;
    color: #555;
}

.text-warning {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.image-frame {
    position: relative;
    border: 8px solid white;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.2);
    margin: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.image-frame:hover {
    box-shadow: 8px 8px 16px rgba(0,0,0,0.3);
}

.image-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.section .image-frame {
    max-width: 100%;
    margin: 0 auto;
}

/* Clase reutilizable para sombra de banner */
.banner-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.banner-shadow::before,
.banner-shadow::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
}

.banner-shadow::before {
    top: -10px;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
}

.banner-shadow::after {
    bottom: -10px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none; /* Esto eliminará el subrayado */
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
    text-decoration: none; /* Esto asegura que no aparezca el subrayado al pasar el mouse */
}

/* Esta regla adicional asegura que el ícono dentro del botón tampoco tenga subrayado */
.whatsapp-btn i {
    text-decoration: none;
}