/* Import Shoelace Theme */
@import url('https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.3.0/dist/themes/light.css');

/* ======= COLOR VARIABLES ======= */
:root {
    --bg-light: var(--sl-color-neutral-0);
    --bg-medium: #f5f5f5;
    --bg-tab-select: #f8f8fa;
    

    --text-primary: var(--sl-color-neutral-1000);
    --text-secondary: #3A414C;

    --border: #eff0f3;
    --border-shade-20: #c6c6c8;

    --accent-primary: #18a873;
    --accent-primary-tint-10: #2fb181;
    --accent-primary-shade-10: #169768;
    --accent-primary-tint-60: #a3dcc7;
    --accent-primary-tint-90: #e8f6f1;

    --accent-success: var(--sl-color-success-500);
    --accent-warning: var(--sl-color-warning-500);
    --accent-danger: var(--sl-color-danger-500);
}

/* ======= GLOBAL STYLES ======= */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    min-height: 100vh;
    overflow: hidden;
    height: 100%;
}

a.internal-tab-link {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

a.internal-tab-link:hover {
    text-decoration: underline;
    color: var(--accent-primary);
}

/* ======= HEADER & NAVIGATION ======= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--bg-light);
    border-bottom: 1px solid #ccc;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-container h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.logo {
    height: 40px;  /* Shrink logo image height */
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    position: relative;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-primary);
}

#sign-up-btn {
    min-width: 100px;
}

/* ======= LANDING PAGE ======= */
.landing-header {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 10px 10%;
    position: relative;
    text-align: left;
    max-width: 1200px;
    margin: auto;
    min-height: 70vh;
}

.landing-text {
    position: relative;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 90px;
    padding-bottom: 80px;
}

.landing-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: black;
    margin-bottom: 2rem;
}

.landing-text p {
    font-size: 1.2rem;
    color: #333;
    margin-top: 10px;
    max-width: 500px;
}

.landing-search {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 710px;
    max-width: 1000px;
    position: absolute;
    bottom: -50px;
    left: 0;
    background: white;
    padding: 15px 20px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.landing-search sl-input {
    flex-grow: 1;
    max-width: 575px;
    min-width: 400px;
}

.landing-search sl-button {
    min-width: 125px;
}

.landing-image {
    position: relative;
    width: 55%;
    max-width: 600px;
    height: auto;
    flex-grow: 1;
    display: flex;
    align-items: stretch;
}

.landing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 20%, 100% 100%, 0% 100%, 0% 20%);
    border-radius: 0px;
    object-position: -285px center;
}

#clear-address {
    color: var(--sl-color-neutral-600);
    font-size: 1rem;
}

#clear-address:hover {
    color: var(--sl-color-neutral-900);
}

sl-button.primary::part(base) {
    background-color: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

sl-button.primary::part(base):hover {
    background-color: var(--accent-primary-tint-10);
    color: white;
    border-color: var(--accent-primary-tint-10);
}

sl-button.primary::part(base):active {
    background-color: var(--accent-primary-shade-10);
    color: white;
    border-color: var(--accent-primary-shade-10);
}