/* ═══════════════════════════════════════
   project.css — Single project page styles
   ═══════════════════════════════════════ */

/* ── Hero ── */
.dal-proj-hero {
    padding-top: 140px;
    padding-bottom: 70px;
    background: url('../images/slider/bg4.jpg') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}
.dal-proj-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(20, 10, 5, 0.0);
}
.dal-proj-hero-inner {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: flex-start;
}
.dal-proj-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(170,121,77,.15);
    border: 1px solid rgba(170,121,77,.3);
    color: var(--second-color);
    font-size: 12px; font-weight: 700;
    border-radius: 20px; padding: 4px 14px;
    margin-bottom: 16px;
}
.dal-proj-hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
}
.dal-proj-hero .subtitle {
    font-size: 16px; color: rgba(255,255,255,.8);
    font-weight: 400; margin: 0;
}
.dal-proj-badge {
    color: #e8c99a !important;
    border-color: rgba(232,201,154,.35) !important;
    background: rgba(232,201,154,.1) !important;
}

/* ── Body ── */
.dal-proj-body {
    background: #F7F2ED;
    padding: 60px 0 100px;
    min-height: 60vh;
}

/* ── Back link ── */
.dal-back-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--second-color);
    font-size: 14px; font-weight: 600;
    text-decoration: none; margin-bottom: 36px;
}
.dal-back-link:hover { opacity: .8; text-decoration: none; }

/* ── Layout ── */
.dal-proj-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .dal-proj-layout { grid-template-columns: 1fr; }
}

/* ── Main image ── */
.dal-proj-image {
    border-radius: 16px; overflow: hidden;
    border: 1px solid #D3B8A1;
    background: #EDE4D8;
    margin-bottom: 32px;
    aspect-ratio: 16/9;
    display: flex; align-items: center; justify-content: center;
}
.dal-proj-image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.dal-proj-image .no-img {
    font-size: 72px; color: #C4A58E;
}

/* ── Description ── */
.dal-proj-desc-title {
    font-size: 18px; font-weight: 700;
    color: #2C1810; margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(170,121,77,.2);
}
.dal-proj-desc p, .dal-proj-desc {
    font-size: 15px; line-height: 1.9;
    color: #6B4C35;
}

/* ── Sidebar card ── */
.dal-proj-sidebar-card {
    background: #FFFCFA;
    border: 1px solid #D3B8A1;
    border-radius: 16px;
    overflow: hidden;
    position: sticky; top: 100px;
}
.dal-proj-sidebar-card-header {
    background: #EDE4D8;
    padding: 18px 22px;
    border-bottom: 1px solid #D3B8A1;
}
.dal-proj-sidebar-card-header h3 {
    font-size: 15px; font-weight: 700;
    color: #2C1810; margin: 0;
}
.dal-proj-info-list { list-style: none; padding: 0; margin: 0; }
.dal-proj-info-list li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 22px;
    border-bottom: 1px solid #EDE4D8;
    font-size: 14px;
}
.dal-proj-info-list li:last-child { border-bottom: none; }
.dal-proj-info-list .info-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(170,121,77,.1);
    display: flex; align-items: center; justify-content: center;
    color: #aa794d; font-size: 13px; flex-shrink: 0;
}
.dal-proj-info-list .info-label {
    font-size: 11px; color: #9B7B60; font-weight: 600;
    display: block; margin-bottom: 2px;
}
.dal-proj-info-list .info-value {
    font-size: 14px; color: #2C1810; font-weight: 600;
}

/* ── Actions ── */
.dal-proj-actions {
    padding: 18px 22px;
    display: flex; flex-direction: column; gap: 10px;
    border-top: 1px solid #D3B8A1;
}
.dal-proj-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: 10px;
    font-size: 14px; font-weight: 700;
    text-decoration: none; transition: all .2s;
    font-family: 'GamilaArabic', sans-serif;
}
.dal-proj-btn-primary {
    background: #aa794d; color: #fff;
}
.dal-proj-btn-primary:hover { background: #8f6340; color: #fff; opacity: 1; text-decoration: none; }
.dal-proj-btn-secondary {
    background: #EDE4D8; color: #6B4C35;
    border: 1px solid #D3B8A1;
}
.dal-proj-btn-secondary:hover { background: #D3B8A1; color: #2C1810; opacity: 1; text-decoration: none; }

/* ── 404 ── */
.dal-404 {
    text-align: center; padding: 80px 20px;
}
.dal-404 i { font-size: 64px; color: #C4A58E; display: block; margin-bottom: 20px; }
.dal-404 h2 { font-size: 24px; color: #2C1810; margin-bottom: 10px; }
.dal-404 p  { color: #9B7B60; margin-bottom: 24px; }

/* ── URL share row ── */
.dal-share-url {
    display: flex; align-items: center; gap: 8px;
    background: #EDE4D8; border-radius: 8px;
    padding: 10px 14px; margin: 18px 22px 0;
    border: 1px solid #D3B8A1;
}
.dal-share-url input {
    flex: 1; background: transparent; border: none;
    font-size: 12px; color: #6B4C35; outline: none;
    font-family: monospace; direction: ltr;
    text-align: left;
}
.dal-share-url button {
    background: none; border: none; cursor: pointer;
    color: #aa794d; font-size: 14px; padding: 0 2px;
    transition: transform .15s;
}
.dal-share-url button:hover { transform: scale(1.2); }
