/* styles.css */
/* --- SELF-HOSTED TYPOGRAPHY: OUTFIT (Latin + Latin Extended / Türkçe dahil) --- */
@font-face {
    font-family: "Outfit";
    src: url("/assets/fonts/outfit-latin-ext.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Outfit";
    src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Outfit";
    src: url("/assets/fonts/outfit-latin-ext.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Outfit";
    src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Outfit";
    src: url("/assets/fonts/outfit-latin-ext.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Outfit";
    src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- DESIGN TOKENS --- */
:root {
    --bg-main: #ffffff;
    --text-main: #383e42;
    --text-dim: rgba(56, 62, 66, 0.68);
    --text-muted: rgba(56, 62, 66, 0.42);
    --accent: #e2725b;
    
    --border-soft: rgba(56, 62, 66, 0.10);
    --border-medium: rgba(56, 62, 66, 0.18);
    --bg-subtle: #f5f5f5;
    --bg-inverse: #383e42;
    --text-inverse: #f5f5f5;
    --header-h: 80px;
    --container-max: 1240px;
    --rail-w: 320px;
    --section-gap: clamp(64px, 8vw, 112px);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- BASE & TYPOGRAPHY --- */
html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
    background: var(--bg-main);
    font-family: "Outfit", Tahoma, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

body {
    font-family: "Outfit", Tahoma, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    color: var(--text-main);
    background: var(--bg-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    overflow-x: hidden;
}

* { box-sizing: border-box; }

/* Reset default font for inputs/buttons to prevent Arial fallbacks */
button, input, select, textarea {
    font-family: inherit;
}

a, nav {
    font-family: inherit;
}

/* Global link rengi — tarayıcı default mavisini engelle */
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    opacity: 0.85;
}

/* İçerik alanlarındaki prose linkleri (legal, privacy, about içerikleri) */
.content-area a:not([class]),
.about-content a:not([class]),
.legal-content a:not([class]),
article a:not([class]) {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.9;
}
.content-area a:not([class]):hover,
.about-content a:not([class]):hover,
.legal-content a:not([class]):hover,
article a:not([class]):hover {
    opacity: 1;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

h1, h2, h3 { color: var(--text-main); margin: 0; font-weight: 600; }
h1 { font-weight: 600; }
h2, h3 { font-weight: 600; }

.text-dim { color: var(--text-dim); }
.text-muted { color: var(--text-muted); }

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

/* --- HEADER & LOGO --- */
.global-header {
    height: var(--header-h);
    background: var(--bg-subtle);
    position: relative;
    top: 0;
    z-index: 1000;
}

.header-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.brand-logo-wrapper {
    --logo-v-height: 28px;
    display: flex;
    align-items: center;
    padding: var(--logo-v-height);
    text-decoration: none;
}

.brand-logo-wrapper::before,
.brand-logo-wrapper::after {
    content: none;
}

.vyla-logo {
    display: block;
    height: 24px;
    width: auto;
    max-width: none;
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
}

.footer-logo {
    height: 44px;
    width: auto;
    max-width: none;
}

/* Header foreground colors on light background */
.global-header .nav-link,
.global-header .nav-dropdown-trigger {
    color: var(--text-main);
}

.global-header .chevron {
    color: var(--text-main);
}

.nav-list { display: flex; list-style: none; gap: 8px; margin: 0; padding: 0; }
.nav-link, .nav-dropdown-trigger {
    background: none; border: none; font-size: 14px; font-weight: 500;
    color: var(--text-main); cursor: pointer; text-decoration: none;
    padding: 8px 16px; display: flex; align-items: center; gap: 4px;
}

.chevron {
    width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform var(--transition);
}

.nav-item-has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-subtle); border: 1px solid var(--border-soft);
    list-style: none; min-width: 250px; padding: 12px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    opacity: 0; visibility: hidden;
    display: none;
    transition: opacity var(--transition), transform var(--transition);
}

.nav-item-has-dropdown.is-open .dropdown-menu { display: block; opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-item-has-dropdown.is-open .chevron { transform: rotate(-135deg); }

@media (hover: hover) {
    .nav-item-has-dropdown:hover .dropdown-menu { display: block; opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
}

.dropdown-menu a {
    display: block; padding: 10px 24px; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 400;
}
.dropdown-menu a:hover { color: var(--text-main); background: rgba(255,255,255,0.06); }

/* --- HERO --- */
.hero-section { padding: clamp(100px, 15vh, 200px) 0; text-align: center; }
.hero-content { max-width: 900px; margin: 0 auto; position: relative; z-index: 10; }
.hero-title { font-size: clamp(40px, 7vw, 76px); letter-spacing: -0.04em; margin-bottom: 24px; font-weight: 600; }
.hero-lead { font-size: clamp(18px, 2.5vw, 24px); color: var(--text-dim); margin: 0; font-weight: 400; }

/* --- RAIL GRID LAYOUT --- */
.ir-layout-section { padding: var(--section-gap) 0; position: relative; }
.rail-grid-wrapper { display: grid; grid-template-columns: var(--rail-w) 1fr; gap: 80px; align-items: start; }

.rail { position: sticky; top: calc(var(--header-h) + 40px); }
.rail-title { font-size: 40px; margin-bottom: 16px; letter-spacing: -0.02em; font-weight: 600; }
.rail-desc { font-size: 18px; color: var(--text-dim); margin-bottom: 32px; font-weight: 400; }

.view-all-link { 
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; 
    text-decoration: none; color: var(--accent); letter-spacing: 0.1em; transition: color 0.2s, opacity 0.2s;
}
.view-all-link:hover { color: var(--accent); opacity: 0.8 !important;
    color: var(--text-main) !important; }

/* --- ABOUT --- */
.rail-anchor-nav { margin-top: 40px; }
.anchor-list { list-style: none; padding: 0; margin: 0; }
.anchor-link {
    display: inline-block;
    padding: 10px 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.2s;
}
.anchor-link.active { color: var(--accent); font-weight: 600; }
.anchor-link:hover { color: var(--text-main); }

.about-content-stack { display: flex; flex-direction: column; gap: 32px; }
.about-block h3 { font-size: 22px; font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
.about-block .lead { font-size: 18px; color: var(--text-dim); margin: 0; font-weight: 400; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 16px; }
.feature-item { border: 1px solid var(--border-soft); padding: 24px; }
.feature-item h4 { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--text-main); }
.feature-item p { margin: 0; font-size: 14px; color: var(--text-dim); font-weight: 400; }

/* --- SECTION 3 COMPACT --- */
#section-3.ir-layout-section {
    padding: calc(var(--section-gap) * 0.7) 0;
}
#section-3 .rail-grid-wrapper {
    gap: 56px;
}
#section-3 .card-grid.grid-3-col {
    gap: 16px;
}


/* --- CARDS --- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.ir-card { 
    background: transparent; border: 1px solid var(--border-soft);
    text-decoration: none; color: inherit; transition: var(--transition); 
    display: flex; flex-direction: column; overflow: hidden;
}
.ir-card:hover, .ir-card:focus-visible { border-color: rgba(255,255,255,0.14); transform: translateY(-2px); outline: none; }
.ir-card:focus-visible { border-width: 2px; }

/* Section-1 Cards: Staggered Parallax - Subtle & Refined */
#section-1 .card-grid .ir-card {
    will-change: transform;
    transition: transform 0.15s linear;
    border: none !important; /* Remove border completely */
    border-radius: 16px; /* Rounded corners like sticky header */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); /* More visible shadow */
}

/* Each card moves at different speed - creating depth */
#section-1 .card-grid .ir-card:nth-child(1) {
    transform: translateY(calc(var(--scroll-cards, 0) * -50px));
}
#section-1 .card-grid .ir-card:nth-child(2) {
    transform: translateY(calc(var(--scroll-cards, 0) * -60px));
}
#section-1 .card-grid .ir-card:nth-child(3) {
    transform: translateY(calc(var(--scroll-cards, 0) * -70px));
}
#section-1 .card-grid .ir-card:nth-child(4) {
    transform: translateY(calc(var(--scroll-cards, 0) * -80px));
}
#section-1 .card-grid .ir-card:nth-child(5) {
    transform: translateY(calc(var(--scroll-cards, 0) * -90px));
}
#section-1 .card-grid .ir-card:nth-child(6) {
    transform: translateY(calc(var(--scroll-cards, 0) * -100px));
}
#section-1 .card-grid .ir-card:nth-child(7) {
    transform: translateY(calc(var(--scroll-cards, 0) * -110px));
}
#section-1 .card-grid .ir-card:nth-child(8) {
    transform: translateY(calc(var(--scroll-cards, 0) * -120px));
}
#section-1 .card-grid .ir-card:nth-child(9) {
    transform: translateY(calc(var(--scroll-cards, 0) * -130px));
}

