/* ============================================
   PREMIUM MATRIMONIAL THEME
   World-Class Design - Similar to Shaadi.com, Jeevansathi.com
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ============================================
   PREMIUM COLOR PALETTE
   Romantic, Luxury, Trust-Based
   ============================================ */
:root {
    /* Primary - Rose & Maroon */
    --premium-rose: #D32F2F;
    --premium-rose-light: #E57373;
    --premium-rose-dark: #B71C1C;
    --premium-maroon: #8B1538;
    --premium-maroon-light: #AD4A6B;
    
    /* Accent - Gold & Ivory */
    --premium-gold: #D4AF37;
    --premium-gold-light: #F4D03F;
    --premium-ivory: #FFF8E7;
    --premium-beige: #F5F1E8;
    
    /* Backgrounds */
    --premium-bg: #FFFBF9;
    --premium-bg-light: #FFF8F5;
    --premium-bg-card: #FFFFFF;
    --premium-bg-overlay: rgba(139, 21, 56, 0.85);
    
    /* Text */
    --premium-text-dark: #2C1810;
    --premium-text-medium: #5C4033;
    --premium-text-light: #8B6F47;
    --premium-text-muted: #A0826D;
    
    /* Gradients */
    --gradient-romantic: linear-gradient(135deg, #D32F2F 0%, #8B1538 50%, #B71C1C 100%);
    --gradient-soft-rose: linear-gradient(135deg, #FFF8F5 0%, #FFF0E6 100%);
    --gradient-gold-accent: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    --gradient-hero-overlay: linear-gradient(135deg, rgba(139, 21, 56, 0.9) 0%, rgba(211, 47, 47, 0.8) 100%);
    
    /* Shadows */
    --shadow-premium: 0 8px 30px rgba(139, 21, 56, 0.12);
    --shadow-premium-lg: 0 15px 50px rgba(139, 21, 56, 0.15);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-ui: 'Inter', sans-serif;
}

/* ============================================
   GLOBAL TYPOGRAPHY
   ============================================ */
body {
    font-family: var(--font-body);
    color: var(--premium-text-dark);
    background: var(--premium-bg);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--premium-text-dark);
    line-height: 1.3;
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ============================================
   PREMIUM BUTTONS
   ============================================ */
.btn-premium {
    font-family: var(--font-ui);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-premium);
}

.btn-premium-primary {
    background: var(--gradient-romantic);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

.btn-premium-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.4);
    color: white;
}

.btn-premium-outline {
    background: white;
    color: var(--premium-maroon);
    border: 2px solid var(--premium-maroon);
}

.btn-premium-outline:hover {
    background: var(--premium-maroon);
    color: white;
    transform: translateY(-2px);
}

.btn-premium-gold {
    background: var(--gradient-gold-accent);
    color: var(--premium-text-dark);
    font-weight: 700;
}

.btn-premium-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: var(--premium-text-dark);
}

/* ============================================
   PREMIUM CARDS
   ============================================ */
.card-premium {
    background: var(--premium-bg-card);
    border-radius: 20px;
    border: 1px solid rgba(139, 21, 56, 0.1);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium-lg);
    border-color: rgba(139, 21, 56, 0.2);
}

.card-premium-header {
    background: var(--gradient-soft-rose);
    padding: 1.5rem;
    border-bottom: 2px solid rgba(139, 21, 56, 0.1);
}

/* ============================================
   PREMIUM PROFILE CARDS
   ============================================ */
.profile-card-premium {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 21, 56, 0.08);
    position: relative;
}

.profile-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium-lg);
}

.profile-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--gradient-soft-rose);
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card-premium:hover .profile-image-container img {
    transform: scale(1.1);
}

.profile-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.profile-lock-icon {
    font-size: 3rem;
    color: var(--premium-maroon);
    margin-bottom: 1rem;
}

.profile-upgrade-text {
    color: var(--premium-maroon);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    padding: 0 1rem;
}

.profile-card-body {
    padding: 1.5rem;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--premium-text-dark);
    margin-bottom: 0.5rem;
}

.profile-details {
    color: var(--premium-text-medium);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.profile-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.badge-approved {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #D97706;
}

.badge-premium {
    background: var(--gradient-gold-accent);
    color: var(--premium-text-dark);
    font-weight: 700;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-premium {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-romantic);
    overflow: hidden;
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-premium-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 4rem 0;
}

.hero-premium h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-premium p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-premium-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ============================================
   PREMIUM FORMS
   ============================================ */
.form-premium {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(139, 21, 56, 0.1);
}

.form-premium .form-label {
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--premium-text-dark);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-premium .form-control {
    border: 2px solid rgba(139, 21, 56, 0.15);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--premium-bg-light);
}

.form-premium .form-control:focus {
    border-color: var(--premium-maroon);
    box-shadow: 0 0 0 4px rgba(139, 21, 56, 0.1);
    background: white;
}

.form-premium .form-select {
    border: 2px solid rgba(139, 21, 56, 0.15);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    background: var(--premium-bg-light);
}

.form-premium .form-select:focus {
    border-color: var(--premium-maroon);
    box-shadow: 0 0 0 4px rgba(139, 21, 56, 0.1);
}

