/* ==========================================================
   REMKA MAKİNE — FIGMA DESIGN SYSTEM & MAIN STYLESHEET
   Based on remka_figma.png (Pixel-Accurate Industrial Architecture)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --remka-red: #c4121a;
    --remka-red-dark: #9e0d15;
    --remka-red-glow: rgba(196, 18, 26, 0.25);

    /* Dark & Industrial Tones */
    --remka-black: #080b11;
    --remka-dark-surface: #0f1420;
    --remka-charcoal: #111827;
    --remka-slate: #374151;
    --remka-muted: #6b7280;

    /* Light Tones */
    --remka-white: #ffffff;
    --remka-light-bg: #f8f9fa;
    --remka-light-card: #f3f4f6;
    --remka-border-light: #e5e7eb;
    --remka-border-dark: rgba(255, 255, 255, 0.12);

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --header-height: 76px;
    --container-max-width: 1400px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--remka-white);
    color: var(--remka-charcoal);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Headings with Cinzel Serif */
h1, h2, h3, h4, h5, h6, .font-serif, .section-title, .hero-title {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
    font-weight: 700;
    text-transform: uppercase;
}

/* Custom Container */
.container-remka {
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 28px;
    padding-right: 28px;
}

/* Section Padding */
.section-padding {
    padding: 105px 0;
}

.section-padding-sm {
    padding: 70px 0;
}

/* Section Marker (e.g. — 01 Hakkımızda) */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--remka-charcoal);
    margin-bottom: 16px;
}

.section-tag::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 2.5px;
    background-color: var(--remka-red);
}

.section-tag.light {
    color: #cbd5e1;
}

.section-tag.light::before {
    background-color: var(--remka-red);
}

.section-title {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--remka-charcoal);
}

.section-title.light {
    color: #ffffff;
}

/* ==========================================================
   GLOBAL HEADER & NAVBAR
   ========================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #ffffff;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
}

.site-header.scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.header-container {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo: Rem///KA */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #111827;
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 26px;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
    margin-right: 36px;
    flex-shrink: 0;
}

.brand-logo .logo-slashes {
    color: var(--remka-red);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.08em;
    margin: 0 1px;
}

/* Desktop Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: nowrap;
}

.nav-link-remka {
    text-decoration: none;
    color: #1f2937;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    padding: 8px 0;
    position: relative;
    white-space: nowrap; /* Menü başlıklarının (ANA SAYFA vb.) iki satıra bölünmesini engeller */
}

.nav-link-remka:hover, .nav-link-remka.active {
    color: var(--remka-red);
}

/* Header Right Area */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-toggle-btn {
    background: transparent;
    border: none;
    color: #374151;
    font-size: 17px;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.search-toggle-btn:hover {
    color: var(--remka-red);
}

.lang-switcher-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #9ca3af;
}

.lang-switcher-nav a {
    text-decoration: none;
    color: #6b7280;
    transition: color 0.2s;
}

.lang-switcher-nav a.active {
    color: #111827;
}

.lang-switcher-nav a:hover {
    color: var(--remka-red);
}

/* Crimson Hamburger Button */
.btn-hamburger-red {
    width: 44px;
    height: 44px;
    background-color: var(--remka-red);
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.btn-hamburger-red span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s;
}

.btn-hamburger-red:hover {
    background-color: var(--remka-red-dark);
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-figma {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--remka-black);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

/* Background image with high-contrast CNC milling photo */
.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.65) contrast(1.15);
}

/* Dark gradient overlay + dynamic red top-right laser beams */
.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 30%, rgba(196, 18, 26, 0.15) 0%, rgba(8, 11, 17, 0.75) 60%, rgba(8, 11, 17, 0.95) 100%);
    z-index: 2;
}

/* Diagonal red accent light beams */
.hero-overlay-dark::after {
    content: "";
    position: absolute;
    top: -20%;
    right: 15%;
    width: 280px;
    height: 140%;
    background: linear-gradient(135deg, rgba(196, 18, 26, 0.35) 0%, rgba(196, 18, 26, 0.05) 50%, transparent 100%);
    transform: rotate(-25deg);
    pointer-events: none;
    filter: blur(20px);
}