/* Hover still works - we're adding to transform, not replacing */
#section-1 .card-grid .ir-card:hover {
    transform: translateY(calc(var(--scroll-cards, 0) * -50px)) translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#section-1 .card-grid .ir-card:nth-child(2):hover {
    transform: translateY(calc(var(--scroll-cards, 0) * -60px)) translateY(-2px) !important;
}
#section-1 .card-grid .ir-card:nth-child(3):hover {
    transform: translateY(calc(var(--scroll-cards, 0) * -70px)) translateY(-2px) !important;
}
#section-1 .card-grid .ir-card:nth-child(4):hover {
    transform: translateY(calc(var(--scroll-cards, 0) * -80px)) translateY(-2px) !important;
}
#section-1 .card-grid .ir-card:nth-child(5):hover {
    transform: translateY(calc(var(--scroll-cards, 0) * -90px)) translateY(-2px) !important;
}
#section-1 .card-grid .ir-card:nth-child(6):hover {
    transform: translateY(calc(var(--scroll-cards, 0) * -100px)) translateY(-2px) !important;
}
#section-1 .card-grid .ir-card:nth-child(7):hover {
    transform: translateY(calc(var(--scroll-cards, 0) * -110px)) translateY(-2px) !important;
}
#section-1 .card-grid .ir-card:nth-child(8):hover {
    transform: translateY(calc(var(--scroll-cards, 0) * -120px)) translateY(-2px) !important;
}
#section-1 .card-grid .ir-card:nth-child(9):hover {
    transform: translateY(calc(var(--scroll-cards, 0) * -130px)) translateY(-2px) !important;
}

