:root {
    --color-primary: #D8C6AF;
    --color-accent: #B79D8C;
    --color-accent-light: #A0522D;
    --color-white: #ffffff;
    --color-neutral: #F0F4F8;
    --color-text: #2D2D2D;
    --color-sage: #87A96B;
    --bg-striped: repeating-linear-gradient(90deg,
            #B3E5FC,
            #B3E5FC 55px,
            #ffffff 55px,
            #ffffff 110px);
    --font-heading: 'Lora', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --dark-metal: #2c3e50;
    --caution-yellow: #f1c40f;
    --bg-concrete: #ecf0f1
}

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

body {
    background-color: var(--color-primary);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.6;
    overflow-x: hidden
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.3
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition)
}

ul {
    list-style: none
}

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

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px
}

header {
    background-color: var(--color-primary);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000
}

header .container {
    padding: 0 15px;
    max-width: 100%
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text)
}

.logo-img {
    height: 60px;
    width: auto
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px
}

.mobile-menu-toggle {
    display: none;
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    margin: 5px 0;
    transition: var(--transition)
}

.mobile-menu-toggle.active span:first-child {
    transform: rotate(-45deg) translate(-5px, 6px)
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px)
}

.nav-links a:hover {
    color: #74a2b5
}

.btn-book {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: .9rem
}

.btn-book:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px)
}

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 0
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(216, 198, 175, .9), rgba(216, 198, 175, .2))
}

.hero-content {
    max-width: 600px;
    padding: 40px
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--color-text)
}

.btn-cta {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 15px 35px;
    font-weight: 600;
    transition: var(--transition)
}

.btn-cta:hover {
    background-color: var(--color-accent-light)
}

section {
    padding: 30px 0
}

.section-title {
    text-align: center;
    margin-bottom: 60px
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px
}

.section-title p {
    max-width: 700px;
    margin: 0 auto
}

.works-page {
    padding: 100px 0
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1/1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    background: var(--color-neutral)
}

.work-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.work-item:hover img {
    transform: scale(1.1)
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .7));
    padding: 20px;
    color: #fff;
    opacity: 0;
    transition: opacity .3s ease
}

.work-item:hover .work-overlay {
    opacity: 1
}

.work-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff
}

.work-overlay p {
    font-size: .9rem;
    opacity: .9
}

.menu-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px
}

.menu-category {
    background: var(--bg-striped);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .03)
}

.category-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    background-color: var(--color-accent)
}

.icon-breakfast {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20,13H18.8L18,17L14,21H4L2,17V11H4V7L10,4.2L12,5.1V3H14V5.1L20,3V13M14,13H18L18,11H4V13H10C10,14.1 10.9,15 12,15S14,14.1 14,13M12,17C10.9,17 10,17.9 10,19H14C14,17.9 13.1,17 12,17Z' /%3E%3C/svg%3E") center/contain no-repeat
}

.icon-lunch {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11,9H9V2H7V9H5V2H3V9C3,11.12 4.66,12.84 6.75,12.97V22H9.25V12.97C11.34,12.84 13,11.12 13,9V2H11V9M16,6V14H18.5V22H21V2H16C16,4.21 17.79,6 20,6' /%3E%3C/svg%3E") center/contain no-repeat
}

.icon-coffee {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2,21V19H20V21H2M20,8V5H18V8H20M20,3A2,2 0 0,1 22,5V8A2,2 0 0,1 20,10H18V13A4,4 0 0,1 14,17H8A4,4 0 0,1 4,13V3H20M6,5V13A2,2 0 0,0 8,15H14A2,2 0 0,0 16,13V5H6Z' /%3E%3C/svg%3E") center/contain no-repeat
}

.icon-pastry {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12,6C13.53,6 14.82,7.03 15.22,8.45C15.86,8.16 16.57,8 17.3,8C19.3,8 21,9.45 21.41,11.33C21.61,11.31 21.8,11.3 22,11.3A2,2 0 0,1 24,13.3V18.7A2,2 0 0,1 22,20.7V22H2V20.7A2,2 0 0,1 0,18.7V13.3A2,2 0 0,1 2,11.3C2.2,11.3 2.39,11.31 2.59,11.33C3,9.45 4.7,8 6.7,8C7.43,8 8.14,8.16 8.78,8.45C9.18,7.03 10.47,6 12,6M5,15V19H9V15H5M15,15V19H19V15H15M2,13.3V18.7H4V13.3H2M20,13.3V18.7H22V13.3H20M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z' /%3E%3C/svg%3E") center/contain no-repeat
}

