body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #24cbff;
}

/* ===== Header ===== */
header {
    background-color: #ffffff;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Use space-between for header */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
}

#logo {
    display: flex;
    align-items: center;
    margin-left: 20px;
    /* smaller and consistent spacing */
}

#logo img {
    height: 60px;
    /* keeps logo consistent with nav height */
    width: auto;
    max-width: 120px;
    transition: transform 0.3s ease;
}

#logo img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* ===== Navigation ===== */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

nav a {
    color: #24cbff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
}

nav a:hover {
    background-color: #24cbff;
    color: #ff0000;
}

nav .here {
    color: #ff0000;
    margin: 0 15px;
    font-weight: bold;
    font-size: 18px;
    padding: 8px 15px;
    border-radius: 8px;
    background-color: #24cbff;
}



.overlay {
    position: relative;
    width: 100%;
    height: 755px;
    overflow: hidden;
}

/* ===== Intro Section ===== */
#introimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    /*Dim effect*/
}

.intro-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    opacity: 0;
    animation: popUp 1s ease-out forwards;
    /* run animation once */
}

.intro-text h1 {
    font-size: 3rem;
    margin: 0;
}

.intro-text p {
    font-size: 1.2rem;
    margin-top: 10px;
}

.btn {
    background: #d35400;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #e67e22;
}

/* Best Seller */
.popular {
    position: relative;
    background: url("images/menu_bg.png") no-repeat center center/cover;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

/* Dim background */
.popular::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Ensure content is above dim layer */
.popular-overlay {
    position: relative;
    z-index: 2;
}

.popular h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
    /* white text */
}

.menu-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Keep same menu-card styling but brighter on dark background */
.menu-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 280px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.menu-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.menu-card h3 {
    color: #24cbff;
    font-size: 20px;
    margin-bottom: 8px;
}

.menu-card p {
    font-size: 14px;
    color: #333;
    min-height: 40px;
}

.menu-card strong {
    display: block;
    margin-top: 12px;
    font-size: 18px;
    color: #e74c3c;
}

/* ===== About Us Preview ===== */
.about-preview {
    position: relative;
    background: url("images/about_bg.png") no-repeat center center/cover;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

/* Dim background */
.about-preview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Ensure content is above dim layer */
.about-overlay {
    position: relative;
    z-index: 2;
}

.about-preview h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-preview p {
    max-width: 650px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}

.about-preview .btn {
    background: white;
    color: #24cbff;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 25px;
    transition: 0.3s;
    display: inline-block;
}

.about-preview .btn:hover {
    background: #fef5e7;
    color: #e74c3c;
}

/* ===== Why Choose Us ===== */
.features {
    position: relative;
    background: url("") no-repeat center center/cover;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

/* Ensure content is above dim layer */
.features-overlay {
    position: relative;
    z-index: 2;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.feature-item {
    color: #24cbff;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

/* ===== Contact Preview ===== */
.contact-preview {
    padding: 50px 20px;
    text-align: center;
}

/* ===== Footer ===== */
#footer {
    position: relative;
    background: url("images/mtb_place.png") no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

/* Dark overlay */
#footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* dim effect */
    z-index: 1;
}

/* Content stays above overlay */
.footer-overlay {
    position: relative;
    z-index: 2;
}

#footer h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

#footer p {
    margin: 5px 0;
    font-size: 16px;
}

#footer .btn {
    background: #24cbff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    transition: 0.3s ease;
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
}

#footer .btn:hover {
    background: #1da0cc;
}

/* style for all footer links */
#footer a {
  color: #ffcc00;         /* change link color */
  text-decoration: none;  /* remove underline */
  font-weight: bold;      /* make it bold */
  transition: 0.3s ease;
}

#footer a:hover {
  color: #fff;            /* color on hover */
  background: #ffcc00;    /* yellow background */
  padding: 4px 8px;
  border-radius: 5px;
}


@keyframes popUp {
    0% {
        transform: translate(-50%, -40%) scale(0.8);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* ===== Menu Page Styling ===== */
.menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px;
}

.menu-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.menu-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.menu-card h3 {
    font-size: 20px;
    color: #24cbff;
    margin: 10px 0 5px;
}

.menu-card p {
    font-size: 14px;
    color: #333;
    min-height: 50px;
}

.menu-card strong {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    color: #ff0000;
}

/* ===== ABOUT PAGE ===== */
.about-section {
    background: #f4f9ff;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 900px;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-container h2 {
    color: #24cbff;
    margin-top: 30px;
    margin-bottom: 10px;
}

.about-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.about-container ul {
    margin: 20px 0;
    padding-left: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-container ul li {
    margin-bottom: 10px;
}

/* Form Container */
.form-container {
    max-width: 500px;
    margin: 50px auto;
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    text-align: left;
}

/* Heading */
.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #24cbff;
}

/* Labels */
.menu-form label {
    display: block;
    font-weight: 600;
    margin: 12px 0 5px;
    color: #333;
}

/* Inputs */
.menu-form input[type="text"],
.menu-form input[type="file"],
.menu-form input[type="password"],
.menu-form input[type="number"],
.menu-form input[type="email"],
.menu-form textarea {
    width: 95%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.2s;
}

/* Focus effect */
.menu-form input:focus,
.menu-form textarea:focus {
    border-color: #24cbff;
    outline: none;
    box-shadow: 0 0 6px rgba(36, 203, 255, 0.5);
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    cursor: pointer;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background: #24cbff;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #1ba6d6;
}

/* Back Link */
.back-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: 0.3s;
}

.back-link:hover {
    color: #24cbff;
}

/* Success & Error Messages */
.success-msg {
    text-align: center;
    color: green;
    font-weight: 600;
    margin-bottom: 15px;
}

.error-msg {
    text-align: center;
    color: red;
    font-weight: 600;
    margin-bottom: 15px;
}


/* ===== Responsive (Mobile) ===== */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
    }

    #logo img {
        max-height: 60px;
    }

    nav {
        display: none;
        /* hidden by default */
        flex-direction: column;
        width: 100%;
        background: white;
        text-align: center;
    }

    nav a {
        padding: 12px;
        border-top: 1px solid #ddd;
        margin: 0;
        font-size: 16px;
    }

    .navBtn {
        display: block;
        /* show hamburger */
    }

    nav.active {
        display: flex;
    }

    .overlay {
        height: 250px;
    }

    .intro-text h1 {
        font-size: 1.8rem;
    }

    .intro-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .intro-text h1 {
        font-size: 1.5rem;
    }

    .intro-text p {
        font-size: 0.9rem;
    }

    nav a {
        font-size: 14px;
        padding: 10px;
    }
}