/* Ana de la Cueva - Minimalist Portfolio */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #495053;
    background-color: #fff;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #525252;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    color: #495053;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Container - Left Aligned */
.container {
    max-width: 1400px;
    padding: 0 40px;
    margin: 0;
}

/* Header */
header {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: lowercase;
    color: #525252;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    font-size: 1rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    color: #495053;
}

/* Main Content */
main {
    padding: 0 40px;
    min-height: calc(100vh - 200px);
}

/* Home Page - Slider */
.slider {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.slide img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    max-height: 80vh;
}

.slider-controls {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.slider-controls button {
    background: none;
    border: 1px solid #495053;
    padding: 8px 12px;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    color: #495053;
    transition: all 0.3s ease;
    line-height: 1;
}

.slider-controls button:hover {
    background: #495053;
    color: #fff;
}

/* Works Page */
.works-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.collections-menu {
    flex: 0 0 200px;
    position: sticky;
    top: 30px;
}

.collections-menu ul {
    list-style: none;
}

.collections-menu li {
    margin-bottom: 15px;
}

.collections-menu li a,
.collections-menu li button {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    color: #495053;
    display: block;
}

.collections-menu li a:hover,
.collections-menu li button:hover {
    opacity: 0.6;
}

.collections-menu li .active {
    font-weight: 600;
}

.works-content {
    flex: 1;
}

.collection-description {
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.8;
}

/* Work Item */
.work-item {
    margin-bottom: 80px;
    display: flex;
    align-items: flex-end;
    gap: 40px;
}

.work-image {
    flex: 0 0 auto;
    max-width: 70%;
}

.work-image img {
    width: 100%;
    height: auto;
}

.work-details {
    flex: 1;
    align-self: flex-end;
    padding-bottom: 10px;
}

.work-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.work-details p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.3rem;
}

.work-details .metadata {
    color: #495053;
    font-size: 0.9rem;
}

/* Publications Page */
.publications-list {
    max-width: 800px;
}

.publication-item {
    margin-bottom: 30px;
}

.publication-item h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.publication-item a {
    text-decoration: underline;
}

/* About Page */
.about-content {
    max-width: 900px;
}

.about-content h2 {
    font-size: 1.3rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #525252;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-content h2:first-of-type {
    margin-top: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about-content strong {
    font-weight: 500;
}

/* Remove MS Word and inline styles */
.about-content .MsoNormal {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.8 !important;
}

/* Contact Page */
.contact-content {
    max-width: 700px;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-content .email {
    font-size: 1.2rem;
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 30px 40px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header,
    main,
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    header {
        padding-top: 20px;
        padding-bottom: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }

    nav ul.active {
        display: flex;
    }

    /* Works Layout Mobile */
    .works-layout {
        flex-direction: column;
        gap: 30px;
    }

    .collections-menu {
        position: static;
        flex: none;
    }

    .collections-menu ul {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .collections-menu li {
        margin-bottom: 0;
    }

    /* Work Item Mobile */
    .work-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 60px;
    }

    .work-image {
        max-width: 100%;
    }

    .work-details {
        align-self: flex-start;
        padding-bottom: 0;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    main {
        padding: 40px 20px;
    }

    .slider {
        max-width: 100%;
    }

    .slide img {
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
    }

    nav ul li a {
        font-size: 0.95rem;
    }

    .collections-menu ul {
        gap: 15px;
    }

    .work-item {
        margin-bottom: 50px;
    }
}

/* Hidden utility class */
.hidden {
    display: none !important;
}
