/* ==========================================================================
   ABKA İNŞAAT - Ultra-Wide High-End Architectural Studio Design System
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
    --bg-obsidian: #050608;
    --bg-secondary: #0D0F14;
    --bg-card: rgba(13, 15, 20, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.02);
    
    --red-primary: #E50914;
    --red-bright: #FF2E3B;
    --red-dark: #8B0000;
    --red-gradient: linear-gradient(135deg, #FF4D58 0%, #E50914 50%, #990000 100%);
    --red-glow: rgba(229, 9, 20, 0.3);
    --red-glow-strong: rgba(255, 46, 59, 0.5);

    --text-main: #FFFFFF;
    --text-muted: #A3A3A3;
    --text-dim: #737373;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-red: rgba(229, 9, 20, 0.4);

    --font-heading: 'Syne', 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 20px 50px -10px rgba(0, 0, 0, 0.85);
    --shadow-red: 0 12px 35px rgba(229, 9, 20, 0.4);
}

/* RTL Override for Arabic */
html[dir="rtl"] {
    --font-heading: 'Readex Pro', sans-serif;
    --font-body: 'Readex Pro', sans-serif;
    text-align: right;
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* Background Architecture Mesh Grid */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ultra-Wide Container (Expanded Width to 1720px) */
.container {
    width: 94%;
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 1rem;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-2-col {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4-col {
    grid-template-columns: repeat(4, 1fr);
}

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

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

.mt-5 { margin-top: 4rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-3 { gap: 1.8rem; }
.gap-4 { gap: 3rem; }

.bg-darker {
    background-color: var(--bg-secondary);
}

/* Red Gradient & Outline Text */
.red-gradient {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.outline-text {
    -webkit-text-stroke: 1.5px var(--red-bright);
    color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-red {
    background: var(--red-gradient);
    color: #FFFFFF;
    border-color: var(--red-bright);
    box-shadow: var(--shadow-red);
}

.btn-red:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 45px rgba(229, 9, 20, 0.6);
    filter: brightness(1.15);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid var(--border-red);
    backdrop-filter: blur(12px);
}

.btn-outline:hover {
    background: var(--red-glow);
    border-color: var(--red-bright);
    color: #FFFFFF;
    transform: translateY(-4px);
}

.btn-whatsapp {
    background: #25D366;
    color: #FFF;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    transform: translateY(-4px);
}

.btn-lg {
    padding: 1.25rem 2.8rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--red-gradient);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
}

.btn-icon:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-red);
}

/* --- Top Utility Bar --- */
.top-bar {
    background: #020304;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.75rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contacts {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.top-contacts i {
    color: var(--red-bright);
}

.region-badge {
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid var(--border-red);
    color: var(--text-main);
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.lang-selector {
    display: flex;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 6px;
    border-radius: 30px;
    border: 1px solid var(--border-red);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn .flag {
    font-size: 1.15rem;
    line-height: 1;
}

.lang-btn:hover, .lang-btn.active {
    background: var(--red-gradient);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

/* --- Header Navigation --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(25px);
    border-bottom: 1.5px solid var(--border-red);
    transition: var(--transition);
}

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

.logo-link {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    padding: 4px 14px;
    border-radius: var(--radius-md);
    border: 2.5px solid var(--red-primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(229, 9, 20, 0.4);
    transition: var(--transition);
}

.logo-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(229, 9, 20, 0.6);
}

.brand-logo {
    height: 96px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 0.6rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link:hover, .nav-link.active {
    color: #FFFFFF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--red-gradient);
    transition: var(--transition);
    border-radius: 2px;
}

html[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
}

/* --- Ultra-Wide Hero Section --- */
.hero-section {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 0 8rem;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 30%, rgba(229, 9, 20, 0.18) 0%, transparent 65%),
                linear-gradient(180deg, rgba(5,6,8,0.85) 0%, rgba(5,6,8,0.98) 85%, #050608 100%);
    z-index: 2;
}

.hero-bg-slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-slideshow .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-slideshow .slide.active {
    opacity: 0.4;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge-red {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid var(--border-red);
    color: var(--red-bright);
    padding: 0.55rem 1.5rem;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--red-bright);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--red-bright);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 46, 59, 0.8); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 46, 59, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 46, 59, 0); }
}

.hero-title {
    font-size: 5rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 820px;
    line-height: 1.8;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.h-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 600;
}

.h-item i {
    color: var(--red-bright);
    font-size: 1.3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Giant Visual Feature Showcase (Right Side) */
.hero-visual-card {
    position: relative;
}

.hero-card-inner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-red);
    box-shadow: var(--shadow-card), 0 0 50px rgba(229, 9, 20, 0.25);
}

