/*
 * Simotional – Default Theme
 *
 * Dieses Stylesheet enthält ausschließlich die visuelle Gestaltung.
 * Funktionale / strukturelle Regeln bleiben in base.css.
 */


/* =========================================================
   Theme variables
   ========================================================= */

:root {
    --simotional-purple: #732b91;
    --simotional-purple-dark: #5e2376;
    --simotional-purple-soft: #f3eaf5;

    --linen-light: #faf8f5;
    --linen: #f1ece6;
    --linen-dark: #ded5cc;

    --text: #302b30;
    --text-muted: #625b64;

    --border: #e3ddd7;
    --border-light: #ece7e2;

    --white: #ffffff;
}


/* =========================================================
   Base
   ========================================================= */

body {
    background: var(--linen-light);
    color: var(--text);
    font-family:
        "Manrope",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-weight: 400;
}


/* =========================================================
   Header
   ========================================================= */

header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

header h1 {
    color: var(--simotional-purple);
    font-weight: 400;
    letter-spacing: -0.02em;
}

header nav a {
    color: var(--text);
}

header nav a:hover {
    color: var(--simotional-purple);
}


/* =========================================================
   Logo
   ========================================================= */

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    max-width: 120px;
}

.site-logo img {
    display: block;
    width: 120px !important;
    height: auto !important;
    max-width: 120px !important;
}


/* =========================================================
   Headings
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    color: var(--text);
}

.manage-header h1 {
    color: var(--simotional-purple);
}


/* =========================================================
   Buttons
   ========================================================= */

.button {
    background: var(--simotional-purple);
    border-color: var(--simotional-purple);
    color: var(--white);
    border-radius: 4px;
    font-weight: 400;
}

.button:hover {
    background: var(--simotional-purple-dark);
    border-color: var(--simotional-purple-dark);
    opacity: 1;
}

.button.secondary {
    background: var(--white);
    color: var(--simotional-purple);
    border-color: var(--linen-dark);
}

.button.secondary:hover {
    background: var(--linen-light);
    border-color: var(--simotional-purple);
}


/* =========================================================
   Muted text
   ========================================================= */

.muted {
    color: var(--text-muted);
}

.empty-small {
    color: var(--text-muted);
}


/* =========================================================
   Panels
   ========================================================= */

.property-panel {
    background: var(--white);
    border-color: var(--border);
    border-radius: 6px;
}

.property-row {
    border-bottom-color: var(--border-light);
}

.link-button {
    color: var(--text);
}

.link-button:hover {
    color: var(--simotional-purple);
}

.link-button.danger {
    color: #a33b3b;
}


/* =========================================================
   Forms
   ========================================================= */

.form-field input[type="text"],
.form-field input[type="search"],
.form-field input[type="number"],
.form-field input[type="email"],
.form-field input[type="url"],
.form-field input[type="file"],
.form-field textarea,
.form-field select,
.property-search {
    background: var(--white);
    color: var(--text);
    border-color: var(--border);
    border-radius: 4px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.property-search:focus {
    border-color: var(--simotional-purple);
}

.form-errors {
    color: #a33b3b;
}


/* =========================================================
   Gallery filters
   ========================================================= */

.gallery-filters {
    background: var(--white);
    border-color: var(--border);
    border-radius: 6px;
}

.gallery-filter-field select,
.gallery-filter-field input[type="search"] {
    background: var(--white);
    color: var(--text);
    border-color: var(--border);
    border-radius: 4px;
}

.gallery-filter-field select:focus,
.gallery-filter-field input[type="search"]:focus {
    border-color: var(--simotional-purple);
}


/* =========================================================
   Filter toggle
   ========================================================= */

.gallery-filters-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .65rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    font: inherit;
}

.filter-toggle:hover {
    border-color: var(--simotional-purple);
    color: var(--simotional-purple);
}

.gallery-filters[hidden] {
    display: none;
}


/* =========================================================
   Asset cards
   ========================================================= */

.asset-card {
    background: var(--white);
    border-color: var(--border);
    border-radius: 6px;
}

.asset-card:hover {
    border-color: var(--simotional-purple);
}

.asset-image {
    background: var(--linen);
}

.asset-card-content h2 {
    color: var(--text);
    font-weight: 400;
}


/* =========================================================
   Center asset grid
   ========================================================= */

.asset-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    justify-content: center;
}


/* =========================================================
   Detail gallery
   ========================================================= */

.detail-gallery-stage {
    background: var(--linen);
    border-radius: 6px;
}

