/* ============================================================================
   Shree Saurashtra Patel Samaj Navi Mumbai Matrimony - Option 1 Design System
   Exact Pixel-Perfect 1:1 Match to User Cropped Navbar & Full Hero Mockup
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary-ruby-dark: #4B0212;
    --primary-ruby-main: #840922;
    --primary-ruby-light: #A31235;
    --gold-saffron-main: #D97706;
    --gold-saffron-dark: #B45309;
    --gold-saffron-light: #FBBF24;
    --bg-surface: #FAFAFA;
    --card-bg: #FFFFFF;
    --text-primary: #1C1917;
    --text-secondary: #57534E;
    --text-muted: #78716C;
    --border-light: #E7E5E4;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(132, 9, 34, 0.15);
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-surface);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ============================================================================
   1. Global Header Navigation Bar (Floating Overlay over Hero)
   ============================================================================ */
.global-header-wrapper {
    background: transparent;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    position: relative;
    z-index: 100;
}

/* Solid background for inner pages without hero section */
.inner-page-header {
    background: linear-gradient(135deg, #840922 0%, #4B0212 100%) !important;
}

/* Full-Width Wide Hero Background Banner with Seamless Color Blend */
.hero-wrapper {
    background-color: #4B0212;
    background-image: url('../Images/couple-hero.jpg');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    margin-top: -105px; /* Extends hero image behind navbar to top edge */
    padding-top: 9.5rem;  /* Spacing for floating navbar */
    padding-bottom: 6.5rem;
    min-height: 640px;
    transition: background-image 1.2s ease-in-out;
}

/* Multi-stop Gradient Overlay for 100% Seamless Color Matching */
.hero-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        #4B0212 0%, 
        #4B0212 35%, 
        rgba(75, 2, 18, 0.95) 48%, 
        rgba(75, 2, 18, 0.6) 65%, 
        rgba(75, 2, 18, 0.15) 82%, 
        transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Left Mandala Watermark Pattern (Positioned on Left Edge 1:1 with Mockup) */
.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 52%;
    left: -180px;
    width: 580px;
    height: 580px;
    background: url('../Images/mandala-pattern.svg') center center/contain no-repeat;
    opacity: 0.38;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 3;
}

.floating-nav-container {
    padding: 0.5rem 1.5rem;
    position: relative;
    z-index: 30;
}

/* Floating Glass Navbar Frame */
.navbar-floating-glass {
    background: rgba(132, 9, 34, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 0.5rem 1.6rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    max-width: 1220px;
    margin: 0 auto;
}

/* Navbar Brand Styling */
.navbar-floating-glass .brand-logo-img {
    height: 42px;
    width: 42px;
    object-fit: contain;
}

.navbar-floating-glass .brand-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.navbar-floating-glass .brand-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
    font-weight: 400;
    display: block;
    letter-spacing: 0.02em;
}

/* Center Nav Items */
.navbar-floating-glass .nav-link {
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    transition: all 0.2s ease;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-floating-glass .nav-link:hover {
    color: #FDE68A !important;
}

.navbar-floating-glass .nav-link.active {
    color: #FDE68A !important;
    font-weight: 700;
}

/* Gold Active Link Bottom Line Indicator */
.navbar-floating-glass .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1.2rem;
    right: 1.2rem;
    height: 3px;
    background: #FBBF24;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -2px 8px rgba(251, 191, 36, 0.8);
}

/* Right Navbar Buttons */
.btn-nav-login {
    border: 1.5px solid var(--gold-saffron-main);
    color: #FDE68A !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 1.6rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    background: transparent;
    text-decoration: none;
}

.btn-nav-login:hover {
    background: rgba(217, 119, 6, 0.25);
    border-color: var(--gold-saffron-light);
    color: #FFFFFF !important;
}

.btn-nav-register {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1.8rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.45);
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-nav-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.65);
}

/* ============================================================================
   2. Hero Left Content & Search Card (Full Background Overlay)
   ============================================================================ */
.hero-content-container {
    position: relative;
    z-index: 10;
}

.hero-main-title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-main-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #FCE7F3;
    margin-bottom: 2.2rem;
    max-width: 580px;
    font-weight: 400;
}

/* Mockup Glass Search Card */
.mockup-search-glass-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 1.8rem 2rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 620px;
}

.mockup-search-glass-card .form-label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.mockup-search-glass-card .input-group-text {
    background: #F5F5F4;
    border-color: #E7E5E4;
    color: var(--gold-saffron-dark);
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
}

.mockup-search-glass-card .form-select {
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    border-color: #E7E5E4;
    font-weight: 600;
    padding: 0.65rem 1rem;
}