.hero-feature-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-card-inner:hover .hero-feature-img {
    transform: scale(1.06);
}

.hero-card-tag {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(13, 15, 20, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-red);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.hero-card-tag .tag-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: var(--red-gradient);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.hero-card-tag h4 {
    font-size: 1.25rem;
}

.hero-card-tag p {
    font-size: 0.92rem;
    color: var(--red-bright);
}

/* Floating Stats Bar */
.hero-stats-bar {
    position: relative;
    z-index: 3;
    margin-top: 5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background: rgba(13, 15, 20, 0.9);
    backdrop-filter: blur(25px);
    border: 1.5px solid var(--border-red);
    padding: 2.8rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.stat-card {
    text-align: center;
    border-right: 1px solid var(--border-color);
}

html[dir="rtl"] .stat-card {
    border-right: none;
    border-left: 1px solid var(--border-color);
}

.stat-card:last-child {
    border: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--red-bright);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Section Common Styles --- */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    max-width: 900px;
    margin: 0 auto 5rem;
}

.section-tag {
    color: var(--red-bright);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* --- About Section --- */
.about-images-wrapper {
    position: relative;
    padding-bottom: 4rem;
    padding-right: 4rem;
}

html[dir="rtl"] .about-images-wrapper {
    padding-right: 0;
    padding-left: 4rem;
}

.main-about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border-red);
    box-shadow: var(--shadow-card);
}

.main-about-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.sub-about-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 58%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 5px solid var(--bg-obsidian);
    box-shadow: var(--shadow-card);
}

html[dir="rtl"] .sub-about-img {
    right: auto;
    left: 0;
}

.sub-about-img img {
    height: 260px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: 2rem;
    left: -2rem;
    background: var(--red-gradient);
    color: #FFFFFF;
    padding: 1.5rem 2.2rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-red);
}

html[dir="rtl"] .about-experience-badge {
    left: auto;
    right: -2rem;
}

.about-experience-badge .big-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.highlight-box {
    background: rgba(229, 9, 20, 0.1);
    border-left: 5px solid var(--red-primary);
    padding: 1.5rem 1.8rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.7;
}

html[dir="rtl"] .highlight-box {
    border-left: none;
    border-right: 5px solid var(--red-primary);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.about-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1.5px solid var(--border-red);
    color: var(--red-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.feature-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Corporate Mission, Vision & History Grid */
.corporate-mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.mv-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-red);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.mv-card:hover {
    transform: translateY(-8px);
    border-color: var(--red-bright);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.3);
}

.mv-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(229, 9, 20, 0.18);
    border: 1.5px solid var(--border-red);
    color: var(--red-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.8rem;
}

.mv-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--red-bright);
}

.mv-card p {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.2rem;
    border-radius: var(--radius-md);
    position: relative;
    transition: var(--transition);
}

.timeline-card:hover {
    border-color: var(--red-primary);
    box-shadow: 0 15px 35px rgba(229, 9, 20, 0.25);
    transform: translateY(-8px);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--red-bright);
    margin-bottom: 0.8rem;
}

.timeline-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.timeline-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* --- Global Section (Countries Grid) --- */
.country-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.country-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.8rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
}

.country-card:hover {
    border-color: var(--red-primary);
    box-shadow: var(--shadow-card), 0 0 40px rgba(229, 9, 20, 0.2);
    transform: translateY(-8px);
}

