/* Alapbeállítások és Háttér */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lora', Georgia, serif;
    background-color: #f4f3ef; /* Krémszínű, texturált hatású háttér */
    color: #1a2a4a; /* Sötétkék szövegszín */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Fő konténer */
.container {
    max-width: 900px;
    width: 100%;
    background-color: #fbfbfa;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    /*overflow: hidden;*/
}

/* Vissza link */
.back-link {
    display: inline-block;
    text-decoration: none;
    color: #1a2a4a;
    font-size: 0.9rem;
    margin-bottom: 30px;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.7;
}

/* Fő profil rész elrendezése */
.profile-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    min-height: 550px;
}

.profile-info {
    flex: 1;
}

/* Tipográfia */
.name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1c355e;
}

.year {
    font-size: 1.1rem;
    color: #5a6b82;
    margin-bottom: 25px;
}

.main-quote {
    font-size: 1.3rem;
    line-height: 1.5;
    font-style: italic;
    color: #2c436b;
    max-width: 90%;
}

/* Kép stílusok */
.image-container {
    position: sticky;
    top: 40px;
    align-self: flex-start;
}

.profile-img {
    width: 220px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Alsó értékelő kártya */
.testimonial-card {
    background-color: #f1f1ed; /* Kicsit sötétebb krémszín a kártyának */
    border: 1px solid #e2e2dc;
    border-radius: 16px;
    padding: 30px 40px;
    position: relative;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1c355e;
}

.card-content {
    max-width: 80%;
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.author {
    display: block;
    font-size: 0.95rem;
    color: #5a6b82;
    font-style: normal;
}

/* Dekoratív növényi elemek (Emoji-val helyettesítve, de képre is cserélhető) */
.deco-branch-top {
    position: absolute;
    right: -40px;
    top: 20px;
    font-size: 4rem;
    transform: rotate(15deg);
    opacity: 0.4;
    pointer-events: none;
}

.deco-branch-bottom {
    position: absolute;
    right: 15px;
    bottom: 10px;
    width: 170px;
    height: auto;
    font-size: 4rem;

    transform: rotate(10deg);
    opacity: 0.3;
    pointer-events: none;
}

/* Reszponzív nézet mobilra */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
    
    .main-quote {
        max-width: 100%;
    }
    
    .card-content {
        max-width: 100%;
    }
    
    .deco-branch-top, .deco-branch-bottom {
        display: none; /* Mobilról érdemes levenni a zavaró dekorációt */
    }
}