/* Disable on mobile */
@media (max-width: 900px) {
    #section-1 .card-grid .ir-card {
        transform: none !important;
        will-change: auto;
    }
    #section-1 .card-grid .ir-card:hover {
        transform: translateY(-2px) !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    #section-1 .card-grid .ir-card {
        transform: none !important;
        will-change: auto;
    }
}

.card-media { width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.card-media img { object-fit: cover; }
.card-media video { object-fit: cover; }
.card-body { padding: 32px 32px 0 32px; flex-grow: 1; display: flex; flex-direction: column; }
.card-tag { font-size: 11px; text-transform: uppercase; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; }
.card-tag-secondary { text-transform: none; font-weight: 600; color: var(--text-dim); padding: 0 32px 28px; margin: 0; }
.card-title { font-size: 22px; font-weight: 600; line-height: 1.3; margin-bottom: 24px; transition: opacity 0.2s; }
.ir-card:hover .card-title { opacity: 0.92; }
.card-date { margin: 0 0 12px; font-size: 10px; color: var(--text-main); opacity: 0.8; }

/* Section-1 secondary tag spacing on small screens stays consistent */
@media (max-width: 600px) {
    .card-tag-secondary { padding: 0 24px 22px; }
}

/* Compact Variation */
.variant-compact .card-media { aspect-ratio: 16/5.3; }
.variant-compact .card-body { padding: 20px 24px; }
.variant-compact .card-title { font-size: 18px; margin-bottom: 0; }

/* Section 2 & 3 logo kartları: koyu zemin, beyaz logo */
.logo-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.logo-card:hover {
    background: transparent !important;
    border: none !important;
    transform: translateY(-2px);
}
.logo-card .card-media img {
    object-fit: cover;
}

/* Section 2: logo altındaki card-tag metni gizle */
#section-2 .logo-card .card-tag {
    display: none;
}

/* Section 2: 3 columns on desktop, preserve existing breakpoints */
#section-2 .card-grid.variant-compact { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
    #section-2 .card-grid.variant-compact { grid-template-columns: repeat(2, 1fr); }
}

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

/* Accent vurgu alanları */
.view-all-link { color: var(--accent); }
.view-all-link:hover { color: var(--accent); opacity: 0.8 !important;
    color: var(--text-main) !important; }
.arrow { color: var(--accent); }

/* --- INSIGHT LIST --- */
.press-list { border-top: 1px solid var(--border-soft); }
.press-row { 
    padding: 24px 0; 
    border-bottom: 1px solid var(--border-soft); 
    display: flex; 
    gap: 40px; 
    align-items: baseline;
    position: relative; /* For pseudo-element positioning */
}

/* Watchpoint dot - editorial focus indicator */
.press-row::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover effects - only on hover-capable devices */
@media (hover: hover) {
    .press-row:hover::before {
        opacity: 0.4;
        transform: translateY(-50%) translateX(2px);
    }
    
    /* Reduced motion: disable movement */
    @media (prefers-reduced-motion: reduce) {
        .press-row:hover::before {
            transform: translateY(-50%);
        }
    }
}

