*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4.5rem;
}

body {
    padding: 0;
    margin: 0;
    background-color: #0d0b09;
    color: #e8e0d5;
    font-family: "Poppins", sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    color: #f3e8d5;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 8%;
    background-color: rgba(8, 7, 6, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 0.0625rem solid #3a2a1c;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.brand i {
    font-size: 1.5rem;
    color: #d99a4e;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin: 0;
    color: #f3e8d5;
}

header nav {
    padding: 0;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav li {
    border-bottom: 0.125rem solid transparent;
    padding-bottom: 0.25rem;
    transition: border-color 0.3s ease-in-out;
}

nav li:hover {
    border-bottom-color: #d99a4e;
}

nav a {
    text-decoration: none;
    color: #e8e0d5;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.25rem 0.4rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d99a4e;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    padding: 0.8rem 1.6rem;
    border: 0.0625rem solid #d99a4e;
    border-radius: 0.4rem;
    background-color: #d99a4e;
    color: #0d0b09;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: transparent;
    color: #d99a4e;
    transform: translateY(-0.15rem);
}

#hero {
    min-height: calc(92vh - 4.5rem);
    background-image: linear-gradient(to right, rgba(13, 11, 9, 0.85) 0%, rgba(13, 11, 9, 0.45) 60%, rgba(13, 11, 9, 0.25) 100%), url("Assets/cafe-site-hero.jpeg");
    background-size: cover;
    background-position: 85% center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 8%;
}

#hero h2 {
    font-family: "Caveat", cursive;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #d99a4e;
    margin: 0 0 1.25rem;
}

#hero>p {
    font-family: "Poppins", sans-serif;
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0.02rem;
    color: #f3e8d5;
    margin: 0.15rem 0;
}

#hero #golden-p {
    color: #d99a4e;
}

#hero #hero-lines {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: normal;
    color: #c5b9aa;
    margin: 1.5rem 0 2rem;
    max-width: 32rem;
}

#menu {
    padding: 5rem 8%;
    background-color: #0d0b09;
    text-align: center;
}

#menu>h3 {
    font-family: "Poppins", sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: #d99a4e;
    margin: 0 0 0.75rem;
}

#menu>h2 {
    font-size: 2.1rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 3rem;
}

#items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.menu-items {
    background-color: #17120e;
    border: 0.0625rem solid #3a2a1c;
    border-radius: 0.6rem;
    padding: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.menu-items:hover {
    transform: translateY(-0.4rem);
    border-color: #d99a4e;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.45);
}

.menu-items img {
    width: 100%;
    height: 15rem;
    object-fit: cover;
    border-radius: 0.4rem;
    display: block;
}

.menu-items h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 1.25rem 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-items h3 i {
    color: #d99a4e;
    font-size: 1rem;
}

.menu-items p {
    font-size: 0.85rem;
    color: #a99c8d;
    margin: 0 0 1.25rem;
}

.menu-items>span {
    margin-top: auto;
    font-size: 1.05rem;
    font-weight: 600;
    color: #d99a4e;
}

#speciality {
    padding: 5rem 8%;
    background-color: #11100e;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.why-us {
    flex: 1;
}

.why-us h3 {
    font-family: "Caveat", cursive;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #d99a4e;
    margin: 0 0 0.75rem;
}

.why-us p {
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.4;
    color: #f3e8d5;
    margin: 0;
}

.why-us p span {
    color: #d99a4e;
}

.why-us-points {
    flex: 2;
    display: flex;
    gap: 2rem;
}

.points {
    flex: 1;
}

.points>i {
    font-size: 1.5rem;
    color: #d99a4e;
    margin-bottom: 1rem;
}

.points>p:first-of-type {
    font-size: 1rem;
    font-weight: 600;
    color: #f3e8d5;
    margin: 0 0 0.5rem;
}

.points>p:last-of-type {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #a99c8d;
    margin: 0;
}

.points+.points {
    border-left: 0.0625rem solid #3a2a1c;
    padding-left: 2rem;
}

#about {
    min-height: 70vh;
    padding: 5rem 8%;
    background-image: linear-gradient(to right, rgba(13, 11, 9, 0.82) 0%, rgba(13, 11, 9, 0.35) 100%), url("Assets/cafe-site-about.jpeg");
    background-size: cover;
    background-position: 80% center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#about h2 {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.12;
    margin: 0 0 1.5rem;
}

#about p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #e8e0d5;
    margin: 0 0 2rem;
}

#contact {
    padding: 5rem 8%;
    background-image: linear-gradient(rgba(13, 11, 9, 0.88), rgba(13, 11, 9, 0.88)), url("Assets/cafe-site-contact.jpeg");
    background-size: cover;
    background-position: 95% center;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.hours,
.get-in-touch {
    flex: 1;
    min-width: 0;
}

.hours h2,
.get-in-touch h2 {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 1.25rem;
}

.hours>p {
    font-size: 0.9rem;
    color: #a99c8d;
    margin: 0 0 1.5rem;
}

.hours>p i {
    color: #d99a4e;
    margin-right: 0.35rem;
}