.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 60px 0;
}

/* Left Vertical Slide Indicator */
.hero-slider-nav {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 14px;
    font-weight: 700;
}

.hero-slide-num {
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-slide-num.active {
    color: #ffffff;
    font-size: 17px;
}

.hero-slide-num.active::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    left: 8px;
    top: 26px;
}

/* Hero Titles */
.hero-headline {
    font-size: clamp(38px, 5.5vw, 68px);
    line-height: 1.05;
    margin-bottom: 24px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-headline .title-white {
    display: block;
    color: #ffffff;
}

.hero-headline .title-red {
    display: block;
    color: var(--remka-red);
}

.hero-lead-text {
    color: #d1d5db;
    font-size: 16px;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
}

/* Action Buttons */
.hero-btn-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-remka-solid {
    background-color: var(--remka-red);
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 15px 32px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-remka-solid:hover {
    background-color: var(--remka-red-dark);
    color: #ffffff;
    transform: translateX(4px);
}

.btn-play-video {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.25s ease;
}

.btn-play-video:hover {
    color: #ffffff;
    opacity: 0.85;
}

.play-circle-icon {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding-left: 3px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.btn-play-video:hover .play-circle-icon {
    border-color: #ffffff;
    transform: scale(1.08);
}

/* Right-Bottom Three Pillars */
.hero-pillars-right {
    position: absolute;
    right: 48px;
    bottom: 52px;
    text-align: right;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.15em;
    font-weight: 700;
    z-index: 4;
}

/* ==========================================================
   SECTION 01: HAKKIMIZDA (ABOUT US)
   ========================================================== */
.about-section-figma {
    background-color: var(--remka-white);
    padding: 110px 0;
}

.about-link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--remka-charcoal);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    margin-top: 10px;
}

.about-link-more:hover {
    color: var(--remka-red);
    transform: translateX(4px);
}

/* Angled Geometric Factory Photo */
.about-angled-wrap {
    position: relative;
    width: 100%;
    padding: 10px;
}

.about-photo-polygon {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    clip-path: polygon(14% 0%, 100% 0%, 86% 100%, 0% 100%);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.about-photo-polygon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo-polygon:hover img {
    transform: scale(1.05);
}

/* Red accent diagonal background bar */
.about-angled-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 65px;
    height: 100%;
    background-color: var(--remka-red);
    clip-path: polygon(40% 0%, 100% 0%, 60% 100%, 0% 100%);
    z-index: 0;
    opacity: 0.9;
}

/* Vertical Stats Counter Stack */
.about-stats-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-left: 20px;
}

.stat-item-figma .stat-val {
    font-family: var(--font-body);
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    color: var(--remka-charcoal);
    margin-bottom: 4px;
}

.stat-item-figma .stat-lbl {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--remka-muted);
}

/* ==========================================================
   SECTION 02: HİZMETLERİMİZ (SERVICES - DARK SECTION)
   ========================================================== */
.services-section-figma {
    background-color: var(--remka-black);
    padding: 110px 0;
    color: #ffffff;
}

.services-top-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 24px;
    flex-wrap: wrap;
}

.services-desc-center {
    color: #9ca3af;
    font-size: 15px;
    max-width: 440px;
    line-height: 1.65;
}

.services-view-all {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, transform 0.2s;
    border-bottom: 1.5px solid #ffffff;
    padding-bottom: 3px;
}

.services-view-all:hover {
    color: var(--remka-red);
    border-color: var(--remka-red);
    transform: translateX(4px);
}