.detail-gallery-button {
    background: rgba(255, 255, 255, .92);
    color: var(--simotional-purple);
}

.detail-gallery-button:hover {
    background: var(--white);
}

.detail-gallery-caption {
    color: var(--text);
}

.detail-gallery-counter {
    color: var(--text-muted);
}


/* =========================================================
   Image management
   ========================================================= */

.image-edit-row {
    border-bottom-color: var(--border-light);
}

.image-edit-preview {
    background: var(--linen);
}


/* =========================================================
   Messages
   ========================================================= */

.message {
    background: var(--simotional-purple-soft);
    color: var(--text);
    border-left: 3px solid var(--simotional-purple);
}


/* =========================================================
   Centered layout
   ========================================================= */

header .header-inner {
    justify-content: center;
}

.manage-header {
    justify-content: center;
    text-align: center;
}


/* =========================================================
   Landing page
   ========================================================= */

.landing {
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.landing-logo img {
    display: block;
    width: 360px;
    height: auto;
    max-width: 80vw;
}

.landing-content h1 {
    margin: 0 0 .75rem 0;
    color: var(--simotional-purple);
    font-weight: 400;
}

.landing-content p {
    margin: 0 0 1.5rem 0;
    color: var(--text-muted);
}

.landing-content .button {
    min-width: 160px;
}
/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .6rem;

    margin-top: 4rem;
    padding: 2rem;

    color: var(--text-muted);
    font-size: .9rem;
}

.site-footer a {
    color: var(--text-muted);
}

.site-footer a:hover {
    color: var(--simotional-purple);
}
/* =========================================================
   Asset card content
   ========================================================= */

.asset-card-content {
    text-align: center;
}

.asset-card-content h2 {
    color: var(--text);
    font-weight: 400;
    text-align: center;
}

/* Kategorien */
.asset-card-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .35rem 1rem;

    margin-top: .65rem;

    color: var(--text-muted);
    font-size: .9rem;
}

.asset-card-categories span {
    white-space: nowrap;
}
/* =========================================================
Asset detail
========================================================= */

.detail-header {
text-align: center;
margin-bottom: 2rem;
}

.detail-header h1 {
margin: 0;
color: var(--simotional-purple);
font-weight: 400;
}

/* Desktop layout */

.detail-layout {
display: grid;
grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
gap: 3rem;
align-items: start;
}

/* Gallery */

.detail-gallery-column {
min-width: 0;
}

.detail-gallery {
width: 100%;
}

.detail-gallery-stage {
background: var(--linen);
border-radius: 6px;
}

.detail-gallery-caption {
text-align: center;
color: var(--text);
margin-top: .75rem;
}

.detail-gallery-counter {
text-align: center;
color: var(--text-muted);
margin-top: .35rem;
}

/* Information */

.detail-information {
min-width: 0;
}

.detail-information section {
margin-bottom: 2rem;
}

.detail-information section:last-child {
margin-bottom: 0;
}

.detail-information h2 {
margin: 0 0 .75rem 0;
color: var(--simotional-purple);
font-size: 1.2rem;
font-weight: 400;
}

/* Description */

.detail-description p {
margin: 0;
line-height: 1.7;
}

/* Categories */

.detail-category-list {
display: flex;
flex-wrap: wrap;
gap: .4rem .8rem;
}

.detail-category-list span {
color: var(--text-muted);
}

/* Properties */

.detail-properties .property-panel {
background: var(--white);
border: 1px solid var(--border);
border-radius: 6px;
}

.detail-properties .property-row {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 1.5rem;
padding: .8rem 1rem;
border-bottom: 1px solid var(--border-light);
}

.detail-properties .property-row:last-child {
border-bottom: 0;
}

.detail-properties .property-label {
color: var(--text-muted);
}

.detail-properties .property-value {
color: var(--text);
text-align: right;
}

/* No images */

.detail-gallery-empty {
background: var(--linen);
border-radius: 6px;
padding: 3rem 2rem;
text-align: center;
}

/* =========================================================
Responsive detail layout
========================================================= */

@media (max-width: 900px) {


.detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.detail-information {
    width: 100%;
}


}

/* Small screens */

@media (max-width: 600px) {


.detail-header {
    margin-bottom: 1.5rem;
}

.detail-information section {
    margin-bottom: 1.5rem;
}

.detail-properties .property-row {
    gap: 1rem;
}


}
.property-row-attributes {
    align-items: flex-start;
}

.detail-attribute-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .25rem;
}

.detail-attribute-list span {
    white-space: nowrap;
}