.btn-search-cta {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.45);
    transition: all 0.3s ease;
    width: 100%;
}

.btn-search-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(217, 119, 6, 0.6);
}

/* ============================================================================
   3. "Discover Verified Profiles" Cards Section
   ============================================================================ */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title-wrapper::before,
.section-title-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 120px;
    height: 120px;
    background: url('../Images/mandala-pattern.svg') center/contain no-repeat;
    opacity: 0.12;
    transform: translateY(-50%);
    pointer-events: none;
}

.section-title-wrapper::before { left: 10%; }
.section-title-wrapper::after { right: 10%; }

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Circular Avatar Profile Card */
.mockup-profile-card {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    padding: 1.8rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mockup-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-saffron-light);
}

/* Verified Pill Top Right */
.badge-verified-top-right {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
}

/* Center Avatar Circle */
.profile-avatar-circle-wrapper {
    width: 125px;
    height: 125px;
    margin: 0 auto 1.2rem auto;
    position: relative;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #D97706 0%, #840922 100%);
    box-shadow: 0 6px 20px rgba(132, 9, 34, 0.18);
}

.profile-avatar-circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #E7E5E4;
}

.profile-card-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.profile-card-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.profile-card-profession {
    font-size: 0.85rem;
    color: var(--gold-saffron-dark);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.profile-card-desc {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Dual Action Buttons */
.card-action-group {
    display: flex;
    gap: 10px;
}

.btn-card-outline {
    flex: 1;
    border: 1.5px solid var(--primary-ruby-main);
    color: var(--primary-ruby-main) !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.55rem 0.5rem;
    border-radius: var(--radius-pill);
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-card-outline:hover {
    background: var(--primary-ruby-main);
    color: #FFFFFF !important;
}

.btn-card-gold {
    flex: 1.2;
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.55rem 0.5rem;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-card-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.5);
}

/* ============================================================================
   5. Search Page Styles (QuickSearch.aspx) - Option 1 Theme
   ============================================================================ */
.search-page-header-banner {
    background: linear-gradient(135deg, #840922 0%, #4B0212 100%);
    padding: 2.8rem 0 2rem 0;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.search-page-header-banner::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 400px;
    height: 400px;
    background: url('../Images/mandala-pattern.svg') center/contain no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.search-page-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.4rem;
}

.search-page-subtitle {
    color: #FCE7F3;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Left Filter Sidebar Card */
.search-filter-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
}

.search-filter-card .filter-header-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-ruby-dark);
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #FEE2E2;
    margin-bottom: 1.2rem;
}

.search-filter-card .form-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.search-filter-card .form-select,
.search-filter-card .form-control {
    border-radius: var(--radius-md);
    border-color: #E7E5E4;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 0.85rem;
}

.btn-filter-apply {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
    transition: all 0.25s ease;
    width: 100%;
}

.btn-filter-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.55);
}

/* Right Result Profile Cards */
.search-result-card {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.search-result-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-saffron-light);
}

.search-card-img-wrapper {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background: #F5F5F4;
}

.search-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.search-result-card:hover .search-card-img {
    transform: scale(1.05);
}

.search-card-body {
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

/* ============================================================================
   6. Multi-Step Registration Wizard Styles (Register.aspx)
   ============================================================================ */
.registration-stepper-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2.5rem;
}

.registration-stepper-wrapper::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #E7E5E4;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #E7E5E4;
    color: var(--text-muted);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.6rem auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.step-item.active .step-circle {
    border-color: var(--gold-saffron-main);
    background: linear-gradient(135deg, #840922 0%, #4B0212 100%);
    color: #FBBF24;
    box-shadow: 0 6px 18px rgba(132, 9, 34, 0.35);
}

.step-item.completed .step-circle {
    border-color: var(--gold-saffron-main);
    background: var(--gold-saffron-main);
    color: #FFFFFF;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.step-item.active .step-label {
    color: var(--primary-ruby-dark);
}

/* Custom Photo Upload Frame */
.photo-upload-preview-box {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px dashed var(--gold-saffron-main);
    background: #FAFAFA;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.photo-upload-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================================
   7. Premium Footer
   ============================================================================ */
.footer-option1 {
    background: linear-gradient(180deg, #840922 0%, #3B020E 100%);
    color: #FEE2E2;
    padding: 4.5rem 1.5rem 2rem 1.5rem;
    margin-top: 5rem;
    border-top: 4px solid var(--gold-saffron-main);
}

.footer-option1 h5, .footer-option1 h6 {
    color: #FFFFFF;
}

.footer-option1 a {
    color: #FECACA;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-option1 a:hover {
    color: var(--gold-saffron-light) !important;
}