/* 5-Column Horizontal Cards Grid */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.service-card-figma {
    position: relative;
    height: 360px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 20px;
    background-color: #111622;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6) contrast(1.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 11, 17, 0.1) 0%, rgba(8, 11, 17, 0.45) 50%, rgba(8, 11, 17, 0.95) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

.service-card-content {
    position: relative;
    z-index: 3;
}

.service-card-num {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.service-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.service-card-title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

.service-card-arrow {
    color: #ffffff;
    font-size: 16px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effects */
.service-card-figma:hover .service-card-bg {
    transform: scale(1.08);
    filter: brightness(0.7) contrast(1.15);
}

.service-card-figma:hover .service-card-overlay {
    background: linear-gradient(180deg, rgba(196, 18, 26, 0.15) 0%, rgba(8, 11, 17, 0.4) 40%, rgba(8, 11, 17, 0.98) 100%);
}

.service-card-figma:hover .service-card-arrow {
    color: var(--remka-red);
    transform: translateX(6px);
}

/* ==========================================================
   SECTION 03: ÜRÜNLERİMİZ (PRODUCTS)
   ========================================================== */
.products-section-figma {
    background-color: var(--remka-white);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.btn-remka-outline-red {
    border: 1.5px solid var(--remka-red);
    color: var(--remka-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 13px 26px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-remka-outline-red:hover {
    background-color: var(--remka-red);
    color: #ffffff;
}

.btn-remka-download {
    border: 1.5px solid #111827;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 13px 26px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-remka-download:hover {
    background-color: #111827;
    color: #ffffff;
}

/* Center Machined Part & Red Diagonal Stripes */
.product-showcase-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

/* Sharp red speed stripes behind the part */
.product-speed-stripes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(42deg);
    display: flex;
    gap: 16px;
    z-index: 1;
    pointer-events: none;
}

.speed-stripe {
    width: 28px;
    height: 480px;
    background-color: var(--remka-red);
}

.speed-stripe:nth-child(2) {
    width: 14px;
}

.speed-stripe:nth-child(3) {
    width: 7px;
}

.product-machined-part-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.18));
    transition: transform 0.5s ease;
}

.product-showcase-center:hover .product-machined-part-img {
    transform: scale(1.03);
}

/* Right Tagline Block */
.products-right-tagline {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.25;
    font-weight: 800;
    color: var(--remka-charcoal);
    margin-bottom: 40px;
}

/* Carousel Controls: 01 02 03 ← → */
.products-carousel-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.products-num-list {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    font-weight: 700;
}

.product-num-item {
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
}

.product-num-item.active {
    color: var(--remka-red);
}

.products-arrows {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-arrow-control {
    background: transparent;
    border: none;
    font-size: 22px;
    color: #111827;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s, color 0.2s;
    line-height: 1;
}

.btn-arrow-control:hover {
    color: var(--remka-red);
    transform: scale(1.15);
}

/* ==========================================================
   SECTIONS 04 & 05: MAKİNA PARKURUMUZ & REFERANSLARIMIZ (DUAL SPLIT)
   ========================================================== */
.dual-section-figma {
    background-color: var(--remka-light-bg);
    padding: 100px 0;
    border-top: 1px solid var(--remka-border-light);
}

.dual-card-block {
    background: transparent;
    height: 100%;
}

.dual-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--remka-red);
    transition: transform 0.2s;
}

.dual-link-arrow:hover {
    color: var(--remka-red-dark);
    transform: translateX(4px);
}

.machine-figma-preview {
    margin-top: 24px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    background-color: #000;
    height: 240px;
}

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

.machine-figma-preview:hover img {
    transform: scale(1.04);
}

/* Clean Monochrome Corporate Logos (2 rows x 4 cols) */
.references-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 24px;
    margin-top: 36px;
    align-items: center;
}

.ref-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    height: 52px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ref-logo-item span {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.05em;
    color: #111827;
    opacity: 0.85;
    text-transform: uppercase;
}

.ref-logo-item img {
    max-height: 28px;
    max-width: 100%;
    filter: grayscale(100%) contrast(1.5);
    opacity: 0.85;
    transition: opacity 0.2s, filter 0.2s;
}

.ref-logo-item:hover {
    transform: scale(1.05);
}

.ref-logo-item:hover span {
    color: var(--remka-red);
    opacity: 1;
}

.ref-logo-item:hover img {
    filter: none;
    opacity: 1;
}

/* ==========================================================
   SECTION 06: GALERİ (GALLERY)
   ========================================================== */
.gallery-section-figma {
    background-color: var(--remka-white);
    padding: 105px 0;
}

