body {
    background-image:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
     url("images/BBQ.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;

    
    margin: 0;

}
h1 {
    font-family: Arial, sans-serif;
    font-size: 72px;
    font-weight: 900;
    letter-spacing: 4px;
    margin: 0 0 10px 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}
p {
    font-family: Arial, sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    margin: 0 0 30px 0;
}
button {
    background-color: #e85d04;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
}
nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;

    display: flex;
    justify-content:space-between;
    align-items: center;

    padding: 25px 60px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
     color: white;
     text-decoration: none;
     font-size: 16px;
}

.menu a:hover {
    color: #e85d04;
}
.logo,
.menu a,
button {
    font-family: Arial, sans-serif;
}
html {
    scroll-behavior: smooth;
}

#menu {
    min-height: 100vh;
    background-color: rgba(24, 24, 24, 0.35);
    padding: 80px 60px;
    box-sizing: border-box;
    text-align: center;
}

#menu h2 {
    font-family: Arial, sans-serif;
    font-size: 48px;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.menu-subtitle {
    color: #aaaaaa;
    margin-bottom: 50px;
}

.menu-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.card {
    width: 220px;
    padding: 35px 25px;
    background-color: rgba (24, 24, 24, 0.78);
    backdrop-filter: blur (8px);
    border-radius: 10px;
    text-align: left;
}

.card h3 {
    font-family: Arial, sans-serif;
    font-size: 22px;
    margin-top: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.card p {
    font-size: 15px;
    letter-spacing: 0;
    color: #bbbbbb;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.card span {
    color: #e85d04;
    font-family: Arial, sans-serif;
    font-weight: bold;
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #e85d04;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.35);
}
.add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: auto;
    white-space: nowrap;
min-width: 190px;
    padding: 10px 18px;
    margin-top: 12px;
    background: #ff7a00;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.add-to-cart::before {
    content: "🛒";
    margin-right: 8px;
}

.add-to-cart:hover {
    transform: translateY(-2px);
}
.hero {
     height: 100vh;
     display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.about-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    box-sizing: border-box;
}

.about-content {
    max-width: 850px;
    text-align: center;
}
.about-label {
    color: #e85d04;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.about-content h2 {
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0 0 30px 0;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
}

.about-content h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #e85d04;
    margin: 20px auto 0;
}

.about-text {
    font-size: 19px;
    line-height: 1.7;
    color: #eeeeee;
    max-width: 600px;
    margin: 0 auto 25px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 1);
}

.about-accent {
    color: #e85d04;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

.delivery-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    box-sizing: border-box;
}

.delivery-content {
    width: 100%;
    max-width: 1100px;
    text-align: center;
}

.delivery-label {
    color: #e85d04;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.delivery-content h2 {
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
}

.delivery-text {
    font-size: 19px;
    line-height: 1.7;
    color: #eeeeee;
    max-width: 700px;
    margin: 0 auto 50px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 1);
}

