@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

:root {
    --brand-maroon: #8c1515;
    --brand-dark-maroon: #3d0b0d;
    --brand-gold: #f6af04;
    --brand-text-muted: #8c7d77;
}

/* Main Details Section Styling */
.profile-details-section {
    background: #fcf9f2 !important;
    background-image: none !important;
    padding: 50px 0;
    position: relative;
    z-index: 1;
    margin-top: var(--mtop);
}

/* Left Column: Image and Thumbnails */
.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: #f7f5f0;
    box-shadow: 0 10px 30px rgba(140, 21, 21, 0.04);
    border: 1px solid rgba(140, 21, 21, 0.05);
}

.profile-main-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.profile-main-slider .slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
}

.profile-main-slider .slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    height: 100%;
}

.profile-main-slider .slick-track::after {
    clear: both;
    display: table;
    content: "";
}

.profile-main-slider .slider-item {
    display: none;
    height: 100%;
    float: left;
    min-height: 1px;
}

.profile-main-slider.slick-initialized .slider-item {
    display: block;
}

.profile-main-slider .slider-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* Slick Custom Arrows for Widescreen Image */
.profile-main-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 12;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--brand-maroon);
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-main-slider .slick-arrow:hover {
    background: var(--brand-maroon);
    color: #ffffff;
}

.profile-main-slider .slick-prev {
    left: 20px;
}

.profile-main-slider .slick-next {
    right: 20px;
}

.profile-main-slider .slick-prev::before {
    content: "\f104";
    font-family: FontAwesome;
    font-size: 22px;
}

.profile-main-slider .slick-next::before {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 22px;
}

/* Verified Badge Overlay */
.verified-badge-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(140, 21, 21, 0.85);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Zoom Trigger Overlay */
.zoom-trigger-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(140, 21, 21, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
    cursor: pointer;
}

.main-image-container:hover .zoom-trigger-overlay {
    opacity: 1;
}

.zoom-trigger-overlay i {
    color: #ffffff;
    font-size: 24px;
    background: var(--brand-gold);
    color: var(--brand-dark-maroon);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-image-container:hover .zoom-trigger-overlay i {
    transform: scale(1);
}

/* Horizontal Thumbnails Row */
.profile-thumbnails-nav {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.thumbnail-nav-item {
    width: calc((100% - 48px) / 5);
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background: #ffffff;
}

.thumbnail-nav-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-nav-item.active {
    border-color: var(--brand-maroon);
    box-shadow: 0 4px 12px rgba(140, 21, 21, 0.15);
}

.thumbnail-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 10px;
}

/* Right Column: Profile Header Card */
.profile-header-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(140, 21, 21, 0.02);
    border: 1px solid rgba(140, 21, 21, 0.05);
    margin-bottom: 20px;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.profile-name-text {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-maroon);
    margin: 0;
}

.profile-id-text {
    font-size: 13px;
    color: var(--brand-text-muted);
    font-weight: 500;
    display: block;
    margin-top: 3px;
}

.gold-badge-box {
    color: #e5a823;
    font-size: 24px;
    line-height: 1;
}

