/* ── Variables ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Saira:wght@400;500;600;700;800&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
    --primary:      #f9395f;
    --primary-dark: #d41e42;
    --primary-light:#fff0f3;
    --green:        #32c36c;
    --teal:         #029e7c;
    --dark:         #1f2230;
    --text:         #696969;
    --bg-page:      #f5f5f5;
    --bg-card:      #ffffff;
    --border:       #eeeeee;
    --shadow-sm:    0 2px 12px rgba(31,34,48,.08);
    --shadow-md:    0 6px 28px rgba(31,34,48,.14);
    --radius:       10px;
    --radius-sm:    6px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Quicksand', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg-page);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: 'Saira', sans-serif; color: var(--dark); line-height: 1.25; }

/* ── Container ─────────────────────────────────────────── */
.container { max-width: 1140px; width: 100%; margin: 0 auto; padding: 0 1.25rem; }

/* ── Top Bar ───────────────────────────────────────────── */
.topbar {
    background: var(--dark);
    color: rgba(255,255,255,.65);
    font-size: .77rem;
    padding: .4rem 0;
}
.topbar .container { display: flex; justify-content: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.65); transition: color .15s; }
.topbar a:hover { color: #fff; }

/* ── Site Header ───────────────────────────────────────── */
.site-header {
    background: #fff;
    box-shadow: 0 2px 16px rgba(31,34,48,.1);
    position: sticky;
    top: 0;
    z-index: 200;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    gap: 1.5rem;
    position: relative;
}

/* Logo */
.logo { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.logo-icon {
    width: 46px; height: 46px;
    background: var(--primary);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; line-height: 1; flex-shrink: 0;
}
.logo-img { height: 100px; width: auto;  object-fit: contain; border-radius: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name    { color: var(--dark); font-weight: 700; font-size: 1.05rem; line-height: 1.2; font-family: 'Saira', sans-serif; }
.logo-tagline { color: var(--text); font-size: .68rem; letter-spacing: .3px; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: .1rem; }
.main-nav a {
    color: var(--dark);
    padding: .45rem .9rem;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color .15s, background .15s;
    font-family: 'Saira', sans-serif;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}
.nav-toggle {
    display: none;
    background: var(--primary);
    border: none;
    color: #fff;
    font-size: 1.25rem;
    padding: .32rem .65rem;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
}

/* ── Countdown Banner ──────────────────────────────────── */
.countdown-banner {
    background: var(--dark);
    color: #fff;
    padding: .55rem 0;
}
.countdown-banner .container {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: .65rem;
}
.countdown-label { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.85); }
.countdown { display: flex; align-items: center; gap: .35rem; }
.cdown-unit {
    display: flex; flex-direction: column; align-items: center;
    background: var(--primary);
    border-radius: 5px;
    padding: .18rem .55rem; min-width: 44px;
}
.cdown-unit span  { font-size: 1.1rem; font-weight: 800; line-height: 1.1; font-family: 'Saira', sans-serif; }
.cdown-unit small { font-size: .55rem; text-transform: uppercase; letter-spacing: .5px; opacity: .85; }
.cdown-sep        { font-size: 1.1rem; font-weight: 700; opacity: .5; }

/* ── Page Hero ─────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #6b0a1f 0%, #a81535 50%, #f9395f 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 70% 40%, rgba(255,255,255,.12) 0%, transparent 65%);
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
}
.page-hero h1 { font-size: 2.1rem; font-weight: 800; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.page-hero p  { opacity: .88; margin-top: .5rem; font-size: 1rem; }
.page-hero .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff; font-size: .72rem; font-weight: 700;
    padding: .25rem .85rem; border-radius: 20px;
    margin-bottom: .85rem; letter-spacing: .5px; text-transform: uppercase;
}

/* ── Stats Section ─────────────────────────────────────── */
.stats-section {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.stat-box {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid var(--border);
    position: relative;
    transition: background .2s;
}
.stat-box:last-child { border-right: none; }
.stat-box:hover { background: var(--primary-light); }
.stat-box .stat-icon {
    width: 54px; height: 54px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto .85rem;
    transition: background .2s;
}
.stat-box:hover .stat-icon { background: var(--primary); }
.stat-box .stat-num {
    font-family: 'Saira', sans-serif;
    font-size: 2rem; font-weight: 800;
    color: var(--dark); line-height: 1;
    margin-bottom: .3rem;
}
.stat-box .stat-num span { color: var(--primary); }
.stat-box .stat-label {
    font-size: .82rem; font-weight: 600;
    color: var(--text); text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── Main Content ──────────────────────────────────────── */
.main-content { flex: 1; padding: 2.5rem 0; }

/* ── Alerts ────────────────────────────────────────────── */
.alert { padding: .85rem 1.1rem; border-radius: 8px; margin-bottom: 1.25rem; font-size: .9rem; font-weight: 500; }
.alert-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--primary); }
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid var(--green); }
.alert-info    { background: #e0f2fe; color: #0c4a6e; border-left: 4px solid #0284c7; }

/* ── Section Heading ───────────────────────────────────── */
.section-title {
    font-size: 1.5rem; font-weight: 800; color: var(--dark);
    margin-bottom: 1.5rem; padding-bottom: .6rem;
    border-bottom: 2px solid var(--border);
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute; bottom: -2px; left: 0;
    width: 56px; height: 2px;
    background: var(--primary);
}

/* ── Items Grid (Home) ─────────────────────────────────── */
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.25rem; }
.item-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.35rem 1.4rem 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    border: 1px solid #e8e8e8;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.item-card .btn { margin-top: auto; }
.item-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.item-card h3 { color: var(--dark); font-size: 1.05rem; font-weight: 700; }
.price-label  { font-size: .72rem; text-transform: uppercase; letter-spacing: .7px; color: var(--text); margin-top: .3rem; }
.price-value  { font-size: 1.45rem; font-weight: 800; color: var(--primary); font-family: 'Saira', sans-serif; }

/* ── Item Card — price rows ─────────────────────────────── */
.item-num   { font-size: .68rem; color: #c0c0c0; font-weight: 700; letter-spacing: .6px; margin-bottom: .1rem; }
.item-title { color: var(--dark); font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; line-height: 1.4; }

.item-prices { display: flex; flex-direction: column; gap: .55rem; margin: .4rem 0 1rem; }

.ip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem .85rem;
    border-radius: 10px;
}
.ip-seed { background: #f5f5f5; }
.ip-high  { background: #e9f7ef; box-shadow: 0 2px 8px rgba(27,94,58,.10); }

.ip-labels { display: flex; flex-direction: column; gap: .05rem; }
.ip-guj    { font-size: .78rem; font-weight: 700; line-height: 1.2; }
.ip-eng    { font-size: .65rem; font-weight: 400; }
.ip-seed .ip-guj { color: #777; }
.ip-seed .ip-eng { color: #aaa; }
.ip-high .ip-guj { color: #1b5e3a; }
.ip-high .ip-eng { color: #52936f; }

.ip-amount {
    font-family: 'Saira', sans-serif;
    font-weight: 800;
    line-height: 1;
    text-align: right;
}
.ip-seed-amt { font-size: 1.05rem; color: #555; }
.ip-high-amt {
    font-size: 1.45rem;
    color: #1b5e3a;
    background: #c8edda;
    padding: .22rem .6rem;
    border-radius: 6px;
    letter-spacing: -.3px;
}
.ip-nobid { font-size: .78rem; color: #e8213a; font-weight: 700; font-family: inherit; animation: nobid-blink 1.2s ease-in-out infinite; }
@keyframes nobid-blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ── Bid Tabs ──────────────────────────────────────────── */
.bid-tabs {
    display: flex;
    gap: .6rem;
    margin: 1rem 0 1.5rem;
    flex-wrap: wrap;
}
.bid-tab {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: .9rem;
    border: 2px solid var(--border);
    background: #fff;
    color: var(--text);
    text-decoration: none;
    transition: all .2s;
}
.bid-tab:hover { border-color: var(--primary); color: var(--primary); }
.bid-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.bid-tab-fc { border-color: #d97706; color: #b45309; }
.bid-tab-fc:hover { background: #fef3c7; border-color: #d97706; color: #92400e; }
.bid-tab-fc.active { background: linear-gradient(135deg,#d97706,#f59e0b); color: #fff; border-color: #d97706; }
.bid-tab-count {
    background: rgba(0,0,0,.1);
    padding: .1rem .45rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 800;
}
.bid-tab.active .bid-tab-count,
.bid-tab-fc.active .bid-tab-count,
.bid-tab-info.active .bid-tab-count { background: rgba(255,255,255,.25); }
.bid-tab-info { border-color: #6366f1; color: #4338ca; }
.bid-tab-info:hover { background: #eef2ff; border-color: #6366f1; color: #3730a3; }
.bid-tab-info.active { background: linear-gradient(135deg,#4f46e5,#6366f1); color: #fff; border-color: #4f46e5; }

/* ── Info Tab ──────────────────────────────────────────────── */
.info-tab-wrap { margin-top: .5rem; }
.info-section-title {
    display: flex; align-items: flex-start; gap: .75rem;
    background: #f8f9ff; border: 1.5px solid #c7d2fe;
    border-radius: 10px; padding: .85rem 1.1rem;
    margin-bottom: .85rem; font-size: .9rem; color: #3730a3;
}
.info-section-title span { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.info-section-title strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.info-section-title > div span { font-size: .82rem; color: #555; font-weight: 400; }
.info-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid #e0e7ff; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.info-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.info-table thead tr { background: linear-gradient(135deg,#4f46e5,#6366f1); color: #fff; }
.info-table thead th { padding: .7rem .9rem; text-align: left; font-weight: 700; font-size: .82rem; }
.info-table thead th:last-child { text-align: right; }
.info-table tbody tr { border-bottom: 1px solid #e8eaf6; transition: background .15s; }
.info-table tbody tr:last-child { border-bottom: none; }
.info-table tbody tr:hover { background: #f0f4ff; }
.info-table tbody td { padding: .65rem .9rem; color: var(--dark); vertical-align: top; line-height: 1.5; }
.info-table tbody td:first-child { font-weight: 700; color: #6366f1; width: 42px; text-align: center; }
.info-amt { text-align: right !important; font-family: 'Saira', sans-serif; font-weight: 700; color: #1b5e3a; white-space: nowrap; }

/* ── First-come Notice ─────────────────────────────────── */
.fc-notice {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    background: #fffbeb;
    border: 1.5px solid #f59e0b;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: .88rem;
    color: #78350f;
    line-height: 1.6;
}
.fc-notice span { font-size: 1.5rem; flex-shrink: 0; }

/* ── First-come Card Variants ──────────────────────────── */
.fc-card { border-color: #fde68a; }
.fc-card:hover { border-color: #f59e0b; }
.fc-claimed { opacity: .65; filter: grayscale(.4); }
.fc-badge-claimed { background:#d1fae5; color:#065f46; font-size:.6rem; font-weight:700; padding:.1rem .45rem; border-radius:20px; margin-left:.4rem; }
.fc-badge-open    { background:#fef3c7; color:#92400e; font-size:.6rem; font-weight:700; padding:.1rem .45rem; border-radius:20px; margin-left:.4rem; }
.ip-claimed { background: #f0fdf4; }
.ip-open    { background: #fffbeb; }
.fc-status-claimed { color:#065f46; font-size:.95rem; font-weight:800; }
.fc-status-open    { color:#b45309; font-size:.95rem; font-weight:800; }
.btn-fc { background: linear-gradient(135deg,#d97706,#f59e0b); color:#fff; border:none; }
.btn-fc:hover { background: linear-gradient(135deg,#b45309,#d97706); color:#fff; }
.btn-claimed { background:#e5e7eb; color:#9ca3af; cursor:not-allowed; border:none; }
.fc-winner { display:flex; align-items:center; gap:.7rem; background:linear-gradient(135deg,#fef3c7,#fde68a); border:1px solid #f59e0b; border-radius:10px; padding:.6rem .9rem; margin-bottom:.75rem; }
.fc-winner-icon { font-size:1.4rem; flex-shrink:0; }
.fc-winner div { display:flex; flex-direction:column; gap:.1rem; }
.fc-winner-label { font-size:.65rem; font-weight:600; color:#92400e; text-transform:uppercase; letter-spacing:.8px; }
.fc-winner-name { font-size:.95rem; font-weight:700; color:#78350f; }
.fc-winner-shakhe { display:block; font-size:.72rem; font-weight:600; color:#92400e; opacity:.75; margin-top:.3rem; padding-top:.3rem; border-top:1px dashed rgba(146,64,14,.25); }

/* ── First-come Fixed Amount (bid form) ────────────────── */
.fc-fixed-amount .fc-amount-display {
    font-family: 'Saira', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #b45309;
    background: #fffbeb;
    border: 2px solid #f59e0b;
    border-radius: 10px;
    padding: .6rem 1rem;
    display: inline-block;
    margin: .3rem 0;
}
.hero-badge-fc {
    display: inline-block;
    background: rgba(245,158,11,.25);
    border: 1px solid rgba(245,158,11,.5);
    color: #fde68a;
    font-size: .75rem; font-weight: 700;
    padding: .25rem .85rem; border-radius: 20px;
    margin-bottom: .85rem; letter-spacing: .5px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: .6rem 1.3rem;
    border-radius: var(--radius-sm);
    font-size: .9rem; font-weight: 700;
    border: 2px solid var(--primary);
    cursor: pointer; text-align: center;
    transition: background .15s, color .15s, transform .1s;
    margin-top: auto;
    font-family: 'Saira', sans-serif;
    letter-spacing: .3px;
}
.btn:hover    { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn:active   { transform: scale(.97); }
.btn-full     { width: 100%; padding: .75rem; font-size: 1rem; margin-top: 0; }
.btn-sm       { padding: .32rem .7rem; font-size: .78rem; margin-top: 0; }
.btn-danger   { background: #dc2626; border-color: #dc2626; }
.btn-danger:hover   { background: #b91c1c; border-color: #b91c1c; }
.btn-warning  { background: #d97706; border-color: #d97706; }
.btn-warning:hover  { background: #b45309; border-color: #b45309; }
.btn-outline  { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover  { background: var(--primary); color: #fff; }
.btn-secondary { background: #6b7280; border-color: #6b7280; }
.btn-secondary:hover { background: #4b5563; border-color: #4b5563; }
.btn-dark { background: var(--dark); border-color: var(--dark); }
.btn-dark:hover { background: #2d3148; border-color: #2d3148; }

/* ── Forms ─────────────────────────────────────────────── */
.form-wrap {
    max-width: 500px; margin: 0 auto;
    background: var(--bg-card); border-radius: var(--radius);
    padding: 2rem; box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.form-wrap h2 { color: var(--dark); margin-bottom: 1.25rem; font-size: 1.2rem; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; color: var(--dark); margin-bottom: .35rem; font-weight: 600; }
.field label .req { color: var(--primary); margin-left: 2px; }
.field input,
.field textarea,
.field select {
    width: 100%; padding: .65rem .9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .95rem; background: #fafafa;
    transition: border-color .15s, box-shadow .15s;
    color: var(--dark);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249,57,95,.1); background: #fff;
}
.field small { display: block; font-size: .78rem; color: var(--text); margin-top: .3rem; }

/* Bilingual field labels */
.guj-label { font-size: .92rem; color: var(--dark); font-weight: 700; }
.guj-label::after { content: ' / '; color: #ccc; font-weight: 400; }
.eng-label { font-size: .8rem; color: var(--text); font-weight: 500; }

/* Captcha */
.captcha-wrap { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .3rem; }
.captcha-q {
    display: flex; align-items: center; gap: .5rem;
    background: var(--dark);
    color: #fff; padding: .55rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 1.2rem; font-weight: 800; letter-spacing: 1px;
    user-select: none; min-width: 110px; justify-content: center;
}
.captcha-eq { font-size: 1rem; opacity: .75; }

/* Auth page centering */
body.auth-page { justify-content: center; align-items: center; }
body.auth-page .main-content { display: flex; align-items: center; justify-content: center; }

/* ── Village History Page ──────────────────────────────── */
.prose {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 2rem; box-shadow: var(--shadow-sm);
    line-height: 1.85; font-size: .97rem; color: var(--text);
    max-width: 820px; margin: 0 auto;
    border: 1px solid var(--border);
}
.prose h2 { color: var(--dark); margin: 1.2rem 0 .6rem; }
.prose p  { margin-bottom: 1rem; }

/* ── Events ────────────────────────────────────────────── */
.events-list { display: flex; flex-direction: column; gap: 1.25rem; max-width: 820px; margin: 0 auto; }
.event-card {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 1.5rem; box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    display: flex; gap: 1.25rem; align-items: flex-start;
    border: 1px solid var(--border); border-left: 4px solid var(--primary);
}
.event-date {
    background: var(--primary); color: #fff;
    border-radius: 8px; padding: .5rem .75rem;
    text-align: center; min-width: 58px; flex-shrink: 0;
}
.event-date .day   { font-size: 1.5rem; font-weight: 800; line-height: 1; font-family: 'Saira', sans-serif; }
.event-date .month { font-size: .68rem; text-transform: uppercase; letter-spacing: .5px; }
.event-body h3 { color: var(--dark); font-size: 1.05rem; margin-bottom: .35rem; }
.event-body p  { font-size: .9rem; color: var(--text); }

/* ── Gallery ───────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery-item { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); position: relative; background: #e5e7eb; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    color: #fff; padding: .75rem .75rem .5rem; font-size: .8rem;
    transform: translateY(100%); transition: transform .25s;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ── Contact Page ──────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.contact-card { background: var(--bg-card); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.contact-card h2 { color: var(--dark); margin-bottom: 1.25rem; font-size: 1.2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.contact-info-item .icon {
    width: 38px; height: 38px; background: var(--primary-light);
    border-radius: 8px; display: flex; align-items: center;
    justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-item strong { color: var(--dark); font-size: .82rem; display: block; }
.contact-info-item p { font-size: .9rem; color: var(--text); line-height: 1.5; }
.map-wrap { border-radius: var(--radius); overflow: hidden; height: 280px; background: #e5e7eb; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── Professional Footer ───────────────────────────────── */
.site-footer {
    background: linear-gradient(160deg, #111827 0%, #1f2937 60%, #111827 100%);
    color: rgba(255,255,255,.6);
    padding: 3rem 0 0;
    border-top: 4px solid #f9395f;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer-brand .logo-name    { font-size: 1.2rem; color: #fff; }
.footer-brand .logo-tagline { font-size: .75rem; color: rgba(255,255,255,.7); }
.footer-brand p { font-size: .85rem; margin-top: 1rem; line-height: 1.85; color: rgba(255,255,255,.75); }
.footer-col h4 {
    color: #f9395f; font-size: .95rem; font-weight: 700;
    margin-bottom: .85rem; padding-bottom: .45rem;
    border-bottom: 1px solid rgba(249,57,95,.3);
    font-family: 'Saira', sans-serif;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { font-size: .86rem; color: rgba(255,255,255,.78); transition: color .15s, padding-left .15s; }
.footer-col ul li a:hover { color: #f9395f; padding-left: 3px; }
.footer-col address { font-style: normal; font-size: .86rem; line-height: 1.9; color: rgba(255,255,255,.78); }
.footer-legal {
    padding: .75rem 0;
    border-top: 1px solid rgba(255,255,255,.09);
    display: flex; align-items: center; justify-content: center;
    gap: 1rem; flex-wrap: wrap;
    font-size: .8rem;
}
.footer-legal a { color: rgba(255,255,255,.65); transition: color .15s; }
.footer-legal a:hover { color: #f9395f; text-decoration: underline; }
.footer-bottom {
    padding: 1.15rem 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: .78rem; color: rgba(255,255,255,.6); flex-wrap: wrap; gap: .5rem;
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: #f9395f; }

/* ── Admin Layout ──────────────────────────────────────── */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 245px; background: var(--dark);
    flex-shrink: 0; display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar-brand {
    padding: 1.15rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.08);
    color: #fff;
}
.sidebar-brand .s-name    { font-size: .9rem; font-weight: 700; font-family: 'Saira', sans-serif; }
.sidebar-brand .s-sub     { font-size: .7rem; opacity: .45; margin-top: .15rem; }
.sidebar-nav { flex: 1; padding: .75rem 0; }
.sidebar-nav a {
    display: flex; align-items: center; gap: .6rem;
    padding: .62rem 1.25rem;
    color: rgba(255,255,255,.6); font-size: .855rem;
    transition: background .15s, color .15s;
    border-left: 3px solid transparent;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(255,255,255,.06); color: #fff; border-left-color: var(--primary);
}
.nav-section-label {
    font-size: .65rem; text-transform: uppercase; letter-spacing: .9px;
    color: rgba(255,255,255,.28); padding: .8rem 1.25rem .2rem; font-weight: 600;
}
.nav-divider { border-top: 1px solid rgba(255,255,255,.07); margin: .45rem 0; }
.sidebar-logout { padding: .85rem 1.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-logout a { color: rgba(255,255,255,.4); font-size: .82rem; display: flex; align-items: center; gap: .5rem; }
.sidebar-logout a:hover { color: var(--primary); }

.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; background: var(--bg-page); }
.admin-topbar {
    background: var(--bg-card); border-bottom: 1px solid var(--border);
    padding: .85rem 1.5rem; display: flex; align-items: center;
    justify-content: space-between; box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.admin-topbar h1 { font-size: 1.05rem; color: var(--dark); font-weight: 700; font-family: 'Saira', sans-serif; }
.admin-topbar small { font-size: .78rem; color: var(--text); display: block; margin-top: .1rem; }
.admin-body { flex: 1; padding: 1.75rem; }

/* Admin Cards & Tables */
.admin-card { background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; overflow: hidden; border: 1px solid var(--border); }
.admin-card-header {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: .75rem;
    padding: 1rem 1.25rem; background: var(--primary-light); border-bottom: 1px solid #fecdd3;
}
.admin-card-header h3 { color: var(--dark); font-size: 1rem; font-weight: 700; font-family: 'Saira', sans-serif; }
.admin-card-header .meta { font-size: .82rem; color: var(--text); }
.admin-card-header .top-bid-label { color: var(--primary); font-weight: 700; font-size: .88rem; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .87rem; }
thead th {
    background: var(--dark); color: #fff;
    padding: .7rem 1rem; text-align: left;
    font-size: .73rem; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap;
    font-family: 'Saira', sans-serif;
}
tbody td { padding: .65rem 1rem; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: #fafafa; }
tbody tr.top-bid td { background: #fff0f3; font-weight: 600; }
tbody tr.top-bid:hover td { background: #ffe0e6; }
.empty-state { padding: 2rem; text-align: center; color: var(--text); font-size: .9rem; }

/* Filter tabs */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.filter-tab {
    padding: .4rem .85rem; background: var(--bg-card);
    border: 1.5px solid var(--border); border-radius: 6px;
    text-decoration: none; font-size: .8rem; color: var(--text); transition: all .15s;
}
.filter-tab:hover, .filter-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.badge { display: inline-block; background: #e5e7eb; color: #555; border-radius: 10px; padding: .06rem .4rem; font-size: .7rem; margin-left: .3rem; vertical-align: middle; }
.filter-tab.active .badge, .filter-tab:hover .badge { background: rgba(255,255,255,.25); color: #fff; }

/* Admin gallery grid */
.gallery-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 1rem; padding: 1.25rem; }
.gallery-admin-item { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.gallery-admin-item img { width: 100%; height: 115px; object-fit: cover; }
.gallery-admin-item .gai-footer { padding: .45rem .65rem; background: #fafafa; font-size: .75rem; color: var(--text); display: flex; justify-content: space-between; align-items: center; }

/* Stats row (admin) */
.stat-row { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.stat-card { background: var(--bg-card); border-radius: var(--radius); padding: 1rem 1.5rem; box-shadow: var(--shadow-sm); flex: 1; min-width: 140px; border-top: 3px solid var(--primary); border: 1px solid var(--border); border-top: 3px solid var(--primary); }
.stat-card .s-val { font-size: 1.75rem; font-weight: 800; color: var(--dark); line-height: 1; font-family: 'Saira', sans-serif; }
.stat-card .s-lbl { font-size: .78rem; color: var(--text); margin-top: .3rem; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid  { grid-template-columns: 1fr 1fr; }
    .admin-sidebar { display: none; }
    .admin-body   { padding: 1rem; }
    .stats-grid   { grid-template-columns: repeat(2, 1fr); }
    .stat-box:nth-child(2) { border-right: none; }
    .stat-box:nth-child(3) { border-top: 1px solid var(--border); }
}
@media (max-width: 650px) {
    header h1      { font-size: 1.35rem; }
    .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); padding: .75rem; box-shadow: 0 5px 14px rgba(0,0,0,.25); z-index: 300; }
    .main-nav.open { display: flex; }
    .main-nav a { color: rgba(255,255,255,.8); }
    .main-nav a:hover, .main-nav a.active { color: var(--primary); background: rgba(255,255,255,.05); }
    .site-header  { position: relative; }
    .header-inner { position: relative; }
    .nav-toggle   { display: block; }
    .items-grid   { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid  { grid-template-columns: 1fr; }
    .form-wrap    { padding: 1.25rem; }
    .page-hero h1 { font-size: 1.5rem; }
    .countdown-banner .container { flex-direction: column; gap: .35rem; }
    .stats-grid   { grid-template-columns: repeat(2, 1fr); }
    .stat-box:nth-child(even) { border-right: none; }
    .stat-box:nth-child(n+3)  { border-top: 1px solid var(--border); }
}
