@font-face {
    font-family: 'Norwester', serif;
    src: url('fonts/norwester.woff2') format('woff2'),
         url('fonts/norwester.woff') format('woff'),
         url('fonts/norwester.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* section {
    background-image: url('/assets/fresh-vegetables-showcasing-colorful-ingredients-png.png');
    background-repeat: repeat;
    background-position: left;
    background-size: contain; 
} */

body, button, input, select, textarea, .btn, .nav-links a, .footer-col {
    font-family: 'Norwester', 'Inter', sans-serif !important;
} 

/* For better readability of long text */
.description, .about-intro, .feature-item p, .ingredients-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Striped line - Red/White (below header)
.header-stripe {
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        #c0392b 0px,
        #c0392b 20px,
        #ffffff 20px,
        #ffffff 40px
    );
}

/* Striped line - Green/White (below hero section) */
/* .hero-stripe {
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        #008b1e 0px,
        #008b1e 20px,
        #ffffff 20px,
        #ffffff 40px
    );
} */

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.nav-right .logout-link {
    margin-left: 15px;
}

/* Ensure username and admin link have proper spacing */
.nav-right .nav-username,
.nav-right .admin-link {
    margin-right: 5px;
}

.navright .admin-link:hover {

    color: black;
}

a {
    text-decoration: none;
    color: black;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Norwester';
    background-color: #161617; 
    color: #ffffff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: large;
    
} 

#success {
    color: rgb(0, 114, 47);
}

/* Main Navigation*/
.main-nav {
    font-family: 'Norwester', sans-serif;
    display: flex;
    align-items: center;
    padding: 20px 5%;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.main-nav {
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.main-nav img {
    padding: 2.05% 0% 0%; 
    width: auto; 
    height: 100px; 
}



.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

}

.nav-links li {
    margin-left: 10px;
    margin-right: 15px;
    text-align: center;
    justify-items: center;
}

.nav-links ul {
     list-style-type: none;
     display: flex;
    
}

.nav-links a {
    padding-left: 10px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
    white-space: nowrap;
}

/* .nav-links a::after {
    content: '';
    border-bottom: 2px solid white;
    width: 0%; 
    height: 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    
} */

.profile-link img {
    width: 15px;
    height: 15px;
}


.nav-links a:hover {    
    color:green;
    transition: 0.1s;
}

/* Navigation alignment fix */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-links {
    position: static;
    transform: none;
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.nav-right .login-reg-link,
.nav-right .admin-link,
.nav-right .logout-link,
.nav-right .nav-username {
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.nav-right .login-reg-link {
    color: #000;
}

.nav-right .admin-link {
    color: #008b1e;
}

.nav-right .logout-link {
    color: #c0392b;
}

.nav-right .nav-username {
    color: #555;
}



.nav-right .profile-icon {
    width: 30px;
    height: 30px;
}

/* Flash messages */
.flash-msg {
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    margin: 10px 5%;
    border-radius: 8px;
}

.flash-info {
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.flash-error {
    background-color: #ffebee;
    color: #c0392b;
    border: 1px solid #ffcdd2;
}

.flash-success {
    background-color: #e8f5e9;
    color: #008b1e;
    border: 1px solid #c8e6c9;
}

/* Search Bar styling */
.searchBar {
    display: flex;
    align-items: center; /* Vertically centers items */
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    max-width: 1200px;
    margin: 0 auto;
}


/* .search-area {
    
} */

#searchBox {
    font-family: 'Norwester', sans-serif;
    font-size: 16px;
    padding: 6px 15px;
    border: 1px solid #ccc;
    /* border-radius: 20px; Rounded look */
    width: 250px; 
    outline: none;
}

#log_regArea {
    margin-left: auto; /* This pushes the item to the right-most side */
    display: flex;
    align-items: center;
    gap: 10px; /* Space between text and icon */
}

#log_regArea img {
    width: 30px; /* Adjusted size for better fit */
    height: 30px;
    display: flex-end;
    /* padding-left: 200px; */
}
.searchBar input {
    font-family: 'Norwester', sans-serif; /* Keeps the clean look */
    font-size: 25px;
    border: 1px solid #ccc;
    width: 25px;
    height: auto;
    border-radius: 4px;
}

/* Hero Section */

/* .hero-section img {
    flex: 0 0 100%; 
    scroll-snap-align: start;

} */

/* Carousel */

/* .mySlides {
    display: none;
} */

/* .mySlides img {
    
} */

/* .slideShow {
    max-width: 100%;
    position: relative;
    margin: auto;
}


.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.active {
  background-color: #7c7c7c;
}

/* Fading animation */
/* .fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
} */

/* Body */
/* .mainBody {
    align-items: center;
    text-align: center;
    height: 1500px;
    width: 100%;
} */ 


.hero-section {
position: relative;
display: flex;
justify-content: center;
background-color:rgb(202, 202, 202);
background-repeat: no-repeat;
 background-position: center;
background-size: cover; 
background-blend-mode: multiply;
text-align:center;
height: auto;
width: 100%;
}



.hero-section img {
    height: auto;
    object-position: 0% 25%;
    object-fit: cover;
}

.hero-button-wrapper {
    position: absolute;
    top: 101%;             
    left: 50%;           
    transform: translate(-50%, -50%); 
    z-index: 10;          
}


.btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    background-color: green;
    color: white;
    cursor: pointer;
    border-radius: 50px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
    transition: transform 0.2s, background-color 0.2s;
}

