/**
 * Sivasakthi Matrimony - Pure Responsive Stylesheet
 */
:root {
    --primary: #a3722b;
    --primary-dark: #845719;
    --primary-light: #fef7ed;
    --accent: #1a237e;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --card-border: #e2e8f0;
    --success: #15803d;
    --danger: #b91c1c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    padding-bottom: 70px; /* space for mobile bottom bar */
}

a { text-decoration: none; color: inherit; }

/* Header & Top Bar */
.site-header {
    background: #ffffff;
    border-bottom: 2px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.logo-sub {
    font-size: 11.5px;
    color: var(--text-muted);
}
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.desktop-nav a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    color: #334155;
    transition: all 0.2s;
}
.desktop-nav a:hover, .desktop-nav a.active {
    background: var(--primary-light);
    color: var(--primary);
}
.btn-register-top {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 8px 18px !important;
}
.btn-register-top:hover {
    background: var(--primary-dark) !important;
}

/* Mobile Bottom Bar (App Style) */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-top: 1.5px solid #e2e8f0;
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    gap: 3px;
}
.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--primary);
}
.mobile-nav-item i { font-size: 18px; }

@media (max-width: 900px) {
    .desktop-nav { display: none; }
    .mobile-bottom-bar { display: flex; }
}

/* Container */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
}

/* Hero Search Banner */
.hero-matrimony-banner {
    background: linear-gradient(135deg, #1a237e 0%, #0f172a 100%);
    border-radius: 16px;
    padding: 36px 24px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.15);
}
.hero-matrimony-banner h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #facc15;
}
.hero-matrimony-banner p {
    font-size: 14.5px;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 24px auto;
}
.quick-search-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 20px;
    color: var(--text-dark);
    max-width: 950px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.search-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    align-items: flex-end;
    text-align: left;
}
.form-grp {
    display: flex;
    flex-direction: column;
}
.form-grp label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    white-space: nowrap;
}
.form-grp select, .form-grp input {
    width: 100%;
    height: 42px;
    padding: 9px 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13.5px;
    outline: none;
    background: #f8fafc;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.form-grp select:focus, .form-grp input:focus {
    border-color: var(--primary);
    background: #ffffff;
}
.btn-search-hero {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14.5px;
    padding: 0 16px;
    cursor: pointer;
    width: 100%;
    transition: 0.2s;
    height: 42px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-search-hero:hover { background: var(--primary-dark); }

/* Varan Cards Grid */
.varans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.varan-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.varan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.varan-img-wrap {
    height: 250px;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
}
.varan-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.varan-badge-reg {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}
.varan-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.varan-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.varan-caste-age {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}
.varan-details-list {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}
.varan-card-footer {
    display: flex;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}
.btn-view-profile {
    flex: 1;
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
}
.btn-view-profile:hover { background: var(--primary-dark); }
.btn-unlock-quick {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 36px 16px 20px 16px;
    margin-top: 40px;
    font-size: 13px;
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.footer-links a { color: #f8fafc; font-weight: 600; }
.footer-links a:hover { color: var(--primary); }
