/**
 * News Details Page Premium Styles - Damascus Heritage
 * Brand Color: #c28e31
 */

:root {
    --brand-color: #c28e31;
    --brand-color-light: #f4b146;
    --brand-color-dark: #a67526;
    --text-dark: #2b2b2b;
    --text-gray: #6d6d6d;
    --white: #ffffff;
    --cream: #fdfaf5;
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: #fff;
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.damascus-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="damascus" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20 0 L40 20 L20 40 L0 20 Z" fill="%23c28e31" opacity="0.02"/></pattern></defs><rect width="200" height="200" fill="url(%23damascus)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Header (Same as news page)
   ============================================ */

.premium-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(194, 142, 49, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--transition-base);
}

.premium-header.scrolled {
    box-shadow: 0 4px 20px rgba(194, 142, 49, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 40px;
}

.logo-section .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform var(--transition-base);

}

.logo-section .logo img{
    height: 100px;
    width: auto;
}
.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 32px;
    color: var(--brand-color);
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand-color), var(--brand-color-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav {
    display: flex;
    gap: 35px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--brand-color);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--brand-color), var(--brand-color-light));
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(194, 142, 49, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 142, 49, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--brand-color);
    border-radius: 3px;
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    padding: 80px 30px 30px;
    transition: right var(--transition-base);
    z-index: 111;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 12px;
    transition: all var(--transition-base);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: linear-gradient(135deg, rgba(194, 142, 49, 0.1), rgba(244, 177, 70, 0.1));
    color: var(--brand-color);
}

.mobile-cta-btn {
    display: block;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, var(--brand-color), var(--brand-color-light));
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 20px;
}

/* ============================================
   Breadcrumb
   ============================================ */

.breadcrumb-section {
    padding: 20px 0;
    background: linear-gradient(135deg, var(--cream), #fff);
    border-bottom: 1px solid rgba(194, 142, 49, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 600;
    transition: opacity var(--transition-base);
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb .separator {
    color: var(--text-gray);
}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 600;
}

/* ============================================
   Article Main
   ============================================ */

.article-main {
    padding: 60px 0;
}

.news-article {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(194, 142, 49, 0.1);
    margin-bottom: 50px;
}

.article-image-wrapper {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.article-content {
    padding: 50px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(194, 142, 49, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
}

.meta-item i {
    color: var(--brand-color);
    font-size: 16px;
}

.article-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 25px;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.divider-ornament {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand-color), transparent);
    position: relative;
}

.divider-ornament::before {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--brand-color);
    font-size: 12px;
    background: white;
    padding: 0 10px;
}

.article-excerpt {
    font-size: 20px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 40px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(194, 142, 49, 0.05), rgba(244, 177, 70, 0.05));
    border-right: 4px solid var(--brand-color);
    border-radius: 8px;
    font-weight: 500;
}

.article-body {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 2;
    text-align: justify;
    margin-bottom: 40px;
}

.article-body p {
    margin-bottom: 20px;
}

/* Share Section */
.share-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid rgba(194, 142, 49, 0.1);
}

.share-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-base);
    text-decoration: none;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* ============================================
   Article Navigation
   ============================================ */

.article-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--cream), #fff);
    border-radius: 15px;
    margin-bottom: 60px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid rgba(194, 142, 49, 0.1);
}

.nav-btn:hover {
    border-color: var(--brand-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(194, 142, 49, 0.2);
}

.nav-btn i {
    font-size: 20px;
    color: var(--brand-color);
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
}

.nav-title {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 700;
}

.back-to-news {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--brand-color), var(--brand-color-light));
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(194, 142, 49, 0.3);
    justify-self: center;
}

.back-to-news:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(194, 142, 49, 0.4);
}

/* ============================================
   Related News
   ============================================ */

.related-news-section {
    margin-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.title-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.title-ornament::before,
.title-ornament::after {
    content: '';
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-color), transparent);
}

.title-ornament i {
    font-size: 20px;
    color: var(--brand-color);
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(194, 142, 49, 0.1);
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(194, 142, 49, 0.2);
    border-color: var(--brand-color);
}

.related-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.related-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-image {
    transform: scale(1.1);
}

.related-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(194, 142, 49, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.related-card:hover .related-overlay {
    opacity: 1;
}

.related-overlay i {
    font-size: 32px;
    color: white;
}

.related-content {
    padding: 25px;
}

.related-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color var(--transition-base);
}

.related-card:hover .related-title {
    color: var(--brand-color);
}

.related-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ============================================
   Premium Footer
   ============================================ */

.premium-footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
}
.footer-about .footer-logo img{
    height: 100px;
    width: auto;
}
.footer-logo i {
    color: var(--brand-color);
    font-size: 32px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(194, 142, 49, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-color);
    transition: all var(--transition-base);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--brand-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-projects h4,
.footer-contact h4 {
    color: var(--brand-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all var(--transition-base);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--brand-color);
    padding-right: 5px;
}

.footer-projects ul {
    list-style: none;
}

.footer-projects li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
    padding-right: 15px;
    position: relative;
}

.footer-projects li::before {
    content: '◆';
    position: absolute;
    right: 0;
    color: var(--brand-color);
    font-size: 8px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.contact-item i {
    color: var(--brand-color);
    font-size: 16px;
    margin-top: 2px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-base);
    display: block;
}

.contact-item a:hover {
    color: var(--brand-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-tagline {
    color: var(--brand-color);
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
}

.footer-tagline i {
    font-size: 12px;
    opacity: 0.6;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .article-content {
        padding: 40px;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .main-nav,
    .cta-btn {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .article-image-wrapper {
        height: 300px;
    }
    
    .article-content {
        padding: 30px 20px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-excerpt {
        font-size: 16px;
        padding: 20px;
    }
    
    .article-body {
        font-size: 16px;
    }
    
    .share-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 24px;
    }
    
    .article-excerpt {
        font-size: 15px;
    }
    
    .article-body {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
}