/* Reset and base styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background image section */
.bg-cover {
    background-image: url('../assets/Krishnas-Butter-Ball-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 79vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    z-index: 1;
}

/* Phone number */
.phone-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    z-index: 10;
}

/* Hero text */
.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text h1 {
    font-size: 2.25rem;
    font-weight: bold;
    line-height: 1.2;
    color: white;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.75rem;
    }
}

/* Navbar */
nav {
    padding: 1rem 0;
    background-color: white;
}

nav ul {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
    justify-content: space-evenly;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav li {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 20%; /* Makes items flexible and responsive */
    max-width: 120px; /* Limits width on larger screens */
}

.navbar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: black;
    font-size: 1.25rem;
    font-weight: bold;
    position: relative;
}

.navbar-link img {
    width: 50px;
}

.navbar-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: green;
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 100%;
}

/* Footer */
.footer {
    text-align: center;
    padding: 15px 0;
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
}

@media (max-width: 768px) {
    .footer {
        padding: 10px 0;
    }
}
