/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(220, 20, 60, 0.95); /* red theme */
    padding: 15px 30px;
    flex-wrap: wrap;
}

.logo img {
    height: 50px;
    filter: brightness(0) invert(1); /* Make the logo white */
}

header ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

header ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

header ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 20px;
}

main section {
    text-align: center;
    margin-bottom: 60px;
}

main img {
    width: 200px;
    margin-bottom: 20px;
    animation: float 2s ease-in-out infinite;
}

main p {
    font-size: 1.4rem;
    text-shadow: 1px 1px 4px black;
    margin-bottom: 20px;
}

input {
    padding: 14px 20px;
    width: 350px;
    max-width: 90%;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s;
}

/* Second Section - About Food Delivery */
.delivery-info {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 15px;
    max-width: 800px;
    margin: auto;
    backdrop-filter: blur(5px);
}

.delivery-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.delivery-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Footer */
footer {
    text-align: center;
    background-color: rgba(220, 20, 60, 0.9);
    padding: 12px;
    font-size: 0.95rem;
}

/* Animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 10px;
    }

    main img {
        width: 150px;
    }

    input {
        width: 100%;
    }
}                      