/* ============================================
   FIX MIR - Professional Website Stylesheet
   Colors: Gold #ffcc00, Dark #111111, White #ffffff
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #ffcc00;
    --primary-dark: #e6b800;
    --dark: #111111;
    --dark-light: #1a1a1a;
    --white: #ffffff;
    --light-grey: #f5f5f5;
    --medium-grey: #e0e0e0;
    --text-grey: #666666;
    --text-light: #999999;
    --border: #eeeeee;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

body[dir="rtl"] {
    text-align: right;
}

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

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

ul {
    list-style: none;
}

/* --- SVG Icons --- */
.icon-svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-icon .icon-svg {
    width: 28px;
    height: 28px;
}

.contact-detail .icon .icon-svg {
    width: 22px;
    height: 22px;
    stroke: var(--dark);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 6%;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links > a {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    padding: 5px 0;
}

.nav-links > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links > a:hover::after,
.nav-links > a.active::after {
    width: 100%;
}

.nav-links > a:hover {
    color: var(--primary);
}

/* Language Switcher - No Flags, Wider Dropdown */
.lang-switcher {
    position: relative;
    margin-left: 10px;
}

body[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 10px;
}

.lang-btn {
    background: var(--primary);
    color: var(--dark) !important;
    padding: 9px 22px;
    border-radius: 6px;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    min-width: 100px;
    justify-content: center;
}

.lang-btn .lang-arrow {
    font-size: 10px;
    transition: var(--transition);
    margin-left: 4px;
}

.lang-switcher:hover .lang-btn .lang-arrow,
.lang-dropdown.open ~ .lang-btn .lang-arrow {
    transform: rotate(180deg);
}

.lang-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.lang-btn::after {
    display: none !important;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: var(--transition);
    min-width: 180px;
    z-index: 1001;
    border: 2px solid var(--primary);
}

body[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.lang-dropdown a:hover {
    background: var(--light-grey);
    color: var(--dark);
}

.lang-dropdown a.current {
    background: var(--primary);
    color: var(--dark);
    font-weight: 700;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section (Split Layout: Text Left, Form Right) --- */
.hero {
    min-height: 100vh;
    background: linear-gradient(160deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.72)),
                url('../assets/raum2.jpeg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    padding: 120px 6% 80px;
    position: relative;
}

.hero.hero-split {
    text-align: left;
}

body[dir="rtl"] .hero.hero-split {
    text-align: right;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 60px);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-text > p {
    font-size: clamp(16px, 2vw, 19px);
    max-width: 550px;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    z-index: 1;
}

/* Hero Stats (right side) */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    z-index: 1;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
}

.hero-stat:hover {
    background: rgba(255, 204, 0, 0.1);
    border-color: rgba(255, 204, 0, 0.3);
    transform: translateY(-4px);
}

.hero-stat-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    color: var(--white);
}

/* --- Inline CTA Banners --- */
.inline-cta {
    background: var(--dark);
    padding: 40px 6%;
}

.inline-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.inline-cta p {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.inline-cta-alt {
    background: linear-gradient(135deg, var(--dark-light), var(--dark));
}

.inline-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-call {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-call:hover {
    background: var(--primary);
    color: var(--dark);
}

/* --- Buttons --- */
.btn-primary {
    background: var(--primary);
    color: var(--dark);
    padding: 16px 40px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid var(--primary);
    display: inline-block;
    cursor: pointer;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 16px 40px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid var(--white);
    display: inline-block;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

/* --- Sections --- */
.section {
    padding: 100px 6%;
}

.section-light {
    background: var(--light-grey);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .badge {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-grey);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-header p {
    color: var(--text-light);
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-grey);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Stats Section --- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 60px 0;
}

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

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* --- Project Gallery --- */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--medium-grey);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    width: 100%;
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 13px;
    opacity: 0.8;
}

/* --- Before/After Section --- */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.ba-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.ba-images {
    display: grid;
    grid-template-columns: 1fr 3px 1fr;
    position: relative;
}

.ba-img-wrap {
    position: relative;
    overflow: hidden;
}

.ba-img-wrap img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.ba-label {
    position: absolute;
    bottom: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.ba-label.before {
    left: 12px;
    background: var(--dark);
    color: var(--white);
}

.ba-label.after {
    right: 12px;
    background: var(--primary);
    color: var(--dark);
}

body[dir="rtl"] .ba-label.before {
    left: auto;
    right: 12px;
}

body[dir="rtl"] .ba-label.after {
    right: auto;
    left: 12px;
}

.ba-divider {
    background: var(--primary);
    z-index: 2;
}

.ba-info {
    padding: 25px 30px;
}

.ba-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ba-info p {
    color: var(--text-grey);
    font-size: 14px;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-grey);
    font-size: 16px;
    margin-bottom: 15px;
}

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

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
}

.about-feature .check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-image .experience-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: var(--primary);
    color: var(--dark);
    padding: 18px 25px;
    border-radius: var(--radius);
    text-align: center;
}

