html { box-sizing: border-box;}
*, *:before, *:after {
  box-sizing: inherit;
  scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;

}

.back-home {
    position: fixed;
    top: 35px;
    left: 130px;

    z-index: 999;

    font-family: "Syne", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;

    color: #f2ede6;
    text-decoration: none;

    transition: all 0.3s ease;
}

.back-home:hover {
    color: #bada33;
}

.side-bar {
    width: 120px;
    height: 100vh;

    position: fixed;
    left: 0;
    top: 0;

    background: #2A1F1A;
    backdrop-filter: blur(4px);

    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    z-index: 10;

}

.logo img {
    width: 80px;
}

.top-bar {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px 40px;
    display: flex;
    gap: 20px;
    color: white;
    z-index: 9;
}

.top-bar a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar a:hover{
    opacity: 0.70;
}

.call-button a{
    color: white;
    margin-left: 40px;
    margin-right: 40px;
    border: 1px solid white;
    padding: 8px 16px;
    border-radius: 20px;
    transition: 0.3s;
    letter-spacing: 1px;
}

.call-button a:hover {
    background: white;
    color: black;
    opacity: 1;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}


nav {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 60px;
}
nav a {
    font-family: "Inter", sans-serif;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-decoration: none;
    color: white;
    font-size: 18px;
    letter-spacing: 2px;
    transition: 0.3s;
    cursor: pointer;
}

nav a:hover {
   opacity: 0.5;
}

.hero-section{
    position: relative;
    z-index: 3;
    
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center ;
}

.hero-section h1 {
    font-family: "Poiret One", sans-serif;
    text-transform: lowercase;
    font-size: 90px;
    font-weight: 400;
    letter-spacing: 8px;
    color: white;
    margin: 0;
    line-height: 0.85;
}

.hero-section p {
    font-family: "Inter", sans-serif;
    color: white;
    font-size: 22px;
    letter-spacing: 2px;
    margin-top: 30px;
    opacity: 0.75;
}

.hero-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;

    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);

    z-index: 1;
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%{
        opacity: 0;
        transform: translate(-50% 0);
    }

    50%{
        opacity: 1;
    }

    100%{
        opacity: 0;
        transform: translate(-50%, 12px);
    }
}

.about {
    background: #F7F5F3;
    margin-left: 120px;
    padding: 80px 80px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    align-items: center;
}

.about-image{
    max-width: 520px;
}

.about-image img{
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
}

.about-text h2 {
    font-family: "Poiret One", sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.bean-divider {
    width: 380px;
    margin-top: -180px;
    opacity: 0.6;
}

.about-text {
    max-width: 420px;
    margin-left: -20px;
    font-size: 18px;
    font-family: "Inter", sans-serif;
    line-height: 1.7;
    margin-bottom: 16px;
}

.menu-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;

    border: 1px solid #2A1F1A;
    border-radius: 30px;
    text-decoration: none;
    color: #2A1F1A;

    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;

    transition: 0.3s;
}

.menu-button:hover {
    background: #2A1F1A;
    color: white;
}

.menu-preview {
        background: #F7F5F3;
        margin-left: 120px;
        padding: 80px 80px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.menu-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.menu-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.4s;
}

.menu-card span{
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 24px;
    letter-spacing: 2px;
}

.menu-card:hover img {
    transform: scale(1.05);
}

.menu-preview h2 {
    font-family: "Poiret One", sans-serif;
    font-size: 44px;
    margin-bottom: 70px;
    text-align: center;
}

.blend {
    margin-left: 120px;
    padding: 100px 40px;

    background: url(images/ember-blend.jpg);
    background-position: top 20%;
    color: white;
    text-align: center;
}

.blend-content {
    max-width: 600px;
    margin: 0 auto;
}

.blend h2 {
    font-family: "Poiret One", sans-serif;
    font-size: 42px;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.blend p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.menu-button.light {
    border: 1px solid white;
    color: white;
}

.menu-button.light:hover {
    background: white;
    color: #2A1F1A;
}

.visit {
    margin-left: 120px;
    padding: 120px 80px 0;
    background: #F7F5F3;
}

.visit-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.visit-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visit-text h2 {
    font-family: "Poiret One", sans-serif;
    font-size: 44px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.visit-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.visit-info p {
    margin: 10px 0;
    opacity: 0.75;
    display: flex;
    align-items: center;
}

.visit-info p:last-child {
    cursor: pointer;
}

.visit-info p:last-child:hover {
    opacity: 1;
}

.visit-info i {
    margin-right: 12px;
    opacity: 0.7;
}

.visit-info a {
    text-decoration: none;
    color: black;
}

.visit-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 12px;
}

.visit-video {
    position: relative;
    margin-top: 20px;
    width: 100vw;
    margin-left: calc(-120px);
    height: 300px;
    overflow: hidden;
}

.visit-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
}


.visit-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
}

.visit-video-overlay h2 {
    color: white;
    font-family: "Poiret One", sans-serif;
    font-size: 36px;
    letter-spacing: 3px;
    text-align: center;
}

.social {
    margin-left: 120px;
    padding: 80px 40px;
    background: #1B1512;
    color: white;
    text-align: center;
}

.social p {
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.social h2 {
    font-family: "Poiret One", sans-serif;
    font-size: 52px;
    letter-spacing: 7px;
    margin-bottom: 40px;
    font-weight: 300;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icons a {
    color: white;
    font-size: 28px;
    transition: 0.3s;
}

.social-icons a:hover {
    opacity: 0.6;
}

.footer {
    margin-left: 120px;
    padding: 30px;
    background: #1B1512;
    color: white;
    text-align: center;
    font-size: 14px;


}

.footer img {
    width: 70px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    
    body {
        padding-top: 70px;
    }

    .about,
    .menu-preview,
    .blend,
    .visit,
    .social,
    .footer {
        margin-left: 0;
    }

    .back-home {
        top: 80px;
        left: 20px;
    }

    .side-bar {
        position: fixed;
        top: 0;
        left: 0;

        width: 100%;
        height: 70px;

        z-index: 999;

        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding:  0 20px;
    }

    nav {
        flex-direction: row;
        gap: 20px;
        margin-top: 0;
    }

    nav a {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 14px;
    }

    .logo img {
        width: 50px;
    }

    .hero-section h1 {
        font-size: 48px;
        letter-spacing: 4px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .menu-hero img {
        width: 100%;
    }

    .top-bar {
        display: none;
    }

    .about {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .about-image img {
        height: 300px;
    }

    .about-image {
        order: 2;
    }

    .about-text {
        max-width: 100%;
        margin-left: 0;
        font-size: 16px;
        order: 1;

    }

    .bean-divider {
        display: none;
    }

    .menu-preview {
        padding: 40px 20px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .visit {
        padding: 60px 40px 0;
    }

    .visit-content {
        grid-template-columns: 1fr;
    }

    .visit-map iframe {
        height: 300px;
    }

    .visit-video {
        width: 100%;
        margin-left: 0;
        height: 220px;
    }

    .social {
        padding: 60px 20px;
    }

    .social h2 {
        font-size: 32px;
        letter-spacing: 3px;
    }

    .social p {
        font-size: 18px;
        letter-spacing: 1px;
    }


}