/* ===================================
   ОСНОВНЫЕ СТИЛИ И СБРОС
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: #171717;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1771945038866-6608f778d080?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxzaGF3YXJtYSUyMHByZXBhcmF0aW9uJTIwcmVzdGF1cmFudHxlbnwxfHx8fDE3NzYyNzQ0MTJ8MA&ixlib=rb-4.1.0&q=80&w=1080');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6), #171717);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    max-width: 64rem;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #fb923c;
    margin-bottom: 3rem;
    font-weight: 500;
}

.hero-button {
    display: inline-block;
    background-color: #f97316;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hero-button:hover {
    background-color: #ea580c;
    transform: scale(1.05);
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */

.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #ffffff;
}

/* ===================================
   CATEGORIES
   =================================== */

/* Категории поверх hero */

.categories{
    position:absolute;
    bottom:30px;
    left:0;
    width:100%;
    z-index:20;
}

.category-buttons{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}

.category-btn{
    background:#262626;
    padding:10px 18px;
    border-radius:999px;
    font-weight:500;
    transition:0.2s;
}

.category-btn:hover{
    background:#f97316;
}

.category-btn.active{
background:#ff8c00;
}
/* ===================================
   MENU SECTION
   =================================== */

.menu-category{
font-size:2rem;
font-weight:700;
margin:4rem 0 2rem 0;
color:#fb923c;
}

.menu-section {
    padding: 5rem 1rem;
    background-color: #171717;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

/* Menu Card */
.menu-card {
    background-color: #262626;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: scale(1.05);
}

.menu-card-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.1);
}

.menu-card-content {
    padding: 1.5rem;
}

.menu-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.menu-card-description {
    font-size: 0.875rem;
    color: #a3a3a3;
    margin-bottom: 1rem;
    min-height: 2.5rem;
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f97316;
}

.menu-card-button {
    background-color: #f97316;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.menu-card-button:hover {
    background-color: #ea580c;
}

/* ===================================
   CONTACTS SECTION
   =================================== */

.contacts-section {
    padding: 5rem 1rem;
    background-color: #171717;
}

.contact-card {
    max-width: 32rem;
    margin: 0 auto;
    background-color: #262626;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.contact-phone-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: nowrap; /* иконка и номер остаются на одной линии */
}

.phone-icon {
    width: 2rem;
    height: 2rem;
    color: #f97316;
    flex-shrink: 0; /* иконка не сжимается */
}

.contact-phone {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.2s ease;

    overflow-wrap: anywhere; /* перенос только если реально не хватает места */
}

.contact-phone:hover {
    color: #f97316;
}

.contact-button {
    display: block;
    width: 100%;
    background-color: #f97316;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.contact-button:hover {
    background-color: #ea580c;
}

/* ===================================
   АДАПТИВНОСТЬ (RESPONSIVE)
   =================================== */

/* Tablet: 768px - 1023px */
@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .section-title {
        font-size: 3.75rem;
    }

    .contact-phone {
        font-size: 2.5rem;
    }
}

/* Desktop: 1024px - 1439px */
@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop: 1440px+ */
@media (min-width: 1440px) {
    .hero-title {
        font-size: 5rem;
    }

    .menu-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .section-title {
        font-size: 4rem;
    }
}

/* Mobile Small: до 375px */
@media (max-width: 375px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-phone {
        font-size: 1.5rem;
    }
}
