/* ==========================================
   CSS FÜR PORTFOLIO ANTONIA SPITZER
   ========================================== */

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

body {
    background-color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    color: #333333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Container-Struktur */
.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* --- ZIERLINIEN & ÜBERSCHRIFTEN --- */
.header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #b59f8c;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 30px;
    white-space: nowrap;
}

.top-line {
    flex-grow: 1;
    height: 1px;
    background-color: #d1bba4;
}

/* Sektion SELECTED PROJECTS: Titel rechtsbündig */
.header-reverse {
    flex-direction: row-reverse;
}

.header-reverse .section-title {
    margin-right: 0;
    margin-left: 30px;
}

/* --- HERO SECTION --- */
#main-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- ABOUT ME SECTION --- */
.content-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.text-column {
    flex: 3;
}

.text-column p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333333;
}

.image-column {
    flex: 2;
    display: flex;
    justify-content: flex-end;
}

.profile-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 8px;
}

/* Zierlinien am Ende einer Sektion */
.footer-line-wrapper {
    margin-top: 50px;
}

.bottom-line {
    height: 1px;
    background-color: #d1bba4;
    width: 75%; /* Zierlinie unten links */
}

/* --- SELECTED PROJECTS SECTION --- */
.project-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
}

.card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    text-align: center;
    color: #333333;
}

/* --- ELEGANTES KONTAKTFORMULAR --- */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

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

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

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

.form-group label {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #726255;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    padding: 12px 16px;
    border: 1px solid #d1bba4;
    border-radius: 6px;
    background-color: #fcfcfc;
    color: #333333;
    transition: border-color 0.3s, background-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b59f8c;
    background-color: #ffffff;
}

.submit-btn {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #b59f8c;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #726255;
    transform: translateY(-2px);
}

/* --- KONTAKT-WIDGET / FOOTER --- */
.footer-widget {
    background-color: #F5EAE1; /* Warmer, eleganter Ton wie im Screenshot */
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 20px rgba(181, 159, 140, 0.1);
}

.footer-left {
    flex: 1;
    min-width: 280px;
}

.footer-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 4px;
}

.footer-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #888888;
    margin-bottom: 20px;
}

.footer-contact-info {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    line-height: 1.8;
}

.footer-contact-info a {
    color: #333333;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.footer-contact-info a:hover {
    border-color: #b59f8c;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 150px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #726255; /* Gedämpftes Braun passend zur Farbpalette */
    transition: color 0.3s, transform 0.2s;
}

.social-icon:hover {
    color: #b59f8c;
    transform: scale(1.1);
}

/* Footer Copyright & Links ganz unten im Widget */
.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(181, 159, 140, 0.2);
    padding-top: 20px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #888888;
}

.footer-bottom a {
    color: #888888;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #333333;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .image-column {
        justify-content: center;
        width: 100%;
    }

    .project-cards {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
    }

    .footer-widget {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
    }

    .footer-right {
        justify-content: flex-start;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- LEBENSLAUF-BUTTON AUF DER HAUPTSEITE --- */
.cv-link-wrapper {
    margin-top: 30px;
}

.cv-button {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    background-color: #b59f8c;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.cv-button:hover {
    background-color: #726255;
    transform: translateY(-2px);
}