.press-date { font-size: 15px; color: var(--text-muted); min-width: 140px; font-weight: 400; }
.press-link { 
    font-size: 20px; 
    font-weight: 600; 
    color: var(--text-main); 
    text-decoration: none; 
    flex: 1; 
    transition: opacity 0.2s; 
}

/* Press link hover - only on hover-capable devices */
@media (hover: hover) {
    .press-link:hover { 
        opacity: 0.9; 
        text-decoration: underline; 
    }
}

/* --- FOOTER --- */
.global-footer {
    padding: 44px 0 10px;
    border-top: 1px solid rgba(56,62,66,0.12);
    background: var(--bg-subtle);
    color: var(--text-main);
    position: relative;
    z-index: 10;
}

.footer-top { display: flex; justify-content: space-between; margin-bottom: 48px; flex-wrap: wrap; gap: 40px; align-items: flex-start; }

.footer-grid { display: flex; gap: 80px; }
.footer-grid-4 { width: 100%; max-width: 760px; }

.footer-col h4 {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(56,62,66,0.65);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
    font-weight: 500;
}
.footer-col a:hover { opacity: 1; text-decoration: underline; }

.office-block { max-width: 260px; }
.company-name { font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }
.office-lines { font-size: 13px; color: #4b5257; line-height: 1.5; }
.office-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 6px 8px;
    border-radius: 10px;
    color: rgba(56,62,66,0.75);
    text-decoration: none;
}
.office-map-link:hover { color: rgba(56,62,66,0.75); background: rgba(0,0,0,0.04); }
.location-icon { display: block; }

/* Footer: clickable clarity for social + mail (no accent hover) */
.global-footer a[href^="mailto:"] {
    border-bottom: 1px solid transparent;
    text-decoration: none;
}
.global-footer a[href^="mailto:"]:hover {
    border-bottom-color: currentColor;
    text-decoration: none;
}

.global-footer .footer-col a[target="_blank"]:not(.office-map-link) {
    border-bottom: 1px solid transparent;
    text-decoration: none;
}
.global-footer .footer-col a[target="_blank"]:not(.office-map-link):hover {
    border-bottom-color: currentColor;
    text-decoration: none;
}

