/* /assets/css/layout/_structure.css */

/* === OSNOVNA STRUKTURA PODSTRANI === */
.page-main-content {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    min-height: calc(100vh - 80px - 150px);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-l);
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-primary-accent);
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-top: var(--spacing-l);
    margin-bottom: var(--spacing-m);
    color: var(--color-text);
    border-left: 4px solid var(--color-primary-accent);
    padding-left: var(--spacing-m);
}

.intro-text {
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: var(--spacing-l);
    color: #555;
}

.page-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl) auto;
    color: #555;
}

.text-section {
    margin-bottom: var(--spacing-l);
}

/* === SPLOŠNI STRUKTURNI ELEMENTI === */

.about-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: static; /* Privzeta pozicija za mobilne naprave */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
}

/* === SPREMEMBE TUKAJ === */
.grid-image {
    width: 100%;
    aspect-ratio: 1 / 1; /* SPREMEMBA: Zagotovi kvadratno razmerje */
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.grid-image:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.highlight-quote {
    margin: var(--spacing-l) auto;
    padding: var(--spacing-l);
    border-left: 5px solid var(--color-primary-accent);
    background-color: rgba(8, 4, 252, 0.05); /* SPREMEMBA: Ujemanje z novo barvo */
    border-radius: 0 8px 8px 0;
}

.highlight-quote p {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    margin-bottom: var(--spacing-m);
}

.highlight-quote cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: 600;
}

.concluding-statement {
    text-align: center;
    padding: var(--spacing-l);
    margin: var(--spacing-xl) 0;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-white);
    box-shadow: var(--shadow-light);
}

.concluding-statement p {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.page-hero {
    padding: var(--spacing-l) 0;
    text-align: center;
    background-color: rgba(8, 4, 252, 0.05); /* SPREMEMBA: Ujemanje z novo barvo */
    margin-bottom: var(--spacing-xl);
}

.page-hero .page-title {
    margin-bottom: var(--spacing-m);
}

.page-hero .page-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    font-style: normal;
}

/* --- KONTAKT IN ZEMLJEVID --- */
.contact-details {
    background-color: rgba(221, 226, 229, 0.2);
    padding: var(--spacing-l);
    border-radius: 8px;
}

.contact-info-item { margin-bottom: 1.5rem; }
.contact-info-item .info-label { display: block; font-size: 0.9rem; font-weight: 600; color: #777; margin-bottom: var(--spacing-xs); }
.contact-info-item .info-data { font-size: 1.1rem; margin: 0; }
.contact-info-item .info-data a { word-break: break-all; }

.map-placeholder { width: 100%; height: 300px; border-radius: 8px; overflow: hidden; margin-top: var(--spacing-l); background-color: #e9e9e9; box-shadow: inset 0 2px 4px rgba(0,0,0,0.06); }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }


/* --- UTILNOSTI --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- MEDIA QUERIES --- */

@media (max-width: 768px) {
    /* SPREMEMBA: Odstranjen min-height */
}

@media (min-width: 768px) {
    /* SPREMEMBA: Odstranjen min-height */
}

@media (min-width: 992px) {
    .about-image {
        max-width: 100%;
        position: sticky; /* Omogoči lepljivo pozicijo */
        top: calc(var(--spacing-l) + 80px); /* Odmik od vrha + višina glave */
        align-self: start; /* Zagotovi pravilno poravnavo znotraj grid celice */
    }
}