﻿
body {
    margin: 0;
    font-family: 'Abel', sans-serif;
    background-color: rgba(252, 235, 238, 0.3);
    /*    background-color: #f8f8f8;*/
    overflow-x: hidden;
}
    /* Dark theme*/
    body.dark-theme {
        background-color: #121212;
        color: #eeeeee;
    }

        body.dark-theme a {
            color: #fff;
        }

        body.dark-theme .navbar {
            background-color: #1e1e1e;
            border-bottom: 1px solid #333;
        }

        body.dark-theme .btn {
            background-color: #333;
            color: #eee;
            border-color: #760e26;
        }

            body.dark-theme .btn:hover {
                background-color: #760e26;
                color: #fff;
                box-shadow: inset 0 0 30px #ffffffaa, 0 0 20px #760e26, 0 0 40px #760e26;
            }

        body.dark-theme #search-box input {
            background-color: #222;
            border-color: #760e26;
            color: #eee;
        }

        body.dark-theme .dropdown-content a {
            color: #760e26;
        }

        body.dark-theme .dropdown:hover {
            background-color: #760e26;
            color: white;
            transform: scale(1.05);
            box-shadow: inset 0 0 20px #ffffffaa, 0 0 12px #760e26, 0 0 24px #760e26;
        }

        body.dark-theme .nav-center a:hover {
            background-color: #760e26;
            color: white;
            transform: scale(1.08);
            border-color: #760e26;
            box-shadow: inset 0 0 30px #ffffffaa, 0 0 20px #760e26, 0 0 40px #760e26;
        }


        body.dark-theme #alumni-heading {
            color: #fff;
        }


        body.dark-theme .dot {
            background-color: #a05252;
        }

            body.dark-theme .dot.active {
                background-color: #550000;
            }

.intro {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 56px;
    color: #760e26;
    white-space: nowrap;
    overflow: hidden;
    font-family: 'Abel', sans-serif;
    animation: fadeOut 1s ease-out 3.5s forwards; /* започва след 3.5 секунди */
    display: none;
}

.typing-text {
    display: inline-block;
    width: 0;
    animation: typing 1.5s steps(13) forwards;
}

/* Typing effect (по-бърз) */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 18ch;
    }
}

/* Fade out effect */
@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 0px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: wipeIn 1s ease forwards;
    position: relative;
    z-index: 100;
    flex-wrap: nowrap;
}

@media (max-width: 1368px) {
    .navbar-nav {
        align-items: center !important; /* full width items */
        gap: 1px;
    }


    .nav-center a {
        font-size: 11px !important;
    }

        .navbar-nav > a, .navbar-nav > form > .btn {
            width: 90% !important; /* full width buttons/links */
            text-align: center !important;
            margin: 2px;
            font-size: 11px !important;
        }

    nav img {
        width: 65px !important;
    }
    img {
        width: 95%;
    }
}



.nav-left {
    flex: 0 0 auto;
    gap: 40px;
}

