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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f9;
    color: #555;
}

header {
    background-color: #ffecf3;
    text-align: center;
    padding: 80px 20px;
    border-bottom: 1px solid #e1e1e1;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: #ff577f; 
}

header p {
    font-size: 1.3rem;
    color: #777;
}

section {
    padding: 50px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: #ff577f;
}

#presentation-photo {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.presentation-photo {
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.presentation-photo:hover {
    transform: scale(1.05);
}

#about {
    padding: 50px 20px;
    background-color: #f9f3f6; 
    color: #444;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-photo {
    flex: 0 0 400px;
    text-align: center;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.about-text p {
    margin: 0 auto 20px 0;
    max-width: none;
}

#about h2, #experience h2, #education h2, #skills h2, #resume h2 {
    color: #ff5588;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 24px;
}

#experience h3, #education h3, #skills h3, #resume h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

#about p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

#experience {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.experience-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

.experience-column {
    flex: 1 1 300px;
    max-width: 400px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.experience-column h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
}

.experience-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-column li {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

#experience ul {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto 20px auto;
}

#experience ul li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

#education {
    background-color: #f9f3f6; ;
    padding: 50px 20px;
    color: #333;
    text-align: center;
}

#skills {
    background-color: #f9f9f9;
    padding: 50px 20px;
    color: #333;
    text-align: center;
}

#skills ul {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto 20px auto;
}

.skills-list {
    columns: 2 300px;
    column-gap: 40px;
}

#skills ul li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

#resume {
    background-color: #f9f3f6; ;
    padding: 50px 20px;
    color: #333;
    text-align: center;
}

.resume-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background-color: #ff5588;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.resume-button:hover {
    background-color: #e64477;
}

.resume-button:focus {
    outline: 2px solid #333;
}

#gallery {
    background-color: #f9f9f9;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 0 20px;
    justify-items: center;
}

.photo-gallery img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.4);
}

#videos {
    background-color: #f9f3f6;
}

.video-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.video-gallery iframe {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 9;
}

#contact {
    background-color: #f9f9f9;
    text-align: center;
}

.contact-info p {
    font-size: 1.2rem;
    color: #555;
}

.contact-info a {
    color: #ff577f;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

footer {
    background-color: #ff577f;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out;
}

#lightbox.hidden {
    display: none;
    opacity: 0;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

#lightbox .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    user-select: none;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

#lightbox .close:hover {
    color: #f00;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-photo {
        flex: none;
        margin-bottom: 30px;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text h2 {
        text-align: center;
    }
    
    .about-text p {
        margin: 0 auto 20px auto;
    }
}