/* Project template 2 specific styles */

/* Estilos para el footer */
.footer {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 3rem 0;
    text-align: center;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer .logo {
    background-image: url('../img/logo-light.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 2rem;
    height: 150px;
    width: 250px;
}

.dark .footer .logo {
    background-image: url('../img/logo-dark.png');
}

.footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer .social-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer .copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Estilos para botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 180, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 180, 0, 0.4);
    background-color: var(--primary-light);
}
.hero-image {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-meta {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    color: white;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    color: var(--primary);
}

.technical-details {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.technical-details h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.technical-details ul {
    list-style: none;
    padding: 0;
}

.technical-details li {
    margin-bottom: 0.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 1rem;
    transition: color 0.3s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary);
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
}

.lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-caption {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
}

.back-to-portfolio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-portfolio:hover {
    background: var(--primary);
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .lightbox-content {
        width: 100%;
    }
}