@keyframes wipeIn {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-left .logo {
    width: 100px;
    height: auto;
}

.nav-right {
    display: flex;
    gap: 20px;
    padding-right: 30px;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    overflow: visible;
    margin: 0 auto;
    padding-bottom:25px;

}

.logo.english-layout {
    width: 87px;
}


.nav-center {
    margin-right: 20px;
}

    .nav-center a {
        color: #760e26;
        text-decoration: none;
        font-weight: bold;
        font-size: 16px;
        padding: 6px 10px;
        border: 2px solid transparent;
        border-radius: 16px;
        display: inline-block;
        white-space: nowrap;
    }


        .nav-center a:hover {
            background-color: #760e26;
            color: white;
            border-color: #760e26;
            border-radius: 8px;
        }


.dropdown {
    position: relative;
    display: inline-block;
    text-align: center;
}

.dropbtn {
    cursor: pointer;
    color: #760e26;
    text-decoration: none;
    border: 0;
    background-color: transparent;
    font-weight: bold;
    font-size: 16px;
}

    .dropbtn:hover {
        cursor: pointer;
        color: #760e26;
        text-decoration: none;
        border: 0;
        background-color: transparent;
        font-weight: bold;
    }


.dropdown-content {
    display: block;
    background-color: #760e26;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    min-width: 160px;
    border-radius: 10px;
    z-index: 1;
    top: 100%;
    box-shadow: 2px 2px 16px rgba(255,255,255,0.5), -2px -2px 16px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    padding: 10px 0;
    border: 1px solid #760e26;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}


.dropdown-content a {
    color: white !important;
    border: 1px solid #760e26;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 6px;
}


    .dropdown-content a:hover {
        color: white;
        border: 1px solid white;
        box-shadow: inset 0 0 12px #ffffffaa, 0 0 6px #800000, 0 0 8px #80000088;
    }


.nav-right .btn {
    padding: 6px 14px;
    background-color: white;
    color: #760e26;
    border: 2px solid #760e26;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
    flex-wrap: nowrap;
    
}

    .nav-right .btn:hover {
        background-color: #760e26;
        color: white;
        transform: scale(1.08);
        border-color: #760e26;
        box-shadow: inset 0 0 30px #ffffffaa, 0 0 20px #760e26, 0 0 40px #760e26;
    }








.hidden {
    display: none;
}

#alumni-heading {
    font-family: 'Abel', sans-serif;
    font-size: 28px;
    color: #760e26;
    text-align: center;
    margin-top: 23px;
    opacity: 1; /* да е видим */
}

/* Анимация за typing effect на втория текст */
@keyframes typing2 {
    from {
        width: 0;
    }

    to {
        width: 52ch;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }

    100% {
        border-color: #760e26;
    }
}

#alumni-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 0 20px 6px;
    width: 0;
    color: #760e26;
    font-weight: 600;
    animation: typing2 3s steps(40, end) forwards, blink 0.8s step-end infinite;
}

.nav-right a {
    border-radius: 16px;
}

/*Responsive*/
/* 📱 Таблети и по-малки устройства */
@media (max-width: 1360px) {
    .navbar {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .nav-center,
    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .nav-right{
        margin-left:450px;
    }

        .nav-right .btn {
            width: auto;
            min-width: 100px;
            text-align: center;
        }

    #alumni-heading {
        font-size: 20px;
        text-align: center;
        margin: 10px;
    }

    #create-btn,
    .nav-right a[title="Manage"],
    #logout-btn {
        font-size: 0;
        color: transparent;
        display: inline-flex; 
        justify-content: center;
        align-items: center;
        min-width: 30px; 
        min-height: 30px; 
        position: relative;
        border-radius:16px;
    }

        
        #create-btn::before {
            content: "\002B";
            font-size: 20px;
            color: black;
            display: block;
            color:#fff;
        }

       
        .nav-right a[title="Manage"]::before {
            content: "\263A";
            font-size: 20px;
            color: black;
            display: block;
            color:#fff;
        }

        
        #logout-btn::before {
            content: "\21AA";
            font-size: 20px;
            color: black;
            display: block;
            color:#fff;
        }

    
/*    .nav-right a[href*="Login"] {
        display: none !important;
    }*/

   

   
}

@media (max-width: 1650px) {
    #alumni-heading {
        display: flex;
        justify-content: center;
        font-size: 28px;
    }

    #alumni-text {
        font-size: 18px;
        text-align: center;
        padding: 0 20px; 
    }

    .swiper-container {
        max-width: 100%;
        overflow-x: hidden;
    }

    .swiper-slide {
        width: auto;
        flex-shrink: 0;
    }
}

@media (max-width: 1376px) { 

    #alumni-heading {
        display: flex;
        align-items: center;
    }

    #alumni-text {
        font-size: 14px;
    }
}


.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #760e26;
}


