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

/* Body and general styles */

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    scroll-behavior: smooth;
}

header {
    background-color: #830089;
    color: #fff;
    padding: 1rem 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.header-content img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
}

.header-content h1 {
    margin: 0;
    font-size: 2.0rem;
}

.header-content p {
    margin: 0.25rem 0 0;
    color: #ffffff;
    font-size: 1.2rem;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
}

nav li {
    margin: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    transition: background-color 0.2s;
    min-height: 44px; /* Touch-friendly minimum */
    display: flex;
    align-items: center;
}



nav a:hover,
nav a.active {
    background-color: #830089;
    color: #fff;
}

.button-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* space between icon and text */
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background-color: #fff;
    color: #830089;
    font-weight: bold;
    border: 2px solid #830089;
}

.button-link img {
    width: 16px;
    height: 16px;
}


main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

section h2 {
    margin-bottom: 1rem;
    color: #333;
}

section p {
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 1rem;
}

.section-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 1rem auto 0;
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.talk-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.talk-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.talk-list img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.talk-info a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

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

.talk-info span {
    display: block;
    color: #555;
    margin-top: 0.25rem;
}

/* Footer */
footer {
    background-color: #2e0030;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Language switch button */
nav a.lang-link {
    background-color: #fff;
    color: #830089;
    font-weight: bold;
    border: 2px solid #830089;
}

nav a.lang-link:hover {
    background-color: #f0f0f0;
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .header-content img {
        width: 120px;
        height: 120px;
    }

    .header-content h1 {
        font-size: 1.8rem;
    }

    .header-content p {
        font-size: 1.2rem;
    }

    nav ul {
        justify-content: center;
        gap: 0.25rem;
    }

    nav a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    main {
        padding: 1rem;
    }

    section {
        padding: 1rem;
    }

    .gallery img {
        width: 100%;
        max-width: 280px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .header-content img {
        width: 100px;
        height: 100px;
    }

    .header-content h1 {
        font-size: 1.5rem;
    }

    .header-content p {
        font-size: 1rem;
    }

    nav a {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        min-height: 40px;
    }

    main {
        padding: 0.5rem;
    }

    section {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    section p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .section-image {
        max-width: 100%;
        margin: 1rem 0;
    }
}

#contact .contact-form {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#contact .contact-form label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: #333;
}

#contact .contact-form input,
#contact .contact-form textarea,
#contact .contact-form button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

#contact .contact-form button {
    background-color: #9C02A8;
    color: white;
    border: none;
    cursor: pointer;
}

#contact .contact-form button:hover {
    background-color: #7b0285;
}
