
body {
    margin: 0;
    font-family: 'Sans-serif', Arial;
    color: #fcf8f8; 
    background: url('/images/coffee-background.jpg') center/cover no-repeat;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #28291d;
    color: #fff;
    position: sticky;
    padding: 30px;
    top: 0;
    z-index: 1000;
}

.nav-logo {
    font-family:sans-serif;
    font-size: x-large;
    font-weight: bolder;
    position: absolute;
    left: 100px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    position: absolute;
    left: 700px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.shop-now-btn {
    background-color: #ffc107;
    color: #3c2f2f;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    left: 1300px;
    bottom: 20px;
}

.menu-toggle i {
    display: none;
   
}

@media (max-width: 1338px) {
     
    .shop-now-btn {
        display: none;
    }
}



@media (max-width: 998px) {
    .nav-links {
        display: none; 
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 50px;
        left: 0;
        background-color: #28291d;
        width: 95%;
        padding: 20px;
        border-top: 2px  solid black;
    }

    .nav-links.show {
        display: flex; 
    }

    li:hover {
        background-color: #3b4b35;
        padding: 3px;
    }

    .menu-toggle {
        display: block; 
        font-size: 1.5rem;
        cursor: pointer;
        position: absolute;
        right: 20px;
        color: #fff;
    }

    .nav-logo {
        left: 20px;
    }

    .shop-now-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: url('/images/coffee-background.jpg') center/cover no-repeat;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2; 
    text-align: center;
    color: #fff;
}

.main-logo {
    font-size: 4rem;
    font-weight: bold;
    margin: 0;
}

.hero-description {
    font-size: 1.5rem;
    margin-top: 10px;
}


.animate-fade-in {
    opacity: 0;
    animation: fade-in 2s ease-in-out forwards;
}

.animate-slide-up {
    transform: translateY(50px);
    opacity: 0;
    animation: slide-up 1.5s ease-in-out forwards;
    animation-delay: 0.5s;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slide-up {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .main-logo {
        font-size: 3rem; 
    }

    .hero-description {
        font-size: 1.01rem; 
    }
}

@media (max-width: 480px) {
    .main-logo {
        font-size: 2.5rem; 
    }

    .hero-description {
        font-size: 1rem; 
    }
}

/* Why Us Section */
.why-us {
    padding: 50px 20px;
    background-color: #272901; 
    color: #D3BBAE; 
    text-align: center;
}

.why-us h2 {
    font-size: 2.5rem;
    color: #FFF; 
    margin-bottom: 30px;
}

.reasons {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.reason {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.reason img {
    width: 300px; 
    height: 300px;
    object-fit: cover;
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(246, 247, 244, 0.658); 
}

.reason-text {
    flex: 1;
}

.reason-text h3 {
    font-size: 2rem;
    color: #FFF; 
    margin-bottom: 15px;
}

.reason-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #D3BBAE; 
}

/* Hover Effects */
.reason img:hover {
    transform: scale(1.05); 
    transition: transform 0.3s ease;
}

.reason-text p:hover {
    color: #FFF; 
    transition: color 0.3s ease;
}

/* Scroll Animation: Initial State */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px); 
    transition: all 0.6s ease-in-out;
}

/* Scroll Animation: Active State */
.animate-on-scroll.scroll-in {
    opacity: 1;
    transform: translateY(0); 
}


.reasons {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.reason {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .reason {
        flex-direction: column; 
        text-align: center; 
    }

    .reason img {
        margin: 0 auto; 
    }

    .reason-text {
        text-align: center; 
    }
}


/* mebu */
.coffee-menu {
    background-color: #2f3b30; 
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.coffee-menu h2 {
    font-size: 56px;
    margin-bottom: 90px;
    color: #f1f1f1; 
}


.coffee-section {
    margin: 30px 0;
}

.coffee-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffcc00;
}

.coffee-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
}

.coffee-item {
    background-color: #101414; 
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    max-width: 250px;
    width: 100%;
}

.coffee-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}


.coffee-item img:hover {
    transform: scale(1.05);
}


.coffee-item:hover {
    transform: translateY(-10px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); 
}

.coffee-item p {
    font-size: 18px;
    margin: 15px 0;
    font-weight: bold;
}