.btn:hover {
    background-color: #006400; 
    transform: scale(1.05);    
}
/* Menu Section Styling */

.menu-card, .food-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover, .food-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.menu-section {
    padding: 100px 20%;
    background-color: #161617;
    text-align: center;
}

.menu-title {
    font-family: 'Inter', serif;
    font-size: 40px;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 10px;
    margin-bottom: 50px;
}

/* The Grid Container */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Card Styling */
.menu-card {
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2); /* Slight shadow for depth */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-card h3 {
    font-family: 'Inter', serif;
    color: #000000;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}

.image-container {
    width: 100%;
    height: 200px;
    border: 1px solid rgb(136, 136, 136, 35%); 
    overflow: hidden;
    background-color: #f0f0f0; 
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* About us Section */

.about_usSection {
    padding: 80px 10%;
    color: #ffffff;
    text-align: center;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
}
.about-header h1 {
    font-family: 'Norwester', sans-serif;
    font-size: 45px;
    text-decoration: underline;
    text-underline-offset: 12px;
    margin-bottom: 30px;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

/* Three Column Features */
.about-features {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
}

.feature-item {
    flex: 1;
}

.circle-img {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Makes the image a circle */
    border: 2px solid #fff;
    margin: 0 auto 20px auto;
    overflow: hidden;
    background-color: #333; /* Placeholder for blank images */
}

.circle-img img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    /* left: 20px; */
}

.feature-item h2 {
    font-family: 'Norwester', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-item p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Ingredients Section */
.ingredients-row {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 60px;
}

.ingredients-img {
    flex: 1;
    border: 1px solid #fff;
    height: 300px;
    background-color: #333;
}

.ingredients-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ingredients-text {
    flex: 1.5;
}

.ingredients-text h2 {
    font-family: 'Norwester', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
}

.ingredients-text p {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
}

/* login and Reg*/

.logForm button, .regForm button {
    margin-top: auto; 
    align-self: center; 
    padding: 5px 15px;
    background: #f0f0f0;
    border: 1px solid #767676;
    cursor: pointer;
    border-radius: 5px;
}

.logReg_container {
  display: flex;
  gap: 40px; /* Space between the two forms */
  justify-content: center;
  margin-top: 8%;
  margin-bottom: 8%;
}

/* Form Card Styling */
.logForm, .regForm {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.1); /* Subtle offset shadow */
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logForm h1, .regForm h1 {
    color: black;
}


/* Inputs */
input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 20px; /* Rounded pill shape from image */
  box-sizing: border-box;
  outline: none;
  font-size: 14px;
}

/* Menu */
.menu-container {
    padding: 50px 5%;
    font-family: 'Montserrat', sans-serif; 
    background-color: #000000;
    border: 1px solid white;
}

.searchBar input{
    width: 100%;
}


.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.menu-container h2 {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    color: black;
    display: flex;
}

.category-title {
    font-size: 1.2rem;
    margin: 20px 0;
    color: #000000;
    letter-spacing: 1px;
}

/* Grid Layout for Food Items */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Food Card Styling [cite: 414, 416] */
.food-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    text-align: center;
}

.food-card h4 {
    color: black;
}

.food-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.food-image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #e0e0e0;
    border-bottom: 1px solid #eee;
}

