:root {
    --primary-color: #ff69b4; /* Hot pink */
    --secondary-color: #f0f0f0;
    --background-color: #fff;
    --text-color: #333;
    --border-color: #ddd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 1.5rem;
}

main {
    flex: 1;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hamburger-menu {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

.menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--primary-color);
    width: 150px;
    padding: 1rem;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
}

.menu.open {
    display: block;
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.search-input-group {
    display: flex;
    width: 100%;
}

.search-input-group input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

button {
    padding: 0.75rem 1rem;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

button:hover {
    background: #ff479c;
}

#searchBtn {
    border-radius: 0 5px 5px 0;
}

#map-container {
    width: 100%;
    height: 300px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#map {
    height: 100%;
    width: 100%;
}

#results-container {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.shop-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.shop-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.shop-card p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.shop-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.shop-card a:hover {
    text-decoration: underline;
}

/* Admin Styles */
.admin-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.admin-login input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.admin-dashboard {
    margin-top: 1rem;
}

.admin-dashboard h2 {
    margin-bottom: 1rem;
}

.admin-section {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.admin-section h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.admin-form-group {
    margin-bottom: 1rem;
}

.admin-form-group label {
    display: block;
    margin-bottom: 0.25rem;
}

.admin-form-group input, .admin-form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

#adminShopList {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-shop-card {
    background: #fafafa;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
}

.admin-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .search-container {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

    #searchInput {
        min-width: 300px;
    }
}
