/* ============================
   VARIABLES (Single Source of Truth)
============================ */
:root {
    /* Brand Colors */
    --brand-blue:    #0881B6;
    --brand-yellow:  #FFDE59;
    --brand-dark:    #211c19;
    --brand-muted:   #748D68;
    --brand-white:   #FFFFFF;
    
    /* Functional Colors */
    --color-error:   #ef4444; /* Tailwind Red-500 */
    --color-border:  #e5e7eb; /* Tailwind Gray-200 */
}

/* ============================
   BUTTONS
============================ */


.btn-primary {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: #066a96; /* Slightly darker blue manually set for nice hover */
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(8, 129, 182, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Disabled State (Vital for preventing double submits) */
.btn-primary:disabled, 
.btn-primary.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Outline button */
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--brand-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    border-color: var(--brand-dark);
    background: rgba(0,0,0,0.02);
}

/* Soft button (Yellow) */
.btn-soft {
    background: var(--brand-yellow);
    color: var(--brand-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    transition: opacity 0.2s;
}

.btn-soft:hover {
    opacity: 0.9;
}

/* Icon buttons (Circle) */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.5rem;
    transition: background 0.2s;
    color: var(--brand-muted);
}
.btn-icon:hover {
    background-color: #f3f4f6;
    color: var(--brand-dark);
}

/* ============================
   INPUTS
============================ */

.input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--color-border);
    background-color: var(--brand-white);
    color: var(--brand-dark);
    outline: none;
    transition: all 0.2s ease;
}

.input::placeholder {
    color: #9ca3af; /* Gray-400 */
}

.input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(8, 129, 182, 0.15); /* Soft Blue Ring */
}

/* Error State (Use this class when validation fails) */
.input.error {
    border-color: var(--color-error);
    background-color: #fef2f2;
}

.input.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* ============================
   LINKS & UTILS
============================ */

.link {
    color: var(--brand-blue);
    transition: color 0.2s ease;
    cursor: pointer;
}

.link:hover {
    color: #066a96;
    text-decoration: underline;
}

/* Text Selection Color (Brand Touch) */
::selection {
    background: var(--brand-yellow);
    color: var(--brand-dark);
}

.thhp-footer {
    position: relative;
    background: linear-gradient(to bottom, rgba(33, 28, 25, 0) 0%, rgba(33, 28, 25, 1) 50%);
    padding-top: 200px; /* Space for the image to peek through */
}

.footer-hero-image {
    position: absolute;
    top: -100px; /* Pulls the image up out of the footer */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* ============================
   STATUS BADGES
============================ */

.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
}

/* Booking statuses */
.badge-confirmed {
    background: rgba(16, 185, 129, 0.15);
    color: #065f46;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #92400e;
}

.badge-checked-in {
    background: rgba(8, 129, 182, 0.15);
    color: var(--brand-blue);
}

.badge-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #991b1b;
}

.badge-default {
    background: #f3f4f6;
    color: #374151;
}

/* ============================
   TEXT UTILITIES
============================ */

.text-error {
    color: var(--color-error);
}
