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

html {
    font-size: 30px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    line-height: 1.4;
    color: #000;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* Header */
.header {
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #000;
}

.header h1 {
    font-size: 107px;
    font-weight: bold;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
    font-family: inherit;
}

.nav {
    display: flex;
    gap: 15px;
    font-size: 11px;
}

.nav a {
    transition: opacity 0.2s;
}

.nav a:hover {
    opacity: 0.5;
}

/* ============================================ */
/* LAYOUT PRINCIPAL DEL INDEX - 2 COLUMNAS */
/* ============================================ */

.index-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start; /* Alinea arriba para que texto e imágenes empiecen al mismo nivel */
}

/* Project List */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-transform: uppercase;
    width: 100%;
}

.project {
    display: block;
    font-size: 30px;
    line-height: 1.5;
    transition: opacity 0.2s;
}

.project:hover {
    opacity: 0.5;
}

.project .title {
    font-weight: bold;
    letter-spacing: 0.03em;
}

/* Moodboard */
.moodboard {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.moodboard img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================ */
/* ESTILOS PARA PÁGINAS DE PROYECTOS */
/* ============================================ */

.project-page {
    margin: 0;
    text-align: left;
}

.back-link {
    display: inline-block;
    font-size: 11px;
    margin-bottom: 30px;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.5;
}

.project-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
}

.project-header h1 {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.03em;
    margin: 0;
    text-transform: uppercase;
}

.project-meta {
    font-size: 20px;
    font-weight: normal;
    opacity: 0.7;
}

.project-description {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-align: justify;
    margin-bottom: 40px;
    max-width: 900px;
}

.project-description p {
    margin-bottom: 15px;
}

.project-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
}

.project-images img {
    width: 100%;
    font-size: 20px;
    display: block;
    margin: 0;
}

.image-caption {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 5px;
    text-transform: uppercase;
}

/* ============================================ */
/* PROJECT PAGE 2-COLUMN LAYOUT */
/* ============================================ */

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Texto a la izquierda, imágenes a la derecha */
    gap: 60px; /* Espacio entre columnas */
    align-items: start; /* Alinea arriba para que texto e imágenes empiecen al mismo nivel */
}

.project-content .project-description {
    max-width: 100%; /* Ocupa toda la columna izquierda */
}

.project-content .project-images {
    max-width: 100%; /* Ocupa toda la columna derecha */
    flex-direction: column;
}

/* ============================================ */
/* ESTILOS PARA ABOUT PAGE */
/* ============================================ */

.about-content h1 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-section {
    margin-bottom: 40px;
    font-size: 20px;
    line-height: 1.6;
    text-transform: uppercase;
    text-align: justify;
}

.about-section h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.about-section p {
    margin-bottom: 12px;
}

/* ============================================ */
/* ESTILOS PARA CONTACT PAGE */
/* ============================================ */

.contact-content h1 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.contact-info {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info a {
    text-decoration: underline;
    transition: opacity 0.2s;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
}

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

.form-group label {
    font-size: 10px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    padding: 8px;
    border: 1px solid #000;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    padding: 8px 20px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    cursor: pointer;
    align-self: flex-start;
    transition: opacity 0.2s;
}

.submit-btn:hover {
    opacity: 0.8;
}

.form-message {
    font-size: 11px;
    padding: 10px;
    border: 1px solid #000;
    display: none;
}

.form-message.success {
    background: #f0f0f0;
}

.form-message.error {
    background: #ffe0e0;
}

/* ============================================ */
/* RESPONSIVE - TABLET (1024px o menos) */
/* ============================================ */

@media screen and (max-width: 1024px) {
    html {
        font-size: 24px;
    }
    
    .header h1 {
        font-size: 36px;
    }
    
    .index-layout {
        gap: 30px;
    }
    
    .project {
        font-size: 18px;
    }

    .project-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .back-link {
        font-size: 11px;
        margin-bottom: 20px;
    }
    
    .project-header {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .project-header h1 {
        font-size: 18px;
    }
    
    .project-meta {
        font-size: 16px;
    }
    
    .project-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .project-images {
        gap: 20px;
    }
    
    .image-caption {
        font-size: 11px;
    }
}

/* ============================================ */
/* RESPONSIVE - MÓVILES PEQUEÑOS (480px o menos) */
/* ============================================ */

@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .nav {
        font-size: 10px;
        gap: 10px;
    }
    
    .project {
        font-size: 14px;
    }
    
    .project-header h1 {
        font-size: 16px;
    }
    
    .project-description {
        font-size: 14px;
    }
    
    .about-section {
        font-size: 14px;
    }
    
    .contact-info {
        font-size: 14px;
    }
}
