/* Martyr Profile Page Styles */

/* Martyr Profile Header */
.martyr-profile-header {
    background: linear-gradient(135deg, #2F2D69, #1AAB9E);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(47, 45, 105, 0.3);
    position: relative;
    overflow: hidden;
}

.martyr-profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/visuals/1.png');
    background-size: 40px 40px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.martyr-header-content {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.martyr-image-section {
    display: flex;
    justify-content: center;
}

.martyr-image-container {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.martyr-image-container:hover {
    transform: scale(1.05);
}

.martyr-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.martyr-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 45, 105, 0.8), rgba(26, 171, 158, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.martyr-image-container:hover .martyr-image-overlay {
    opacity: 1;
}

.martyr-badge {
    background: white;
    color: #2F2D69;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.martyr-badge i {
    color: #FBB547;
}

.martyr-info-section {
    color: white;
}

.martyr-name {
    font-size: 1.09rem;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.3;
    text-align: right;
    margin: 0 0 1.5rem 0;
    padding-right: 1rem;
}

.martyr-code {
    background: rgba(255,255,255,0.2);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.code-label {
    font-size: 0.68rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.code-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: #FBB547;
}

.martyr-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.detail-row .detail-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.62rem;
    font-weight: 500;
    flex: 0 0 auto;
    margin-left: 1rem;
}

.detail-row .detail-value {
    color: white;
    font-size: 0.62rem;
    font-weight: 600;
    text-align: left;
    flex: 1;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.1);
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    min-height: 40px;
}

.detail-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.detail-icon {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FBB547;
    font-size: 0.62rem;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
}

.detail-label {
    display: block;
    font-size: 0.51rem;
    opacity: 0.8;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

.detail-value {
    display: block;
    font-size: 0.58rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Profile Content */
.martyr-profile-content {
    margin-bottom: 2rem;
}

.profile-content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.profile-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2F2D69, #1AAB9E);
    color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(47, 45, 105, 0.3);
    position: relative;
    overflow: hidden;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/visuals/2.png');
    background-size: 30px 30px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.section-header h2 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FBB547;
    font-size: 0.82rem;
    position: relative;
    z-index: 1;
}

/* Biography Section */
.biography-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

/* Tabbed Content Section */
.tabbed-content-section {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    color: #2F2D69;
    background: white;
    border-bottom-color: #1AAB9E;
}

.tab-button:hover {
    color: #2F2D69;
    background: rgba(26, 171, 158, 0.1);
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

.tab-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.68rem;
    text-align: justify;
}

.tab-content p:last-child {
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-image: url('../images/visuals/5.png');
    background-size: 35px 35px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 45, 105, 0.8), rgba(26, 171, 158, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 1.36rem;
}

.biography-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-image: url('../images/visuals/3.png');
    background-size: 35px 35px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.biography-content {
    position: relative;
    z-index: 1;
}

.biography-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.68rem;
    text-align: justify;
}

.biography-content p:last-child {
    margin-bottom: 0;
}

/* Memories Section */
.memories-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.memories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-image: url('../images/visuals/4.png');
    background-size: 35px 35px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.memories-content {
    position: relative;
    z-index: 1;
}

.memory-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.memory-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #1AAB9E, #2F2D69);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.memory-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #1AAB9E;
}

.memory-item:hover::before {
    opacity: 1;
}

.memory-item:last-child {
    margin-bottom: 0;
}

.memory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.memory-header h3 {
    color: #2F2D69;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0;
}

.memory-date {
    background: #1AAB9E;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 500;
}

.memory-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 0.68rem;
}

/* Testimony Section */
.testimony-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.testimony-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-image: url('../images/visuals/5.png');
    background-size: 35px 35px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.testimony-content {
    position: relative;
    z-index: 1;
}

.testimony-quote {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin: 0;
    border-right: 4px solid #1AAB9E;
    position: relative;
    overflow: hidden;
}

.testimony-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 1.7rem;
    font-weight: 200;
    color: #1AAB9E;
    opacity: 0.3;
    font-family: serif;
}