.nav-center,
.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* 📱 За телефони */
@media (max-width: 768px) {
    html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .navbar {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-center {
        display: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-left: 32px;
    }

    
    .navbar.expanded .nav-center {
        display: flex;
    }

    .nav-right {
        display: flex !important; 
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-left: 0;
    }

        .nav-center a,
        .nav-right .btn {
            width: 100%;
            text-align: center;
            padding: 10px;
        }

        .nav-right .btn {
            width: auto;
            min-width: 100px;
            text-align: center;
        }

    #alumni-heading {
        font-size: 20px;
        text-align: center;
        margin: 10px;
    }

    .swiper-container {
        position: relative;
        right: 120px;
    }

    .nav-center a,
    .nav-right .btn {
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    #alumni-heading {
        font-size: 22px;
        margin: 8px;
    }

    .nav-right {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-left: 0;
    }

    #create-btn span,
    .navbar-nav a[title="Manage"] span,
    #logout-btn span,
    #login-btn span {
        display: none;
    }

    #create-btn,
    .navbar-nav a[title="Manage"],
    #logout-btn,
    #login-btn {
        width: 60px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        border: none;
        background: #f0f0f0;
        border-radius: 16px;
        cursor: pointer;
        padding: 0;
        margin: 0;
        color: #fff; 
    }

        #create-btn::before {
            content: "\002B"; 
            font-size: 24px;
            color: #fff;
            position: absolute;
            left: 50%;
            top: 40%;
            transform: translate(-50%, -40%);
        }

        .navbar-nav a[title="Manage"]::before {
            content: "\263A"; 
            font-size: 24px;
            color: #fff;
            position: absolute;
            left: 50%;
            top: 30%;
            transform: translate(-50%, -40%);
        }

        #logout-btn::before {
            content: "\21AA"; 
            font-size: 24px;
            color: #fff;
            position: absolute;
            left: 50%;
            top: 40%;
            transform: translate(-50%, -40%);
        }

        #login-btn::before {
            content: "\1F512"; 
            font-size: 24px;
            color: #fff;
            position: absolute;
            left: 50%;
            top: 40%;
            transform: translate(-50%, -40%);
            
        }

    body.logged-in .nav-right a[href*="Login"] {
        display: none !important;
    }

    #login-btn {
        background: #fff;
        color: #000; 
    }


}






    #search-box {
        display: none;
        max-width: 600px;
        margin: 20px auto;
        text-align: center;
        border-radius: 10px;
        padding: 0;
        box-sizing: border-box;
        transition: opacity 0.4s ease;
        opacity: 0;
    }

        #search-box.visible {
            display: block;
            opacity: 1;
        }


        #search-box input[type="text"] {
            width: 100%;
            padding: 10px 15px;
            font-size: 16px;
            border: 2px solid #760e26;
            border-radius: 10px;
            outline: none;
            color: #760e26;
            transition: box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
        }

            #search-box input[type="text"]:focus {
                box-shadow: 0 0 10px #760e26;
                border-color: #760e26;
                color: #760e26;
            }


            #search-box input[type="text"]::placeholder {
                color: #760e26;
                font-weight: 600;
            }

        #search-box.hidden {
            display: none;
            opacity: 0;
        }

    #slideshow-container {
        max-width: 600px;
        margin: 20px auto;
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .slide {
        width: 100%;
        display: none;
        border-radius: 12px;
        object-fit: cover;
    }


        .slide.active {
            display: block;
        }

    #slideshow-wrapper.hidden {
        display: none;
    }

    #slideshow-container {
        position: relative;
        max-width: 500px;
        margin: 40px auto;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .slide {
        width: 100%;
        height: 250px;
        display: none;
        object-fit: cover;
        border-radius: 12px;
    }

        .slide.active {
            display: block;
        }

    /* Arrow buttons */
    .prev, .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(128, 0, 0, 0.7);
        color: white;
        border: none;
        padding: 10px 16px;
        cursor: pointer;
        border-radius: 50%;
        font-size: 18px;
        z-index: 10;
        transition: background-color 0.3s;
    }

        .prev:hover, .next:hover {
            background-color: rgba(128, 0, 0, 1);
        }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    /* Dots */
    .dots-container {
        text-align: center;
        margin: 10px 0;
    }

    .dot {
        height: 12px;
        width: 12px;
        margin: 0 4px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .dot.active {
            background-color: #760e26;
        }

    .hidden {
        display: none;
    }


    .dropdown-content a {
        display: block;
        padding: 8px 16px;
        text-decoration: none;
        color: black;
    }

.more-toggle {
    padding: 8px 16px;
    cursor: pointer;
    font-weight: bold;
    color: #760e26;
}

        .more-toggle:hover {
            background-color: #f1f1f1;
        }

    .more-items a {
        padding-left: 12px;
        
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-user {
        font-weight: bold;
    }

    .logout-form {
        display: inline;
    }




    /* Footer (alumni-footer) */
.alumni-footer {
    background-color: #760e26;
    color: white;
    padding: 15px 30px;
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(128, 0, 0, 0.7);
    font-size: 18px;
    font-weight: 600;
    
    position: relative;
    bottom: 0;
    width: 100%;

}

    
    .footer-row {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 1100px;
        margin: 0 auto;
        gap: 40px;
        flex-wrap: wrap;
    }


    .footer-left {
        display: flex;
        align-items: center;
        gap: 25px;
        flex-wrap: nowrap;
        font-weight: 600;
        font-size: 18px;
        white-space: nowrap;
    }

        
        .footer-left p {
            margin: 0;
            white-space: nowrap;
            font-size: 18px;
        }

   
    .footer-links-left {
        display: flex;
        gap: 25px;
        align-items: center;
    }

        .footer-links-left a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 18px;
            transition: transform 0.2s ease, color 0.2s ease;
            font-family: 'Abel', sans-serif !important;
        }




            .footer-links-left a:hover {
                color: #ffcccb;
                transform: scale(1.1);
            }


    .footer-social-icons {
        display: flex;
        gap: 25px;
        align-items: center;
    }

        .footer-social-icons a {
            color: white;
            font-size: 22px;
            transition: transform 0.2s ease, color 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

            .footer-social-icons a:hover {
                transform: scale(1.2);
                color: #ffcccb;
            }

    /*  Alumni Partners */
    .footer-partners-title {
        color: white;
        font-weight: 600;
        text-align: center;
        margin-top: 20px;
        font-size: 16px;
    }


    .footer-partners-line {
        border: none;
        border-top: 1px solid white;
        width: 50%;
        margin: 10px auto 15px auto;
        opacity: 0.6;
    }


    .footer-logos {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 40px;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }


    .footer-logo-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        color: white;
        font-weight: 500;
        font-size: 14px;
        text-align: center;
        text-decoration: none;
    }


        .footer-logo-group:hover span {
            text-decoration: underline;
        }


        .footer-logo-group img {
            width: 50px;
            height: 50px;
            object-fit: cover;
            border-radius: 50%;
            border: 2px solid white;
            transition: transform 0.3s ease;
        }

        .footer-logo-group:hover img {
            transform: scale(1.1);
            border-color: #ffcccb;
        }

    .footer-center {
        padding-top: 17px;
    }

.nav-right {
    flex-direction: column !important;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

    .logout-form {
        margin: 0;
        gap: 10px;
        display: flex;
        align-items: center;
    }

    .navbar-nav {
        flex-direction: row;
        gap: 4px;
        font-family: Arial, sans-serif;
    }


        .navbar-nav > a,
        .navbar-nav > form > .btn {
            display: inline-flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            padding: 6px 10px;
            text-decoration: none;
            box-sizing: border-box;
            font-size: clamp(12px, 1.4vw, 16px);
        }

        .navbar-nav a, #logout-btn {
            color: white !important;
            border: 2px solid white !important;
            background-color: #760e26 !important;
        }

            .navbar-nav a:hover, #create-btn:hover, #logout-btn:hover {
                color: #760e26 !important;
                background-color: white !important;
            }