.hours-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hours table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.hours td {
    padding: 0.75rem 0;
    border-bottom: 0.0625rem solid #3a2a1c;
    color: #c5b9aa;
    vertical-align: middle;
}

.hours td:first-child {
    padding-right: 1rem;
    white-space: nowrap;
}

.hours td:last-child {
    text-align: right;
    color: #f3e8d5;
    white-space: nowrap;
}

.add-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.add-info li {
    font-size: 0.85rem;
    color: #a99c8d;
    display: flex;
    align-items: center;
}

.add-info li i {
    width: 1.25rem;
    color: #d99a4e;
    margin-right: 0.35rem;
    flex-shrink: 0;
}

.get-in-touch {
    border-left: 0.0625rem solid #3a2a1c;
    padding-left: 4rem;
}

.get-in-touch address {
    font-size: 0.9rem;
    font-style: normal;
    line-height: 1.8;
    color: #c5b9aa;
    margin: 0 0 1.5rem;
}

.get-in-touch address i {
    color: #d99a4e;
    margin-right: 0.35rem;
}

.get-in-touch p {
    font-size: 0.9rem;
    margin: 0.8rem 0;
}

.get-in-touch p i {
    width: 1.25rem;
    color: #d99a4e;
}

.get-in-touch a {
    color: #c5b9aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.get-in-touch a:hover {
    color: #d99a4e;
}

#hero,
#menu,
#speciality,
#about,
#contact {
    border-bottom: 0.0625rem solid #3a2a1c;
}

footer {
    padding: 3rem 8%;
    background-color: #080706;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-brand h2 {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #f3e8d5;
    margin: 0 0 0.4rem;
}

.footer-brand h2 i {
    color: #d99a4e;
    margin-right: 0.35rem;
}

.footer-brand p {
    font-size: 0.8rem;
    color: #a99c8d;
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 0.65rem;
}

.footer-socials a {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0.0625rem solid #3a2a1c;
    border-radius: 50%;
    background-color: transparent;
    color: #e8e0d5;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
    color: #0d0b09;
    background-color: #d99a4e;
    border-color: #d99a4e;
    transform: translateY(-0.2rem);
}

.footer-copy {
    text-align: right;
}

footer small {
    display: block;
    font-size: 0.75rem;
    line-height: 1.6;
    color: #7f756a;
}

@media (max-width:64rem) {

    header,
    #hero,
    #menu,
    #speciality,
    #about,
    #contact,
    footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    #items {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    #speciality {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .why-us p br {
        display: none;
    }

    .why-us-points {
        width: 100%;
        gap: 1.5rem;
    }

    .points+.points {
        padding-left: 1.5rem;
    }

    .hours-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    #contact {
        gap: 3rem;
    }

    .get-in-touch {
        padding-left: 2.5rem;
    }
}

@media (max-width:48rem) {
    html {
        scroll-padding-top: 6.75rem;
    }

    header {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 5%;
    }

    header ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
    }

    #hero {
        min-height: 75vh;
        padding: 4rem 6%;
    }

    #hero>p {
        font-size: 2.15rem;
    }

    #menu {
        padding: 4rem 6%;
    }

    #menu>h2 {
        font-size: 1.75rem;
    }

    #items {
        grid-template-columns: 1fr;
        max-width: 24rem;
    }

    #speciality {
        padding: 4rem 6%;
    }

    .why-us p {
        font-size: 1.4rem;
    }

    .why-us-points {
        flex-direction: column;
        gap: 1.75rem;
    }

    .points+.points {
        border-left: none;
        border-top: 0.0625rem solid #3a2a1c;
        padding-left: 0;
        padding-top: 1.75rem;
    }

    #about {
        min-height: 60vh;
        padding: 4rem 6%;
    }

    #about h2 {
        font-size: 2.25rem;
    }

    #contact {
        flex-direction: column;
        gap: 2.5rem;
        padding: 4rem 6%;
    }

    .hours,
    .get-in-touch {
        width: 100%;
    }

    .get-in-touch {
        border-left: none;
        border-top: 0.0625rem solid #3a2a1c;
        padding-left: 0;
        padding-top: 2.5rem;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2.5rem 6%;
    }

    .footer-copy {
        text-align: center;
    }
}

@media (max-width:30rem) {
    header h1 {
        font-size: 1.3rem;
    }

    header ul {
        gap: 0.5rem 0.75rem;
    }

    nav a {
        font-size: 0.85rem;
        padding: 0.2rem 0.3rem;
    }

    #hero {
        padding: 3.5rem 5%;
    }

    #hero h2 {
        font-size: 1.15rem;
    }

    #hero>p {
        font-size: 1.75rem;
    }

    #hero #hero-lines {
        font-size: 0.95rem;
    }

    #hero #hero-lines br {
        display: none;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    #menu>h2,
    .hours h2,
    .get-in-touch h2 {
        font-size: 1.5rem;
    }

    .menu-items {
        padding: 1.25rem;
    }

    .menu-items img {
        height: 13rem;
    }

    #about h2 {
        font-size: 1.85rem;
    }

    .hours td {
        font-size: 0.82rem;
    }
}