.testimony-quote p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.68rem;
    text-align: justify;
    font-style: italic;
}

.testimony-quote p:last-child {
    margin-bottom: 0;
}

/* Profile Sidebar */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Quick Stats Section */
.quick-stats-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.quick-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-image: url('../images/visuals/1.png');
    background-size: 30px 30px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.quick-stats-section h3 {
    color: #2F2D69;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #1AAB9E, #2F2D69);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #1AAB9E;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: #1AAB9E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.82rem;
}

.stat-content {
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #2F2D69;
    margin-bottom: 0.2rem;
}

.stat-label {
    display: block;
    font-size: 0.62rem;
    color: #666;
}

/* Related Martyrs Section */
.related-martyrs-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.related-martyrs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-image: url('../images/visuals/2.png');
    background-size: 30px 30px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.related-martyrs-section h3 {
    color: #2F2D69;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.related-martyrs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.related-martyr-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.related-martyr-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #2F2D69, #1AAB9E);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.related-martyr-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #2F2D69;
}

.related-martyr-item:hover::before {
    opacity: 1;
}

.related-martyr-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1AAB9E;
    transition: transform 0.3s ease;
}

.related-martyr-item:hover .related-martyr-image {
    transform: scale(1.05);
}

.related-martyr-info {
    flex: 1;
}

.related-martyr-info h4 {
    color: #2F2D69;
    font-size: 0.68rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
}

.related-martyr-info p {
    color: #666;
    font-size: 0.62rem;
    margin: 0;
}

/* QR Code Section */
.qr-code-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.qr-code-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-image: url('../images/visuals/4.png');
    background-size: 30px 30px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.qr-code-section h3 {
    color: #2F2D69;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.qr-code-image {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.qr-code-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #1AAB9E;
}

.qr-download-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 171, 158, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 6px;
}

.qr-code-image:hover .qr-download-overlay {
    opacity: 1;
}

.qr-download-overlay i {
    font-size: 1.02rem;
    margin-bottom: 0.5rem;
}

.qr-download-overlay span {
    font-size: 0.62rem;
    font-weight: 600;
}

.qr-code-image img {
    width: 150px;
    height: 150px;
    border-radius: 4px;
}

.qr-description {
    color: #666;
    font-size: 0.62rem;
    text-align: center;
    margin: 0;
    font-weight: 500;
}

/* Share Section */
.share-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.share-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-image: url('../images/visuals/3.png');
    background-size: 30px 30px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.share-section h3 {
    color: #2F2D69;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.62rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Comments Section */
.comments-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.comments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-image: url('../images/visuals/4.png');
    background-size: 35px 35px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.comments-content {
    position: relative;
    z-index: 1;
}

/* Comment Items */
.comment-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comment-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #1AAB9E, #2F2D69);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.comment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #1AAB9E;
}

.comment-item:hover::before {
    opacity: 1;
}

.comment-item:last-child {
    margin-bottom: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.author-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #1AAB9E, #2F2D69);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.68rem;
    box-shadow: 0 2px 8px rgba(26, 171, 158, 0.3);
}

.author-info h4 {
    color: #2F2D69;
    font-size: 0.65rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
}

.comment-date {
    color: #666;
    font-size: 0.54rem;
    font-weight: 500;
}

.comment-content {
    margin-bottom: 0.6rem;
}

.comment-content p {
    color: #555;
    line-height: 1.5;
    margin: 0;
    font-size: 0.62rem;
    text-align: justify;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: transparent;
    border: 2px solid #e9ecef;
    color: #666;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.54rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-btn:hover {
    border-color: #1AAB9E;
    color: #1AAB9E;
    background: rgba(26, 171, 158, 0.1);
    transform: translateY(-1px);
}

.like-btn i {
    font-size: 0.54rem;
}

.like-btn.liked {
    background: #1AAB9E;
    border-color: #1AAB9E;
    color: white;
}