body[dir="rtl"] .about-image .experience-badge {
    left: auto;
    right: 25px;
}

.experience-badge .number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(160deg, var(--dark), var(--dark-light));
    text-align: center;
    padding: 80px 6%;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 35px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Contact Page --- */
.contact-hero {
    padding: 120px 6% 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.contact-info {
    padding-top: 20px;
}

.contact-info .badge {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.contact-info h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-info > p {
    color: var(--text-grey);
    font-size: 16px;
    margin-bottom: 35px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-detail .icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-detail .info strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.contact-detail .info span {
    color: var(--text-grey);
    font-size: 14px;
}

.contact-form-card {
    background: var(--white);
    padding: 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
}

.contact-form-card h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--light-grey);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    color: var(--dark);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.1);
}

.form-row textarea {
    resize: vertical;
    min-height: 120px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    background: var(--dark);
    color: var(--white);
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.3);
}

/* --- Impressum / Datenschutz Pages --- */
.legal-page {
    padding: 120px 6% 60px;
    min-height: 100vh;
}

.legal-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.legal-card h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary);
}

.legal-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 10px;
}

.legal-card p {
    color: var(--text-grey);
    font-size: 15px;
    margin-bottom: 10px;
}

/* --- Thanks Page --- */
.thanks-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--light-grey);
    padding: 20px;
}

.thanks-card {
    background: var(--white);
    padding: 60px 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    text-align: center;
    max-width: 550px;
    width: 100%;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 700;
    margin: 0 auto 30px;
}

.thanks-card h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.thanks-card p {
    color: var(--text-grey);
    font-size: 17px;
    margin-bottom: 10px;
}

.thanks-card .btn-primary {
    margin-top: 30px;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: #aaa;
    padding: 60px 6% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    font-size: 26px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 350px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: #aaa;
    font-size: 14px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 5px;
}

body[dir="rtl"] .footer-col a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom a {
    color: var(--primary);
}

/* --- Lightbox with text overlay and navigation --- */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 40px;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius);
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    color: var(--white);
    padding: 40px 25px 20px;
    border-radius: 0 0 var(--radius) var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.lightbox-caption h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.lightbox-caption p {
    font-size: 14px;
    opacity: 0.8;
}

.lightbox-caption.hidden {
    opacity: 0;
    pointer-events: none;
}

.lightbox-caption-toggle {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 3002;
    display: none;
}

.lightbox-caption.hidden ~ .lightbox-caption-toggle {
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    color: var(--white);
    font-size: 36px;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
    z-index: 3001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lightbox-close:hover {
    color: var(--primary);
    background: rgba(255,255,255,0.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 3001;
}

.lightbox-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 900;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body[dir="rtl"] .scroll-top {
    right: auto;
    left: 30px;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* --- Promo Banner --- */
.promo-banner {
    background: var(--primary);
    color: var(--dark);
    text-align: center;
    padding: 12px 6%;
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        padding: 40px;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    body[dir="rtl"] .nav-links {
        right: auto;
        left: -100%;
    }

    .nav-links.open {
        right: 0;
    }

    body[dir="rtl"] .nav-links.open {
        right: auto;
        left: 0;
    }

    .nav-links > a {
        font-size: 18px;
    }

    .hamburger {
        display: flex;
    }

    .lang-switcher {
        margin-left: 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    body[dir="rtl"] .hero.hero-split {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-text > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .inline-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 350px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ba-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .section {
        padding: 70px 5%;
    }

    .hero {
        padding: 100px 5% 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 100%;
    }

    .hero-stat {
        padding: 18px 12px;
    }

    .hero-stat-number {
        font-size: 26px;
    }

    .hero-stat-label {
        font-size: 11px;
    }

    .btn-primary, .btn-secondary {
        text-align: center;
        width: 100%;
    }

    .inline-cta p {
        font-size: 17px;
        text-align: center;
    }

    .inline-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .inline-cta-buttons .btn-primary,
    .inline-cta-buttons .btn-secondary {
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .ba-images {
        grid-template-columns: 1fr;
    }

    .ba-img-wrap img {
        height: 200px;
    }

    .ba-divider {
        height: 3px;
        width: 100%;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .stat-number {
        font-size: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-form-card {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .legal-card {
        padding: 30px 20px;
    }

    .gallery-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .lightbox-caption h4 {
        font-size: 15px;
    }
    .lightbox-caption p {
        font-size: 12px;
    }
    .lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .lightbox-prev {
        left: 5px;
    }
    .lightbox-next {
        right: 5px;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .nav-container {
        height: 60px;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .logo-text {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 28px;
    }
}
