/* Base Styles (Mobile First) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #212529;
    color: #f5f5f5;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 0 solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 0px;
}

h1 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #fff;
}
h2 {
    font-family: inherit; /* Hereda de h1 */
    color: #fff;
    font-size: 1.1em; /* Relativo al tamaño base */
    font-weight: 600; /* Semi-negrita */
    margin: 0 0 15px 0;
    text-align: center;
}

header p {
    color: #fbfbfb;
    font-size: 16px;
}

h3 {
    font-size: .9em;
    margin-bottom: 5px;
    color: #fff;
}
/* Link Buttons */
.links {
    display: flex;
    text-decoration: none;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    will-change: transform;
}

.link-button:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.link-button i {
    font-size: 20px;
}
.enlace-texto, .enlace-texto:visited, .enlace-texto:hover, 
.enlace-texto:active, .enlace-texto:focus {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.whatsapp {
    background-color: #25D366;
    color: white;
}
.tienda {
    background-color: #FA6624;
    color: white;
}
.catalog {
    background-color: #4CAF50;
    color: white;
}
.hidden-element {
    display: none !important;
}

/* Footer & Social Links */
footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 0px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-links a {
    display: inline-block;
    color: #6c757d;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: color, filter;
    transform: translateZ(0);
    padding: 5px;
    border-radius: 50%;
}

.social-links a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
}

/* Social Media Specific Colors */
.social-links a:nth-child(1):hover { /* Instagram */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-links a:nth-child(2):hover { /* TikTok */
    background-color: #000000;
}

.social-links a:nth-child(3):hover { /* Facebook */
    background-color: #1877F2;
}

.social-links a:nth-child(4):hover { /* YouTube */
    background-color: #FF0000;
}

.copyright {
    color: #888;
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fff;
    color: #212529;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.map-container {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.schedule-info {
    margin-top: 20px;
}

.schedule-info p {
    margin-bottom: 10px;
}

.schedule-info strong {
    color: #333;
}

        /* Estilos específicos para 404 */
        .error-container {
            text-align: center;
            padding: 30px 0;
        }
        
        h1.error-title {
            color: #FF6B00; /* Naranja */
            font-weight: 900; /* Extra bold */
            font-size: 4rem;
            margin: 20px 0 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
            line-height: 1.2;
        }
        
        h2.error-message {
            font-size: 1.3rem;
            margin-bottom: 30px;
            color: #f5f5f5;
            font-weight: 500;
        }
        
        .redirect-message {
            color: #aaa;
            font-size: 0.9rem;
            margin-top: 40px;
        }
        
        .home-button {
            display: inline-block;
            padding: 12px 25px;
            background-color: #FF6B00;
            color: white;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 20px;
            transition: all 0.3s ease;
        }
        
        .home-button:hover {
            background-color: #E05D00;
            transform: translateY(-2px);
        }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .container {
        max-width: 800px;
        padding: 40px;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    h1 {
        font-size: 28px;
    }

    header p {
        font-size: 18px;
    }

    .links {
        gap: 20px;
        text-decoration: none;
    }

    .link-button {
        padding: 18px 25px;
        font-size: 18px;
    }

    .link-button i {
        font-size: 24px;
    }

    .modal-content {
        margin: 5% auto;
    }
}

/* Mobile Optimization */
@media (max-width: 480px) {
    .link-button:hover {
        transform: scale(1.01);
    }
    
    .whatsapp:hover, 
    .catalog:hover {
        transform: scale(1.01) translateY(-1px);
    }
    h3{
        font-size: .7em;
    }
}