/* ============================================================
   TECHNOLOGY PAGES (Ink / Mechanism / Tip)
   uniball.com.tr/teknoloji tarzi modern layout
   legal.css uyumlu, .tech-* prefix
   ============================================================ */

/* ---------- HERO ---------- */
.tech-hero {
    position: relative;
    height: 420px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1d1d1d 55%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.tech-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(230, 57, 70, 0.12), transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.05), transparent 60%);
}

.tech-hero::after {
    content: '';
    position: absolute;
    left: -120px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
}

.tech-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 880px;
}

.tech-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
    animation: techFadeDown 0.6s ease both;
}

.tech-hero h1 {
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 18px;
    color: #ffffff;
    animation: techFadeUp 0.7s ease 0.1s both;
}

.tech-hero h1 span {
    color: #e63946;
}

.tech-hero p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin: 0;
    animation: techFadeUp 0.7s ease 0.25s both;
}

/* ---------- SECTION NAV ---------- */
.tech-section-nav {
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 70px;
    z-index: 20;
}

.tech-section-nav-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.tech-section-nav a {
    flex: 1 1 auto;
    text-align: center;
    padding: 16px 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6b6b6b;
    text-decoration: none;
    transition: color 0.25s, background 0.25s;
    border-bottom: 2px solid transparent;
}

.tech-section-nav a:hover {
    color: #e63946;
    background: #fafafa;
}

.tech-section-nav a.active {
    color: #111;
    border-bottom-color: #e63946;
}

/* ---------- CONTENT LAYOUT ---------- */
.tech-section {
    background: #ffffff;
  
}

.tech-section.alt {
    background: #f7f7f7;
}

.tech-wrapper {
    max-width: 1140px;
    margin: 0 auto;
}

.tech-block-head {
    text-align: center;
    margin-bottom: 48px;
}

.tech-eyebrow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e63946;
    margin-bottom: 12px;
}

.tech-block-head h2 {
    text-align:left;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #1d1d1d;
    margin: 0 0 14px;
}

.tech-block-head p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    text-align:left;
    line-height: 1.8;
    color: #555;
    max-width: 720px;
    margin: 0 auto;
    
}

/* ---------- FEATURE LIST (Uni Super Ink) ---------- */
.tech-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.tech-feature {
    background: #ffffff;
    border: 1px solid #ececec;
    padding: 28px 22px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
}

.tech-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #e63946;
    transition: width 0.35s ease;
}

.tech-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    border-color: #e63946;
}

.tech-feature:hover::before {
    width: 100%;
}

.tech-feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #1d1d1d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tech-feature h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1d1d1d;
    margin: 0 0 8px;
}

.tech-feature p {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* ---------- COMPARISON SPLIT (Pigment vs Standart) ---------- */
.tech-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.tech-compare-card {
    background: #ffffff;
    border: 1px solid #ececec;
    padding: 36px 30px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tech-compare-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.tech-compare-card.pigment {
    border-top: 4px solid #e63946;
}

.tech-compare-card.standard {
    border-top: 4px solid #b5b5b5;
}

.tech-compare-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.tech-compare-card.pigment .tech-compare-tag {
    background: #fde7e9;
    color: #c1121f;
}

.tech-compare-card.standard .tech-compare-tag {
    background: #ececec;
    color: #666;
}

.tech-compare-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1d1d1d;
    margin: 0 0 10px;
}

.tech-compare-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* ---------- COMPARE TABLE ---------- */
.tech-compare-table {
    margin-top: 44px;
    border: 1px solid #ececec;
    background: #ffffff;
    overflow: hidden;
}

.tech-compare-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1.3fr;
    border-bottom: 1px solid #ececec;
}

.tech-compare-row:last-child {
    border-bottom: none;
}

.tech-compare-row.head {
    background: #1d1d1d;
    color: #ffffff;
}

.tech-compare-row > div {
    padding: 18px 22px;
    border-right: 1px solid #ececec;
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    line-height: 1.7;
    color: #444;
}

.tech-compare-row > div:last-child {
    border-right: none;
}

