/* RESET Y VARIABLES */
:root {
    --primary-color: #1c1d1e;
    --primary-dark: #1c1d1e;
    --secondary-color: #f5f5f5;
    --text-dark: #1d1d1d;
    --text-light: #666666;
    --accent-color: #ff6b6b;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* HEADER Y NAVEGACIÓN */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-link img {
    display: block;
    width: 2.4rem;
    height: auto;
    max-height: 2.4rem;
}

.logo-link span {
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-lang-item {
    list-style: none;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* LANGUAGE SELECTOR */
.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(10, 126, 164, 0.1);
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
}

/* SCROLL TO TOP BUTTON */
#scrollToTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(10, 126, 164, 0.3);
    transition: var(--transition-smooth);
    z-index: 999;
}

#scrollToTopBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10, 126, 164, 0.4), 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
}

#scrollToTopBtn:active {
    transform: translateY(-2px);
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
}

#scrollToTopBtn.show {
    display: flex;
    animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO SECTION */
.hero {
    margin-top: 60px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 126, 164, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    z-index: -1;
    animation: moveBackground 8s ease-in-out infinite;
}

@keyframes moveBackground {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-content img {
    display: block;
    width: min(320px, 100%);
    max-width: 320px;
    margin: 0 auto 1.8rem;
    height: auto;
    object-fit: contain;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(10, 126, 164, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10, 126, 164, 0.4), 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
}

.cta-button:active {
    transform: translateY(-2px);
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SECCIONES GENERALES */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 500px;
}

/* SERVICIOS SECTION */
.servicios {
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.servicio-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
    border-color: var(--primary-color);
}

.servicio-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(10, 126, 164, 0.1), rgba(255, 107, 107, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.servicio-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

.servicio-card:hover .servicio-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: scale(1.1) rotateZ(-5deg);
}

.servicio-card:hover .servicio-icon svg, .servicio-card:hover .servicio-icon i {
    color: white;
}

.servicio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.servicio-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* PROYECTOS SECTION - Coverflow Carousel */
.proyectos {
    background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
    position: relative;
}

.proyectos-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.proyectos-scroll {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proyecto-card {
    position: absolute;
    width: 550px;
    height: 350px;
    background: white;
    border-radius: var(--border-radius);
    overflow-y: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    opacity: 0.3;
    transform: translateX(0) scale(0.8);
    filter: blur(2px);
    pointer-events: none;
}

.proyecto-card.active {
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10), 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
}

.proyecto-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(10, 126, 164, 0.2), rgba(255, 107, 107, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: hidden;
    position: relative;
}

.proyecto-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.placeholder-image {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    padding: 1rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f4f8, #fdeaea);
}

.proyecto-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.proyecto-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.proyecto-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.proyecto-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(10, 126, 164, 0.3);
    transition: var(--transition-smooth);
    z-index: 20;
}

.proyecto-nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(10, 126, 164, 0.4), 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
}

.proyecto-nav-left {
    left: 20px;
}

.proyecto-nav-right {
    right: 20px;
}

/* Responsive para Coverflow */
@media (max-width: 768px) {
    .proyectos-wrapper {
        padding: 1.5rem 0 4.5rem;
    }

    .proyectos-scroll {
        height: 300px;
    }

    .proyecto-card {
        width: 250px;
        height: 280px;
    }

    .proyecto-nav-btn {
        top: auto;
        bottom: 0.25rem;
        transform: none;
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }

    .proyecto-nav-btn:hover {
        transform: scale(1.06);
    }

    .proyecto-nav-left {
        left: calc(50% - 58px);
    }

    .proyecto-nav-right {
        right: calc(50% - 58px);
    }
}

/* CONTACTO SECTION */
.contacto {
    background: linear-gradient(135deg, rgba(10, 126, 164, 0.05), rgba(255, 107, 107, 0.05));
}

.contacto-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input {
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 126, 164, 0.1);
}

.form-input::placeholder {
    color: rgba(29, 29, 29, 0.4);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

select.form-input {
    cursor: pointer;
}

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(10, 126, 164, 0.3);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(10, 126, 164, 0.4), 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
}

