﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Corbel', sans-serif;
    font-weight: bold;
    background-color: #f5f5f5;
}

body {
    display: flex;
    overflow: hidden;
}

.container-fluid {
    display: flex;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.sidebar {
    background: linear-gradient(90deg, rgba(90,122,236,1) 0%, rgba(183,213,244,0.6694327389158788) 100%);
    padding: 20px;
    height: 100vh;
}

    .sidebar a {
        color: white;
        display: block;
        padding: 10px;
        text-decoration: none;
        font-size: 22px;
    }

.logo {
    display: flex;
    justify-content: center; /* Center-aligns the logo horizontally */
    width: 100%;
    margin-bottom: 20px; /* Adjust this value for spacing between logo and menu */
}

    .logo img {
        width: 40%; /* Adjust the width as needed */
        transition: transform 0.3s ease;
    }

.menu {
    width: 100%; /* Ensures the menu takes up full width */
}

    .menu ul {
        list-style: none;
        padding: 0;
        width: 100%;
        margin: 0;
        text-align: center; /* Center-aligns menu items */
    }

        .menu ul li {
            margin: 7px 0;
            position: relative;
            overflow: hidden;
        }

            .menu ul li a {
                color: white;
                text-decoration: none;
                font-size: 18px;
                font-weight: 500;
                padding: 10px 15px;
                display: block;
                transition: background-color 0.3s, color 0.3s;
                border-radius: 5px;
            }

                .menu ul li a:hover {
                    background-color: rgba(248, 25, 107, 0.5);
                    color: #fff;
                }


                .menu ul li a::before {
                    content: '';
                    position: absolute;
                    left: 0;
                    top: 0;
                    height: 100%;
                    width: 0;
                    background-color: rgba(109, 80, 115, 0.5);
                    transition: width 0.3s;
                    z-index: -1;
                    border-radius: 5px;
                }

                .menu ul li a:hover::before {
                    width: 100%;
                }

.social-media {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

    .social-media a img {
        width: 30px;
        margin: 5px;
        transition: transform 0.3s;
    }

        .social-media a img:hover {
            transform: scale(1.1);
        }

.languages {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
}

    .languages a {
        color: white;
        margin: 0 10px;
        text-decoration: none;
        font-size: 18px;
        font-weight: 700;
        transition: color 0.3s;
    }

        .languages a:hover {
            color: rgba(109, 80, 115, 0.8);
        }

.menu-footer {
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
    text-align: center;
    font-size: 12px;
    color: #ddd;
    padding: 10px 0;
}

.content {
    overflow-y: auto;
    height: 100vh;
    box-sizing: border-box;
}

.swiper-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    width: 100%;
}

    .swiper-slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

.swiper-pagination-bullet {
    background: white;
    width: 12px;
    height: 12px;
    opacity: 1;
    margin: 0 5px;
}

.swiper-pagination-bullet-active {
    background: rgba(248, 25, 107, 0.8);
}

    .swiper-slide .caption {
        position: absolute;
        bottom: 20px;
        left: 20px;
        background: rgba(0, 0, 0, 0.5);
        color: white;
        padding: 10px;
        border-radius: 5px;
        font-size: 20px;
        max-width: 80%;
        word-wrap: break-word;
        transition: font-size 0.3s, padding 0.3s;
    }

.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -250px;
        width: 250px;
        height: 100%;
        background: rgba(90, 122, 236, 0.9);
        transition: left 0.3s ease;
        z-index: 999;
    }

        .sidebar.active {
            left: 0;
        }

    .menu-toggle {
        display: block;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1000;
        background-color: rgba(90, 122, 236, 0.9);
        border: none;
        color: white;
        font-size: 24px;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
    }

    .menu-footer {
        flex-direction: column;
        justify-content: space-between;
    }

    .container-fluid {
        display: block;
    }

    .content {
        margin-left: 0;
    }

    .swiper-slide .caption {
        font-size: 18px;
        padding: 8px 12px;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 5px;
        max-width: 90%;
        word-wrap: break-word;
        bottom: auto;
    }

    .swiper-pagination {
        bottom: 10px;
    }

    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        margin: 0 5px;
        background: rgba(255, 255, 255, 0.6);
    }

    .swiper-pagination-bullet-active {
        background: rgba(248, 25, 107, 0.9);
    }
}

@media (max-width: 576px) {
    .swiper-slide .caption {
        font-size: 20px;
        padding: 5px;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 5px;
        max-width: 90%;
        white-space: normal;
        word-wrap: break-word;
        bottom: auto;
    }

    .swiper-pagination {
        bottom: 10px;
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}
