/* Revista Lavanda Styles */

:root {
    --primary: #8A7CA8;
    --secondary: #D8BFD8;
    --accent: #9370DB;
    --text: #2C2C2C;
    --light: #F8F6FF;
    --white: #FFFFFF;
    --gray: #6B7280;
    --border: #E5E7EB;
}

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

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.site-branding {
    text-align: center;
}

.site-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.site-title a {
    color: white;
    text-decoration: none;
    font-family: 'Crimson Text', serif;
}

.site-description {
    font-size: 1.1rem;
    opacity: 0.9;
    font-style: italic;
}

.site-logo {
    max-height: 180px;
    margin-bottom: 1rem;
}

/* Navigation */
.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

/* Home Page */
.featured-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.content-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.content-column h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(138, 124, 168, 0.15);
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.card-title a {
    color: var(--text);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--primary);
}

.card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
    font-family: 'Inter', sans-serif;
}

.card-category {
    background: var(--secondary);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.card-summary {
    color: var(--gray);
    font-size: 1rem;
}

/* Content Summary Styles */
.content-summary {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.content-summary:last-child {
    border-bottom: none;
}

.summary-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.summary-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.summary-title a:hover {
    color: var(--primary);
}

.summary-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
    font-family: 'Inter', sans-serif;
}

.summary-author {
    font-weight: 500;
}

.summary-excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Single Content */
.single-content {
    max-width: 800px;
    margin: 0 auto;
}

.content-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.content-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.content-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

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

.meta-label {
    font-weight: 500;
    color: var(--gray);
}

.meta-value {
    color: var(--primary);
    text-decoration: none;
}

.meta-value:hover {
    text-decoration: underline;
}

.content-body {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.content-body h2,
.content-body h3,
.content-body h4 {
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.content-body p {
    margin-bottom: 1.5rem;
}

.content-body blockquote {
    border-left: 4px solid var(--secondary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray);
}

/* Tags */
.content-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.tags-label {
    font-weight: 500;
    color: var(--gray);
    font-family: 'Inter', sans-serif;
}

.tag {
    background: var(--light);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    border: 1px solid var(--secondary);
    transition: background-color 0.3s ease;
}

.tag:hover {
    background: var(--secondary);
}

/* List and Grid Styles */
.list-header,
.term-header,
.taxonomy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.list-title,
.term-title,
.taxonomy-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.list-description,
.term-description,
.taxonomy-description {
    font-size: 1.1rem;
    color: var(--gray);
    font-style: italic;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.no-content {
    text-align: center;
    padding: 3rem 0;
    color: var(--gray);
    font-style: italic;
}

/* Taxonomy List Styles */
.taxonomy-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.taxonomy-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.taxonomy-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 124, 168, 0.15);
}

.taxonomy-item-title {
    margin: 0;
    font-size: 1.2rem;
}

.taxonomy-item-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.taxonomy-item-title a:hover {
    color: var(--primary);
}

.taxonomy-count {
    background: var(--secondary);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Footer */
.site-footer {
    background: var(--light);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    color: var(--gray);
    font-family: 'Inter', sans-serif;
}

/* Form Styles (for submission page) */
.submission-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    min-height: 200px;
    resize: vertical;
}

.form-submit {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-menu {
        justify-content: center;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .content-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .content-columns {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .taxonomy-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .summary-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* File Upload Styles */
.form-file {
    width: 100%;
    padding: 0.75rem;
    border: 2px dashed var(--border);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background-color: var(--light);
    transition: border-color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.form-file:hover {
    border-color: var(--primary);
    background-color: white;
}

.form-file:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
}

.file-info {
    margin-top: 0.5rem;
}

.file-info small {
    color: var(--gray);
    font-family: 'Inter', sans-serif;
}

.file-error {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}
