/* ===== NADA MAHMOUD - DEAL PAGE STYLES (SYNCED) ===== */

/* ===== Deal Page (Case Study) Styling ===== */
.deal-page {
    padding-top: 60px;
}

.deal-page .project-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.deal-page .project-main {
    background: transparent;
}

.deal-main-image {
    margin-bottom: 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.deal-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Case Study Cards */
.case-study-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.case-study-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-study-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--primary);
}

.case-study-card .icon {
    width: 48px;
    height: 48px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.case-study-card p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

/* Result Card Special Styling */
.case-study-card.result {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}

.case-study-card.result h3 {
    color: #047857;
}

.case-study-card.result .icon {
    background: rgba(5, 150, 105, 0.15);
    color: #059669;
}

.case-study-card.result p {
    color: #065f46;
    font-weight: 500;
}

/* Sidebar Stats */
.deal-stats-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.deal-stat-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.deal-stat-item:last-child {
    border-bottom: none;
}

.deal-stat-item .label {
    color: var(--text-muted);
    font-weight: 600;
}

.deal-stat-item .value {
    color: var(--text-primary);
    font-weight: 700;
}

.deal-stat-item .value.price {
    color: var(--primary);
}

/* Share Box */
.share-box {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    padding: 12px 25px;
    border-radius: var(--radius-full);
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Inquiry Card Fixes for Deal Page */
.inquiry-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.inquiry-card h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.highlight-card {
    background: var(--primary-gradient);
    color: white;
    border: none;
}

.highlight-card h3 {
    color: white;
}

.highlight-card p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.white-btn {
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.white-btn:hover {
    transform: translateY(-3px);
}

/* Other Deals List */
.other-deals-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.other-deals-list li a {
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
}

.other-deals-list li a:hover {
    color: var(--accent);
    padding-right: 5px;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .case-study-card.result {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .case-study-card.result h3 {
    color: #34d399;
}

[data-theme="dark"] .case-study-card.result .icon {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

[data-theme="dark"] .case-study-card.result p {
    color: #6ee7b7;
}

/* Responsive */
@media (max-width: 992px) {
    .deal-page .project-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .case-study-card {
        padding: 24px;
    }
}

/* Page Header Sync */
.page-header {
    background: var(--bg-hero), url('../images/hero-bg.jpg') center/cover;
    position: relative;
    padding: 140px 0 80px;
    color: white;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-hero) !important;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: var(--accent-light);
}