﻿:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #f8fafc;
    --accent-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Modern Breadcrumb */
.modern-breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .modern-breadcrumb .breadcrumb {
        margin: 0;
        background: none;
        padding: 0;
    }

    .modern-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        content: "→";
        color: var(--text-secondary);
        font-weight: 500;
    }

    .modern-breadcrumb .breadcrumb-item a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s ease;
    }

        .modern-breadcrumb .breadcrumb-item a:hover {
            color: var(--primary-hover);
            text-decoration: underline;
        }

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .glass-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    }

/* Modern Image Gallery */
.image-gallery {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #f8fafc;
    min-height: 400px;
}

    .image-gallery img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .image-gallery:hover img {
        transform: scale(1.02);
    }

/* Enhanced Details Section */
.details-section {
    padding: 32px;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
    padding: 20px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: var(--radius-lg);
    border: 1px solid #a7f3d0;
}

.price-display {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .price-display::before {
        content: "";
        font-size: 1.5rem;
    }

.item-id {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
}

.detail-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
    margin-top: 24px;
}

/* Modern Contact Card */
.contact-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 28px;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .contact-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        pointer-events: none;
    }

    .contact-card h3 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 20px;
        position: relative;
    }

.phone-display {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.show-contact-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

    .show-contact-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
    }

.call-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

    .call-link:hover {
        background: white;
        transform: translateY(-2px);
        text-decoration: none;
        color: var(--primary-hover);
    }

/* Modern Attributes Section */
.attributes-card {
    padding: 32px;
}

    .attributes-card h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 24px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .attributes-card h3::before {
            content: "📋";
            font-size: 1.25rem;
        }

.attribute-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

    .attribute-item:last-child {
        border-bottom: none;
    }

    .attribute-item:hover {
        background: rgba(37, 99, 235, 0.02);
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
        border-radius: var(--radius-md);
    }

.attribute-name {
    font-weight: 600;
    color: var(--text-primary);
}

.attribute-value {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Modern Similar Ads */
.similar-ads-section {
    margin-top: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        border-radius: 2px;
    }

.ad-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

    .ad-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
    }

.ad-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ad-card:hover .ad-card-image {
    transform: scale(1.05);
}

.ad-card-body {
    padding: 20px;
}

.ad-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Modern Safety Tips */
.safety-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border: 1px solid #fbbf24;
    padding: 28px;
    border-radius: var(--radius-xl);
    position: sticky;
    top: 20px;
}

    .safety-card h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #92400e;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .safety-card h3::before {
            content: "🛡️";
            font-size: 1.25rem;
        }

.safety-tips {
    list-style: none;
    padding: 0;
    margin: 0;
}

.safety-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #92400e;
    line-height: 1.6;
}

    .safety-tip::before {
        content: "✓";
        background: #10b981;
        color: white;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: bold;
        flex-shrink: 0;
        margin-top: 2px;
    }

/* Responsive Design */
@media (max-width: 992px) {
    .detail-title {
        font-size: 2rem;
    }

    .price-section {
        flex-direction: column;
        text-align: center;
    }

    .details-section {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .detail-title {
        font-size: 1.75rem;
    }

    .price-display {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .modern-breadcrumb {
        padding: 12px 16px;
    }
}

/* Animation */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Light Slider Customization */
#lightSlider {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.lSSlideOuter .lSPager.lSGallery {
    margin-top: 16px;
}

    .lSSlideOuter .lSPager.lSGallery li {
        border-radius: var(--radius-md);
        overflow: hidden;
        margin-right: 8px;
    }

        .lSSlideOuter .lSPager.lSGallery li.active,
        .lSSlideOuter .lSPager.lSGallery li:hover {
            border: 3px solid var(--primary-color);
        }

.call-link.mt-2 {
    background: #25D366;
    color: white;
    border: none;
}

    .call-link.mt-2:hover {
        background: #1DA851;
        color: white;
    }

.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

    .social-share-buttons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 18px;
        font-size: 16px;
        font-weight: 600;
        color: white;
        border-radius: var(--radius-lg);
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-sm);
        min-width: 140px;
    }

        .social-share-buttons a:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

.share-fb {
    background: #3b5998;
}

.share-tw {
    background: #1da1f2;
}

.share-wa {
    background: #25D366;
}

.share-ln {
    background: #0077b5;
}

.share-email {
    background: #ea4335;
}

.share-x {
    background: #000; /* X is mostly black/white */
    color: white;
}

@media (max-width: 768px) {
    .social-share-buttons {
        flex-direction: column;
        align-items: center;
    }

        .social-share-buttons a {
            width: 100%;
            justify-content: center;
            font-size: 1rem;
            padding: 12px 20px;
            margin-bottom: 8px;
        }
}

.social-share-buttons a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .social-share-buttons a:active {
        transform: scale(0.98);
        opacity: 0.95;
    }

.job-badge {
    background: #ecfdf5;
    color: #10b981;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    margin-bottom: 10px;
}

.how-to-apply-section .card-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    font-weight: bold;
    border-bottom: none;
    font-size: 1.2rem;
}

.how-to-apply-section .card-body {
    font-size: 1.05rem;
    line-height: 1.6;
}
/* How to Apply Section Modern Styling */
.how-to-apply-modern {
    padding: 32px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
}

.how-to-apply-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

    .how-to-apply-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
    }

.how-to-apply-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
}