.tech-compare-row.head > div {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    border-right-color: rgba(255, 255, 255, 0.1);
    padding: 16px 22px;
}

.tech-compare-row .label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1d1d1d;
    background: #fafafa;
}

.tech-compare-row ul {
    margin: 0;
    padding-left: 18px;
}

.tech-compare-row ul li {
    margin-bottom: 6px;
}

.tech-compare-row ul li:last-child {
    margin-bottom: 0;
}

/* ---------- INK GRID (diger murekkep tipleri) ---------- */
.tech-ink-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 20px;
}

.tech-ink-card {
    background: #ffffff;
    border: 1px solid #ececec;
    overflow: hidden;
    transition: transform 0.35s, box-shadow 0.35s;
    display: flex;
    flex-direction: column;
}

.tech-popup-trigger {
    cursor: pointer;
}

.tech-ink-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
}

.tech-ink-card-media {
    height: 170px;
    background: linear-gradient(135deg, #1d1d1d 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.tech-ink-card-media::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.28), transparent 70%);
}

.tech-ink-card-media i {
    font-size: 44px;
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

.tech-ink-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.tech-ink-video-frame {
    width: 100%;
    height: 100%;
    border: 0;
    position: relative;
    z-index: 2;
}

.tech-ink-card-body {
    padding: 24px 22px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tech-ink-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1d1d1d;
    margin: 0 0 10px;
}

.tech-ink-card .tech-ink-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e63946;
    margin-bottom: 10px;
}

.tech-ink-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    line-height: 1.7;
    color: #555;
    margin: 0;
    flex: 1;
}

/* ---------- CTA CALLOUT ---------- */
.tech-callout {
    background: linear-gradient(135deg, #1d1d1d 0%, #2a2a2a 100%);
    color: #ffffff;
    padding: 48px 40px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tech-callout::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.18), transparent 70%);
}

.tech-callout h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

.tech-callout p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 auto 22px;
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.tech-callout .tech-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #e63946;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.25s, transform 0.25s;
    position: relative;
    z-index: 1;
}

.tech-callout .tech-btn:hover {
    background: #c1121f;
    transform: translateY(-2px);
}

/* ---------- DETAIL MODAL ---------- */
.tech-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.tech-modal.is-open {
    display: block;
}

.tech-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.tech-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(860px, calc(100% - 24px));
    margin: 48px auto;
    background: #ffffff;
    padding: 22px;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.28);
    max-height: calc(100vh - 96px);
    overflow: auto;
}

.tech-modal-close {
    border: 0;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    position: absolute;
    top: 8px;
    right: 14px;
    color: #222;
    cursor: pointer;
}

.tech-modal-image-wrap {
    margin-bottom: 16px;
}

.tech-modal-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.tech-modal-dialog h3 {
    margin: 0 0 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 23px;
    letter-spacing: 1px;
}

.tech-modal-dialog p {
    margin: 0 0 10px;
    color: #444;
    line-height: 1.7;
}

body.tech-modal-open {
    overflow: hidden;
}

/* ---------- ANIMATIONS ---------- */
@keyframes techFadeDown {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes techFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.tech-fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.tech-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .tech-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-ink-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-compare { grid-template-columns: 1fr; }
    .tech-compare-row { grid-template-columns: 1fr; }
    .tech-compare-row > div { border-right: none; border-bottom: 1px solid #ececec; }
    .tech-compare-row > div:last-child { border-bottom: none; }
    .tech-compare-row.head { display: none; }
}

@media (max-width: 767px) {
    .tech-hero { height: 340px; }
    .tech-hero h1 { font-size: 32px; letter-spacing: 5px; }
    .tech-hero p { font-size: 13px; }
    
    .tech-block-head h2 { font-size: 22px; letter-spacing: 3px; }
    .tech-feature-grid { grid-template-columns: 1fr; }
    .tech-ink-grid { grid-template-columns: 1fr; }
    .tech-section-nav a { padding: 12px 10px; font-size: 11px; letter-spacing: 2px; }
    .tech-callout { padding: 36px 24px; }
    .tech-callout h3 { font-size: 17px; letter-spacing: 3px; }
}