.footer-bottom { border-top: 0px solid rgba(56,62,66,0.12); padding-top: 5px; font-size: 12px; color: rgba(56,62,66,0.7); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.legal-mini-nav { list-style: none; display: flex; gap: 24px; padding: 0; margin: 0; }
.legal-mini-nav a { color: inherit; text-decoration: none; }
.legal-mini-nav a:hover { color: rgba(56,62,66,0.95); text-decoration: underline; }

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .container { padding: 0 24px; }
    .rail-grid-wrapper { gap: 40px; }
    .grid-3-col { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .rail-grid-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .rail { position: static; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-soft); }
    .grid-3-col { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-grid-4 { max-width: 100%; }
}

@media (max-width: 600px) {
    .brand-logo-wrapper { --logo-v-height: 24px; padding: var(--logo-v-height); }
    .nav-list { flex-direction: column; gap: 32px; }

    .main-nav .nav-link,
    .main-nav .nav-dropdown-trigger {
        color: var(--text-main);
    }

    .dropdown-menu { position: static; transform: none; box-shadow: none; border: none; display: none; opacity: 1; visibility: visible; padding-left: 20px; }
    .nav-item-has-dropdown.is-open .dropdown-menu { display: block; }
    .card-grid, .grid-3-col { grid-template-columns: 1fr; gap: 24px; }
    #section-3 .card-grid.grid-3-col { grid-template-columns: repeat(2, 1fr); }

    .footer-grid { flex-direction: row; flex-wrap: wrap; gap: 20px 24px; }
    .footer-col { flex: 1 1 calc(50% - 12px); min-width: 140px; }
    .office-block { max-width: none; width: 100%; }
    
    /* Watchpoint dot - position inside on mobile */
    .press-row::before {
        left: 0;
    }
    .press-row:hover::before {
        transform: translateY(-50%) translateX(0);
    }
}

/* --- CONTACT PAGE TEXT NORMALIZATION (SCOPED) --- */
.contact-page .contact-body,
.contact-page .contact-body p,
.contact-page .contact-body a,
.contact-page .contact-body li,
.contact-page .contact-body div,
.contact-page .contact-body span {
    font-family: inherit;
    color: var(--text-main);
    font-weight: 400;
    opacity: 1;
}

.contact-page .contact-body .text-dim,
.contact-page .contact-body .text-muted {
    color: inherit;
    opacity: 1;
}

.contact-page .contact-body .company-name,
.contact-page .contact-body .office-lines,
.contact-page .contact-body .office-lines div {
    color: inherit;
    font-weight: 400;
}

.contact-page .contact-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-page .contact-body a:hover {
    color: inherit;
    opacity: 1;
}

.contact-page .contact-body .office-map-link {
    text-decoration: none;
}

.contact-page .contact-body .office-map-link span {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* --- HEADER CTA (INDEX HERO VARIANT) --- */
.header-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:44px;  /* was: 40px - Touch Target Fix: 44px minimum */
    padding:0 14px;
    border-radius:12px;
    border:1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    text-decoration:none;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.02em;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
/* Hover effects - only on hover-capable devices */
@media (hover: hover) {
    .header-cta:hover{
        background: var(--accent);
        border-color: var(--accent);
        color: var(--text-inverse);
        transform: translateY(-1px) scale(0.98);
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
    }
    
    /* Reduced motion: disable scale and shadow */
    @media (prefers-reduced-motion: reduce) {
        .header-cta:hover {
            transform: translateY(-1px);
            box-shadow: none;
        }
    }
}
.header-cta:focus-visible{
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Header overlay while hero is visible */
.global-header.has-hero{
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.global-header.has-hero.is-on-hero{
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.16);
    box-shadow: none;
}
.global-header.has-hero.is-on-hero .nav-link,
.global-header.has-hero.is-on-hero .nav-dropdown-trigger{
    color: var(--text-inverse);
}
.global-header.has-hero.is-on-hero .header-cta{
    background: transparent;
    border-color: rgba(245,245,245,0.50);
    color: var(--text-inverse);
    backdrop-filter: blur(8px);
}

/* Hover effects - only on hover-capable devices */
@media (hover: hover) {
    .global-header.has-hero.is-on-hero .header-cta:hover{
        background: rgba(245,245,245,0.15);
        border-color: var(--text-inverse);
        transform: translateY(-1px) scale(0.98);
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
    }
    
    /* Reduced motion: disable scale and shadow */
    @media (prefers-reduced-motion: reduce) {
        .global-header.has-hero.is-on-hero .header-cta:hover {
            transform: translateY(-1px);
            box-shadow: none;
        }
    }
}

/* --- HERO SPLASH (INDEX) --- */
.hero-splash{
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}
.hero-media{
    position:absolute;
    inset:0;
    z-index:0;
    background:#000000;
}
.hero-video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}
.hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:
        radial-gradient(1200px 600px at 18% 68%, rgba(0,0,0,0.55), rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.55)),
        linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.42) 35%, rgba(0,0,0,0.62) 100%);
}

.hero-splash-inner{
    position:relative;
    z-index:2;
    width:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-top: clamp(34px, 6vh, 76px);
    padding-bottom: clamp(28px, 6vh, 56px);
}

.hero-copy{
}

.hero-logo{
    width: auto;
    height: clamp(44px, 6.2vw, 74px);
    filter: none;
    opacity: 1;
}

.hero-rule{
    margin-top: 22px;
    display:flex;
    align-items:center;
    gap: 14px;
    color: rgba(245,245,245,0.85);
    width: 100%;
}
.hero-rule-line{
    height: 1px;
    flex: 1;
    background: rgba(245,245,245,0.26);
    min-width: 360px;
}
.hero-location{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245,245,245,0.82);
    white-space: nowrap;
}
.hero-location-icon{ color: rgba(245,245,245,0.68); }