.country-flag {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.country-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.country-card p {
    color: var(--text-muted);
    font-size: 1.02rem;
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.country-tag {
    display: inline-block;
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid var(--border-red);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--red-bright);
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Services Ultra-Wide Bento Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--red-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(229, 9, 20, 0.2);
    transform: translateY(-10px);
}

.service-icon {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    background: rgba(229, 9, 20, 0.18);
    border: 1.5px solid var(--border-red);
    color: var(--red-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.45rem;
    margin-bottom: 1.2rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.02rem;
    margin-bottom: 1.8rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
}

.service-features li {
    font-size: 0.92rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
}

.service-features i {
    color: var(--red-bright);
}

/* --- Ultra-Wide Projects Showcase Grid (4-Columns) --- */
.filter-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.85rem 1.8rem;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--red-gradient);
    color: #FFFFFF;
    border-color: var(--red-bright);
    box-shadow: var(--shadow-red);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--red-primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-card), 0 0 35px rgba(229, 9, 20, 0.25);
}

.project-img-box {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

.project-card:hover .project-img-box img {
    transform: scale(1.12);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 8, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(5, 6, 8, 0.92);
    border: 1px solid var(--border-red);
    color: var(--red-bright);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
    text-transform: uppercase;
}

html[dir="rtl"] .project-badge {
    right: auto;
    left: 1.2rem;
}

.project-info {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-location {
    font-size: 0.88rem;
    color: var(--red-bright);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.project-info h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.project-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Quality Section --- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.cert-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.cert-box i {
    font-size: 2.4rem;
    color: var(--red-bright);
    margin-bottom: 0.6rem;
}

.cert-box h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.cert-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.quality-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-red);
}

.quality-image-card img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.quality-overlay-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(5, 6, 8, 0.96) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
}

.quote-icon i {
    font-size: 3rem;
    color: var(--red-bright);
}

.quality-overlay-content h4 {
    font-size: 1.5rem;
    font-style: italic;
    margin: 0.8rem 0;
}

.quality-overlay-content span {
    font-size: 0.95rem;
    color: var(--red-bright);
    font-weight: 700;
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, #1C0709 0%, #050608 100%);
    border-top: 2px solid var(--border-red);
    border-bottom: 2px solid var(--border-red);
    padding: 6.5rem 0;
}

.cta-banner h2 {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
}

.cta-banner p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    border-radius: var(--radius-md);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.info-card .icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.18);
    border: 1.5px solid var(--border-red);
    color: var(--red-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.info-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.info-card p {
    font-size: 0.98rem;
    color: var(--text-muted);
}

.contact-form-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-red);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    background: rgba(5, 6, 8, 0.95);
    border: 1px solid var(--border-color);
    padding: 1rem 1.4rem;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--red-primary);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.35);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* --- Footer --- */
.main-footer {
    background: #020304;
    border-top: 1px solid var(--border-color);
    padding-top: 6rem;
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 5rem;
}

.footer-logo-box {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    padding: 4px 16px;
    border-radius: var(--radius-md);
    border: 2.5px solid var(--red-primary);
    margin-bottom: 1.8rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(229, 9, 20, 0.3);
}

.footer-logo {
    height: 88px;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--red-gradient);
    color: #FFFFFF;
    border-color: var(--red-primary);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--red-bright);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--red-bright);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact i {
    color: var(--red-bright);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    color: var(--text-dim);
    font-size: 0.88rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

/* --- Modals --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(15px);
}

.modal-content {
    position: relative;
    z-index: 10;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-red);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 950px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

html[dir="rtl"] .modal-close {
    right: auto;
    left: 1.5rem;
}

.modal-close:hover {
    background: var(--red-gradient);
    color: #FFFFFF;
}

/* --- Back To Top --- */
.back-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--red-gradient);
    color: #FFFFFF;
    border: none;
    box-shadow: var(--shadow-red);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

html[dir="rtl"] .back-to-top {
    right: auto;
    left: 2.5rem;
}

.back-to-top.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Styles (100% Pixel-Perfect Fit)
   ========================================================================== */

