@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Times New Roman', Helvetica, Arial, sans-serif;
}

header {
    padding: 10px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    transition: color 0.3s;
}

    .navbar-brand:hover {
        color: #ff6600 !important;
    }

.navbar-nav, navbar-collapse {
    color: #333;
    font-weight: bold;
    /* background-color: #ffd9b3;*/
}

    .navbar-nav .nav-link:hover {
        color: #cc5200;
    }
/*.navbar-custom {
    background-color: #ffd9b3;
}*/
/*.border-top {
    background-color: #ffd9b3;
}*/
h1:focus {
    outline: none;
}

a, .btn-link {
    color: #ff6600;
    text-decoration: none;
    position: relative;
}

tr:hover a {
    background: #ff6600;
    color: #FFFFFF;
    border-top: 0px solid #cc5200;
}

.link-1 a:before, .link-1 a:after {
    content: '';
    border-bottom: solid 1px rgb(255, 255, 255);
    position: absolute;
    bottom: 0;
    width: 0;
}

.link-1 a:before {
    left: 0;
}

.link-1 a:after {
    right: 0;
}

.link-1 a:hover:before, .link-1 a:hover:after {
    width: 50%;
}

.link-1 a:before, .link-1 a:after {
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.link-2 a:before, .link-2 a:after {
    content: '';
    border-bottom: solid 1px rgb(51, 30, 0);
    position: absolute;
    bottom: 0;
    width: 0;
}

.link-2 a:before {
    left: 0;
}

.link-2 a:after {
    right: 0;
}

.link-2 a:hover:before, .link-2 a:hover:after {
    width: 50%;
}

.link-2 a:before, .link-2 a:after {
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.btn-primary {
    color: #fff;
    background-color: #ff6600;
    border-color: #cc5200;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #ff6600;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #ff6600;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #ff6600;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #fff8f0;
    font-family: 'Arial';
    color: #333;
}

h1 {
    color: #333;
    white-space: nowrap;
}

h1 {
    text-align: center;
}

.t {
    text-align: center;
}

img.db {
    width: 200px;
    height: auto;
    border-radius: 5px;
}

.a div:hover {
    box-shadow: 0 8px 16px 0 rgba(255, 102, 0, 0.2);
}

#contacts img {
    width: auto;
    height: 200px;
}

#contacts .card {
    height: 500px;
    margin: 10px 0 10px 0;
}

.about img {
    width: 500px;
    height: 260px;
    border-radius: 15px;
    margin: 20px auto;
}

.slider {
    display: flex;
    justify-content: space-between;
}

    .slider .i {
        width: 33%;
        height: auto;
        object-fit: cover;
    }

.my-carousel .carousel-item {
    display: flex;
    max-height: 300px;
}

.indexpage img {
    max-width: auto;
    max-height: 75vh;
}

.my-carousel .carousel-item img {
    object-fit: cover;
}

h2 {
    padding: 20px;
    margin: 0;
    text-align: center;
    color: #ff6600;
}

.Zag {
    padding: 15px;
    margin: 0;
    text-align: left;
}

p {
    padding: 15px;
    margin: 0;
    font-size: 18px;
    color: #555;
}

td, th {
    padding: 10px;
    border: 1px solid #ffb380;
    margin: 10px 0;
    text-align: center;
    border-color: #ffb380;
    color: #333;
}

th {
    border: 1px solid #ffb380;
    color: #cc5200;
    border-color: #ffb380;
}

table {
    margin-left: auto;
    margin-right: auto;
    background-color: #fff4e6 !important;
}

.buttonchik {
    background-color: #ffb380;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.1);
    width: 25%;
    text-align: center;
}

.control-label {
    display: block;
    margin-top: 8px;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.category {
    background-color: #fff4e6;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.1);
    width: 30%;
    text-align: center;
}

.invite {
    background-color: #ff6600;
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
}

.category img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.category h3 {
    color: #ff6600;
    margin-bottom: 10px;
}

.category p {
    font-size: 1rem;
    color: #666;
}

.map {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
}
/* Стили для навигационного меню */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Основные пункты меню (слева) */
.nav-left {
    display: flex;
}

/* Кнопки входа/регистрации (справа) */
.nav-right {
    display: flex;
    margin-left: auto; /* Это сдвигает блок вправо */
}

.nav-item {
    margin: 0 0.5rem;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
    color: #ff6600;
}

    .nav-link:hover {
        color: #cc5200 !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 1rem;
        width: 0;
        height: 2px;
        background-color: #ff6600;
        transition: width 0.3s;
    }

    .nav-link:hover::after {
        width: calc(100% - 2rem);
    }

/* Стили для футера */
.footer {
    font-size: 0.9rem;
    color: #ff6600;
}

    .footer a:hover {
        color: #ff6600 !important;
        text-decoration: underline;
    }


/* Стиль для кнопки выхода */
.logout-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 0.5rem 1rem;
    font-size: inherit;
}

    .logout-btn:hover {
        color: #cc5200;
    }

tr:hover td {
    background: #ff6600;
    color: #FFFFFF;
    border-top: 1px solid #cc5200;
}

.pow {
    color: #333;
    border-top: 0px solid #cc5200;
    font-size: 17px;
}

    .pow:hover {
        color: #333;
    }

/* Основные стили для главной страницы */
.indexpage {
    background-color: #fff8f0;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.display-4 {
    color: #ff6600;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    padding-top: 20px;
}

h2 {
    color: #ff6600;
    border-bottom: 2px solid #ffb380;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 25px;
}

.category {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(255,102,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 300px;
}

    .category:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(255,102,0,0.15);
    }

.invite p {
    font-size: 1.2rem;
    margin-bottom: 0;
}
/* Стили для черной корзины */
.cart-summary-black a {
    color: #333 !important;
    text-decoration: none;
}

    .cart-summary-black a:hover {
        color: #ff6600 !important;
        text-decoration: underline;
    }
