/* 
   HAMMER & FIRE METALWORKS 
   Professional Stylesheet - Main / Home
*/


:root {
    /* --- COLOR PALETTE --- */
    --gold-primary: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #8a6e2f;
    --gold-gradient: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    
    --bg-dark: #0f1012;
    --bg-card: #16181b;
    --bg-overlay: rgba(0, 0, 0, 0.75);
    
    --text-light: #ffffff;
    --text-dim: #b0b0b0;
    --text-accent: var(--gold-primary);

    --font-primary: 'Oswald', sans-serif;
    --font-arabic: 'Cairo', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --border-gold: 1px solid rgba(212, 175, 55, 0.3);
    --card-shadow: 0 10px 30px rgba(0,0,0,0.5);
    --gold-glow: 0 0 15px rgba(212, 175, 55, 0.2);
    
    --transition-base: all 0.3s ease-in-out;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center { text-align: center; }

.ar-text, .ar-title, .hero-subtitle-ar, .hero-tagline-ar, .btn-ar, .ar-sm, .d-block {
    font-family: var(--font-arabic);
}
.d-block { display: block; }

/* --- COMPONENTS --- */
.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000;
    border-radius: 4px;
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: var(--gold-glow);
}

.btn-cta {
    background: linear-gradient(180deg, #eebb44 0%, #d4af37 100%);
    color: #1a1a1a;
    border: 1px solid #ffd700;
    border-radius: 4px; 
    padding: 8px 30px; 
    font-size: 1rem; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    pointer-events: none;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.section-title .ar-title {
    display: block;
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-top: 5px;
}

/* --- HEADER --- */
.main-header {
    background: rgba(15, 16, 18, 0.95);
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--text-light);
}

.logo i {
    color: var(--gold-primary);
    font-size: 1.8rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span { font-weight: 700; letter-spacing: 1px; }
.logo-text .sub { font-size: 0.8rem; color: var(--gold-primary); letter-spacing: 3px; }

.main-nav ul {
    display: flex;
    gap: var(--spacing-md);
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--gold-primary);
}

/* --- HOME: HERO SECTION --- */
.hero {
    position: relative;
    min-height: 700px;
    background: url('/backgroundimage.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 80px; 
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.2) 100%),
                linear-gradient(to top, rgba(15, 16, 18, 1) 0%, transparent 20%);
    box-shadow: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: transparent;
    background: linear-gradient(180deg, #ffd700 0%, #d4af37 40%, #a67c00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 0; 
    letter-spacing: 1px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.hero-subtitle-ar {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-tagline {
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-tagline-ar {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    letter-spacing: 0;
    font-weight: 600;
}

/* --- HOME: SERVICES GRID --- */
.services-section {
    padding: var(--spacing-lg) 0;
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: linear-gradient(145deg, #1a1c20, #131416);
    padding: var(--spacing-md);
    text-align: center;
    border-radius: 8px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 4px;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: var(--gold-primary);
}

.service-card:hover .icon-box i , .service-card:hover .icon-box img {
    transform: scale(1.1);
    color: #fff;
    text-shadow: 0 0 10px var(--gold-primary);
}

.icon-box { margin-bottom: var(--spacing-sm); }
.icon-box i , .icon-box img {
    font-size: 3rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-base);
}

.service-card h3 { font-size: 1.2rem; margin-bottom: 5px; color: var(--text-light); }
.service-card .ar-text { color: var(--text-dim); font-size: 1rem; }

/* --- HOME: WHY CHOOSE US --- */
.why-choose-us {
    padding: var(--spacing-xl) 0;
    background: var(--bg-card);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.image-frame {
    border: 3px solid rgba(212, 175, 55, 0.3);
    padding: 10px;
    background: #111;
    box-shadow: var(--card-shadow);
    position: relative;
    max-height: 500px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame img { max-height: 100%; width: auto; object-fit: cover; }
.image-frame::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 2rem;
}

.features-grid li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0; 
}

.features-grid i {
    font-size: 1.8rem;
    color: var(--gold-primary);
    min-width: 30px;
    text-align: center;
    margin-top: 5px;
}

.features-list h4, .features-grid h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2px;
}
.features-list p, .features-grid p { font-size: 0.9rem; color: var(--text-dim); }

/* --- HOME: STATS BAR --- */
.stats-bar {
    background: linear-gradient(to right, #2a2a2a, #1a1a1a);
    padding: var(--spacing-md) 0;
    border-top: 2px solid var(--gold-dark);
    border-bottom: 2px solid var(--gold-dark);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 5px;
}

/* --- HOME: TRUSTED PARTNERS --- */
.partners {
    padding: var(--spacing-md) 0;
    text-align: center;
    background: var(--bg-dark);
}

.section-label {
    color: var(--text-dim);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.logo-placeholder {
    font-size: 1.2rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- HOME: OTHER --- */
.news-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.news-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-base);
}

.news-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.news-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.news-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img img { transform: scale(1.1); }

.news-content { padding: 1.5rem; }
.news-content h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-light); }
.news-content p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--gold-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
}
.read-more:hover { color: var(--gold-light); text-decoration: underline; }

/* --- FOOTER --- */
.main-footer {
    background: #0a0a0a;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-col ul li i { color: var(--gold-primary); margin-top: 4px; }

.social-icons { display: flex; gap: 15px; }
.social-icons a {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-base);
}
.social-icons a:hover {
    color: #000;
    transform: rotate(360deg);
}

.footer-bottom {
    background: #050505;
    padding: 20px 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 1rem; }
    .main-nav ul { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .btn-primary.header-btn { display: none; }
    .hero-title { font-size: 3rem; }
    .split-layout { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { flex-direction: column; gap: 2rem; }
}

/* --- FOOTER (SENIOR REFERENCE MATCH) --- */
.main-footer {
    background: #101113;
    padding-top: 70px;
    font-size: 0.9rem;
    color: #a0a0a0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}
.footer-col:first-child { flex: 1.5; min-width: 280px; }

/* Headings with Gold Vertical Bar */
.footer-col h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-right: 15px;
    line-height: 1.2;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    right: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    background: var(--gold-primary);
}

.brand-header {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
    letter-spacing: 1px;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a {
    color: #a0a0a0;
    transition: color 0.3s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-links li::before {
    content: '•';
    color: var(--gold-primary);
    font-size: 1.2rem;
    line-height: 0;
    position: relative;
    top: 1px;
}

.footer-contact li i {
    color: var(--gold-primary);
    font-size: 0.9rem;
    min-width: 20px;
}

/* Newsletter - Stacked optimized */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    background: #08090a;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 4px;
    font-size: 0.9rem;
    outline: none;
    font-family: inherit;
}
.newsletter-form input:focus { border-color: var(--gold-primary); }

/* --- LANGUAGE TOGGLE (PREMIUM) --- */
.lang-btn {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-arabic); /* Use Cairo for the Arabic text */
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-left: 20px;
    border-radius: 2px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.lang-btn:hover {
    background: var(--gold-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}

.lang-btn::before {
    content: '\f0ac'; /* Globe Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.9rem;
}

.newsletter-form button {
    width: 100%;
    padding: 12px;
    background: #d4af37;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: filter 0.3s;
}
.newsletter-form button:hover {
    filter: brightness(1.1);
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.social-icons a {
    color: #ccc;
    font-size: 1.2rem;
    transition: 0.3s;
}
.social-icons a:hover { color: var(--gold-primary); }

.footer-bottom {
    background: #0d0e0f;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: #666;
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom-links a { margin-left: 20px; color: #666; }
.footer-bottom-links a:hover { color: #888; }

@media (max-width: 768px) {
    .footer-grid { flex-direction: column; gap: 40px; }
    .footer-bottom-content { flex-direction: column; gap: 10px; }
}

/* --- PROJECTS PAGE SPECIFIC STYLES --- */

.page-header {
    position: relative;
    padding: 120px 0 100px;
    text-align: center;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-weight: 700;
    color: var(--gold-primary); 
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold-primary);
    margin: 10px auto 0;
}

.ar-title.d-block {
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-top: 10px;
    display: block; /* Requires d-block from main.css */
    font-family: var(--font-arabic);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-top: 1rem;
}

/* Filter Nav */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-dim);
    padding: 10px 25px;
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.filter-btn .ar-sm {
    font-family: var(--font-arabic);
    font-size: 0.8rem;
    margin-top: 4px;
    opacity: 0.7;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.filter-btn.active {
    background: rgba(212, 175, 55, 0.05);
    box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.1), 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-item {
    display: block;
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Animation Classes for JavaScript */
.project-item.hide {
    display: none; 
}

.project-item.show {
    display: block;
    animation: fadeInUp 0.5s ease backwards; 
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    transition: background 0.3s;
}

.project-item:hover::after {
    background: rgba(0,0,0,0);
}

/* Load More Button */
.btn-outline {
    background: transparent;
    border: 1px solid var(--text-dim);
    color: var(--text-dim);
    padding: 12px 30px;
    text-transform: uppercase; /* Ensure consistent text style */
    font-weight: 700;
}

.btn-outline:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}
/* --- PROJECT DETAILS SPECIFIC STYLES --- */

.breadcrumb-nav {
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 120px; /* Below fixed header */
}
.breadcrumb-nav a { color: var(--text-dim); }
.breadcrumb-nav a:hover { color: var(--gold-primary); }
.breadcrumb-nav span { margin: 0 5px; }
.breadcrumb-nav .current { color: var(--gold-primary); }

.project-header-small {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.project-main-title h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    line-height: 1;
    margin-bottom: 5px;
}

.project-category-sub {
    color: var(--gold-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.status-badge {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--gold-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.project-hero-img {
    width: 100%;
    height: 60vh;
    min-height: 500px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 50px;
    border: 1px solid rgba(255,255,255,0.05);
}

.project-content-cols {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.content-block {
    margin-bottom: 40px;
}

.block-title {
    font-size: 1.2rem;
    color: var(--text-light);
    border-left: 3px solid var(--gold-primary);
    padding-left: 15px;
    margin-bottom: 20px;
}

.content-text p {
    color: var(--text-dim);
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.7;
}

.project-data-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08); 
    border-top: 3px solid var(--gold-primary); 
    padding: 30px;
}

.data-row {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.data-row i {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.data-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 3px;
}

.data-value {
    color: var(--text-light);
    font-weight: 500;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    width: 100%;
    padding: 15px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 20px;
    cursor: pointer;
}
.btn-download:hover {
    background: rgba(212, 175, 55, 0.1);
}

.testimonial-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    margin-top: 40px;
    position: relative;
    font-style: italic;
}

.testimonial-box i {
    font-size: 2rem;
    color: var(--gold-dark);
    margin-bottom: 15px;
    display: block;
}

.testimonial-author {
    font-style: normal;
    font-weight: 700;
    color: var(--gold-primary);
    margin-top: 15px;
    display: block;
    font-size: 0.9rem;
}

.transformation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.trans-item {
    position: relative;
}

.trans-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 5px 10px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 2;
}
.trans-badge.after {
    background: var(--gold-primary);
    color: #000;
}

.trans-item img {
    border-radius: 4px;
    width: 100%;
    height: 300px; /* Enforce fixed height for equality */
    object-fit: cover; /* Maintain aspect ratio without distortion */
    border: 1px solid rgba(255,255,255,0.05); /* Slight border for definition */
}

.trans-caption {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 10px;
}

/* Related Projects */
.section-header-simple {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Call to action box footer */
.cta-box {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6126?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    text-align: center;
    padding: 80px 20px;
    margin-top: 80px;
    border-top: 1px solid var(--gold-dark);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

@media(max-width: 768px) {
    .project-content-cols {
        grid-template-columns: 1fr;
    }
    .project-header-small {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .transformation-grid {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   TOP NAV + HEADER (FINAL CLEAN)
   =============================== */


/* CONTACT LIST */
.top-nav .contact-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-nav .contact-list li {
    display: flex;
    align-items: center;
}

.top-nav .contact-list img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    opacity: 0.85;
}

.top-nav .contact-list a {
    color: #ccc;
    font-size: 0.8rem;
    line-height: 1.2;
}

.top-nav .contact-list a:hover {
    color: var(--gold-primary);
}

/* SOCIAL LINKS */
.top-nav .social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-nav .social-links li {
    display: flex;
}

.top-nav .social-links a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
}

.top-nav .social-links img {
    object-fit: contain;
    display: block;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.top-nav .contact-list a:hover {
    color: var(--gold-primary);
}


/* -------- FIX HERO GAP -------- */
.hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 576px) {
    .top-nav {
        display: none;
    }

    body {
        padding-top: 78px; /* الهيدر بس */
    }

    .main-header {
        top: 0;
    }
}
.top-nav {
    position: relative;   /* 👈 مهم */
    width: 100%;
    background: #0b0c0e;
    border-bottom: 1px solid rgba(212,175,55,0.25);
    font-size: 0.85rem;
    z-index: 1;
}

.hero,
.page-header,
.first-section {
    margin-top: 90px; /* ارتفاع الهيدر فقط */
}
