/* Premium Yellow Directory Stylesheet - Motel Directory */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --yd-yellow: #fdc600;
    --yd-yellow-dark: #e5b400;
    --yd-dark: #111111;
    --yd-dark-subtle: #1a1a1a;
    --yd-bg: #f8f9fa;
    --yd-card-bg: #ffffff;
    --yd-border: #e2e8f0;
    --yd-text: #333333;
    --yd-text-muted: #666666;
    --yd-radius: 10px;
}

body {
    background-color: var(--yd-bg) !important;
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    color: var(--yd-text) !important;
    line-height: 1.6 !important;
}

/* ── Header Overrides ── */
#header {
    border-top: 4px solid var(--yd-yellow) !important;
    background-color: var(--yd-dark) !important;
}

.header-search-bar.map {
    border-top: 4px solid var(--yd-yellow) !important;
    background-color: var(--yd-dark) !important;
    padding: 15px 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.header-search-bar img {
    max-height: 48px;
    transition: transform 0.3s ease;
}

.header-search-bar img:hover {
    transform: scale(1.02);
}

/* ── Inputs and Forms ── */
.form-control, .CitySearchtxt, .txtSearch {
    height: 46px !important;
    border-radius: var(--yd-radius) !important;
    border: 1px solid var(--yd-border) !important;
    font-size: 15px !important;
    color: var(--yd-text) !important;
    background-color: #ffffff !important;
    padding: 10px 16px !important;
    box-shadow: none !important;
    transition: all 0.25s ease-in-out;
}

.form-control:focus, .CitySearchtxt:focus, .txtSearch:focus {
    border-color: var(--yd-yellow) !important;
    box-shadow: 0 0 0 3px rgba(253, 198, 0, 0.25) !important;
    outline: none !important;
}

/* ── Buttons ── */
.search-btn, .newsearch {
    background: var(--yd-yellow) !important;
    color: var(--yd-dark) !important;
    border: none !important;
    border-radius: var(--yd-radius) !important;
    font-weight: 700 !important;
    height: 46px !important;
    font-size: 15px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 22px !important;
    margin-top: 0 !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 10px rgba(253, 198, 0, 0.3) !important;
    cursor: pointer;
}

.search-btn:hover, .newsearch:hover {
    background: var(--yd-yellow-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(253, 198, 0, 0.4) !important;
}

/* ── Home Page Hero Section ── */
.banneritem {
    position: relative;
    max-height: 600px !important;
    overflow: hidden !important;
}

.banneritem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.search-value {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 5 !important;
    width: 90% !important;
    max-width: 650px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    padding: 35px 30px !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
    border-top: 5px solid var(--yd-yellow) !important;
}

.search-value h1 {
    margin: 0 !important;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-value .CitySearchtxt {
    flex: 1;
    min-width: 250px;
}

/* Top Right Navigation Buttons */
.top-right-buttons {
    position: absolute;
    right: 5%;
    top: 25px;
    z-index: 999;
}

.top-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 700;
    color: #111111;
    background: var(--yd-yellow);
    border: 2px solid var(--yd-yellow);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.top-btn:hover {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.signin-btn {
    background: #ffffff;
    border-color: #ffffff;
}

/* ── Listings & Cards ── */
#page-content {
    background-color: var(--yd-bg) !important;
    padding-top: 30px !important;
}

.single-product {
    background: var(--yd-card-bg) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid var(--yd-border) !important;
    margin-bottom: 24px !important;
    padding: 24px !important;
    transition: all 0.3s ease;
}

.single-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--yd-yellow) !important;
}

.single-product h4 a {
    color: var(--yd-dark) !important;
    font-weight: 700 !important;
    font-size: 19px !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.single-product h4 a:hover {
    color: var(--yd-yellow-dark) !important;
}

.addresstxt {
    color: var(--yd-text-muted) !important;
    font-size: 14px !important;
}

/* ── Sidebar Design ── */
.page-sidebar {
    background: var(--yd-card-bg) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid var(--yd-border) !important;
    padding: 24px !important;
    margin-bottom: 25px;
}

.page-sidebar label {
    font-weight: 700 !important;
    color: var(--yd-dark) !important;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

/* ── Footer ── */
#footer {
    background-color: var(--yd-dark) !important;
    color: #888888 !important;
    border-top: 4px solid var(--yd-yellow) !important;
}

#footer a {
    color: #bbbbbb !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

#footer a:hover {
    color: var(--yd-yellow) !important;
}

#footer .copyright {
    padding: 30px 0 !important;
}
