/* Estilos Generales */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

h1, h2, h3 {
    color: #2c3e50;
}

/* Formularios */
.form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: #3498db;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* Alertas y Mensajes */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Perfil Público */
.profile-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

.profile-card {
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay para legibilidad del texto */
    z-index: 1;
}

.profile-content {
    position: relative;
    z-index: 2;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.profile-title {
    font-size: 18px;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.9;
}

.profile-section {
    background: #ffffff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.profile-section h3 {
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}
.profile-btn i {
    margin-right: 10px;
}
.profile-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Colores específicos de botones */
.btn-whatsapp { background-color: #25D366; }
.btn-email { background-color: #EA4335; }
.btn-map { background-color: #4285F4; }
.btn-payment { background-color: #FFC439; color: #003087; }
.btn-vcard { background-color: #34495e; }
.btn-send-contact { background-color: #9b59b6; }
.btn-linkedin { background-color: #0A66C2; }
.btn-instagram { background: #d6249f; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.btn-facebook { background-color: #1877F2; }
.btn-twitter { background-color: #1DA1F2; }
.btn-youtube { background-color: #FF0000; }
.btn-tiktok { background-color: #000000; }
.btn-pinterest { background-color: #E60023; }
.btn-website { background-color: #8e44ad; }
.btn-tripadvisor { background-color: #34E0A1; }
.btn-google { background-color: #4285F4; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.5s;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 768px) {
    .container, .form-container {
        margin: 10px;
        padding: 15px;
    }
    .modal-content {
        width: 90%;
        margin: 25% auto;
    }
}