.menu-category h3 {
    margin-bottom: 20px;
    font-size: 1.5rem
}

.menu-list {
    margin-bottom: 30px
}

.menu-list li {
    margin-bottom: 10px;
    font-size: .95rem
}

.btn-center {
    display: flex;
    justify-content: center;
    margin-top: 60px
}

.contacts-wrapper {
    display: grid;
    gap: 40px;
    align-items: start
}

.info-item {
    margin-bottom: 30px
}

.info-item h4 {
    color: var(--color-text);
    margin-bottom: 5px;
    font-size: 1.1rem
}

.map-container {
    height: 400px;
    background: #e5e5e5;
    border-radius: 8px;
    overflow: hidden
}

footer {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 60px 0 20px
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px
}

.footer-about h3 {
    color: var(--color-white);
    margin-bottom: 20px
}

.footer-links h4 {
    margin-bottom: 20px
}

.social-links {
    display: flex;
    gap: 20px
}

.social-icon {
    width: 24px;
    height: 24px;
    background-color: var(--color-text)
}

.social-icon.dark {
    background-color: var(--color-text)
}

.social-icon.facebook {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.04C6.5 2.04 2 6.53 2 12.06C2 17.06 5.66 21.21 10.44 21.96V14.96H7.9V12.06H10.44V9.85C10.44 7.34 11.93 5.96 14.22 5.96C15.31 5.96 16.45 6.15 16.45 6.15V8.62H15.19C13.95 8.62 13.56 9.39 13.56 10.18V12.06H16.34L15.89 14.96H13.56V21.96A10 10 0 0 0 22 12.06C22 6.53 17.5 2.04 12 2.04Z' /%3E%3C/svg%3E") center/contain no-repeat
}

.social-icon.instagram {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2A5.8,5.8 0 0,1 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8A5.8,5.8 0 0,1 7.8,2M7.6,4A3.6,3.6 0 0,0 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4A3.6,3.6 0 0,0 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5A1.25,1.25 0 0,1 18.5,6.75A1.25,1.25 0 0,1 17.25,8A1.25,1.25 0 0,1 16,6.75A1.25,1.25 0 0,1 17.25,5.5M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z' /%3E%3C/svg%3E") center/contain no-repeat
}

.newsletter-form {
    display: flex;
    gap: 10px
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px
}

.newsletter-form button {
    background-color: var(--color-text);
    color: var(--color-white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .85rem;
    opacity: .8
}

.awards {
    background: var(--bg-striped)
}

.awards-grid {
    display: flex;
    justify-content: center;
    gap: 40px
}

.award-item {
    text-align: center;
    max-width: 300px
}

.award-img {
    width: 200px;
    height: auto;
    margin: 0 auto 20px;
    display: block
}

.page-header {
    padding: 80px 0 40px;
    text-align: center;
    background: var(--bg-striped)
}

.full-menu {
    padding-bottom: 100px
}

.menu-section {
    margin-bottom: 10px
}

.menu-section h2 {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 1.8rem
}

.menu-section h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-accent);
    opacity: .2
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px
}

.menu-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(183, 157, 140, .3);
    padding-bottom: 10px
}

.item-name {
    font-weight: 600
}

.item-price {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 700
}

.works-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1/1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .05);
    background: var(--bg-striped);
    transition: transform .4s cubic-bezier(.165, .84, .44, 1)
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1)
}

.work-card:hover img {
    transform: scale(1.08)
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
    color: #fff;
    opacity: 0;
    transition: opacity .3s ease
}

.work-card:hover .work-info {
    opacity: 1
}

.work-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600
}

.work-info p {
    font-size: .85rem;
    opacity: .9;
    font-family: var(--font-body)
}

.contatti-page {
    padding: 100px 0
}

.admin-wrap {
    display: flex;
    height: 100vh
}

.sidebar {
    width: 200px;
    background: var(--dark-metal);
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column
}

.sidebar button {
    background: 0 0;
    color: #aaa;
    border: none;
    text-align: left;
    padding: 15px 0;
    font-family: Anton;
    font-size: 1.2rem;
    cursor: pointer;
    border-bottom: 1px solid #444
}

.sidebar button.active,
.sidebar button:hover {
    color: var(--caution-yellow)
}

.main-area {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    background: var(--bg-concrete)
}

.panel {
    display: none;
    background: #fff;
    padding: 30px;
    border: 2px solid var(--dark-metal);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .1)
}

.panel.active {
    display: block
}

