*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root { --gold: #C49A3C; --gold-dark: #a07d28; --dark: #1a1a1a; --dark-navy: #1e2535; --light-bg: #f4f4f4; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; overflow-x: hidden; color: #333; }

/* TOP BAR */
.top-bar { background: #2a2a2a; color: #bbb; padding: 9px 60px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: 0.3px; }
.top-bar-left { display: flex; gap: 28px; align-items: center; }
.top-bar-left span { display: flex; align-items: center; gap: 7px; }
.top-bar-left i { color: var(--gold); }
.top-bar-right { display: flex; gap: 6px; }
.top-bar-right a { color: #aaa; width: 30px; height: 30px; border: 1px solid #444; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 12px; transition: all .3s; }
.top-bar-right a:hover { background: var(--gold); border-color: var(--gold); color: white; }

/* NAVBAR */
.navbar { background: white; padding: 0 60px; display: flex; align-items: center; justify-content: space-between; height: 78px; position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.logo { font-size: 26px; font-weight: 700; color: var(--gold); letter-spacing: 5px; font-style: italic; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a, .dropdown > a { text-decoration: none; color: #333; font-size: 13px; font-weight: 600; padding: 10px 14px; letter-spacing: 0.5px; transition: color .3s; display: flex; align-items: center; gap: 5px; }
.nav-links > a:hover, .nav-links > a.active, .dropdown > a:hover { color: var(--gold); }
.nav-links .btn-profile { background: var(--gold); color: white !important; padding: 13px 24px; margin-left: 12px; font-size: 12px; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.nav-links .btn-profile:hover { background: var(--gold-dark); }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: white; min-width: 230px; box-shadow: 0 8px 25px rgba(0,0,0,.12); z-index: 100; }
.dropdown-menu a { display: block; padding: 12px 22px; border-bottom: 1px solid #f0f0f0; font-size: 13px; color: #444; text-decoration: none; font-weight: 500; transition: all .3s; }
.dropdown-menu a:hover { color: var(--gold); padding-left: 28px; }
.dropdown:hover .dropdown-menu { display: block; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 26px; height: 3px; background: #333; border-radius: 2px; transition: .3s; }

/* LANGUAGE SWITCHER */
.lang-switcher { position: relative; margin-left: 8px; }
.lang-btn { background: none; border: 1px solid #ddd; padding: 7px 13px; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; color: #333; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.5px; transition: all .3s; height: 36px; }
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.lang-btn .fa-globe { font-size: 14px; color: var(--gold); }
.lang-menu { display: none; position: absolute; top: calc(100% + 4px); right: 0; background: white; min-width: 140px; box-shadow: 0 8px 25px rgba(0,0,0,.12); z-index: 10000; border-top: 2px solid var(--gold); }
.lang-menu.open { display: block; }
.lang-menu a { display: block; padding: 11px 18px; font-family: 'Montserrat', sans-serif; font-size: 13px; color: #444; font-weight: 500; cursor: pointer; transition: all .3s; border-bottom: 1px solid #f0f0f0; text-decoration: none; }
.lang-menu a:last-child { border-bottom: none; }
.lang-menu a:hover, .lang-menu a.lang-active { color: var(--gold); background: #fafafa; padding-left: 24px; }
[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .lang-menu a:hover, [dir="rtl"] .lang-menu a.lang-active { padding-left: 18px; padding-right: 24px; }

/* PAGE HERO */
.page-hero { position: relative; height: 420px; overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,20,40,0.88) 50%, rgba(10,20,40,0.45)); }
.page-hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 60px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.breadcrumb a { color: var(--gold); font-size: 12px; font-weight: 600; text-decoration: none; letter-spacing: 1px; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #aaa; font-size: 12px; }
.page-hero-content .gold-line { width: 65px; height: 4px; background: var(--gold); margin-bottom: 20px; }
.page-hero-content h1 { font-size: 38px; font-weight: 800; color: white; line-height: 1.2; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: white; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; padding: 7px 16px; margin-top: 18px; }

/* MAIN CONTENT LAYOUT */
.project-body { display: grid; grid-template-columns: 1fr 360px; gap: 60px; max-width: 1200px; margin: 0 auto; padding: 80px 60px; }

/* PROJECT DESCRIPTION */
.project-description .section-label { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 8px; }
.project-description h2 { font-size: 28px; font-weight: 800; color: #1a1a1a; margin-bottom: 16px; line-height: 1.3; }
.gold-underline { width: 40px; height: 3px; background: var(--gold); margin-bottom: 26px; }
.project-description p { font-size: 14px; line-height: 2; color: #555; margin-bottom: 18px; }
.project-description h3 { font-size: 16px; font-weight: 700; color: #1a1a1a; margin: 32px 0 16px; }
.scope-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scope-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #444; font-weight: 500; }
.scope-list li::before { content: ''; width: 8px; height: 8px; background: var(--gold); flex-shrink: 0; }

/* PROJECT SIDEBAR */
.project-sidebar { }
.meta-card { background: #1a1a1a; padding: 32px; margin-bottom: 28px; }
.meta-card h4 { color: white; font-size: 13px; font-weight: 700; letter-spacing: 2px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--gold); }
.meta-item { padding: 14px 0; border-bottom: 1px solid #2e2e2e; display: flex; flex-direction: column; gap: 4px; }
.meta-item:last-child { border-bottom: none; }
.meta-item label { font-size: 10px; font-weight: 700; color: #777; letter-spacing: 1.5px; }
.meta-item span { font-size: 13px; font-weight: 600; color: white; }
.meta-item span.status-done { color: #4caf50; }

.cta-card { background: var(--gold); padding: 32px; text-align: center; }
.cta-card h4 { color: white; font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.cta-card p { color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.7; margin-bottom: 22px; }
.btn-white { display: inline-flex; align-items: center; justify-content: center; padding: 13px 28px; background: white; color: #1a1a1a; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: 2px; transition: all .3s; width: 100%; }
.btn-white:hover { background: #1a1a1a; color: white; }

/* GALLERY */
.gallery-section { background: var(--light-bg); padding: 80px 60px; }
.gallery-inner { max-width: 1200px; margin: 0 auto; }
.section-label { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 1px; margin-bottom: 6px; }
.section-title { font-size: 30px; font-weight: 700; color: #1a1a1a; margin-bottom: 14px; }

/* GALLERY CAROUSEL */
.gallery-carousel { margin-top: 40px; }
.carousel-main { position: relative; background: #000; overflow: hidden; }
.carousel-slides { position: relative; height: 520px; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(0,0,0,.45); color: white; border: none; width: 52px; height: 52px; cursor: pointer; font-size: 18px; transition: background .3s; display: flex; align-items: center; justify-content: center; }
.carousel-nav:hover { background: var(--gold); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-counter { position: absolute; bottom: 16px; right: 18px; background: rgba(0,0,0,.6); color: white; font-size: 11px; font-weight: 700; padding: 5px 12px; letter-spacing: 1.5px; }
.carousel-thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.carousel-thumbs::-webkit-scrollbar { display: none; }
.carousel-thumb { flex: 0 0 130px; height: 80px; cursor: pointer; overflow: hidden; opacity: .5; transition: opacity .3s, border-color .3s; border: 2px solid transparent; }
.carousel-thumb.active { opacity: 1; border-color: var(--gold); }
.carousel-thumb:hover { opacity: .85; }
.carousel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* RELATED PROJECTS */
.related-section { padding: 80px 60px; background: white; }
.related-inner { max-width: 1200px; margin: 0 auto; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.related-card { position: relative; overflow: hidden; text-decoration: none; display: block; }
.related-card img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .5s; }
.related-card:hover img { transform: scale(1.06); }
.related-label { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.96); padding: 14px 18px; font-size: 13px; font-weight: 700; color: #1a1a1a; display: flex; align-items: center; gap: 10px; }
.related-label::before { content: ''; width: 22px; height: 3px; background: var(--gold); flex-shrink: 0; }

/* WORK TOGETHER */
.work-together { background: var(--gold); padding: 65px 60px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.work-together h2 { font-size: 26px; font-weight: 800; color: white; margin-bottom: 12px; }
.work-together p { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.88); max-width: 580px; }
.btn-dark-outline { display: inline-flex; align-items: center; padding: 16px 36px; background: #1a1a1a; color: white; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: 2px; white-space: nowrap; transition: all .3s; }
.btn-dark-outline:hover { background: #333; }

/* FOOTER */
footer { background: #1a1a1a; padding: 65px 60px 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px; padding-bottom: 45px; border-bottom: 1px solid #2e2e2e; }
.footer-col h4 { color: white; font-size: 13px; font-weight: 700; letter-spacing: 2px; margin-bottom: 14px; }
.footer-divider { width: 38px; height: 3px; background: var(--gold); margin-bottom: 22px; }
.footer-col > p { color: #777; font-size: 13px; line-height: 1.9; }
.contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.contact-row i { color: var(--gold); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.contact-row p { color: #777; font-size: 13px; line-height: 1.6; }
.contact-row strong { color: #bbb; }
.hours-row { display: flex; justify-content: space-between; margin-bottom: 13px; }
.hours-row .day { color: #bbb; font-size: 13px; font-weight: 600; }
.hours-row .time { color: var(--gold); font-size: 13px; }
.hours-row .closed { color: #777; }
.footer-middle { padding: 25px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #2e2e2e; }
.footer-social { display: flex; align-items: center; gap: 8px; }
.footer-social span { color: #888; font-size: 13px; margin-right: 6px; }
.footer-social a { color: #888; width: 34px; height: 34px; border: 1px solid #444; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 13px; transition: all .3s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: white; }
.btn-pdf { display: flex; align-items: center; gap: 10px; padding: 12px 22px; background: var(--gold); color: white; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: 1px; transition: background .3s; }
.btn-pdf:hover { background: var(--gold-dark); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: #555; font-size: 12px; }
.footer-links { display: flex; align-items: center; gap: 14px; }
.footer-links a { color: #777; font-size: 12px; text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--gold); }
.footer-links .divider { color: #444; }
.btn-scroll-top { width: 36px; height: 36px; background: var(--gold); border: none; color: white; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: background .3s; }
.btn-scroll-top:hover { background: var(--gold-dark); }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .top-bar, .navbar, .gallery-section, .related-section, .work-together, footer { padding-left: 30px; padding-right: 30px; }
    .project-body { padding: 60px 30px; }
}
@media (max-width: 900px) {
    .project-body { grid-template-columns: 1fr; }
    .project-sidebar { order: -1; }
    .meta-card { display: grid; grid-template-columns: 1fr 1fr; }
    .meta-card h4 { grid-column: 1/-1; }
    .carousel-slides { height: 380px; }
    .carousel-thumb { flex: 0 0 100px; height: 62px; }
    .related-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 35px; }
    .work-together { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .nav-links { display: none; flex-direction: column; position: fixed; top: 78px; left: 0; right: 0; background: white; padding: 20px 30px 30px; box-shadow: 0 8px 25px rgba(0,0,0,.12); z-index: 998; }
    .nav-links.open { display: flex; }
    .nav-links .btn-profile { margin-left: 0; margin-top: 10px; }
    .dropdown-menu { position: static; box-shadow: none; background: #f9f9f9; }
    .hamburger { display: flex; }
    .page-hero { height: 320px; }
    .page-hero-content { padding: 30px; }
    .page-hero-content h1 { font-size: 26px; }
    .scope-list { grid-template-columns: 1fr; }
    .carousel-slides { height: 280px; }
    .carousel-nav { width: 40px; height: 40px; font-size: 15px; }
    .carousel-thumb { flex: 0 0 80px; height: 52px; }
    .footer-middle { flex-direction: column; gap: 20px; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}
@media (max-width: 480px) {
    .related-grid { grid-template-columns: 1fr; }
    .carousel-slides { height: 230px; }
}