.hero-tagline{
    margin: 22px 0 0;
    font-size: clamp(22px, 2.7vw, 36px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--text-inverse);
    font-weight: 500;
    /* Drift animation - awakening effect */
    animation: heroDrift 2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes heroDrift {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disable animation on reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-tagline {
        animation: none;
    }
}

/* bottom quick nav cards */
.hero-quicknav{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: stretch;
}
.hero-quicknav-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(245,245,245,0.92);
    border: 1px solid rgba(56,62,66,0.10);
    color: var(--text-main);
    text-decoration:none;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), opacity var(--transition);
    min-height: 56px;
}
.hero-quicknav-item:hover{
    transform: translateY(-2px);
    background: rgba(245,245,245,0.98);
    border-color: rgba(56,62,66,0.16);
}
.hero-quicknav-label{
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.hero-quicknav-arrow{
    font-size: 16px;
    opacity: 0.75;
}

/* responsive hero */
@media (max-width: 900px){
    .hero-quicknav{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
    .hero-splash-inner{ padding-top: calc(var(--header-h) + 28px); }
    .hero-quicknav{ grid-template-columns: 1fr; }
    .hero-rule{ gap: 10px; }
    .hero-rule-line{ min-width: 180px; }
    .hero-location{ font-size: 11px; }
}


/* --- HERO NAV (VERSION2 STICKY BAR) --- */
.hero-nav-shell{
    position: relative;
    z-index: 10;
    margin-top: -78px;
    padding-bottom: 18px;
}
.hero-nav-sentinel{ height: 1px; }

.hero-nav{
    position: relative;
    top: 0;
    z-index: 1000;
    --nav-fill: 0;
    --nav-reveal: 0;
}
.hero-nav-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 16px;
    min-height: 62px;
    padding: 12px 14px;
    border-radius: 14px;
    background: color-mix(in srgb, rgba(245,245,245,0.12) calc((1 - var(--nav-fill)) * 100%), rgba(245,245,245,0.98) calc(var(--nav-fill) * 100%));
    border: 1px solid color-mix(in srgb, rgba(255,255,255,0.22) calc((1 - var(--nav-fill)) * 100%), rgba(56,62,66,0.10) calc(var(--nav-fill) * 100%));
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 46px rgba(0,0,0, calc(0.02 + 0.16 * var(--nav-fill)));
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.hero-nav-left,
.hero-nav-right{
    flex: 0 0 188px;
    display:flex;
    align-items:center;
}
.hero-nav-right{ justify-content:flex-end; }
.hero-nav-center{
    display:flex;
    align-items:center;
    justify-content:center;
    gap: 18px;
    flex: 1 1 auto;
}
.hero-nav-link{
    text-decoration:none;
    color: color-mix(in srgb, #f5f5f5 calc((1 - var(--nav-fill)) * 100%), #383e42 calc(var(--nav-fill) * 100%));
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background var(--transition), opacity var(--transition);
}
.hero-nav-link:hover{
    background: color-mix(in srgb, rgba(245,245,245,0.15) calc((1 - var(--nav-fill)) * 100%), rgba(56,62,66,0.06) calc(var(--nav-fill) * 100%));
}

.hero-nav-logo-img{
    height: 26px;
    width: auto;
    display:block;
}

.hero-nav-cta{
    height: 44px;  /* was: 40px - Touch Target Fix: 44px minimum */
    white-space: nowrap;
}

.hero-nav .hero-nav-logo,
.hero-nav .hero-nav-cta{
    opacity: var(--nav-reveal);
    transition: opacity var(--transition);
}
.hero-nav.is-v1 .hero-nav-logo,
.hero-nav.is-v1 .hero-nav-cta{
    pointer-events: none;
}
.hero-nav.is-v2 .hero-nav-logo,
.hero-nav.is-v2 .hero-nav-cta{
    pointer-events: auto;
}

.hero-nav.is-v2{
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 1200;
}

.hero-nav-shell.is-stuck{
    /* height is set inline by JS to prevent layout jump */
}

/* Hero floating CTA */
.hero-cta-float{
    position: absolute;
    top: 22px;
    right: 40px;
    z-index: 3;
    background: transparent;
    border-color: rgba(245,245,245,0.50);
    color: var(--text-inverse);
    backdrop-filter: blur(10px);
}

/* Hover effects - only on hover-capable devices */
@media (hover: hover) {
    .hero-cta-float:hover{
        background: rgba(245,245,245,0.15);
        border-color: var(--text-inverse);
        transform: translateY(-1px) scale(0.98);
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
    }
    
    /* Reduced motion: disable scale and shadow */
    @media (prefers-reduced-motion: reduce) {
        .hero-cta-float:hover {
            transform: translateY(-1px);
            box-shadow: none;
        }
    }
}

body.hero-nav-v2 .hero-cta-float{
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 900px){
    .hero-nav-left,
    .hero-nav-right{ flex-basis: 150px; }
    .hero-nav-center{ gap: 10px; }
    .hero-nav-link{ padding: 8px 8px; }
    .hero-cta-float{ right: 24px; top: 18px; }
}
@media (max-width: 600px){
    .hero-nav-shell{ margin-top: -92px; }
    .hero-nav-inner{
        min-height: 64px;
        padding: 10px 12px;
        border-radius: 16px;
    }
    .hero-nav-left{ flex-basis: 110px; }
    .hero-nav-right{ flex-basis: 110px; }
    .hero-nav-logo-img{ height: 24px; }
    
    /* Touch Target Fix: 44px minimum for mobile accessibility */
    .hero-nav-link{ 
        padding: 15px 12px;  /* was: 8px 8px - increased for 44px touch target */
        min-height: 44px;
    }
    
    .hero-nav-cta{
        height: 44px;  /* was: 38px - Touch Target Fix: 44px minimum */
        padding: 0 10px;
        font-size: 12px;
    }
    .hero-cta-float{ right: 16px; top: 14px; }
}


/* =========================================================
   MOBILE IMPROVEMENTS (REV5) — scoped to <= 600px
   Only affects mobile layout/typography; desktop/tablet unchanged.
   ========================================================= */
@media (max-width: 600px){

  /* --- HERO: remove top/bottom letterboxing by increasing video "cover" --- */
  .hero-splash{
    min-height: 100vh;
  }
  @supports (height: 100dvh){
    .hero-splash{ min-height: 100dvh; }
  }

  /* YouTube iframe needs aggressive overscan on portrait */
  .hero-video{
    width: 260vw;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 150vh;
  }
  @supports (height: 100dvh){
    .hero-video{ height: 150dvh; }
  }

  /* CTA on hero: keep readable + respect safe areas */
  .hero-cta-float{
    right: calc(16px + env(safe-area-inset-right));
    top:  calc(14px + env(safe-area-inset-top));
  }

  /* --- STICKY HERO NAV: give CTA breathing room on the right, respect safe areas --- */
  .hero-nav-inner{
    padding-left:  calc(14px + env(safe-area-inset-left));
    padding-right: calc(14px + env(safe-area-inset-right));
    gap: 12px;
  }
  .hero-nav-right{ flex: 0 0 auto; }
  .hero-nav-left{  flex: 0 0 auto; }
  .hero-nav-cta{
    margin-right: 2px;
  }

  /* --- WORKS: Concept filters hidden on mobile (handled via component) --- */

  /* --- CARDS: increase readability on mobile --- */
  .ir-card .card-body{
    padding-left: 16px;
    padding-right: 16px;
  }
  .ir-card .card-tag{
    font-size: 12px;
    line-height: 1.2;
  }
  .ir-card .card-title{
    font-size: 20px;
    line-height: 1.2;
  }
  .ir-card .card-desc,
  .ir-card .card-text{
    font-size: 14px;
    line-height: 1.45;
  }

  /* Secondary line alignment + lift slightly */
  .ir-card .card-tag-secondary{
    padding-left: 16px;
    padding-right: 16px;
    margin-top: -6px;
    font-size: 12px;
    line-height: 1.25;
    opacity: 0.85;
  }

  /* --- FOOTER: tighten vertical rhythm on mobile --- */
  .global-footer .footer-top{
    padding-top: 28px;
    padding-bottom: 18px;
  }
  .global-footer .footer-bottom{
    padding-top: 16px;
    padding-bottom: 18px;
  }
  .global-footer .footer-grid{
    gap: 18px;
  }
  .global-footer .office-lines{
    line-height: 1.35;
  }
}

/* HERO VIDEO - mobile centering fix */
@media (max-width: 768px) {
    .hero-video {
        width: 260vw;
        height: 150vh;
        object-fit: cover;
        object-position: center center;
    }
    @supports (height: 100dvh) {
        .hero-video { height: 150dvh; }
    }
}

/* =========================
   SUBPAGES — USE INDEX HERO NAV AS PRIMARY MENU
   (only related changes)
   ========================= */

/* On subpages we reuse the index "hero-nav" as the top menu, without the hero JS.
   - Keep it in normal flow (sticky) so layout doesn't need a JS spacer.
   - Force fully-filled state (no progressive reveal).
*/
.subpage-hero-nav-shell.hero-nav-shell{
    margin-top: 0;
    padding-top: 18px;
    padding-bottom: 18px;
    position: sticky;
    top: 0;
    z-index: 1200;
}

.subpage-hero-nav.hero-nav{
    position: relative;
    top: auto;
    z-index: auto;
    --nav-fill: 1;
    --nav-reveal: 1;
}
.subpage-hero-nav .hero-nav-logo,
.subpage-hero-nav .hero-nav-cta{
    opacity: 1 !important;
    pointer-events: auto !important;
}


/* --- WORK DETAIL PAGE --- */
.work-detail-header {
    position: relative;
}

.work-hero {
    position: relative;
    height: var(--hero-h, 72vh);
    min-height: 420px;
    max-height: 820px;
    overflow: hidden;
    border-radius: 16px;
}

.work-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.work-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.20) 55%,
      rgba(0,0,0,0.00)
    );
    pointer-events: none;
}

