﻿

.bottom-bar {
    display: none;
}

/*
    kırmızı  #D31905;
    mavi    #09278C;

*/
:root {
    --theme-bg-color: #fff;
    --theme-button-color: #eeaf5e;
    --theme-button-hover-color: black;
    --theme-button-text-color: white;
}


    @media (max-width: 768px) {
        body {
            padding-bottom: 45px;
        }

        .bottom-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: var(--theme-bg-color);
            border-radius: 8px;
            color: var(--theme-button-text-color); /*iç yazılar*/
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px 0;
            box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
            z-index: 1000;
        }

        .bar-list {
            list-style: none;
            display: flex;
            margin: 0;
            padding: 0;
            width: 100%;
            justify-content: space-around;
        }

        .bar-item {
            position: relative;
        }

        .bar-link {
            background-color:var(--theme-button-color);/* #335b38;*/ /*Div Renkleri*/
            color:var(--theme-button-text-color);
            padding: 5px 10px;
            font-size: 12px;
            font-weight: bold; /* Yazıları kalın yapar */
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
            display: block;
            text-align: center;
            text-decoration: none;
        }

            .bar-link:hover {
                background-color: var(--theme-button-hover-color);
                color: var(--theme-button-text-color);
            }

        .dropdown {
            display: none;
            position: absolute;
            top: -250%; /* Menülerin yukarı doğru açılmasını sağlar */
            left: -20px;
            background-color: var(--theme-bg-color);;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
            z-index: 50;
            margin: 0;
            padding: 0;
            border-radius: 5px;
            list-style: none;
            font-size: 12px;
            /*   width: 140%;*/
        }

            .dropdown li {
                padding: 6px 10px;
                width: 100%;
                white-space: nowrap;
            }

                .dropdown li a {
                    color: white;
                    font-weight: bold;
                    text-decoration: none;
                    display: inline-block;
                    background-color: var(--theme-button-color);  /*Li Divlerin Rengi*/
                 
                    padding: 2px 4px;
                    border-radius: 5px;
                    margin: 0px;
                }

                    .dropdown li a:hover {
                        background-color: var(--theme-button-hover-color);
                        color: var(--theme-button-text-color);
                    }

        .bar-item.active .dropdown {
            display: block;
        }
    }