.gallery-grid-figma {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 120px;
    gap: 14px;
    align-items: stretch;
}

.gallery-item-figma {
    position: relative;
    height: 230px;
    overflow: hidden;
    background-color: #0f1420;
}

.gallery-item-figma img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Double-stacked photo slot */
.gallery-stacked-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 230px;
}

.gallery-stacked-item {
    position: relative;
    height: 108px;
    overflow: hidden;
    background-color: #0f1420;
}

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

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

/* Red All-Gallery Button Card */
.gallery-red-card {
    background-color: var(--remka-red);
    color: #ffffff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    height: 230px;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.gallery-red-card:hover {
    background-color: var(--remka-red-dark);
    color: #ffffff;
    transform: translateX(4px);
}

.gallery-red-card .txt-tum {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
}

.gallery-red-card .arrow-down {
    font-size: 20px;
    margin-top: 8px;
}

/* ==========================================================
   SECTION 07: CTA BANNER
   ========================================================== */
.cta-banner-figma {
    position: relative;
    background: #0d111a url('https://images.unsplash.com/photo-1504917599217-d4dc5ebe6122?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    overflow: hidden;
    padding: 55px 0;
}

.cta-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8, 11, 17, 0.96) 0%, rgba(8, 11, 17, 0.85) 60%, rgba(8, 11, 17, 0.6) 100%);
    z-index: 1;
}

/* Angled Red Trapezoid/Rhombus on the right */
.cta-red-polygon {
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 100%;
    background-color: var(--remka-red);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 2;
}

.cta-banner-content {
    position: relative;
    z-index: 3;
}

.cta-subtitle-small {
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cta-headline {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.2vw, 42px);
    color: #ffffff;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.btn-cta-outline-white {
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    background: transparent;
}

.btn-cta-outline-white:hover {
    background-color: #ffffff;
    color: var(--remka-red);
    border-color: #ffffff;
}

/* ==========================================================
   SECTION 08: FOOTER
   ========================================================== */
.footer-figma {
    background-color: var(--remka-light-bg);
    color: var(--remka-charcoal);
    padding: 75px 0 35px;
    border-top: 1px solid var(--remka-border-light);
    font-size: 14px;
}

