p, h1, h2, h3, h4, h5, h6, button {
    font-family: "Roboto", serif;
}

body {
    background-color: #fff0f5;
    background-size: cover;
    width: auto; 
    overflow-x: hidden;
    font-family: "Roboto", serif;
    margin: 0px;
}

.nav-bar {
    width: 100%;
    display: block;
    background-color: #D6558B;
    font-family: "Roboto", serif;
    font-weight: 700 !important;
    padding: 10px 0; 
}

.nav-content .logo-touch-target {
    display: inline-flex;
    height: 60%;
    width: 350px;
}

.nav-content .nav-logo {
    height: 60px;
    margin: auto;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    width: 200px;
}

.nav-content nav {
    display: block;
    width: 100%;
    text-align: right;
    padding-top: 0px;
    padding-right: 0px;
}

.profile {
    background-color: #D6558B !important;
    text-align: center;
    height: 320px;
    margin-bottom: 24px;
}

.profile h1 {
        font-size: 50px;
        font-weight: 700;
        color: white;
}

.profile img {
        border-radius: 50%;
        max-width: 100%;
        max-height: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;        
        padding: 20px;
}

.profile .profile-picture {
    margin-bottom: 30px;
    height: 200px;
}

.banner {
    padding: 20px 0px 50px 0px;
    height: 150px;
    background-color: #D6558B;
}

.banner .logo {
    max-width:180px;
    max-height:60px;
    width: auto;
    height: auto;
}

.banner .title {
    color: white;
    font-size: 50px;
    font-weight: 700;
}
.map-container {
    max-width: 1100px;
    margin: 30px auto 80px auto;
    padding: 0 20px;
}

.map-container .responsive-map {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

@media (max-width: 600px) {
    .map-container .responsive-map {
        height: 360px;
    }
    .profile h1 {
        font-size: 32px;
    }
}

/* About section styles */
.about {
    background: transparent;
    padding: 40px 0 80px 0;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 28px 20px;
    flex-direction: column;
    text-align: left;
    background-color: transparent;
}

.about-text {
    align-self: center;
    max-width: 720px;
    text-align: center;
}

.about-text h2 {
    color: #D6558B;
    font-size: 32px;
    margin: 0 0 12px 0;
    padding: 5px;
}

.about-text p {
    color: #333;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

/* About subsections: skills and education */
.about-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

.about-block {
    background: #ffffff;
    border: 1px solid rgba(214,85,139,0.08);
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(154,40,90,0.06);
}

.about-block h3 {
    margin: 0 0 10px 0;
    color: #D6558B;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skills-list li {
    background: #D6558B;
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}

.education-item + .education-item {
    margin-top: 12px;
}

.education-item h4 {
    margin: 0;
    color: #D6558B;
    font-size: 16px;
}

.education-item p {
    margin: 6px 0 0 0;
    color: #333;
}

.socials-list {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #D6558B;
    color: #fff;
    transition: background 160ms ease, transform 160ms ease;
}

.social-link:hover {
    background: #B8386D;
    transform: translateY(-2px);
}

/* Personal projects cards */
.personal-projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 12px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.personal-projects-item {
    background: #ffffff;
    border: 1px solid rgba(214,85,139,0.08);
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(154,40,90,0.06);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.personal-projects-item h4 {
    margin: 0 0 8px 0;
    color: #D6558B;
}

.personal-projects-item p {
    margin: 6px 0 8px 0;
    color: #333;
}

@media (max-width: 1024px) {
    .personal-projects-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .personal-projects-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-text h2 {
        font-size: 28px;
    }
}


.regular-title {
    height: auto;
    padding: 22px 0; 
    margin-bottom: 40px;
    background: #D6558B;
}

.regular-title h1 {
    font-size: 50px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

/* Items (hobbies / experience) list: image on the left, text on the right */
.items-container {
    max-width: 1100px;
    margin: 24px auto 60px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.item {
    display: flex;
    gap: 18px;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(214,85,139,0.06);
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(154,40,90,0.04);
}

.item-image {
    width: 160px;
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.item-info {
    flex: 1;
}

.item-info h2 {
    margin: 0 0 6px 0;
    color: #D6558B;
    font-size: 20px;
}

.item-time {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 14px;
}

@media (max-width: 820px) {
    .item {
        flex-direction: column;
        align-items: flex-start;
    }
    .item-image {
        width: 100%;
        flex: none;
        justify-content: flex-start;
    }
    .item-image img {
        width: 100%;
        height: auto;
        max-height: 320px;
        border-radius: 8px;
    }
}

.form-container {
    max-width: 500px;
    margin: 0 auto 80px auto;
    padding: 28px 32px;
    background: #ffffff;
    border: 1px solid rgba(214,85,139,0.08);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(154,40,90,0.06);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group label {
    color: #D6558B;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    font-family: "Roboto", serif;
    font-size: 15px;
    padding: 10px 12px;
    border: 1px solid rgba(214,85,139,0.2);
    border-radius: 6px;
    background: #fff0f5;
    color: #333;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D6558B;
    box-shadow: 0 0 0 3px rgba(214,85,139,0.15);
}

.form-container button {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: #D6558B;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 160ms ease;
}

.form-container button:hover {
    background: #B8386D;
}

@media (max-width: 600px) {
    .form-container {
        margin: 0 20px 60px 20px;
        padding: 20px;
    }
}

.timeline-posts-container {
    max-width: 1100px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.timeline-posts-container h2 {
    color: #D6558B;
    font-size: 24px;
    margin: 0 0 16px 0;
    text-align: center;
}

.timeline-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.timeline-post {
    background: #ffffff;
    border: 1px solid rgba(214,85,139,0.08);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(154,40,90,0.06);
    padding: 16px 20px;
}

.timeline-post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.timeline-post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex: 0 0 40px;
}

.timeline-post-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.timeline-post-name {
    color: #D6558B;
    font-weight: 700;
}

.timeline-post-date {
    color: #666;
    font-size: 13px;
    white-space: nowrap;
}

.timeline-post-content {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

.timeline-empty {
    text-align: center;
    color: #666;
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    .timeline-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .timeline-post-grid {
        grid-template-columns: 1fr;
    }
}