/* VARIABLES Y RESET BÁSICO */
:root {
    --primary-color: #f7931e; /* Naranja de tu logo */
    --secondary-color: #333;
    --dark-color: #000;
    --light-color: #fff;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* 1. CABECERA (HERO SECTION) */
.hero {
    /* Aquí debes usar una imagen impactante de cortes láser o diseño 3D */
    background: url('imagen-corte-laser.jpg') no-repeat center center/cover; 
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    position: relative;
    /* Oscurecer un poco la imagen para que el texto resalte */
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.5); 
}

.logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.header-logo {
    width: 80px; /* Tamaño del logo en la cabecera */
    height: auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e6851b; /* Tono más oscuro de naranja */
}

/* 2. SECCIONES GENERALES */
.section {
    padding: 80px 5%;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--dark-color);
    font-weight: 700;
}

/* SECCIÓN SERVICIOS */
.services-section {
    background-color: #f4f4f4;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    padding: 30px;
    background: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}


/* 3. FORMULARIO */
.form-section {
    background-color: var(--light-color);
}

.request-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.half-width {
    width: calc(50% - 10px);
    display: inline-block;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* Estilo para el campo de archivos adjuntos */
.file-upload-group input[type="file"] {
    display: block; /* Para que ocupe el espacio */
    padding: 10px 0;
    border: none;
}

.file-info {
    display: block;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #666;
}

.submit-button {
    width: 100%;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #e6851b;
}

.form-message {
    margin-top: 20px;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    display: none;
}


/* 4. PIE DE PÁGINA (FOOTER) */
.main-footer {
    background-color: var(--dark-color); /* Fondo negro */
    color: #ccc;
    padding: 40px 5%;
}

.footer-grid {
    display: grid;
    /* 3 columnas con logo en el centro */
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
    margin-bottom: 20px;
    align-items: center; /* Centra verticalmente el contenido */
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-col p {
    margin-bottom: 10px;
}

.footer-col i {
    margin-right: 10px;
}

/* Logo en el centro */
.footer-logo-col {
    text-align: center;
}

.footer-logo-col img {
    width: 120px; 
    height: auto;
    filter: brightness(0) invert(1) grayscale(100%) sepia(100%) saturate(1000%) hue-rotate(0deg) brightness(1.5) contrast(1.5); /* Esto puede necesitar ajuste para que el logo se vea blanco o brillante sobre el negro */
}

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* MEDIA QUERIES para responsividad */
@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr; /* Una columna en móviles */
        text-align: center;
    }
    .footer-logo-col {
        order: -1; /* Mueve el logo arriba en móviles */
    }
    .half-width {
        width: 100%;
    }
}