/* styles.css */

body {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #000000;
}

.container {
    margin-top: 40px;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: #e8dded;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    box-sizing: border-box;
}

/* Profile picture styles */
.profile-pic {
    border-radius: 50%;
    margin-bottom: 5px;
    height: 150px;
    width: 150px;
    object-fit: cover;
    object-position: center;
}

/* Main logo style */
.main-logo {
    border-radius: 50%;
    margin-bottom: 5px;
    height: auto;
    width: 90%;
    max-width: 250px;
    object-fit: contain; /* Prevent cropping */
    object-position: center;
}

/* Button container and buttons styles */
.button-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-button {
    background-color: #ffffff;
    color: #553a88;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 15px 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, border 0.3s;
    width: 100%;
    box-sizing: border-box;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-button .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media(hover: hover) {
    .link-button:hover {
        background-color: #f0f0f0;
        border: 1px solid #d0d0d0;
    }
}

/* About section styles */
.about-container {
    display: flex;
    align-items: center;
    padding: 30px;
    flex-direction: column;
    color: #553a88;
}

.profile-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

.description-section {
    text-align: center;
    padding: 20px 20px 10px 20px;
}

.description-section h4 {
    margin-block-start: -1em;
    margin-block-end: 1em;
}

.description-section h2 {
    margin-block-start: 0em;
}

/* Badge styling */
.badge {
    background-color: #d4c1e2;
    color: #553a88;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Horizontal gallery styles */
.horizontal-gallery-container {
    overflow: hidden;
    padding: 30px;
}

.horizontal-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.horizontal-gallery .gallery-item {
    flex: none;
    scroll-snap-align: start;
    width: 80%;
    margin-right: 10px;
    border-radius: 10px;
}

.horizontal-gallery .gallery-item img {
    width: 100%;
    border-radius: 10px;
}

.horizontal-gallery.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

/* Hide scrollbars */
.horizontal-gallery::-webkit-scrollbar {
    display: none;
}
.horizontal-gallery {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Responsive tweaks */
@media (max-width: 800px) {
    .container {
        width: 90%;
        padding: 20px;
    }

    .link-button {
        font-size: 15px;
        padding: 12px 16px;
        white-space: normal; /* Allow text to wrap */
        text-overflow: unset;
        flex-wrap: wrap;
        justify-content: center; /* Center the text + icon */
        text-align: center;      /* Center the text + icon */
        gap: 8px;                /* Reduces gap between text and icon */
    }

    .link-button .icon {
        margin-right: 0;         /* Remove extra margin between icon and text */
        flex-shrink: 0;          /* Ensures icon stays at its size */
    }

    .profile-pic {
        width: 150px;
        height: 150px;
    }

    .main-logo {
        width: 80% !important;
        max-width: 250px !important;
        height: auto !important;
    }
}
