
/* Estilos Generales */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f9f9f9;
            color: #333;
            line-height: 1.6;
        }

        header {
            text-align: center;
            padding: 2rem 1rem;
            background: linear-gradient(135deg, #2c3e50, #3498db);
            color: white;
        }

        .social-header {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .social-header a {
            color: white;
            font-size: 1.5rem;
            transition: transform 0.3s;
        }

        .social-header a:hover {
            transform: translateY(-3px);
        }

        h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }

        /* Navegación */
        #breadcrumbs {
            padding: 1rem 2rem;
            display: flex;
            gap: 0.5rem;
        }

        #breadcrumbs a {
            color: #3498db;
            text-decoration: none;
        }

        #breadcrumbs a:not(:last-child)::after {
            content: "›";
            margin-left: 0.5rem;
            color: #777;
        }

        .category-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            padding: 1rem 2rem;
            flex-wrap: wrap;
        }

        .category-buttons button {
            padding: 0.8rem 1.5rem;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .category-buttons button:hover {
            background: #2980b9;
            transform: translateY(-2px);
        }

        .subcategories {
            display: flex;
            justify-content: center;
            gap: 1rem;
            padding: 1rem 2rem;
            flex-wrap: wrap;
        }

        .subcategories button {
            padding: 0.6rem 1.2rem;
            background: white;
            border: 1px solid #ddd;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .subcategories button:hover {
            border-color: #3498db;
            color: #3498db;
        }

        /* Proyectos */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            padding: 2rem;
            max-width: 1400px;
            margin: auto;
        }

        .project-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }

        .project-card:hover {
            transform: translateY(-5px);
        }

        .project-card img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            cursor: pointer;
        }

        .project-info {
            padding: 1.5rem;
        }

        .project-info h3 {
            margin-bottom: 0.5rem;
            color: #2c3e50;
        }

        .project-info p {
            color: #7f8c8d;
            font-size: 0.9rem;
        }

        /* Para pantallas medianas (muestra 3 columnas) */
        @media (max-width: 1200px) {
            .projects-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* Para tablets (muestra 2 columnas) */
        @media (max-width: 900px) {
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Para móviles (1 columna) */
        @media (max-width: 600px) {
            .projects-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Contacto */
        .contact-section {
            max-width: 800px;
            margin: 3rem auto;
            padding: 2rem;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .contact-section h2 {
            text-align: center;
            margin-bottom: 2rem;
            color: #2c3e50;
        }

        .form-group {
            position: relative;
            margin-bottom: 1.5rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem 0;
            border: none;
            border-bottom: 2px solid #ddd;
            font-size: 1rem;
            transition: all 0.3s;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .form-group label {
            position: absolute;
            top: 1rem;
            left: 0;
            color: #7f8c8d;
            pointer-events: none;
            transition: all 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-bottom-color: #3498db;
        }

        .form-group input:focus + label,
        .form-group textarea:focus + label,
        .form-group input:valid + label,
        .form-group textarea:valid + label {
            top: -0.5rem;
            font-size: 0.8rem;
            color: #3498db;
        }

        button[type="submit"] {
            background: #3498db;
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s;
            display: block;
            margin: 2rem auto 0;
        }

        button[type="submit"]:hover {
            background: #2980b9;
            transform: translateY(-2px);
        }

        /* Footer */
        footer {
            background: #2c3e50;
            color: white;
            padding: 3rem 2rem 1rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            padding-bottom: 2rem;
        }

        .footer-brand h3 {
            margin-bottom: 0.5rem;
        }

        .footer-contact p {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Modal Galería */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            width: 90%;
            max-width: 1000px;
            height: 90vh;
            position: relative;
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            z-index: 1001;
        }

        .slider-container {
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .slider-track {
            display: flex;
            height: 100%;
            transition: transform 0.5s ease;
        }

        .slider-slide {
            min-width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slider-slide img {
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
        }

        .slider-nav {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            z-index: 1001;
        }

        .slider-nav button {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .slider-nav button:hover {
            background: rgba(255, 255, 255, 0.4);
        }

        .slide-counter {
            color: white;
            font-size: 1.1rem;
            min-width: 80px;
            text-align: center;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .projects-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            .modal-content {
                width: 100%;
                height: 100%;
            }
            
            .slider-nav button {
                width: 40px;
                height: 40px;
            }
        }
        .project-link {
            display: inline-block;
            margin-top: 8px;
            color: #3498db;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            border: 1px solid #3498db;
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 0.9rem;
            text-align: center;
        }

        .project-link:hover {
            background: #3498db;
            color: white;
        }

        .project-info p {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        /* Sección Todos */
        .all-projects-section {
            padding: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .all-projects-section h2 {
            text-align: center;
            margin-bottom: 2rem;
            color: #2c3e50;
        }

        .all-projects-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        @media (max-width: 1200px) {
            .all-projects-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 900px) {
            .all-projects-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            .all-projects-grid {
                grid-template-columns: 1fr;
            }
        }
