/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/img/cnpublic.jpg') center/cover no-repeat;
    min-height: 100vh;
}

/* Header y Navegación */
header {
    backdrop-filter: blur(10px);

    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-brand h1 {
    color: #ededed;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-primary {
    background: transparent;
    color: #ffb800;
    border: 2px solid #ffb800;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f6ff00, #ffaa00ec);
    transform: translateY(-2px);
    color: #141414;
    box-shadow: 0 5px 15px rgba(242, 255, 0, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    font-weight: 600;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    font-weight: 600;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}


.nav-link {
    color: #ededed;
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
}
/* Contenido Principal */
.main-content-contact {
    padding: 7rem 1rem;
}

.nav-link.active {
    background-color: #ffb800;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    display: inline-block;
    border-radius: 8px;
    color: black;
}

.contact-container {
    max-width: 950px;
    margin: 0 auto;
    background-color: rgb(24, 24, 24);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Encabezado */
.contact-header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/img/pexels-anton-8100-46924.jpg') center/cover no-repeat;
    color: white;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contenido de Contacto */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    padding: 3rem 2rem;
}

/* Información de Contacto */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: #141414;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-left: 5px solid #ffb800;
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #ffb800;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.info-card p {
    color: #cedae6;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-card .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Formulario */
.contact-form-section {
    background: #111111;
    padding: 2rem;
    border-radius: 16px;
}

.form-card {
    background: #141414;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.form-card h3 {
    color: #ffb800;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
}

.form-card > p {
    color: #aebaba;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ffb800;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #ffb800;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
    font-family: inherit;
    color: #ededed;
}


.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f6ff00;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
    background: rgb(37, 37, 37);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.form-actions {
    margin-top: 2rem;
}

.form-actions .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-section {
        order: 1;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-header {
        padding: 2rem 1rem;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-content {
        padding: 2rem 1rem;
    }
    
    .form-card {
        padding: 2rem 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        margin: 0.5rem;
        border-radius: 15px;
    }
    
    .contact-header h2 {
        font-size: 1.8rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}