.delivery-steps {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.delivery-step {
    width: 260px;
    padding: 30px 25px;
    background: rgba(20, 20, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    text-align: left;
    backdrop-filter: blur(8px);
}

.delivery-step span {
    color: #e85d04;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
}

.delivery-step h3 {
    font-size: 23px;
    margin: 12px 0 8px;
}

.delivery-step p {
    color: #bbbbbb;
    font-size: 15px;
    margin: 0;
}
/* ВІКНО ЗАМОВЛЕННЯ */

.order-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.order-box {
    position: relative;
    width: 90%;
    max-width: 520px;
    padding: 45px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(232, 93, 4, 0.5);
    border-radius: 15px;
    text-align: center;
}

.order-label {
    color: #e85d04;
    font-weight: bold;
    letter-spacing: 4px;
}

.order-box h2 {
    font-family: Arial, sans-serif;
    font-size: 32px;
    margin: 10px 0 30px;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-form input,
.order-form select,
.order-form textarea {
    padding: 15px;
    border: 1px solid #444;
    border-radius: 7px;
    background: #181818;
    color: white;
    font-size: 16px;
    outline: none;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    border-color: #e85d04;
}

.order-form textarea {
    min-height: 80px;
    resize: vertical;
}

.order-form button {
    padding: 16px;
    background: #e85d04;
    color: white;
    border: none;
    border-radius: 7px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.order-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* КОНТАКТИ */

.contacts-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    box-sizing: border-box;
    background: linear-gradient(
        rgba(0, 0, 0, 0.82),
        rgba(0, 0, 0, 0.92)
    );
}

.contacts-content {
    width: 100%;
    max-width: 1100px;
    text-align: center;
}

.contacts-label {
    color: #e85d04;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.contacts-content h2 {
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
    color: white;
}

.contacts-text {
    color: #eeeeee;
    font-size: 19px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 50px;
}

.contacts-info {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 45px;
}

.contact-item {
    width: 30%;
    min-height: 180px;
    padding: 30px 20px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(232, 93, 4, 0.45);
    border-radius: 15px;
    transition: 0.3s;
}

.contact-item:hover {
    transform: translateY(-7px);
    border-color: #e85d04;
    background: rgba(232, 93, 4, 0.08);
}

.contact-item span {
    font-size: 35px;
}

.contact-item h3 {
    color: #e85d04;
    font-size: 18px;
    letter-spacing: 2px;
    margin: 15px 0 10px;
}

.contact-item p {
    color: #eeeeee;
    font-size: 16px;
    margin: 5px 0;
}

.contacts-accent {
    color: #e85d04;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* МОБІЛЬНА ВЕРСІЯ */

@media (max-width: 768px) {

    .contacts-section {
        padding: 60px 20px;
    }

    .contacts-content h2 {
        font-size: 30px;
    }

    .contacts-text {
        font-size: 16px;
    }

    .contacts-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        width: 100%;
        max-width: 400px;
    }

    .contacts-accent {
        font-size: 16px;
    }
html {
    scroll-behavior: smooth;
}
@media (max-width: 768px) {

    nav {
        padding: 15px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .logo {
        font-size: 20px;
    }

    .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }

    .menu a {
        font-size: 14px;
    }

    .hero {
        min-height: 100vh;
        padding: 100px 20px 40px;
        box-sizing: border-box;
        text-align: center;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 16px;
    }

    .menu-section,
    .about-section,
    .delivery-section,
    .contacts-section {
        padding: 60px 20px;
        box-sizing: border-box;
    }

    .menu-cards,
    .delivery-steps,
    .contacts-info {
        flex-direction: column;
        align-items: center;
    }

    .card,
    .delivery-step,
    .contact-item {
        width: 100%;
        max-width: 400px;
        box-sizing: border-box;
    }

    .about-content h2,
    .delivery-content h2,
    .contacts-content h2 {
        font-size: 30px;
    }

    .about-text,
    .delivery-text,
    .contacts-text {
        font-size: 16px;
    }

    .order-box {
        width: calc(100% - 30px);
        max-height: 90vh;
        overflow-y: auto;
        padding: 30px 20px;
        box-sizing: border-box;
    }
}
/* ===== ФІНАЛЬНА МОБІЛЬНА ВЕРСІЯ ===== */

@media (max-width: 768px) {

    nav {
        padding: 15px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .logo {
        font-size: 20px;
    }

    .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }

    .menu a {
        font-size: 13px;
    }

    .hero {
        min-height: 100vh;
        padding: 20px;
        box-sizing: border-box;
    }

    .hero h1 {
        font-size: 42px;
        text-align: center;
    }

    .hero p {
        font-size: 17px;
    }

    .hero button {
        font-size: 16px;
        padding: 14px 24px;
    }

    .menu-section,
    .about-section,
    .delivery-section,
    .contacts-section {
        padding: 70px 20px;
        box-sizing: border-box;
    }

    .menu-cards,
    .delivery-steps,
    .contacts-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .card,
    .delivery-step,
    .contact-item {
        width: 100%;
        max-width: 360px;
        box-sizing: border-box;
    }

    .card {
        padding: 25px;
    }

    .card h3 {
        font-size: 22px;
    }

    .card p,
    .delivery-step p,
    .contact-item p {
        font-size: 16px;
        line-height: 1.5;
    }

    .about-content,
    .delivery-content,
    .contacts-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .about-content h2,
    .delivery-content h2,
    .contacts-content h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .about-text,
    .delivery-text,
    .contacts-text {
        font-size: 17px;
        line-height: 1.6;
    }

    .delivery-button {
        width: 100%;
        max-width: 360px;
        padding: 16px;
        font-size: 16px;
    }

    .order-box {
        width: calc(100% - 30px);
        max-height: 90vh;
        overflow-y: auto;
        padding: 30px 20px;
        box-sizing: border-box;
    }
}
/* КНОПКА МОБІЛЬНОГО МЕНЮ */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 768px) {

    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.97);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 18px;
        z-index: 1000;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        font-size: 17px;
    }
}
.menu-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

.card {
    overflow: hidden;
}
/* ===== НОВИЙ ДИЗАЙН КАРТОК МЕНЮ ===== */

.menu-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1200px;
    margin: 45px auto 0;
    padding: 0 20px;
}

