/* -------------------------------------------------------------
   DESIGN SYSTEM & VARIABLES (IVORY/PAPER AESTHETIC)
------------------------------------------------------------- */
:root {
    --paper: #FAF6F0;
    --white: #FFFFFF;
    --ink: #2B2A28;
    --sage: #6E7D5E;
    --gold: #B8905A;
    --rose: #C17B72;
    --ink-light: rgba(43, 42, 40, 0.7);
    --ink-muted: rgba(43, 42, 40, 0.4);
    --ink-border: rgba(43, 42, 40, 0.1);
    --shadow-sm: 0 2px 8px rgba(43, 42, 40, 0.04);
    --shadow-md: 0 8px 24px rgba(43, 42, 40, 0.06);
    --shadow-lg: 0 16px 40px rgba(43, 42, 40, 0.1);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------
   BASE RESET & TYPOGRAPHY
------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: 'Public Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Flex Container for full screen centering */
.guest-body {
    display: flex;
    flex-direction: column;
    min-h: 100vh;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utility Classes */
.font-display {
    font-family: 'Fraunces', serif;
}

.font-body {
    font-family: 'Public Sans', sans-serif;
}

.font-mono {
    font-family: 'IBM Plex Mono', monospace;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.text-center { text-align: center; }
.text-muted { color: var(--ink-light); }
.text-sage { color: var(--sage); }
.text-gold { color: var(--gold); }
.text-xs { font-size: 0.75rem; }

/* -------------------------------------------------------------
   BUTTONS
------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-sage {
    background-color: var(--sage);
    color: var(--white);
}

.btn-sage:hover {
    background-color: #5d6b50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 125, 94, 0.25);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--ink-border);
    color: var(--ink);
}

.btn-outline:hover {
    background-color: rgba(43, 42, 40, 0.03);
    border-color: var(--ink);
    transform: translateY(-2px);
}

/* -------------------------------------------------------------
   NAVBAR
------------------------------------------------------------- */
.navbar {
    background-color: transparent;
    border-bottom: 1px solid var(--ink-border);
    padding: 20px 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background-color: var(--sage);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* -------------------------------------------------------------
   MAIN CONTAINER (GUEST CARD CENTERING)
------------------------------------------------------------- */
.guest-main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.guest-card-wrapper {
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guest-card {
    background-color: var(--white);
    border: 1px solid var(--ink-border);
    border-radius: 28px;
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
}

.guest-card-badge {
    display: inline-block;
    background-color: rgba(184, 144, 90, 0.1);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.guest-card h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.guest-card p {
    font-size: 0.95rem;
    color: var(--ink-light);
    margin-bottom: 36px;
}

/* -------------------------------------------------------------
   SEARCH FORM
------------------------------------------------------------- */
.find-store-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background-color: var(--paper);
    border: 1px solid var(--ink-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.search-input-wrapper:focus-within {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(110, 125, 94, 0.15);
}

.search-input-wrapper span {
    font-size: 0.85rem;
    color: var(--ink-muted);
    padding-left: 18px;
    user-select: none;
}

.search-input-wrapper input {
    border: none;
    background-color: transparent;
    padding: 16px 18px 16px 4px;
    font-size: 0.95rem;
    color: var(--ink);
    outline: none;
    width: 100%;
}

.guest-info-box {
    background-color: rgba(110, 125, 94, 0.05);
    border: 1px dashed rgba(110, 125, 94, 0.2);
    border-radius: 16px;
    padding: 16px 20px;
    text-align: center;
}

.guest-info-box p {
    font-size: 0.75rem;
    color: var(--ink-light);
    line-height: 1.5;
}

/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */
.guest-footer {
    border-top: 1px solid var(--ink-border);
    padding: 24px 0;
    background-color: transparent;
}

/* -------------------------------------------------------------
   ANIMATION
------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------------------------- */
@media (max-width: 576px) {
    .guest-card {
        padding: 30px 24px;
    }
    
    .guest-card h1 {
        font-size: 1.8rem;
    }
    
    .search-input-wrapper span {
        font-size: 0.75rem;
        padding-left: 12px;
    }
    
    .search-input-wrapper input {
        font-size: 0.85rem;
        padding: 12px 12px 12px 2px;
    }
}