/* Buy Me */
.buy-now {
    background-color: #ffcc00;
    border: none;
    color: #140303; 
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.coffee-item img {
    width: 100%;
    height: auto; 
    max-width: 250px; 
    height: 250px; 
    object-fit: cover; 
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.buy-now:hover {
    background-color: #e6b800; 
    transform: scale(1.1); 
}


.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .coffee-menu h2 {
        font-size: 36px; 
        margin-bottom: 50px; 
    }

    .coffee-items {
        grid-template-columns: repeat(2, 1fr); 
        gap: 40px; 
    }

    .coffee-item {
        max-width: 150px; 
        padding: 10px; 
    }

    .coffee-item img {
        height: 150px; 
        max-width: 100%; 
    }

    .coffee-item p {
        font-size: 14px; 
    }

    .buy-now {
        font-size: 14px;
        padding: 8px 15px; 
    }
}

@media (max-width: 1200px) {
    .coffee-items {
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px; 
    }

    .coffee-item {
        max-width: 200px; 
        padding: 15px; 
    }

    .coffee-item img {
        height: 200px; 
        max-width: 100%; 
    }

    .coffee-item p {
        font-size: 16px; 
    }

    .buy-now {
        font-size: 16px; 
        padding: 10px 18px;
    }
}

@media (max-width: 992px) {
    .coffee-items {
        gap: 10px; 
    }

    .coffee-item {
        max-width: 180px; 
        padding: 12px; 
    }

    .coffee-item img {
        height: 180px; 
    }

    .coffee-item p {
        font-size: 14px; 
    }

    .buy-now {
        font-size: 14px; 
        padding: 8px 16px; 
    }
}


@media (max-width: 576px) {
    .coffee-items {
        gap: 5px; 
    }

    .coffee-item {
        max-width: 120px; 
        padding: 8px; 
    }

    .coffee-item img {
        height: 120px; 
    }

    .coffee-item p {
        font-size: 10px; 
    }

    .buy-now {
        font-size: 10px; 
        padding: 5px 10px; 
    }
}



/* Contact Section */
.contact {
    margin-top: 100px; 
    text-align: center;
    padding: 40px 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: rgb(32, 41, 1);
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #f5f5f5; 
    margin-bottom: 100px;
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #c0970f; 
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 9px;
}


form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

label {
    text-align: left;
    font-weight: 300;
    margin-bottom: 5px;
    color: #fff;
    padding: auto;
}


input, textarea {
    width: 97%;
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #0e140f; 
    border-radius: 12px;
    background: #ffffff; 
    color: #130f0f; 
    outline: none;
    transition: border-color 0.3s ease-in-out;
}

input:focus, textarea:focus {
    border-color: #050f0c;
}

.send-message {
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    background: rgb(133, 113, 4);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: #e6d071;
}

@media (max-width: 768px) {
    .contact h2 {
        font-size: 2rem;
    }

    .contact {
        padding: 20px 10px; 
        max-width: 90%; 
    }

    input, textarea {
        font-size: 0.9rem;
        padding: 4px;
        width: 94%; 
    }

    button {
        font-size: 1rem;
        padding: 10px 5px;
        width: 94%; 
    }
}


/* Footer */
footer {
    background-color: #130b06;
    color: white;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer-logo {
    font-size: 1.5em;
    font-weight: bold;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9em;
}

.social-icons a {
    color: rgb(250, 249, 249);
    margin-right: 15px;
    font-size: 1.2em;
    text-decoration: none;
}

.social-icons a:hover {
    color: #3b4b35;
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; 
        align-items: center; 
        text-align: center;   
    }

    .footer-logo {
        font-size: 1.2em; 
        margin-bottom: 10px;
    }

    .footer-links {
        gap: 10px; 
        margin-bottom: 10px; 
        justify-content: center; 
    }

    .footer-links a {
        font-size: 0.8em; 
    }

    .social-icons {
        margin-top: 10px; 
    }

    .social-icons a {
        font-size: 1em; 
        margin-right: 10px; 
    }
}

@media (max-width: 576px) {
    .footer-logo {
        font-size: 1em; 
    }

    .footer-links a {
        font-size: 0.7em;
    }

    .social-icons a {
        font-size: 0.9em; 
        margin-right: 8px; 
    }
}