.footer-figma .footer-brand-logo {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.footer-figma .footer-brand-logo:hover {
    opacity: 0.85;
}

.footer-figma .footer-logo-img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-subtitle-tag {
    font-size: 13px;
    color: var(--remka-muted);
    margin-top: 10px;
    line-height: 1.5;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #111827;
    margin-bottom: 20px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.footer-links-list a {
    color: #4b5563;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #4b5563;
    margin-bottom: 12px;
    font-size: 13px;
}

.footer-contact-item a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-item a:hover {
    color: var(--remka-red);
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.social-circle-btn {
    width: 36px;
    height: 36px;
    background-color: #111827;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.2s, transform 0.2s;
}

.social-circle-btn:hover {
    background-color: var(--remka-red);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-lang-switcher {
    font-size: 13px;
    font-weight: 700;
    color: #9ca3af;
}

.footer-lang-switcher a {
    text-decoration: none;
    color: #4b5563;
}

.footer-lang-switcher a.active {
    color: #111827;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 50px;
    padding-top: 25px;
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-bar a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-bar a:hover {
    color: var(--remka-red);
}

/* ==========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================== */
@media (max-width: 1200px) {
    .header-nav {
        gap: 18px;
    }

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

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

    .gallery-red-card {
        grid-column: span 3;
        height: 60px;
        flex-direction: row;
        gap: 12px;
    }

    .gallery-red-card .arrow-down {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    .header-nav, .header-actions .search-toggle-btn, .header-actions .lang-switcher-nav {
        display: none !important;
    }

    .hero-slider-nav, .hero-pillars-right {
        display: none;
    }

    .about-photo-polygon {
        clip-path: none;
        height: 300px;
    }

    .about-angled-wrap::before {
        display: none;
    }

    .about-stats-stack {
        flex-direction: row;
        flex-wrap: wrap;
        padding-left: 0;
        margin-top: 40px;
    }

    .stat-item-figma {
        width: 45%;
    }

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

    .cta-red-polygon {
        display: none;
    }

    .cta-banner-content {
        text-align: center;
    }

    .btn-cta-outline-white {
        margin-top: 20px;
        background-color: var(--remka-red);
        border-color: var(--remka-red);
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 70px 0;
    }

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

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

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

    .gallery-stacked-col {
        display: none;
    }

    .gallery-red-card {
        grid-column: span 2;
    }

    .hero-headline {
        font-size: 34px;
    }

    .footer-links-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   INNER PAGES — FIGMA INDUSTRIAL DESIGN SYSTEM
   ========================================================== */

/* 1. Page Hero Banner */
.page-hero-banner {
    position: relative;
    background-color: #080b11;
    padding-top: calc(var(--header-height) + 55px);
    padding-bottom: 60px;
    overflow: hidden;
    border-bottom: 2px solid var(--remka-red);
}

.page-hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: radial-gradient(circle at 85% 20%, rgba(196, 18, 26, 0.28) 0%, rgba(8, 11, 17, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.page-hero-banner::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.02) 0px,
        rgba(255, 255, 255, 0.02) 2px,
        transparent 2px,
        transparent 14px
    );
    pointer-events: none;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.6vw, 46px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.page-hero-subtitle {
    color: #9ca3af;
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
}

/* 2. Remka Cards (Light & Dark) */
.remka-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.remka-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--remka-red);
    transition: width 0.3s ease;
}

.remka-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.remka-card:hover::after {
    width: 100%;
}

.remka-card-dark {
    background-color: #0f1420;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.remka-card-dark:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* 3. Form Elements Styling */
.remka-form .form-label {
    color: #1f2937;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.remka-form .form-control {
    background-color: #f9fafb;
    border: 1.5px solid #e5e7eb;
    color: #111827;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14.5px;
    transition: all 0.2s ease;
}

.remka-form .form-control:focus {
    background-color: #ffffff;
    border-color: var(--remka-red);
    box-shadow: 0 0 0 3px rgba(196, 18, 26, 0.12);
    color: #111827;
    outline: none;
}

.remka-form .form-control::placeholder {
    color: #9ca3af;
}

/* 4. Filter Tabs / Navigation */
.remka-filter-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 45px;
}

.remka-filter-btn {
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 6px;
    border: 1.5px solid #e5e7eb;
    background-color: #ffffff;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remka-filter-btn:hover {
    color: var(--remka-red);
    border-color: var(--remka-red);
    background-color: #fff5f5;
}

.remka-filter-btn.active {
    background-color: var(--remka-red);
    border-color: var(--remka-red);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(196, 18, 26, 0.3);
}

/* 5. Contact Info Elements */
.contact-icon-circle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background-color: rgba(196, 18, 26, 0.08);
    color: var(--remka-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.25s ease;
}

.remka-card:hover .contact-icon-circle {
    background-color: var(--remka-red);
    color: #ffffff;
    transform: scale(1.06);
}

/* 6. Technical Spec Badges */
.spec-badge {
    background-color: #f3f4f6;
    color: #374151;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.spec-badge.red {
    background-color: #fef2f2;
    color: var(--remka-red);
    border-color: #fecaca;
}

/* 7. Gallery Grid Enhancement */
.gallery-card-inner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #111827;
    height: 260px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

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

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

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 11, 17, 0.85) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-card-inner:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    margin: 0;
}

/* 8. Reference Logos Page Grid */
.ref-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ref-card-item {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.ref-card-item:hover {
    border-color: var(--remka-red);
    box-shadow: 0 8px 24px rgba(196, 18, 26, 0.08);
    transform: translateY(-3px);
}

.ref-card-item span {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #374151;
    letter-spacing: 0.08em;
    transition: color 0.25s ease;
}

.ref-card-item:hover span {
    color: var(--remka-red);
}

/* 9. Spec Table & Technical Specifications */
.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 11px 0;
    font-size: 14px;
    color: #1f2937;
}

.spec-table td.spec-name {
    color: #6b7280;
    font-weight: 500;
    width: 45%;
}