.submit-button:active {
    transform: translateY(-1px);
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
}

.form-message {
    text-align: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    display: none;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
    display: block;
    animation: slideIn 0.4s ease-out;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid #f44336;
    display: block;
    animation: slideIn 0.4s ease-out;
}

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

/* FOOTER */
.footer {
    background: #1d1d1d;
    color: white;
    padding: 25px 20px 15px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
}

.footer-info {
    text-align: right;
    font-size: 0.9rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-legal {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0.8rem 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-link:hover {
    color: var(--secondary-color);
}

.footer-legal-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.6rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding-bottom: 1rem;
    font-size: 0.85rem;
}

/* PÁGINA LEGAL */
.legal-section {
    margin-top: 60px;
    min-height: 80vh;
    padding: 40px 20px;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.legal-content strong {
    color: var(--text-dark);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        position: fixed;
        inset: 0;
        width: 100vw;
        min-height: 100dvh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
        padding: 6.5rem 1.5rem 2rem;
        gap: 0.85rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-100%);
        transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-link {
        display: flex;
        justify-content: center;
        align-items: center;
        width: min(100%, 320px);
        padding: 1rem 1.25rem;
        border-radius: 14px;
        text-align: center;
        background: rgba(255, 255, 255, 0.98);
        font-size: 1.05rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.98);
    }

    .nav-lang-item {
        margin-left: 0;
        margin-top: 0.5rem;
        width: min(100%, 320px);
    }

    .hamburger {
        display: flex;
        margin-left: auto;
        position: relative;
        z-index: 1001;
    }

    .language-selector {
        width: 100%;
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.4rem;
    }

    .lang-btn {
        width: 100%;
        min-width: 0;
        padding: 0.45rem 0;
        background: rgba(255, 255, 255, 0.98);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .proyecto-card {
        flex: 0 0 300px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .footer-info {
        text-align: left;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 1rem;
    }

    .logo-link {
        gap: 0.5rem;
    }

    .logo-link span {
        display: none;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .hero {
        margin-top: 50px;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .section-container {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .proyecto-card {
        flex: 0 0 280px;
    }

    .proyecto-image {
        height: 180px;
    }

    .form-input {
        padding: 0.8rem;
    }

    .submit-button {
        padding: 0.8rem 1.5rem;
    }
}

/* ANIMACIONES Y TRANSICIONES ADICIONALES */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Efecto de carga suave */
body {
    animation: fadeIn 0.6s ease-out;
}

/* Modal para imágenes fullscreen */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modal .close:hover {
    color: #ccc;
}

#modalImagesContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
    width: 100%;
    position: relative;
    padding: 0 5.5rem;
}

#currentImage {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    transition: background 0.3s;
    z-index: 1001;
}

#prevImageBtn {
    left: 20px;
}

#nextImageBtn {
    right: 20px;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#imageInfo {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 8px;
}

#modalProyectoTitle {
    margin: 0 0 5px 0;
    font-size: 24px;
}

#imageCounter {
    margin: 0;
    font-size: 18px;
}

/* Responsive para modal fullscreen */
@media (max-width: 768px) {
    #modalImagesContainer {
        padding: 0 1rem 5.5rem;
        align-items: flex-end;
    }

    #currentImage {
        max-width: calc(100vw - 2rem);
        max-height: 62vh;
    }

    .nav-btn {
        top: auto;
        bottom: 1rem;
        transform: none;
        width: 48px;
        height: 48px;
        font-size: 22px;
        background: rgba(0, 0, 0, 0.45);
    }

    #prevImageBtn {
        left: 1rem;
    }

    #nextImageBtn {
        right: 1rem;
    }
    
    #imageInfo {
        bottom: 1rem;
        padding: 8px 15px;
        max-width: calc(100vw - 8rem);
    }
    
    #modalProyectoTitle {
        font-size: 20px;
    }
    
    #imageCounter {
        font-size: 16px;
    }
}