/* ============================================
   STATUS PILLS
   ============================================ */
.status-pill {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill-approved {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pill-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #D97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-pill-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #DC2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-pill-paid {
    background: var(--gradient-gold-accent);
    color: var(--premium-text-dark);
    border: 1px solid var(--premium-gold);
    font-weight: 700;
}

/* ============================================
   PREMIUM TABLES
   ============================================ */
.table-premium {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.table-premium thead {
    background: var(--gradient-soft-rose);
}

.table-premium thead th {
    font-family: var(--font-ui);
    font-weight: 700;
    color: var(--premium-text-dark);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 1.25rem 1.5rem;
    border: none;
}

.table-premium tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(139, 21, 56, 0.05);
}

.table-premium tbody tr:hover {
    background: var(--premium-bg-light);
    transform: scale(1.01);
}

.table-premium tbody td {
    padding: 1.25rem 1.5rem;
    vertical-align: middle;
    color: var(--premium-text-medium);
}

/* ============================================
   PREMIUM FOOTER
   ============================================ */
.footer-premium {
    background: var(--gradient-romantic);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-premium h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-premium a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-premium a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-premium a.active {
    color: white;
    font-weight: 600;
    position: relative;
    padding-left: 0.5rem;
}

.footer-premium a.active::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0.8;
}

.footer-premium-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    text-align: center;
    line-height: 40px;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: white;
    color: var(--premium-maroon);
    transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   BACK BUTTON
   ============================================ */
.btn-back {
    display: inline-flex;
    align-items: center;
    color: var(--premium-text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 21, 56, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-back:hover {
    color: var(--premium-maroon);
    background: white;
    border-color: var(--premium-maroon);
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.15);
}

.btn-back i {
    font-size: 1.1rem;
}

/* ============================================
   PAYMENT PAGE STYLES
   ============================================ */
.payment-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.pending-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #D97706;
    margin: 0 auto;
    animation: pulse 2s ease-in-out infinite;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--premium-bg-light);
    border: 3px solid var(--premium-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--premium-maroon);
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    background: var(--gradient-romantic);
    color: white;
    border-color: var(--premium-maroon);
    transform: scale(1.1);
}

.step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--premium-text-medium);
}

.step-item.active .step-label {
    color: var(--premium-maroon);
}

.step-line {
    flex: 1;
    height: 3px;
    background: var(--premium-bg-light);
    max-width: 100px;
}

.upload-area-premium {
    border: 3px dashed rgba(139, 21, 56, 0.3);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--premium-bg-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area-premium:hover {
    border-color: var(--premium-maroon);
    background: rgba(139, 21, 56, 0.05);
}

/* ============================================
   EMPTY STATES
   ============================================ */
.empty-state-premium {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.empty-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-soft-rose);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--premium-maroon);
    margin-bottom: 1.5rem;
}

.empty-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--premium-text-dark);
    margin-bottom: 1rem;
}

.empty-message {
    font-size: 1.1rem;
    color: var(--premium-text-medium);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BUTTON CONSISTENCY
   ============================================ */
.btn-outline-secondary {
    border: 2px solid var(--premium-text-muted);
    color: var(--premium-text-medium);
    background: white;
    font-weight: 500;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: var(--premium-bg-light);
    border-color: var(--premium-maroon);
    color: var(--premium-maroon);
    transform: translateY(-2px);
}

/* ============================================
   PUBLIC PAGE CONTAINER
   Consistent styling for all public-facing pages
   ============================================ */
.public-page-container {
    min-height: calc(100vh - 200px);
    padding-top: 2rem;
    padding-bottom: 4rem;
    background: var(--premium-bg);
}

.public-page-container .page-hero-section {
    background: var(--gradient-soft-rose);
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 4px 20px rgba(139, 21, 56, 0.08);
}

.public-page-container .page-hero-section h1 {
    color: var(--premium-text-dark);
    font-family: var(--font-heading);
}

.public-page-container .page-hero-section .lead {
    color: var(--premium-text-medium);
}

.badge-soft-dark {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 21, 56, 0.1);
    color: var(--premium-maroon);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ensure content doesn't overlap with fixed header */
.main-content.full-width {
    padding-top: 0;
}

.content-wrapper.full-width-content {
    padding-top: 0;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .public-page-container {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .public-page-container .page-hero-section {
        padding: 2rem 0;
        margin-bottom: 2rem;
        border-radius: 0 0 20px 20px;
    }
    .hero-premium h1 {
        font-size: 2.5rem;
    }
    
    .hero-premium p {
        font-size: 1.1rem;
    }
    
    .form-premium {
        padding: 1.5rem;
    }
    
    .profile-image-container {
        height: 250px;
    }
    
    .payment-steps {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step-line {
        width: 3px;
        height: 50px;
        max-width: none;
    }
    
    .btn-back {
        width: 100%;
        justify-content: center;
    }
    
    .btn-premium-primary,
    .btn-premium-outline,
    .btn-outline-secondary {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .empty-state-premium {
        padding: 3rem 1.5rem;
    }
    
    .empty-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .empty-title {
        font-size: 1.5rem;
    }
    
    .empty-message {
        font-size: 1rem;
    }
}

