/* Custom Matrimony Styles */

:root {
    --primary-maroon: #800000;
    --primary-gold: #D4AF37;
    --soft-pink: #FCE4EC;
    --elegant-white: #FFFFFF;
    --text-dark: #333333;
    --text-muted: #666666;
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body {
    background-color: #f9f9f9;
}

.serif-font {
    font-family: 'Playfair Display', serif;
}

.text-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-maroon) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s;
}

.text-logo:hover {
    color: var(--primary-gold) !important;
}

/* Header Navigation Active State */
.mainmenu ul li a {
    position: relative;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.mainmenu ul li.active>a {
    color: var(--primary-maroon) !important;
    text-decoration: none !important;
}

/* Remove default theme slash/line through text */
.mainmenu ul li.active>a::before,
.mainmenu ul li.active>a::after {
    display: none !important;
}

/* New Clean Gold Underline */
.mainmenu ul li.active>a {
    border-bottom: 3px solid var(--primary-gold);
    padding-bottom: 5px;
}

.mainmenu ul li a:hover {
    color: var(--primary-maroon) !important;
}

/* Hero Section Redesign */
.hero-matrimony {
    position: relative;
    padding: 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-matrimony::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-matrimony .container {
    position: relative;
    z-index: 2;
}

.hero-content-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-main-card {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    width: 100%;
    text-align: center;
    border-bottom: 5px solid var(--primary-maroon);
}

.hero-text-content h1 {
    font-size: 3.5rem;
    color: var(--primary-maroon) !important;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: none !important;
}

.text-gold {
    color: var(--primary-gold);
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-muted) !important;
    margin-bottom: 35px !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.btn-outline-matrimony-dark {
    padding: 14px 40px;
    border-radius: 30px;
    border: 2px solid var(--primary-maroon);
    color: var(--primary-maroon);
    font-weight: 700;
    transition: all 0.3s;
}

.btn-outline-matrimony-dark:hover {
    background: var(--primary-maroon);
    color: white;
}

.hero-search-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    align-items: end;
}

@media (max-width: 1199px) {
    .form-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group label {
    display: block;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-maroon);
    margin-bottom: 8px;
}

.age-inputs {
    display: flex;
    align-items: center;
    gap: 5px;
}

.age-inputs span {
    color: var(--text-muted);
}

.btn-search-hero {
    width: 100%;
    padding: 12px;
    background: var(--primary-maroon);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-search-hero:hover {
    background: var(--primary-gold);
    color: var(--primary-maroon);
}

.btn-primary-matrimony {
    background: var(--primary-maroon);
    color: white;
    padding: 14px 40px;
    border-radius: 30px;
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary-matrimony:hover {
    background: var(--primary-gold);
    color: var(--primary-maroon);
    transform: translateY(-2px);
}

/* Profile Listing & Single View Styles */
.profile-main-container {
    background-color: #fcf8f8;
    padding: 60px 0;
}

/* Single Profile Header Card */
.profile-header-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #f0e6e6;
}

.profile-header-img-wrap {
    position: relative;
    height: 100%;
}

.profile-header-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.verified-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #22c55e;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
}

.photo-count {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.profile-info-block {
    padding: 40px;
}

.profile-name-lg {
    font-size: 2.5rem;
    color: var(--primary-maroon);
    margin-bottom: 10px;
}

.profile-meta-line {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.profile-details-grid-lite {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.detail-item-lite {
    display: flex;
    gap: 10px;
}

.detail-item-lite strong {
    color: var(--primary-maroon);
    min-width: 100px;
}

.profile-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-action-buttons .btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-interest {
    background: var(--primary-maroon);
    color: white;
    border: none;
}

.btn-interest:hover {
    background: #600000;
    transform: translateY(-2px);
}

.btn-chat {
    background: #f8eaea;
    color: var(--primary-maroon);
    border: 1px solid var(--primary-maroon);
}

.btn-chat:hover {
    background: var(--primary-maroon);
    color: white;
}

.btn-contact {
    background: var(--primary-gold);
    color: var(--primary-maroon);
    border: none;
}

.btn-contact:hover {
    background: #c19b2e;
}

.btn-alt-grey {
    background: #f5f5f5;
    color: #666;
    border: none;
}

.btn-alt-grey:hover {
    background: #e0e0e0;
}

/* Content Sections */
.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
}

.info-card h4 {
    color: var(--primary-maroon);
    border-bottom: 2px solid var(--soft-pink);
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-field-box {
    padding: 10px 0;
}

.info-field-box label {
    display: block;
    color: #999;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.info-field-box span {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

.partner-highlight {
    background-color: #fff9f9;
    border-color: var(--soft-pink);
}

/* Gallery Grid */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.blurred-photo {
    filter: blur(8px);
    opacity: 0.7;
}

/* Lifestyle Icons */
.lifestyle-list {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.lifestyle-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lifestyle-item i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

/* Similar Profiles Scroll */
.similar-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0 30px;
    scrollbar-width: thin;
}

.similar-profile-mini {
    min-width: 220px;
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.similar-profile-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--soft-pink);
}

.mini-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.mini-content {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-content h6 {
    color: var(--primary-maroon);
    margin-bottom: 5px;
    font-weight: 700;
}

/* Featured Profile Cards Alignment Fix */
.profile-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.profile-img-wrap {
    height: 280px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.profile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-maroon);
    margin-bottom: 5px;
}

.profile-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Horizontal Matrimony Profile Cards */
.matrimony-horizontal-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
    display: flex;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.matrimony-horizontal-card:hover {
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--soft-pink);
}

.card-img-left {
    width: 200px;
    min-width: 200px;
    position: relative;
    height: 250px;
}

.card-img-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-status {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid white;
}

.photo-count-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.card-details-center {
    flex: 1;
    padding: 25px;
    border-right: 1px solid #f5f5f5;
}

.profile-id-sm {
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
}

.card-details-center h4 {
    color: var(--primary-maroon);
    margin: 5px 0 10px;
    font-size: 1.5rem;
}

.biodata-grid {
    margin-bottom: 15px;
}

.biodata-row {
    margin-bottom: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.biodata-row i {
    width: 20px;
    color: var(--primary-gold);
}

.short-about-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    font-style: italic;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #eee;
}

.card-actions-right {
    width: 200px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    background: #fafafa;
}

.btn-card-action {
    width: 100%;
    padding: 10px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

/* Sidebar & Accordion Filters */
.filter-sidebar {
    position: sticky;
    top: 100px;
}

.filter-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
    background: transparent;
}

.filter-accordion .accordion-button {
    font-weight: 700;
    color: var(--primary-maroon);
    background: none;
    padding: 15px 0;
    box-shadow: none;
}

.filter-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-maroon);
}

.filter-accordion .accordion-body {
    padding: 0 0 15px 0;
}

.trust-indicators-bar {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 30px;
    border: 1px dashed var(--primary-gold);
}

.trust-bar-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-bar-item i {
    color: #22c55e;
}

.premium-upgrade-card {
    background: linear-gradient(135deg, #fffcf0 0%, #fff9e6 100%);
    border: 1px solid #f0e0b0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-bottom: 25px;
    color: #856404;
}

.large-pagination .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    margin: 0 5px;
    font-weight: 700;
    border: 1px solid #eee;
    color: var(--text-dark);
}

.large-pagination .page-item.active .page-link {
    background: var(--primary-maroon);
    border-color: var(--primary-maroon);
    color: white;
}

/* Home Trust Indicators Styling */
.trust-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.1);
    border-color: var(--soft-pink);
}

.trust-item i {
    font-size: 3rem;
    color: var(--primary-maroon);
    margin-bottom: 20px;
    display: block;
}

.trust-icon-svg {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.trust-item h5 {
    color: var(--primary-maroon);
    margin-bottom: 10px;
    font-weight: 700;
}

.trust-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer Social & Link Styling */
.footer__newsletter--social ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer__newsletter--social li a {
    width: 40px;
    height: 40px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-gold);
    transition: all 0.3s ease;
    border: 1px solid #333;
    font-size: 1.1rem;
    text-decoration: none;
}

.footer__newsletter--social li a:hover {
    background: var(--primary-gold);
    color: var(--primary-maroon);
    transform: translateY(-3px);
    border-color: var(--primary-gold);
}

.footer__content--desc ul {
    padding: 0;
    list-style: none;
}

.footer__content--desc ul li {
    margin-bottom: 12px;
}

.footer__content--desc ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer__content--desc ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ccc;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-gold);
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 992px) {
    .matrimony-horizontal-card {
        flex-direction: column;
    }

    .card-img-left {
        width: 100%;
        height: 300px;
    }

    .card-actions-right {
        width: 100%;
        flex-direction: row;
        background: white;
        padding: 15px;
    }

    .trust-indicators-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}