/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== TOP UTILITY BAR ===== */
.top-bar {
    background: #0d0d0d;
    padding: 8px 0;
    border-bottom: 1px solid #1a1a1a;
}
.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.top-bar-left { display: flex; gap: 10px; align-items: center; }
.top-bar-right { display: flex; align-items: center; gap: 20px; }

.btn-payment {
    background: #3db05a;
    color: #fff;
    padding: 6px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s;
}
.btn-payment:hover { background: #2e8f47; }

.btn-dealer {
    background: #7a1020;
    color: #fff;
    padding: 6px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s;
}
.btn-dealer:hover { background: #9b1428; }

.lang-flags { display: flex; gap: 6px; align-items: center; }
.lang-flags a img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; }
.lang-flags a { opacity: .8; transition: opacity .2s; }
.lang-flags a:hover { opacity: 1; }

.social-icons { display: flex; gap: 8px; align-items: center; }
.social-icons a {
    width: 30px; height: 30px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: background .2s;
}
.social-icons a:hover { background: #c0202e; }
.social-icons svg { width: 15px; height: 15px; fill: #fff; }

.top-phone {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}
.top-phone-label {
    color: #aaa;
    font-size: 10px;
    text-align: right;
    letter-spacing: .5px;
}

/* ===== HEADER / NAV ===== */
.site-header {
    background: rgba(10,10,10,.97);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}
.site-logo img { height: 60px; width: auto; }
.site-logo-text {
    display: flex;
    flex-direction: column;
    color: #fff;
}
.site-logo-text .logo-tera {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #c0202e;
    line-height: 1;
}
.site-logo-text .logo-sub {
    font-size: 10px;
    letter-spacing: 3px;
    color: #ccc;
    text-transform: uppercase;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 14px;
    display: block;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: color .2s;
    white-space: nowrap;
}
.main-nav > li > a:hover,
.main-nav > li.active > a { color: #c0202e; }

/* Dropdown */
.main-nav .dropdown { position: relative; }
.main-nav .dropdown > a::after {
    content: ' ▾';
    font-size: 10px;
    color: #aaa;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    min-width: 250px;
    border-top: 2px solid #c0202e;
    box-shadow: 0 6px 20px rgba(0,0,0,.6);
    z-index: 2000;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #ddd;
    font-size: 13px;
    border-bottom: 1px solid #1e1e1e;
    transition: background .15s, color .15s;
}
.dropdown-menu li a:hover {
    background: #c0202e;
    color: #fff;
}
.main-nav .dropdown:hover .dropdown-menu { display: block; }

/* Nav close — only shown inside mobile menu */
.nav-close { display: none; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== PAGE BANNER ===== */
.page-banner {
    background: #111 url('/media/banner-bg.jpg') center/cover no-repeat;
    position: relative;
    height: 55px;
    display: flex;
    align-items: center;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
}
.page-banner .container { position: relative; z-index: 1; padding-top: 0 !important; padding-bottom: 0 !important; }

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 50px - 80px);
    min-height: 450px;
    overflow: hidden;
    background: #000;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
    background: center/cover no-repeat #111;
}
.slide.active { opacity: 1; }
.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.65) 100%);
}
.slide-content {
    position: absolute;
    bottom: 80px;
    left: 50%;
    text-align: center;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    z-index: 1;
    width: 90%;
    max-width: 800px;
}
.slide-content h2 {
    font-size: clamp(24px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,.7);
    margin-bottom: 10px;
}
.slide-content p {
    font-size: clamp(13px, 1.8vw, 18px);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .9;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,.75);
    width: 60px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: color .2s, transform .2s;
    line-height: 1;
}
.slider-arrow:hover { color: #fff; }
.slider-prev { left: 12px; }
.slider-prev:hover { transform: translateY(-50%) translateX(-3px); }
.slider-next { right: 12px; }
.slider-next:hover { transform: translateY(-50%) translateX(3px); }
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    border: none;
    transition: background .2s, transform .2s;
}
.slider-dot.active { background: #c0202e; transform: scale(1.3); }

/* No slides fallback */
.hero-static {
    height: calc(100vh - 50px - 80px);
    min-height: 450px;
    background: #111 url('/media/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-static::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}
.hero-static .hero-inner { position: relative; z-index: 1; text-align: center; color: #fff; }
.hero-static h1 { font-size: 48px; font-weight: 900; letter-spacing: 3px; color: #fff; }

/* ===== BRAND LOGOS STRIP ===== */
.brands-strip {
    background: #111;
    padding: 0;
    overflow: hidden;
    border-top: 1px solid #1e1e1e;
    border-bottom: 1px solid #1e1e1e;
}
.brands-track {
    display: flex;
    align-items: center;
    gap: 0;
    animation: marquee 30s linear infinite;
    width: max-content;
}
.brands-strip:hover .brands-track { animation-play-state: paused; }
.brand-logo-item {
    padding: 20px 30px;
    border-right: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
}
.brand-logo-item a {
    display: flex; align-items: center; justify-content: center;
    opacity: .6;
    transition: opacity .2s;
    filter: brightness(0) invert(1);
}
.brand-logo-item a:hover { opacity: 1; }
.brand-logo-item img { height: 36px; object-fit: contain; }
.brand-logo-text {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HOME PROJECTS GRID ===== */
.section-projects {
    padding: 60px 0;
    background: #fff;
}
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #c0202e;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-divider {
    width: 60px;
    height: 2px;
    background: #c0202e;
    margin: 0 auto 40px;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.project-card {
    display: flex;
    flex-direction: column;
    background: #fafafa;
    border: 1px solid #eee;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.project-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.12); transform: translateY(-3px); }
.project-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #ddd;
}
.project-card-img-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    display: flex; align-items: center; justify-content: center;
    color: #555;
    font-size: 40px;
}
.project-card-body { padding: 20px; flex: 1; }
.project-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    line-height: 1.4;
}
.project-card-meta {
    display: flex;
    gap: 12px;
    color: #888;
    font-size: 12px;
    margin-bottom: 10px;
}
.project-card-desc {
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.btn-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #333;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: background .2s, color .2s;
}
.btn-outline:hover { background: #c0202e; border-color: #c0202e; color: #fff; }

/* ===== CONTENT PAGES (Kurumsal, KVKK, etc) ===== */
.content-page { padding: 60px 0; }
.content-two-col {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
    align-items: start;
}
.content-page h1, .content-page h2 {
    color: #c0202e;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}
.content-page .section-divider { margin-bottom: 30px; }
.content-body p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #444;
}
.content-body h3 {
    color: #222;
    font-size: 18px;
    margin: 24px 0 10px;
}
.content-body strong { color: #c0202e; }
.content-logo-box {
    overflow: hidden;
    display: flex;
    align-items: stretch;
}
.content-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== SERVICE PAGE ===== */
.service-page { padding: 60px 0; }
.service-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}
.service-content h1 {
    color: #c0202e;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}
.service-content .section-divider { margin: 0 0 24px; }
.service-content p { line-height: 1.8; color: #444; margin-bottom: 16px; }
.service-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}
.service-nav-list { margin-top: 40px; }
.service-nav-list h4 {
    font-size: 14px;
    font-weight: 700;
    color: #c0202e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #f0f0f0;
}
.service-nav-list ul li a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: color .2s, padding-left .2s;
}
.service-nav-list ul li a:hover,
.service-nav-list ul li a.active { color: #c0202e; padding-left: 20px; }

/* ===== PROJELER LIST PAGE ===== */
.projeler-page { padding: 60px 0; }
.project-list-item {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #f0f0f0;
}
.project-list-item:last-child { border-bottom: none; }
.project-list-body h2 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.project-list-meta { color: #888; font-size: 12px; margin-bottom: 12px; display: flex; gap: 14px; }
.project-list-meta span::before { content: '● '; }
.project-list-body p { color: #555; font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.project-list-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* ===== PROJECT DETAIL ===== */
.project-detail { padding: 60px 0; }
.project-detail h1 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.project-detail-meta { color: #888; font-size: 13px; margin-bottom: 30px; }
.project-detail-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    margin-bottom: 30px;
}
.project-detail-content p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}
.project-youtube { margin: 30px 0; }
.project-youtube iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

/* ===== PROJECT GALLERY (list + detail) ===== */
.proj-gallery { display: flex; flex-direction: column; gap: 8px; }
.proj-gallery-main {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: opacity .2s;
}
.proj-gallery-thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.proj-thumb {
    width: 70px;
    height: 48px;
    object-fit: cover;
    cursor: pointer;
    opacity: .55;
    border: 2px solid transparent;
    transition: opacity .2s, border-color .2s;
}
.proj-thumb.active,
.proj-thumb:hover { opacity: 1; border-color: #c0202e; }

.detail-gallery { margin-bottom: 30px; }
.detail-gallery-main {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
}
.detail-gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-thumb {
    width: 90px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: .55;
    border: 2px solid transparent;
    transition: opacity .2s, border-color .2s;
}
.detail-thumb.active,
.detail-thumb:hover { opacity: 1; border-color: #c0202e; }

/* ===== PROJELER LIST PAGE (projeler-listesi) ===== */
.proje-listesi-page { padding: 60px 0; }
.proje-section { margin-bottom: 56px; }
.proje-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-left: 4px solid #c0202e;
    padding-left: 14px;
    margin-bottom: 20px;
    line-height: 1.4;
}
.proje-section-title span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #c0202e;
    letter-spacing: 1px;
    margin-top: 3px;
}
.proje-list {
    column-count: 3;
    column-gap: 30px;
    list-style: none;
    padding: 0;
}
.proje-list li {
    font-size: 12.5px;
    color: #444;
    padding: 4px 0;
    border-bottom: 1px solid #f2f2f2;
    break-inside: avoid;
}
.proje-list li::before { content: '• '; color: #c0202e; font-weight: 700; }
.section-title-link {
    display: block;
    color: #c0202e;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
}
.section-title-link:hover { text-decoration: underline; }

/* ===== BRAND PAGE ===== */
.brand-page { padding: 60px 0; }
.brand-page h1 {
    font-size: 32px;
    font-weight: 700;
    color: #c0202e;
    margin-bottom: 20px;
}
.brand-page p { line-height: 1.8; color: #444; margin-bottom: 16px; }
.brand-page .brand-logo-big img { max-width: 220px; margin-bottom: 30px; }

/* ===== CONTACT PAGE ===== */
.contact-page { padding: 60px 0; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2, .contact-form-box h2 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}
.contact-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}
.contact-info-item strong { color: #c0202e; }
.contact-map { margin-top: 24px; }
.contact-map iframe { width: 100%; height: 250px; border: none; }

/* Contact Form */
.contact-form .form-group { margin-bottom: 14px; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .2s;
    border-radius: 2px;
    background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #c0202e;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.btn-submit {
    background: #e6a817;
    color: #fff;
    border: none;
    padding: 12px 36px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
    border-radius: 2px;
    display: block;
    margin-left: auto;
}
.btn-submit:hover { background: #c8920f; }
.alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ===== FOOTER ===== */
.site-footer {
    background: #0d0d0d;
    color: #ccc;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/media/footer-bg.jpg') center/cover no-repeat;
    opacity: .07;
    pointer-events: none;
}
.footer-main {
    position: relative;
    z-index: 1;
    padding: 50px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 250px 1fr 1fr 1fr;
    gap: 40px 20px;
}
.footer-nav-pages { padding-left: 60px; }
.footer-nav-services { margin-left: -24px; }
.footer-logo { margin-bottom: 18px; }
.footer-logo-text .logo-tera { font-size: 28px; font-weight: 900; letter-spacing: 4px; color: #c0202e; }
.footer-logo-text .logo-sub  { font-size: 9px; letter-spacing: 3px; color: #888; text-transform: uppercase; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a {
    width: 32px; height: 32px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: background .2s;
}
.footer-social a:hover { background: #c0202e; }
.footer-social svg { width: 15px; height: 15px; fill: #fff; }
.footer-phone { color: #ccc; font-size: 13px; margin-top: 12px; }
.footer-phone strong { color: #fff; font-size: 16px; display: block; }

.footer-nav h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #222;
}
.footer-nav ul li { margin-bottom: 8px; }
.footer-nav ul li a {
    color: #999;
    font-size: 13px;
    transition: color .2s;
}
.footer-nav ul li a:hover { color: #c0202e; }

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid #1e1e1e;
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* ===== 404 ===== */
.page-404 {
    text-align: center;
    padding: 100px 20px;
}
.page-404 h1 { font-size: 80px; color: #c0202e; font-weight: 900; }
.page-404 p  { color: #666; font-size: 18px; margin: 16px 0 30px; }
.btn-primary {
    background: #c0202e;
    color: #fff;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    transition: background .2s;
}
.btn-primary:hover { background: #a01828; }

/* ===== YASAL İÇERİK MODAL ===== */
#legalModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.65);
    align-items: center;
    justify-content: center;
}
#legalModal.open { display: flex; }
#legalBox {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 820px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
}
#legalHead {
    padding: 18px 24px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
#legalHead h2 { font-size: 16px; font-weight: 700; color: #222; margin: 0; }
#legalBody {
    overflow-y: auto;
    flex: 1;
    padding: 24px;
    font-size: 14px;
    color: #333;
    line-height: 1.75;
}
#legalFoot {
    padding: 14px 24px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}
#legalFoot button {
    background: #c0202e;
    color: #fff;
    border: none;
    padding: 9px 26px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
#legalFoot button:hover { background: #a01828; }

/* Mobile lang bar — hidden on desktop, shown inside mobile nav */
.nav-lang-mobile { display: none; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
    .top-bar-right .social-icons,
    .top-bar-right .lang-flags { display: none; }

    .nav-lang-mobile {
        display: flex;
        gap: 10px;
        align-items: center;
        padding: 10px 4px 14px;
        border-bottom: 1px solid #1e1e1e;
    }
    .nav-lang-mobile .lang-flag img { width: 28px; height: 20px; border-radius: 2px; }

    .hamburger { display: flex; }
    .main-nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(5,5,5,.98);
        z-index: 9999;
        overflow-y: auto;
        padding: 60px 20px 40px;
        gap: 0;
    }
    .main-nav.open { display: flex; }
    .main-nav > li { border-bottom: 1px solid #1e1e1e; }
    .main-nav > li > a { padding: 14px 4px; font-size: 16px; }
    .main-nav .dropdown > a::after { content: '▸'; float: right; transition: transform .2s; }
    .main-nav .dropdown.open > a::after { transform: rotate(90deg); }
    .dropdown-menu {
        display: none;
        position: static;
        background: #0a0a0a;
        border-top: none;
        box-shadow: none;
    }
    .main-nav .dropdown.open > .dropdown-menu { display: block; }
    .nav-close {
        display: block;
        position: fixed;
        top: 16px; right: 20px;
        font-size: 28px;
        color: #fff;
        cursor: pointer;
        z-index: 10000;
        background: none;
        border: none;
    }

    .content-two-col,
    .service-layout,
    .project-list-item,
    .contact-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .project-list-item { grid-template-columns: 1fr; }
    .project-list-item .project-list-img { order: -1; }
    .proj-gallery { order: -1; }
    .proje-list { column-count: 2; }
    .content-logo-box { display: none; }
    .hero-slider, .hero-static { height: 60vw; min-height: 300px; }
    .slide-content { bottom: 40px; }
}

@media (max-width: 600px) {
    .top-bar .container { flex-wrap: wrap; justify-content: center; }
    .projects-grid { grid-template-columns: 1fr; }
    .proje-list { column-count: 1; }
    .section-title { font-size: 22px; }
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.88);
}
.video-modal.open { display: flex; }
.video-modal-inner {
    position: relative;
    width: 90vw;
    max-width: 960px;
}
.video-embed-wrap {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}
.video-embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-modal-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}
.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: .8;
}
.video-modal-close:hover { opacity: 1; }

/* ===== SLIDE OUTLINE BUTTON ===== */
.btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid rgba(255,255,255,.8);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent;
    transition: background .2s, border-color .2s;
    cursor: pointer;
    vertical-align: middle;
    text-decoration: none;
}
.btn-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
    color: #fff;
}

/* ===== LANGUAGE FLAGS ===== */
.lang-flag { opacity: .6; transition: opacity .2s; display: inline-flex; }
.lang-flag:hover { opacity: 1; }
.lang-flag.active { opacity: 1; }
.lang-flag.active img { outline: 2px solid #c0202e; outline-offset: 2px; }
