/* Modern Matrimonial Stylesheet */

:root {
    --primary-color: #e83e8c;
    --secondary-color: #6c5ce7;
    --success-color: #00b894;
    --danger-color: #d63031;
    --warning-color: #f39c12;
    --info-color: #00cec9;
    --light-color: #f8f9fa;
    --dark-color: #2d3436;
    --text-color: #636e72;
    --border-color: #dfe6e9;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: #f5f5f5;
    line-height: 1.6;
}

/* Header & Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: white !important;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(232,62,140,0.9), rgba(108,92,231,0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 800px;
    margin: 0 auto;
}

.search-box .form-control,
.search-box .form-select {
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    font-size: 16px;
}

.search-box .btn-search {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    transition: all 0.3s;
}

.search-box .btn-search:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(232,62,140,0.4);
}

/* Profile Cards */
.profile-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    margin-bottom: 30px;
    position: relative;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.profile-card .photo {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.profile-card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.profile-card:hover .photo img {
    transform: scale(1.1);
}

.profile-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
}

.profile-card .verified-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--success-color);
    color: white;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
}

.profile-card .info {
    padding: 20px;
}

.profile-card .name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.profile-card .age,
.profile-card .location {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 5px;
}

.profile-card .age i,
.profile-card .location i {
    color: var(--primary-color);
    margin-right: 5px;
    width: 16px;
}

.profile-card .details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.profile-card .detail-item {
    font-size: 13px;
    color: var(--text-color);
}

.profile-card .detail-item strong {
    color: var(--dark-color);
    display: block;
    font-size: 14px;
}

.profile-card .actions {
    display: flex;
    gap: 10px;
}

.profile-card .btn {
    flex: 1;
    border-radius: 50px;
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.profile-card .btn-interest {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

.profile-card .btn-view {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.profile-card .btn-view:hover {
    background: var(--primary-color);
    color: white;
}

/* Profile View Page */
.profile-view {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px;
    position: relative;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 0 auto 20px;
    overflow: hidden;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-tabs {
    padding: 30px;
}

.profile-tabs .nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.profile-tabs .nav-link {
    color: var(--text-color);
    font-weight: 600;
    border: none;
    padding: 15px 25px;
    position: relative;
}

.profile-tabs .nav-link.active {
    color: var(--primary-color);
    background: none;
    border: none;
}

.profile-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px 3px 0 0;
}

.info-section {
    background: var(--light-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.info-section h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item .label {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.info-item .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
}

/* Forms */
.auth-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 40px auto;
}

.auth-form h2 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.auth-form .form-control,
.auth-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.auth-form .btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}

.auth-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232,62,140,0.3);
}

/* Dashboard */
.dashboard {
    padding: 30px 0;
}

.dashboard-sidebar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.dashboard-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-menu li {
    margin-bottom: 5px;
}

.dashboard-menu a {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s;
    text-decoration: none;
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.dashboard-menu a i {
    margin-right: 10px;
    width: 20px;
}

.dashboard-content {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.dashboard-card {
    background: var(--light-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    .search-box {
        border-radius: 20px;
    }
    
    .profile-header {
        padding: 20px;
    }
    
    .profile-photo {
        width: 150px;
        height: 150px;
    }
    
    .auth-form {
        padding: 20px;
    }
    
    .dashboard-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .dashboard-menu a {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Alerts & Notifications */
.alert {
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
}

.alert-success {
    background: var(--success-color);
    color: white;
}

.alert-danger {
    background: var(--danger-color);
    color: white;
}

.alert-warning {
    background: var(--warning-color);
    color: white;
}

.alert-info {
    background: var(--info-color);
    color: white;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 15px 0;
    margin-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shadow-hover {
    transition: all 0.3s;
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}


