/* ===== Global Reset ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Body Styles ===== */
body {
    font-family: Arial, sans-serif;
    background-color: #d8e1b2;
    /* padding: 50px; */
    color: #333;
}

/* ===== Navbar ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

/* Logo Image Centered */
#logo {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: auto;
}

/* Horizontal Button Container */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Add Yours Link Styled as Button */
.add-yours-link {
    padding: 10px 20px;
    background-color: #d80a0a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(216, 10, 10, 0.5);
}

.add-yours-link:hover {
    background-color: #fa0000;
}

/* Login Button */
.login-button {
    padding: 10px 20px;
    background-color: #d80a0a;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 3px 6px rgba(216, 10, 10, 0.5);
}

.login-button:hover {
    background-color: #fa0000;
    transform: scale(1.05);
}

/* Sign Up Button */
.sign-up {
    padding: 10px 20px;
    background-color: #d80a0a;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 3px 6px rgba(216, 10, 10, 0.5);
}

.sign-up:hover {
    background-color: #fa0000;
    transform: scale(1.05);
}

/* Navbar Links List (if any) */
/* .navbar ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar ul li {
  margin-left: 50px;
} */

a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

/* ===== Heading ===== */
h1 {
    font-size: 36px;
    text-align: center;
    font-weight: 300;
    margin: 30px 0;
}

h1 span {
    font-weight: 600;
    color: #d10d06;
}

/* ===== Search Container ===== */
.search-container {
    position: relative;
    width: 800px;
    max-width: 90%;
    margin: auto;
    display: flex;
    border: 2px solid #d80a0a;
    border-radius: 30px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 4px 12px rgba(216, 10, 10, 0.2);
}

.location-box {
    flex: 1;
    border-right: 2px solid #d80a0a;
}

.location-box select {
    width: 100%;
    height: 100%;
    padding: 15px;
    border: none;
    font-size: 16px;
    outline: none;
    font-weight: bold;
    color: #000000;
    background-color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23d80a0a' viewBox='0 0 16 16'%3e%3cpath d='M1.5 5.5l6 6 6-6h-12z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    appearance: none;
}

.location-box select:focus {
    border: 2px solid #d80a0a;
}

.search-container input {
    flex: 2;
    padding: 15px 40px 15px 15px;
    font-size: 16px;
    border: none;
    outline: none;
    color: #333;
}

.search-container input::placeholder {
    color: #888;
}

/* Search icon styling */
.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    bottom: 10%;
    transform: translateY(-50%);
    color: #d80a0a;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: #a10707;
}

/* ===== Banner ===== */
.banner {
    width: 100%;
    height: 100%;
    margin-bottom: 50px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.left {
    left: 15px;
}

.right {
    right: 15px;
}

/* ===== Shop Cards ===== */
.shop-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 50px;
    margin-top: 30px;
}

.shop-card {
    width: 300px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.shop-card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(216, 10, 10, 0.2);
}

.shop-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.info {
    padding: 15px;
}

.badge {
    background: #ff4d4d;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.info h2 {
    margin: 0 0 10px;
    font-size: 18px;
}

.cuisine,
.price,
.location,
.rating {
    font-size: 14px;
    color: #555;
    margin: 4px 0;
}

.rating {
    color: #0e5020;
    font-weight: bold;
}

/* ===== Section Blocks ===== */
.section {
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.section h3 {
    margin-top: 0;
}

/* ===== Link List ===== */
.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-list a {
    display: inline-block;
    padding: 8px 12px;
    background: #e0e0e0;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
    transition: background 0.3s;
}

.link-list a:hover {
    background: #d32f2f;
    color: white;
}
.dash-logo {
    width: 250px;
}

.dash-profile {

    width: 45px;
    border-radius: 50%;
    /* margin-right: 10px; */
}
/* ===== Footer ===== */

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    /* .navbar {
    flex-direction: column;
    align-items: center;
  }

  .nav-buttons {
    flex-direction: rows;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .navbar ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .navbar ul li {
    margin: 0;
  } */

    .login-button,
    .sign-up,
    .add-yours-link {
        font-size: 14px;
        padding: 8px 12px;
    }

    .shop-list {
        flex-direction: column;
        align-items: center;
    }

    .footer {
        /* padding: 20px; */
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .banner {
        height: 120px;
    }

    #logo {
        width: 120px;
    }

    h1 {
        font-size: 24px;
    }
    .dash-logo{
        width: 150px;
    }
    .dash-profile {
        margin-top: 10px;
        width: 35px;
        height: 35px;
    }
}
/* Responsive search container on small screens */
@media (max-width: 600px) {
    .search-container {
        flex-direction: column;
        border-radius: 10px;
        width: 95%;
        position: relative;
    }

    .search-container input {
        padding-right: 40px;
        height: 50px;
    }

    .search-icon {
        top: 75%;
        right: 18px;
        transform: translateY(30%);
    }

    .location-box {
        border-right: none;
        border-bottom: 2px solid #d80a0a;
    }

    .shop-card {
        width: 90%;
    }
}