.card {
    background: rgba(15, 15, 15, 0.88);
    border: 1px solid rgba(255, 120, 40, 0.25);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.menu-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 18px;
}

.card-content h3 {
    margin: 0 0 10px;
    font-size: 21px;
    color: white;
}

.card-content p {
    margin: 0 0 18px;
    color: #d6d6d6;
    line-height: 1.4;
}

.card-content span {
    display: inline-block;
    color: #ff7a32;
    border: 1px solid #ff7a32;
    border-radius: 20px;
    padding: 7px 13px;
    font-weight: bold;
}

/* Планшет */
@media (max-width: 900px) {
    .menu-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Телефон */
@media (max-width: 520px) {
    .menu-cards {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 16px;
    }

    .menu-img {
        height: 210px;
    }
}
.card {
    min-height: 0;
    height: auto;
}

.card-content {
    padding: 14px 16px 16px;
}

.menu-img {
    height: 170px;
}
/* ===== ВИРІВНЮВАННЯ КАРТОК ===== */

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-content p {
    flex: 1;
}

.card-content span {
    align-self: flex-start;
    margin-top: auto;
}

.card-content {
    min-height: 150px;
}

.card-content p {
    flex: 0;
    margin-bottom: 20px;
}

.card-content span {
    margin-top: auto;
}

/* ===== 5 КАРТОК МЕНЮ ===== */

.menu-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.menu-cards .card {
    grid-column: span 2;
}

/* 4-та картка знизу зліва */
.menu-cards .card:nth-child(4) {
    grid-column: 2 / span 2;
}

/* 5-та картка — картопля */
.menu-cards .card:nth-child(5) {
    grid-column: 4 / span 2;
}

.card {
    height: auto;
    min-height: 0;
}

.card-content {
    min-height: 0;
}

.card-content p {
    flex: 0;
    margin-bottom: 25px;
}

.card-content span {
    margin-top: 0;
}

.menu-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    grid-column: span 2;
}

/* Шашлик */
.card:nth-child(4) {
    grid-column: 2 / span 2;
}

/* Картопля */
.card:nth-child(5) {
    grid-column: 4 / span 2;
}

/* ===== ПРО НАС ===== */

.about-section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-content {
    width: 100%;
    max-width: 900px;
    padding: 60px 50px;
    text-align: center;

    background: rgba(15, 15, 15, 0.82);
    border: 1px solid rgba(255, 120, 40, 0.45);
    border-radius: 24px;
}

/* ===== КОШИК — ОФОРМЛЕННЯ ТОВАРІВ ===== */

#cartItems {
    width: 100%;
    margin: 25px 0 15px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 18px;

    padding: 15px 18px;
    margin-bottom: 12px;

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 120, 40, 0.35);
    border-radius: 14px;

    color: white;
}

.cart-item > span:first-child {
    font-size: 17px;
    font-weight: 700;
    text-align: left;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-controls button {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #ff7828;
    border-radius: 10px;

    background: transparent;
    color: white;

    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.cart-controls button:hover {
    background: #ff7828;
}

.cart-controls span {
    min-width: 25px;
    text-align: center;
    font-size: 17px;
    font-weight: bold;
}

.cart-item strong {
    min-width: 80px;
    text-align: right;
    color: #ff7828;
    font-size: 17px;
}
/* ФІКС МЕНЮ ДЛЯ ТЕЛЕФОНУ */
@media (max-width: 520px) {
    .menu-section {
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }

    .menu-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }

    .menu-cards .card,
    .menu-cards .card:nth-child(4),
    .menu-cards .card:nth-child(5) {
        width: 100%;
        max-width: 360px;
        min-width: 0;
        height: auto;
        min-height: 0;
        margin: 0 auto;
        grid-column: auto;
    }

    .menu-cards .menu-img {
        width: 100%;
        height: 210px;
        object-fit: cover;
        display: block;
    }

    .menu-cards .card-content {
        width: 100%;
        box-sizing: border-box;
        padding: 16px;
    }

    .menu-cards .add-to-cart {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}