.pills-row-box {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.quick-pill-tag {
    background: #faf7f2;
    color: var(--brand-maroon);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(140, 21, 21, 0.08);
}

.actions-row-box {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.btn-chat-solid {
    background: linear-gradient(
        135deg,
        var(--brand-maroon) 0%,
        var(--brand-dark-maroon) 100%
    );
    color: #ffffff;
    border: none;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1.2;
    text-align: center;
    box-shadow: 0 4px 12px rgba(140, 21, 21, 0.15);
}

.btn-chat-solid:hover:not([disabled]) {
    background: linear-gradient(
        135deg,
        var(--brand-dark-maroon) 0%,
        var(--brand-maroon) 100%
    );
    box-shadow: 0 6px 15px rgba(140, 21, 21, 0.25);
    color: #ffffff;
}

.btn-chat-solid[disabled] {
    background: #cfd8dc;
    color: #90a4ae;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-biodata-outline {
    background: transparent;
    color: var(--brand-maroon);
    border: 1.5px solid var(--brand-maroon);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0.8;
    text-decoration: none !important;
}

.btn-biodata-outline:hover:not([disabled]) {
    background: var(--brand-maroon);
    color: #ffffff;
}

.btn-biodata-outline[disabled] {
    border-color: #cfd8dc;
    color: #90a4ae;
    cursor: not-allowed;
}

.quick-info-list {
    border-top: 1px solid rgba(102, 69, 28, 0.08);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5d4037;
    font-size: 14px;
    font-weight: 500;
}

.quick-info-item i {
    color: var(--brand-maroon);
    font-size: 16px;
    width: 18px;
    text-align: center;
}

/* Match Score Card */
.match-score-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 25px;
    box-shadow: 0 10px 30px rgba(140, 21, 21, 0.02);
    border: 1px solid rgba(140, 21, 21, 0.05);
    border-left: 4px solid var(--brand-gold);
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.score-title {
    font-family: var(--tit-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-maroon);
    margin: 0;
}

.score-pct {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-gold);
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #faf6ed;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--brand-gold);
    border-radius: 10px;
}

.score-subtext {
    font-size: 12px;
    font-style: italic;
    color: var(--brand-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* 3-Column Detail Grid Cards */
.detail-grid-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 10px 30px rgba(140, 21, 21, 0.02);
    border: 1px solid rgba(140, 21, 21, 0.04);
    height: 100%;
    transition: all 0.3s ease;
}

.detail-grid-card:hover {
    box-shadow: 0 12px 35px rgba(140, 21, 21, 0.05);
    transform: translateY(-2px);
}

.grid-card-title {
    font-family: var(--tit-font);
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-maroon);
    border-bottom: 1.5px solid rgba(140, 21, 21, 0.06);
    padding-bottom: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.grid-card-title i {
    color: var(--brand-gold);
    font-size: 16px;
}

.card-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid rgba(140, 21, 21, 0.04);
}

.card-detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #887068;
    font-size: 13px;
    font-weight: 500;
}

.detail-value {
    color: #2b1f1d;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.remarks-quote-text {
    color: #5d4037;
    font-size: 13px;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    padding: 5px 0;
}

/* Contact Details Card */
.contact-details-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(140, 21, 21, 0.03);
    border: 1px solid rgba(140, 21, 21, 0.05);
    margin-top: 15px;
}

.premium-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

@media (max-width: 767px) {
    .premium-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.info-item-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px dashed rgba(102, 69, 28, 0.06);
    padding-bottom: 12px;
}

.info-item-block:last-child {
    border-bottom: none;
}

.info-item-block.full-width {
    grid-column: 1 / -1;
    border-bottom: none;
    padding-bottom: 0;
}

.info-item-block .info-icon {
    width: 36px;
    height: 36px;
    background: #faf8f5;
    border: 1px solid rgba(140, 21, 21, 0.04);
    border-radius: 8px;
    color: var(--brand-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-item-block .info-content {
    display: flex;
    flex-direction: column;
}

.info-item-block .info-label {
    font-size: 11px;
    color: var(--brand-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-item-block .info-value {
    font-size: 14px;
    color: #5d4037;
    font-weight: 600;
    margin-top: 2px;
}

/* Lightbox Modal Slider Customizations */
.lightbox-slider {
    margin: 0 auto;
    max-width: 90%;
}

.lightbox-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #ffffff;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-slider .slick-arrow:hover {
    background: var(--brand-gold);
    color: var(--brand-dark-maroon);
    border-color: var(--brand-gold);
    box-shadow: 0 0 15px rgba(246, 175, 4, 0.4);
}

.lightbox-slider .slick-prev {
    left: -50px;
}

.lightbox-slider .slick-next {
    right: -50px;
}

@media (max-width: 768px) {
    .lightbox-slider .slick-prev {
        left: 5px;
    }
    .lightbox-slider .slick-next {
        right: 5px;
    }
    .lightbox-slider .slick-arrow {
        background: rgba(0, 0, 0, 0.5);
        border-color: rgba(255, 255, 255, 0.3);
    }
}

.lightbox-slider .slick-prev::before {
    content: "\f104";
    font-family: FontAwesome;
    font-size: 24px;
}

.lightbox-slider .slick-next::before {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 24px;
}

/* Favorite Heart Toggle Overlay */
.fav-heart-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.fav-heart-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.fav-heart-btn:hover {
    transform: scale(1.1);
    background: #ffffff;
}

.fav-heart-btn i {
    color: #b0bec5;
    font-size: 18px;
    transition: color 0.2s ease;
}

.fav-heart-btn i.sav-act {
    color: #e53935;
}