.form-row {
    margin-bottom: 20px
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    background: var(--caution-yellow);
    display: inline-block;
    padding: 2px 5px;
    font-size: .8rem;
    border: 1px solid #000
}

input {
    margin-bottom: 5px
}

@media (max-width:992px) {
    .container {
        padding: 0 30px
    }

    .hero h1 {
        font-size: 3rem
    }

    .atmosfera-grid,
    .contacts-wrapper,
    .footer-grid,
    .menu-preview-grid {
        grid-template-columns: 1fr
    }

    .hero-bg::after {
        background: rgba(216, 198, 175, .8)
    }

    .footer-grid {
        gap: 40px;
        text-align: center
    }

    .social-links {
        justify-content: center
    }

    .staff-block {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center
    }

    .staff-block.reverse {
        direction: ltr
    }
}

@media (max-width:768px) {
    header {
        padding: 15px 0
    }

    .logo-img {
        height: 50px
    }

    .logo span {
        font-size: 1.2rem
    }

    .mobile-menu-toggle {
        display: block
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: .5s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, .1);
        z-index: 1000
    }

    .nav-links.active {
        right: 0
    }

    .nav-links a {
        font-size: 1.5rem;
        font-family: var(--font-heading)
    }

    .hero {
        height: 70vh;
        text-align: center
    }

    .hero-content {
        padding: 20px;
        margin: 0 auto
    }

    .hero h1 {
        font-size: 2.5rem
    }

    .section-title {
        margin-bottom: 40px
    }

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

    section {
        padding: 40px 0
    }

    .awards-grid {
        flex-direction: column;
        align-items: center
    }

    .map-container {
        height: 300px
    }

    .menu-items {
        grid-template-columns: 1fr
    }

    .admin-wrap {
        flex-direction: column;
        height: auto
    }

    .sidebar {
        width: 100%;
        height: auto;
        padding: 15px
    }

    .main-area {
        padding: 20px
    }

    .sidebar h2 {
        margin-bottom: 20px !important;
        font-size: 1.2rem
    }

    .sidebar button {
        padding: 10px 0
    }
}

@media (max-width:600px) {
    .works-gallery {
        grid-template-columns: 1fr
    }
}

@media (max-width:480px) {
    .hero h1 {
        font-size: 2rem
    }

    .hero p {
        font-size: 1rem
    }

    .btn-cta {
        padding: 12px 25px;
        width: 100%;
        text-align: center
    }

    .staff-grid,
    .works-grid {
        grid-template-columns: 1fr
    }
}

:root {
    --mobile-primary: #c2a38a;
    --mobile-secondary: #89cff0;
    --mobile-bg-light: #f8f5f2
}

.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    transition: visibility .3s allow-discrete
}

.mobile-drawer.active {
    visibility: visible
}

.drawer-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .3);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .3s ease
}

.mobile-drawer.active .drawer-overlay {
    opacity: 1
}

.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    background-color: var(--color-white);
    box-shadow: -4px 0 15px rgba(0, 0, 0, .1);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto
}

.mobile-drawer.active .drawer-content {
    transform: translateX(0)
}

.drawer-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, .05)
}

.drawer-header h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text);
    margin: 0
}

.drawer-close-btn {
    background: 0 0;
    border: none;
    color: #a1a1aa;
    cursor: pointer;
    padding: .5rem;
    transition: color .2s
}

.drawer-close-btn:hover {
    color: var(--color-text)
}

.drawer-nav {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem
}

.drawer-menu-list li {
    margin-bottom: .5rem
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1rem;
    border-radius: .75rem;
    color: var(--color-text);
    text-decoration: none;
    transition: background-color .2s
}

.drawer-link:hover {
    background-color: var(--mobile-bg-light)
}

.drawer-link .material-icons-round {
    color: #a1a1aa;
    transition: color .2s
}

.drawer-link:hover .material-icons-round {
    color: var(--mobile-primary)
}

.link-text {
    font-weight: 500;
    font-size: 1.1rem
}

.feature-card {
    position: relative;
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-top: auto;
    overflow: hidden
}

.feature-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 6rem;
    height: 6rem;
    background: radial-gradient(circle, rgba(137, 207, 240, .2) 0, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%)
}

.drawer-footer {
    padding: 1.5rem;
    background-color: #fafafa;
    border-top: 1px solid rgba(0, 0, 0, .05)
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem
}

.drawer-cta-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 1rem;
    border-radius: 9999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s
}

.drawer-cta-btn:hover {
    transform: scale(1.02)
}

.font-display {
    font-family: var(--font-heading)
}