@media (max-width: 1400px) {
    .container { width: 95%; }
    .hero-title { font-size: 4rem; }
    .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual-card { display: none; }
    .hero-title { font-size: 3.2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; padding: 1.8rem; }
    .stat-card { border-bottom: 1px solid var(--border-color); padding: 1rem 0; }
    .stat-card:nth-child(2) { border-right: none; }
    html[dir="rtl"] .stat-card:nth-child(2) { border-left: none; }
    .country-grid, .services-grid, .corporate-mv-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .timeline-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    /* Mobile Top Bar & Language Selector */
    .top-bar { padding: 0.4rem 0; }
    .top-bar-content { flex-direction: row; justify-content: space-between; align-items: center; }
    .top-contacts { font-size: 0.76rem; gap: 0.8rem; }
    .top-contacts span:nth-child(2) { display: none; } /* Hide email in tiny top bar for max space */

    .lang-selector {
        gap: 0.25rem;
        padding: 3px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.08);
    }
    
    .lang-btn {
        padding: 4px 10px;
        font-size: 0.78rem;
        border-radius: 18px;
        gap: 5px;
    }
    
    .lang-btn .flag { font-size: 1.05rem; }
    
    /* Show compact short label (TR, AR, RU) on mobile */
    .lang-name {
        font-size: 0;
        display: inline-block;
    }
    .lang-name::before {
        content: attr(data-short);
        font-size: 0.78rem;
        font-weight: 800;
        text-transform: uppercase;
    }
    
    /* Mobile Header & Logo Sizing */
    .header-container { height: 76px; }
    
    .logo-link { 
        padding: 4px 12px; 
        border-width: 1.5px;
    }
    
    .brand-logo { 
        height: 48px; 
    }
    
    .mobile-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(5, 6, 8, 0.98);
        backdrop-filter: blur(25px);
        border-bottom: 2px solid var(--border-red);
        padding: 2rem 1.5rem;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease-in-out;
        z-index: 999;
    }
    
    .nav-menu.active {
        clip-path: circle(140% at 100% 0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .nav-link { font-size: 1.1rem; }
    
    /* Hero Section Mobile */
    .hero-section { padding: 3rem 0 5rem; min-height: auto; }
    .hero-title { font-size: 2.2rem; line-height: 1.15; word-break: break-word; }
    .hero-description { font-size: 1.05rem; }
    .hero-highlights { grid-template-columns: 1fr; gap: 0.6rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }

    /* Stats Bar Mobile */
    .hero-stats-bar { margin-top: 3rem; }
    .stats-grid { grid-template-columns: 1fr; padding: 1.2rem; }
    .stat-card { border-right: none !important; border-left: none !important; border-bottom: 1px solid var(--border-color); padding: 0.8rem 0; }
    .stat-card:last-child { border-bottom: none; }
    .stat-number { font-size: 2.8rem; }
    
    /* Grids to 1-Column */
    .grid-2-col, .country-grid, .services-grid, .corporate-mv-grid, .projects-grid, .timeline-grid, .cert-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section { padding: 4.5rem 0; }
    .section-title { font-size: 2rem; }
    .about-images-wrapper { padding: 0 0 2rem; }
    .sub-about-img { display: none; }
    .about-experience-badge { position: relative; top: 0; left: 0; margin-top: 1.5rem; width: 100%; }
    html[dir="rtl"] .about-experience-badge { right: 0; }

    /* Filter Controls Mobile */
    .filter-controls { gap: 0.5rem; }
    .filter-btn { padding: 0.6rem 1.1rem; font-size: 0.82rem; }
    
    /* CTA Banner Mobile */
    .cta-banner { padding: 4rem 0; }
    .cta-banner h2 { font-size: 2.2rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }

    /* Form & Footer Mobile */
    .form-row { grid-template-columns: 1fr; }
    .contact-form-card { padding: 1.8rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-content { flex-direction: column; gap: 1rem; text-align: center; }
    
    /* Modal Mobile Fit */
    .modal-content { width: 95%; padding: 1.5rem; max-height: 85vh; }
    .project-modal-content .grid-2-col { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { width: 96%; padding: 0 0.8rem; }
    .brand-logo { height: 42px; }
    .hero-title { font-size: 1.9rem; }
    .top-contacts span:nth-child(2) { display: none; }
    .lang-btn { padding: 4px 10px; font-size: 0.78rem; }
    .lang-btn .flag { font-size: 1rem; }
}