.work-hero-content {
    position: relative;
    margin-top: 18px;
}

@media (prefers-reduced-motion: reduce) {
    .work-hero video { display: none; }
}

/* Excerpt → body arası fazla boşluğu kır */
#work-detail.ir-layout-section {
  padding-top: 24px;
}

/* Hero metninin altındaki yapay boşluğu biraz daha azalt */
.work-hero-text {
  padding-bottom: 8px;
}

/* Body ilk paragrafı ekstra boşluk yapmasın */
.work-body :global(p:first-child) {
  margin-top: 0;
}

/* About Section: Aperture Reveal Animation */
@keyframes apertureReveal {
    0% {
        clip-path: ellipse(0% 20% at 50% 50%);
        opacity: 0;
    }
    40% {
        clip-path: ellipse(60% 40% at 50% 50%);
        opacity: 0.7;
    }
    100% {
        clip-path: ellipse(100% 100% at 50% 50%);
        opacity: 1;
    }
}

.about-section .ir-card {
    opacity: 0;
    will-change: clip-path, opacity;
}

.about-section .ir-card.revealed {
    animation: apertureReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Staggered delays for up to 4 cards - subtle timing */
.about-section .ir-card:nth-child(1).revealed {
    animation-delay: 0s;
}
.about-section .ir-card:nth-child(2).revealed {
    animation-delay: 0.1s;
}
.about-section .ir-card:nth-child(3).revealed {
    animation-delay: 0.2s;
}
.about-section .ir-card:nth-child(4).revealed {
    animation-delay: 0.3s;
}

/* Disable on reduced motion */
@media (prefers-reduced-motion: reduce) {
    .about-section .ir-card {
        opacity: 1;
        animation: none;
        clip-path: none;
    }
}

/* Hero Logo "a" Eyelid Blink - White mask overlay from center */
.logo-eyelid-top,
.logo-eyelid-bottom {
    opacity: 0;
}

.logo-eyelid-top {
    animation: eyelidTopBlink 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s 1;
}

.logo-eyelid-bottom {
    animation: eyelidBottomBlink 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s 1;
}

@keyframes eyelidTopBlink {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(-11px);
        opacity: 1;
    }
}

