
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');
/* Universal CSS*/
*{
    box-sizing: border-box;
}
body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
}

header {
    background-color: #493628;
    padding: 1px 0;
    width: 100%;
    position: fixed; /* Added to position the hamburger menu correctly */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img{
    height: 50px;
    width: 50px;
    font-weight: bold;
    cursor: pointer;
}
.logo img:hover{
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.desktop-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.desktop-nav ul li {
    margin-left: 20px;
}
.icon-cart{
    cursor: pointer;
    color: white;
    margin-left: 15px;

}
.icon-cart:hover{
    transform: scale(1.001);
    transition: transform 0.3s ease;
    color:#d3895f
}
.icon-cart span{
    background-color: red;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 0.8em; 
}
.icon-cart:hover span{
    color: white;
}
.desktop-nav ul li a {
    text-decoration: none;
    color: #ffffff;
}
.desktop-nav ul li a:hover {
    color: #d3895f;
}

.hamburger-menu {
    display: none; 
    font-size: 1.5em;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}
.hamburger-menu.open {
    transform: rotate(45deg); 
}

.mobile-nav {
    display: none; /* Hidden by default */
    position: absolute;
    top: 55px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    background-color: #000000;
    text-align: center;
    padding: 15px 0;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    padding: 10px 0;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: #fff;
}

/* Hero section */
.hero {
    padding: 40px 0;
    background-color: #361500;
    background-image: url('Cafe-Welcome.avif');
    background-position: center;
    opacity: 1;
    color: white;
    align-items: center;
    height: 65vh;
    display: flex;
    justify-content: flex-start;
}

.hero .container {
    
    width: 100%; /* Ensure container takes full width */
    max-width: 1200px; 
    margin: 0 auto; /* Center the container horizontally */
    padding: 20px; /* Keep the padding */
    display: flex; 
    align-items: center; /* Adjust if needed */
    
    
}

.hero-content {
    flex: 1;
    padding-right: 20px;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-content p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-buttons a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
}

.hero-buttons .primary {
    background-color: #5d2403;
    color: #fff;
    border: 1px solid rgb(77, 22, 0);
}
.hero-buttons .primary:hover {
    background-color: #462300;
    color: #fff;
    border: 1px solid rgb(120, 48, 0);
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}
.hero-buttons .secondary {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid rgb(157, 60, 0)
}
.hero-buttons .secondary:hover {
    background-color: #cbcbcb;
    color: #0b0b0b;
    border: 1px solid brown;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.hero-image {
    position: absolute;
    z-index: -1;
}

.hero-image img {
    max-width: 100%;
    height: auto;

}

/* "Why us" Section*/
.why-cafeconnect {
    padding: 40px 0;
}

.why-cafeconnect h2 {
    text-align: center;
    margin-bottom: 20px;
}
.why-cafeconnect p {
    text-align: center;
    margin-bottom: 40px;
}
.why-cafeconnect .features {
    display: flex;
    justify-content: space-around;
}

.why-cafeconnect .feature-box {
    width: 30%;
    height: 150px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Developer Section */
.developers {
    padding: 40px 0;
    background-color: #f0f0f0;
}

.developers .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.developer-info {
    flex: 1;
    padding-right: 20px;
}

.developer-image {
    flex: 1;
}

.developer-image img {
    max-width:100%;
    height: auto;
    display: block;
    border-radius: 50%; /* To make it circular */
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}
.footer-links{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
footer .footer-links ul {
    display: flex;
    padding: 0;
    margin: 0;
}
footer .footer-links li{
    list-style-type: none;
}
footer .footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .logo{
        padding-left: 10px;
    }
    .logo img{
        height: 40px;
        width: 40px;
    }

    .hamburger-menu {
        font-size: 1em;
        display: block; /* Make it visible on mobile */
        color: white;
        font-weight: bold;
        padding: 5px 10px;
        background-color: #493628;
        border: 3px solid #674e3c;
        border-radius: 5px;
        position: absolute; /* Position it relative to the header */
        top: 10px; /* Adjust vertical position as needed */
        right: 20px; /* Adjust horizontal position as needed */
        z-index: 1000; /* Ensure it appears above other elements */
    }

    .hero {
        height: auto; /* Allow the hero section to adjust its height based on content */
        padding: 20px 0; /* Adjust padding for smaller screens */
        background-image: url('Cafe-Welcome.avif'); /* Ensure the background image is set correctly */
        background-size: cover;
        background-position: center;
        justify-content: center; /* Center content vertically */
        align-items: center; /* Center content horizontally */
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        padding: 20px; /* Adjust padding for the container on smaller screens */
    }

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

    .why-cafeconnect .features {
        flex-direction: column;
        align-items: center;
    }

    .why-cafeconnect .feature-box {
        width: 80%;
        margin-bottom: 20px;
    }
    .developers{
        display: flex;
        flex-direction: column;
    }
    .developers .container {
        flex-direction: column;
    }

    .developer-info {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .developer-image {
        width: 50%;
    }
}