/* 
 * Matrimonial View Profile CSS - Mobile First
 * File: assets/view-profile-style.css
 */

:root {
    --primary-color: #e63946;
    --white: #ffffff;
    --text-dark: #1d3557;
    --text-light: #8b92a5;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
}

.view-profile-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 80px 0;
    background: var(--bg-light);
    min-height: 100vh;
}

/* Profile Header */
.profile-header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 20px 40px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.profile-photo-large {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.profile-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder-large {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.profile-name-large {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.profile-basic-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.info-badge svg {
    flex-shrink: 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.btn-chat-now,
.btn-edit-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-chat-now:hover,
.btn-edit-profile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Profile Sections */
.profile-section {
    background: var(--white);
    margin: 15px;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-content {
    color: var(--text-dark);
}

/* About Text */
.about-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
    white-space: pre-wrap;
}

/* Detail Grid */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: #e8eef7;
    transform: translateX(5px);
}

.detail-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Sticky Action Bar (Mobile) */
.sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 10px;
    z-index: 999;
}

.btn-chat-sticky {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-chat-sticky:hover {
    background: #d62839;
}

.btn-back-browse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back-browse:hover {
    background: var(--border-color);
}

/* Tablet */
@media (min-width: 576px) {
    .view-profile-container {
        padding: 0 0 20px 0;
    }
    
    .profile-header-section {
        padding: 40px 30px 50px;
    }
    
    .profile-photo-large {
        width: 180px;
        height: 180px;
    }
    
    .profile-name-large {
        font-size: 32px;
    }
    
    .profile-section {
        margin: 20px;
        padding: 30px 25px;
    }
    
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sticky-action-bar {
        display: none;
    }
}

/* Desktop */
@media (min-width: 768px) {
    .view-profile-container {
        max-width: 900px;
        padding: 30px 20px 40px;
    }
    
    .profile-header-section {
        border-radius: 15px;
        margin-bottom: 25px;
    }
    
    .profile-photo-large {
        width: 200px;
        height: 200px;
    }
    
    .profile-name-large {
        font-size: 36px;
    }
    
    .info-badge {
        font-size: 15px;
        padding: 10px 18px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .profile-section {
        margin: 0 0 25px 0;
    }
    
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .detail-item {
        padding: 18px 20px;
    }
    
    .detail-value {
        font-size: 17px;
    }
}

/* Large Desktop */
@media (min-width: 992px) {
    .view-profile-container {
        max-width: 1000px;
    }
    
    .detail-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Print Styles */
@media print {
    .view-profile-container {
        background: white;
        padding: 0;
    }
    
    .profile-header-section {
        background: white;
        color: black;
        border: 1px solid #ccc;
    }
    
    .action-buttons,
    .sticky-action-bar {
        display: none;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section {
    animation: fadeIn 0.4s ease;
}

.profile-section:nth-child(1) { animation-delay: 0.1s; }
.profile-section:nth-child(2) { animation-delay: 0.2s; }
.profile-section:nth-child(3) { animation-delay: 0.3s; }
.profile-section:nth-child(4) { animation-delay: 0.4s; }