@keyframes eyelidBottomBlink {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(11px);
        opacity: 1;
    }
}

/* Disable on reduced motion */
@media (prefers-reduced-motion: reduce) {
    .logo-eyelid-top,
    .logo-eyelid-bottom,
    .logo-eyelid-nav-top,
    .logo-eyelid-nav-bottom {
        animation: none !important;
        opacity: 0 !important;
    }
}

/* Logo Cards: Grayscale default, color on hover */
.logo-card .card-media img {
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-card:hover .card-media img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Disable grayscale transition on reduced motion */
@media (prefers-reduced-motion: reduce) {
    .logo-card .card-media img {
        transition: none;
    }
}

/* Hero Nav Logo: Eyelid masks (initially hidden) */
.logo-eyelid-nav-top,
.logo-eyelid-nav-bottom {
    opacity: 0;
}

/* Hero Nav Logo: Trigger blink on sticky transition via parent class */
.hero-nav-logo.logo-blink-trigger .logo-eyelid-nav-top {
    animation: eyelidTopBlink 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0s 1;
}

.hero-nav-logo.logo-blink-trigger .logo-eyelid-nav-bottom {
    animation: eyelidBottomBlink 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0s 1;
}
/* Work sayfası - card text renkleri daha koyu */
    color: var(--text-main);
    opacity: 0.75;
}

/* Work sayfası - card title margin azalt */
    margin-bottom: 8px;
}

@media (max-width: 768px) {
        margin-bottom: 6px;
    }
}

/* Work sayfası - card-date paragraf rengi koyu */
#main-content .card-date {
    color: var(--text-main);
    opacity: 0.8 !important;
    color: var(--text-main) !important;
}



@media (max-width: 768px) {
    #main-content .card-title {
        margin-bottom: 6px;
    }
}

.press-link {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-family: inherit;
    display: inline;
    vertical-align: baseline;
}

.press-link:hover {
    opacity: 0.7;
}