/* Add Comment Section */
.add-comment-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.add-comment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-image: url('../images/visuals/5.png');
    background-size: 30px 30px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.add-comment-section h3 {
    color: #2F2D69;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.comment-form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #2F2D69;
    font-size: 0.68rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.68rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
    background: white;
}

.form-group textarea:focus {
    outline: none;
    border-color: #1AAB9E;
    box-shadow: 0 0 0 3px rgba(26, 171, 158, 0.1);
}

.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.form-actions {
    display: flex;
    justify-content: center;
}

.submit-btn {
    background: linear-gradient(135deg, #1AAB9E, #2F2D69);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 0.68rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(26, 171, 158, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 171, 158, 0.4);
}

.submit-btn i {
    font-size: 0.75rem;
}

.comment-notice {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.notice-icon {
    width: 60px;
    height: 60px;
    background: #1AAB9E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.02rem;
}

.comment-notice p {
    color: #555;
    font-size: 0.68rem;
    margin: 0;
}

.login-btn {
    background: linear-gradient(135deg, #1AAB9E, #2F2D69);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(26, 171, 158, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 171, 158, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-sidebar {
        order: -1;
    }
    
    .martyr-header-content {
        grid-template-columns: 120px 1fr;
        gap: 1rem;
    }
    
    .martyr-image-container {
        width: 120px;
        height: 120px;
    }
    
    .martyr-name {
        font-size: 0.88rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .martyr-details-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .martyr-profile-header {
        padding: 1.5rem;
    }
    
    .martyr-header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .martyr-image-container {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .martyr-name {
        font-size: 1.09rem;
    }
    
    .martyr-details-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .detail-item {
        padding: 0.3rem 0.5rem;
        min-height: 35px;
    }
    
    .detail-icon {
        width: 24px;
        height: 24px;
        font-size: 0.54rem;
    }
    
    .detail-label {
        font-size: 0.47rem;
    }
    
    .detail-value {
        font-size: 0.54rem;
    }
    
    .biography-section,
    .memories-section,
    .testimony-section,
    .comments-section {
        padding: 1.5rem;
    }
    
    .comment-item {
        padding: 0.6rem;
    }
    
    .add-comment-section {
        padding: 1.5rem;
    }
    
    .quick-stats-section,
    .related-martyrs-section,
    .share-section {
        padding: 1.2rem;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .martyr-profile-header {
        padding: 1rem;
    }
    
    .martyr-image-container {
        width: 100px;
        height: 100px;
    }
    
    .martyr-name {
        font-size: 0.95rem;
    }
    
    .martyr-code {
        padding: 0.6rem 1rem;
    }
    
    .code-value {
        font-size: 0.68rem;
    }
    
    .detail-item {
        padding: 0.6rem 0.8rem;
    }
    
    .detail-icon {
        width: 35px;
        height: 35px;
        font-size: 0.68rem;
    }
    
    .biography-section,
    .memories-section,
    .testimony-section,
    .comments-section {
        padding: 1rem;
    }
    
    .comment-item {
        padding: 0.5rem;
    }
    
    .add-comment-section {
        padding: 1rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .comment-author {
        gap: 0.5rem;
    }
    
    .author-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.54rem;
    }
    
    .author-info h4 {
        font-size: 0.58rem;
    }
    
    .comment-date {
        font-size: 0.47rem;
    }
    
    .comment-content p {
        font-size: 0.54rem;
    }
    
    .like-btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.47rem;
    }
    
    .quick-stats-section,
    .related-martyrs-section,
    .share-section {
        padding: 1rem;
    }
    
    .section-header {
        padding: 0.8rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .section-header h2 {
        font-size: 0.82rem;
    }
    
    .memory-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .testimony-quote {
        padding: 1.5rem;
    }
    
    .testimony-quote p {
        font-size: 0.65rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.02rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.lightbox-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.lightbox-download {
    background: linear-gradient(135deg, #2F2D69, #1AAB9E);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.68rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 45, 105, 0.3);
}

.lightbox-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 45, 105, 0.4);
}

.lightbox-download i {
    font-size: 0.75rem;
}