#create-btn, #logout-btn {
    font-weight: normal !important;
    color: white;
    background-color: #760e26;
    border-radius: 16px;
    border: solid 2px white;
}

    #intro-message {
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

@media (max-width: 1600px) and (min-width: 1361px) {
    html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 20px 40px;
        gap: 20px;
    }

    #alumni-heading {
        font-size: 26px;
        text-align: center;
        margin: 10px auto;
        width: 100%;
    }

    #alumni-text {
        font-size: 17px;
        text-align: center;
        padding: 0 25px;
        max-width: 900px;
        margin: 0 auto;
    }

    .nav-center,
    .nav-right {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 14px;
    }

    .nav-right {
        margin-left: 0 !important;
    }

        .nav-right .btn {
            min-width: 110px;
            padding: 8px 14px;
            border-radius: 16px;
            font-size: 15px;
            text-align: center;
        }

        #create-btn,
        .nav-right a[title="Manage"],
        #logout-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 15px;
            background: #760e26;
            color: #fff;
            border-radius: 16px;
            padding: 8px 16px;
            transition: background 0.3s ease;
        }

            #create-btn:hover,
            .nav-right a[title="Manage"]:hover,
            #logout-btn:hover {
                background: #a51536;
            }

    .swiper-container {
        max-width: 100%;
        overflow: hidden;
        margin-top: 20px;
    }

    .swiper-slide {
        width: auto;
        flex-shrink: 0;
    }

    .mobile-menu-btn {
        display: none !important;
    }
}