.food-info {
    padding: 20px;
}

.food-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.description {
    font-size: 0.85rem;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.4;
}

.price {
    font-weight: 700;
    font-size: 1rem;
    color: #000;
    margin-bottom: 15px;
}

/* Button [cite: 411, 419] */
.add-to-cart, .orderFood {
    width: 100%;
    padding: 10px;
    background-color: #008b1e;
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.add-to-cart:hover, .orderFood:hover {
    background-color: #333;
}



/* Footer Main Container */

/* footer .svg-iconFooter {
    border: 1px solid black;
    border-radius: 50%;
} */
.site-footer {
    background-color: #ffffff;
    color: #000000;
    padding: 60px 5% 20px 5%;
    font-family: 'Inter', sans-serif; /* Standard text font */
    border-top: 1px solid #ddd;
    flex: 0 0 auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

/* Typography */
.footer-col h2 {
    font-family: 'Norwester', sans-serif; /* Branding font */
    font-size: 24px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.since-text {
    font-weight: bold;
    margin-bottom: 15px;
}

/* Lists and Links */
.footer-links, .footer-nav {
    list-style: none;
    padding: 0;
}

.footer-links li::before {
    content: "•";
    padding-right: 8px;
}

.footer-links li, .footer-nav li {
    margin-bottom: 8px;
}

.footer-links a, .footer-nav a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
}

.footer-container ul li a {
    text-decoration: none;
}

.footer-container a:hover {
    color: green;
    transition: 0.2s;
}

.footer-nav a {
    text-decoration: underline; 
}

/* Icons and Contact Info */
.contact-item {
    display: flex;
    align-items: space-between;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.contact-item img {
    /* border: 0.25px solid black;
    border-radius: 50%; */
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Bottom elements */
.reg-text {
    font-size: 12px;
    margin-top: 25px;
}

.reg-text a {
    color: #000;
    font-weight: bold;
}

.footer-bottom {
    margin-top: 50px;
    font-size: 12px;
    color: #888;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Others */

/* Auth Messages - Login/Register */
/* .auth-msg {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    display: none;
    box-sizing: border-box;
}

.auth-msg.error,
.auth-msg.error-message {
    display: block;
    background-color: #ffebee !important;
    color: #c0392b !important;
    border: 1px solid #ffcdd2 !important;
} */

/* .auth-msg.success,
.auth-msg.success-message {
    
}

/* Make sure messages are visible */
/* #loginMsg, #regMsg {
    min-height: 45px; */
/* } */ 

/* Additional styling for form validation */
/* .error-text {
    color: #c0392b;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px;
}

.success-text {
    color: #008b1e;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px; 
}
    */

        
        button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        .loading {
            position: relative;
            pointer-events: none;
        }
        .contact-field {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 20px;
            box-sizing: border-box;
            outline: none;
            font-size: 14px;
        }

        /* Product Card Image Styles */
.product-card {
    background: #1c1d1f;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #2a2a2e;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.05);
}

.product-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Norwester', sans-serif;
}

.product-card .price {
    color: #008b1e;
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
}

.product-card .stock {
    margin: 10px 0;
    color: #aaa;
    font-size: 13px;
}

.product-card .actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Image Preview Styles */
#addImagePreview img, #editImagePreview img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    border: 2px solid #008b1e;
    object-fit: cover;
}


        /*  */

        .nav-username:hover {
            cursor: pointer;
            color:#006400;
            transition: 0.1s;
        }