
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* ===== BACKGROUND ===== */
body {
    background-color: #FFF8E7; /* warm cream */
    color: #4E342E; /* dark coffee brown for text */
}

/* ===== HEADER ===== */
.container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 20px;
    background-color: #F5E0C3; /* light beige */
    flex-wrap: wrap; /* allows wrapping on smaller screens */
}

.container a.logo-link img.logo {
    height: 80px;
    border-radius: 10px;
}

.links {
    display: flex;

    gap: 60px;
    flex-wrap: wrap; /* allows links to wrap on smaller screens */
}

.links a {
margin-left:30px;
    text-decoration: none;
    color: #4E342E;
    font-weight: bold;
    transition: color 0.3s;
}

.links a:hover {
    color: #D9A066; /* caramel accent */
}

/* ===== TAB MENU ===== */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 20px 0;
    flex-wrap: wrap;

        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #FFF8E7;


}

.tab-link {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    padding-bottom: 5px;
    color: #4E342E;
    transition: 0.3s;
}

.tab-link:hover {
    border-bottom: 3px solid #D9A066; /* caramel hover */
}

.tab-link.active {
    border-bottom: 3px solid #B57245; /* darker caramel for active tab */
    color: #B57245;
}

/* ===== TAB CONTENT SECTIONS ===== */
.tab-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== MENU ITEMS (CARDS) ===== */
.menu-item {
    display: flex;
    margin-left: 40px;
    flex-direction: column;
    width: 260px;
    max-width: 90%; /* responsive width */
    background-color: #FFF; /* white card */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.3s;

}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    background-color: #FFF1E0; /* soft warm hover */
}

.menu-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;

        image-rendering: auto;
}

#specials .menu-item img {
        height: 240px;
      }

.info {
    padding: 12px;
    text-align: center;
}

.info h2 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #4E342E;
}

.info p {
    font-size: 14px;
    margin-bottom: 6px;
    color: #5C4033;
}

.price {
    font-weight: bold;
    font-size: 16px;
    color: #B57245; /* caramel price accent */
}

.blueberry .berry {
    color: #5C4033;
    max-width: 100%;
    height: auto;
}

/* ===== HERO ===== */
.hero {
    height: 80vh;

    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                url("./images/coffee with blueberry.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 60px;
    color: white;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 25px;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

.primary {
    background-color: #B57245;
    color: white;
}

.secondary {
    border: 2px solid white;

    color: black;
    margin-left: 15px;
}

/* ===== FEATURED ===== */
.featured {
    padding: 60px;
    text-align: center;
}

.featured-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap; /* responsive wrapping */
}

.center-btn {
    display: inline-block;
    margin-top: 20px;
}

/* ===== WHY ===== */
.why {
    background-color: #F5E0C3;
    padding: 60px;
    text-align: center;
}

.why-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ===== LOCATION ===== */
.location {
    padding: 60px;
    text-align: center;
}

/* ===== REVIEWS ===== */
.reviews {
    background-color: #FFF1E0;
    padding: 60px;
    text-align: center;
    font-style: italic;
}

/* ===== FOOTER ===== */
footer {
    background-color: #4E342E;
    color: white;
    text-align: center;
    padding: 20px;
}

.box {
    background-color: red;
    width: 200px;
    height: 200px;
}



/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 42px; }
    .hero-text p { font-size: 18px; }
}

@media (max-width: 768px) {
    .container {
        justify-content: center;
        padding: 20px 10px;
    }

    .links {
        justify-content: center;
    }

    .menu-tabs {
        flex-direction: column;
        gap: 20px;
    }

    .hero {
        padding: 40px 20px;
        height: 60vh;
        text-align: center;
    }

    .hero-text h1 { font-size: 36px; }
    .hero-text p { font-size: 16px; }

    .menu-item {
        width: 90%;
        margin-left: 0;
    }

    .featured-items, .why-grid {
        gap: 20px;
    }

    .secondary {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 28px; }
    .hero-text p { font-size: 14px; }

    .menu-tabs {

        gap: 15px;
    }

    .menu-item {
        width: 100%;
    }

}
/* ===== MOBILE: KEEP SAME LAYOUT AS DESKTOP ===== */
@media (max-width: 768px) {
    .menu-tabs {
        flex-direction: row;          /* force horizontal */
        justify-content: flex-start;  /* align left */
        overflow-x: auto;             /* enable horizontal scroll */
        white-space: nowrap;
        gap: 20px;
        padding: 15px;
    }

    .menu-tabs::-webkit-scrollbar {
        display: none; /* hide scrollbar (Chrome, Edge) */
    }

    .tab-link {
        flex-shrink: 0; /* prevents buttons from shrinking */
        font-size: 15px;
        font-weight:bold;
    }

    .logo {
        height: 50px;
        flex-shrink: 0;
    }
    @media (max-width: 768px) {
        .menu-item img {
            height: 180px; /* smaller but sharp */
            object-fit: cover;
        }
    }

}
