﻿/* ══════════════════════════════════════════════
   GALLARDO GROUP — index5.css
   Ana sayfa yeni tasarım. Tüm kurallar .gh kapsayıcısıyla
   sınırlıdır; Site1.Master stillerine dokunmaz.
   ══════════════════════════════════════════════ */

.gh {
    --navy: #0b326d;
    --ink: #0a1a33;
    --paper: #eef1f4;
    --line: #d5dae1;
    --text: #16202e;
    --muted: #5d6878;
    --brass: #b8975a;
    --cond: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
    --sans: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
    /* Site1.Master navbar yüksekliği — hero bu kadar yukarı çekilir
       ve navbar hero'nun üstüne biner (eski index CSS ile aynı mantık) */
    --nav-h: 100px;
    --head-h: calc(var(--nav-h) + 12px);
    --foot-h: 176px;
    --gutter: clamp(1.25rem, 3vw, 2.75rem);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

    .gh *, .gh *::before, .gh *::after {
        box-sizing: border-box;
    }

    .gh h1, .gh h2, .gh h3, .gh p, .gh ul, .gh figure, .gh blockquote {
        margin: 0;
        padding: 0;
    }

    .gh ul {
        list-style: none;
    }

    .gh img {
        display: block;
        max-width: 100%;
    }

    .gh a {
        color: inherit;
    }

    .gh button {
        font: inherit;
    }

        .gh a:focus-visible, .gh button:focus-visible {
            outline: 2px solid var(--brass);
            outline-offset: 3px;
        }

    .gh .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .gh .wrap {
        max-width: 1320px;
        margin: 0 auto;
        padding-inline: var(--gutter);
    }

    /* ── Hero ─────────────────────────────────────── */
    .gh .hero {
        position: relative;
        isolation: isolate;
        height: 100vh;
        height: 100svh;
        min-height: 640px;
        margin-top: calc(-1 * var(--nav-h));
        background: var(--ink);
        color: #fff;
        overflow: hidden;
    }

    .gh .hero-slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1.1s ease, visibility 0s linear 1.1s;
    }

        .gh .hero-slide.is-active {
            opacity: 1;
            visibility: visible;
            z-index: 1;
            transition: opacity 1.1s ease;
        }

    .gh .hero-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        transform: scale(1.06);
        transition: transform 8s cubic-bezier(.2,.6,.2,1);
    }

    .gh .hero-slide.is-active .hero-image {
        transform: scale(1);
    }

    .gh .hero-shade {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(6,16,34,.62) 0%, rgba(6,16,34,.26) 44%, rgba(6,16,34,0) 72%), linear-gradient(180deg, rgba(6,16,34,.5) 0%, rgba(6,16,34,0) 24%, rgba(6,16,34,0) 55%, rgba(6,16,34,.6) 100%);
    }

    .gh .hero-grid,
    .gh .hero-chrome {
        position: absolute;
        inset: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: var(--head-h) 1fr var(--foot-h);
    }

    .gh .hero-title {
        grid-column: 1 / 4;
        grid-row: 2;
        align-self: center;
        padding-left: var(--gutter);
        max-width: 12ch;
        font-family: var(--cond);
        font-weight: 600;
        font-size: clamp(3.25rem, 7vw, 7.5rem);
        line-height: .9;
        letter-spacing: -.005em;
        text-transform: uppercase;
        text-wrap: balance;
        color: #fff;
    }

.js .gh .hero-title .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: .09em 0 .06em;
    margin: -.09em 0 -.06em;
}

    .js .gh .hero-title .w > span {
        display: inline-block;
        transform: translateY(108%);
        transition: transform .9s cubic-bezier(.2,.8,.2,1);
    }

.js .gh .hero.is-ready .hero-slide.is-active .hero-title .w > span {
    transform: none;
    transition-delay: calc(var(--i) * 70ms + 250ms);
}

.gh .hero-desc {
    grid-column: 3;
    grid-row: 3;
    align-self: end;
    padding: 0 1.25rem 1.75rem;
    max-width: 36ch;
}

.gh .hero-tag {
    display: inline-block;
    margin-bottom: .65rem;
    padding: .1rem .6rem;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.9);
}

    .gh .hero-tag:empty {
        display: none;
    }

.gh .hero-desc p {
    font-size: .95rem;
    line-height: 1.55;
    color: rgba(255,255,255,.88);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gh .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

.gh .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .95rem .5rem 1.1rem;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

    .gh .hero-btn svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

.gh .hero-btn--solid {
    background: #fff;
    color: var(--ink);
    border: 1px solid #fff;
}

    .gh .hero-btn--solid:hover {
        background: var(--paper);
        border-color: var(--paper);
    }

.gh .hero-btn--ghost {
    border: 1px solid rgba(255,255,255,.55);
    color: #fff;
}

    .gh .hero-btn--ghost:hover {
        background: #fff;
        color: var(--ink);
        border-color: #fff;
    }

.gh .hero-lines {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

    .gh .hero-lines span {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 1px;
        background: rgba(255,255,255,.18);
    }

        .gh .hero-lines span:nth-child(1) {
            left: 25%;
        }

        .gh .hero-lines span:nth-child(2) {
            left: 50%;
        }

        .gh .hero-lines span:nth-child(3) {
            left: 75%;
        }

.gh .hero-chrome {
    z-index: 5;
    pointer-events: none;
}

    .gh .hero-chrome > * {
        pointer-events: auto;
    }

.gh .hero-card {
    grid-column: 1 / 3;
    grid-row: 3;
    display: grid;
    grid-template-columns: minmax(110px, 36%) 1fr;
    column-gap: 1.75rem;
    align-items: center;
    padding: 1.4rem 1.75rem 1.4rem var(--gutter);
    background: var(--ink);
}
/* Proje sembolü (admin panelden) — yoksa ev çizimi */
.gh .card-symbol {
    align-self: stretch;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 0;
    max-width: 170px;
    transition: opacity .25s ease;
}

    .gh .card-symbol.is-swapping {
        opacity: 0;
    }

    .gh .card-symbol img {
        display: none;
        width: 100%;
        height: 100%;
        max-height: 132px;
        object-fit: contain;
        object-position: left center;
    }

    .gh .card-symbol.has-img img {
        display: block;
    }

    .gh .card-symbol.has-img svg.house {
        display: none;
    }

.gh .hero-card svg.house {
    width: 100%;
    max-width: 170px;
    height: auto;
    color: rgba(255,255,255,.82);
}

.gh .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    transition: opacity .25s ease;
}

    .gh .card-body.is-swapping {
        opacity: 0;
    }

.gh .card-label {
    font-size: .85rem;
    color: rgba(255,255,255,.66);
}

.gh .card-name {
    display: block;
    margin: .2rem 0 .7rem;
    font-family: var(--cond);
    font-weight: 600;
    font-size: clamp(2.2rem, 3.4vw, 3.4rem);
    line-height: .95;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

    .gh .card-name:hover {
        text-decoration: underline;
        text-underline-offset: 6px;
        text-decoration-thickness: 2px;
    }

.gh .card-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.gh .card-place {
    font-size: 1rem;
    line-height: 1.35;
}

.gh .card-arrows {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}

.gh .round-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.45);
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

    .gh .round-btn:hover {
        background: #fff;
        color: var(--ink);
        border-color: #fff;
    }

    .gh .round-btn svg {
        width: 18px;
        height: 18px;
    }

    .gh .round-btn[hidden] {
        display: none;
    }

.gh .hero-thumbs {
    grid-column: 4;
    grid-row: 3;
    justify-self: end;
    align-self: end;
    display: flex;
    margin: 0 var(--gutter) 1.75rem 0;
    padding-left: 14px;
}

.gh .thumb {
    position: relative;
    width: 56px;
    height: 56px;
    margin-left: -14px;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.9);
    background: var(--ink);
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease;
}

    .gh .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gh .thumb:hover {
        transform: translateY(-3px);
    }

    .gh .thumb[aria-current="true"] {
        z-index: 2;
        border-color: var(--brass);
        transform: translateY(-5px);
    }

/* ── Bölüm başlıkları ─────────────────────────── */
.gh .sec-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 40ch);
    align-items: end;
    gap: 1.5rem 3rem;
    margin-bottom: 3.5rem;
}

.gh .sec-eyebrow {
    display: block;
    margin-bottom: .9rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brass);
}

.gh .sec-title {
    font-family: var(--cond);
    font-weight: 600;
    font-size: clamp(2.5rem, 4.6vw, 4.25rem);
    line-height: .95;
    text-transform: uppercase;
    color: var(--ink);
}

    .gh .sec-title span {
        color: var(--brass);
    }

.gh .sec-lead {
    color: var(--muted);
    font-size: 1.02rem;
}

    .gh .sec-lead a {
        display: inline-block;
        margin-top: .75rem;
        color: var(--navy);
        font-weight: 500;
        text-underline-offset: 4px;
    }

/* ── Projeler ─────────────────────────────────── */
.gh .projects {
    padding: 7rem 0 6rem;
    background: #fff;
}

.gh .project-row {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, .8fr) minmax(0, 1.4fr);
    gap: 3rem;
    align-items: center;
    padding: 2.25rem 0;
    border-top: 1px solid var(--line);
}

    .gh .project-row:last-child {
        border-bottom: 1px solid var(--line);
    }

.gh .project-logo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 6 / 5;
    overflow: hidden;
    background: var(--paper);
    border-radius: 4px;
}

    .gh .project-logo img {
        position: absolute;
        inset: 1.5rem;
        width: calc(100% - 3rem);
        height: calc(100% - 3rem);
        max-width: none;
        object-fit: contain;
        object-position: center;
    }

.gh .project-name {
    font-family: var(--cond);
    font-weight: 600;
    font-size: 2.3rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink);
}

.gh .project-place {
    margin-top: .45rem;
    color: var(--muted);
    font-size: .95rem;
}

.gh .project-tag {
    display: inline-block;
    margin-top: .8rem;
    padding: .12rem .6rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .8rem;
    color: var(--navy);
}

    .gh .project-tag:empty {
        display: none;
    }

.gh .project-desc {
    color: #3c4757;
    font-size: .98rem;
    max-width: 60ch;
    margin-bottom: 1.5rem;
}

.gh .project-more {
    display: inline-block;
    padding: .6rem 1.15rem;
    border: 1px solid var(--navy);
    border-radius: 999px;
    color: var(--navy);
    font-size: .92rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

    .gh .project-more:hover {
        background: var(--navy);
        color: #fff;
    }

/* ── Müşteri yorumları ────────────────────────── */
.gh .voices {
    padding: 7rem 0;
    background: var(--navy);
    color: #fff;
}

.gh .voices-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 3rem 5rem;
}

.gh .voices .sec-title {
    color: #fff;
    max-width: 10ch;
}

.gh .voices-lead {
    margin-top: 1.1rem;
    max-width: 32ch;
    color: rgba(255,255,255,.75);
    font-size: 1rem;
}

.gh .voices-controls {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 2.5rem;
}

    .gh .voices-controls[hidden] {
        display: none;
    }

.gh .voices-count {
    margin-left: .9rem;
    font-size: .92rem;
    color: rgba(255,255,255,.72);
    font-variant-numeric: tabular-nums;
}

.gh .voice {
    display: none;
}

    .gh .voice.is-active {
        display: block;
        animation: ghVoiceIn .5s ease both;
    }

@keyframes ghVoiceIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.gh .voice-mark {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    color: var(--brass);
}

.gh .voice blockquote p {
    font-size: clamp(1.35rem, 2.3vw, 1.95rem);
    line-height: 1.42;
    color: #fff;
}

.gh .voice figcaption {
    margin-top: 2.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.22);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .95rem;
}

.gh .voice-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    display: grid;
    place-items: center;
    font-family: var(--cond);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: .04em;
}

.gh .voice-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.gh .voice-name {
    font-weight: 600;
}

.gh .voice-stars {
    color: var(--brass);
    letter-spacing: .14em;
    font-size: .9rem;
}

/* ── Gallardo Times ───────────────────────────── */
.gh .times {
    padding: 7rem 0 6rem;
    background: var(--paper);
    overflow: hidden;
}

    .gh .times .sec-head {
        margin-bottom: 2.5rem;
    }

.gh .gt-belt-outer {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

    .gh .gt-belt-outer:hover .gt-belt,
    .gh .gt-belt-outer:focus-within .gt-belt {
        animation-play-state: paused;
    }

.gh .gt-belt {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    padding: 1rem 0;
    animation: ghGtScroll var(--gt-duration, 40s) linear infinite;
    will-change: transform;
}

@keyframes ghGtScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(var(--gt-shift, -50%));
    }
}

.gh .gt-card {
    flex: 0 0 300px;
    width: 300px;
    min-height: 350px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    contain: layout style;
}

    .gh .gt-card .instagram-media {
        min-width: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }

.gh .gt-ig-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(90deg, #eef1f4 25%, #e4e8ed 50%, #eef1f4 75%);
    background-size: 200% 100%;
    animation: ghShimmer 1.5s infinite;
}

@keyframes ghShimmer {
    from {
        background-position: -200% 0;
    }

    to {
        background-position: 200% 0;
    }
}

/* ── Büyük ekranlar ───────────────────────────── */
@media (min-width: 1920px) {
    .gh {
        --head-h: calc(var(--nav-h) + 28px);
        --foot-h: 200px;
    }

        .gh .wrap {
            max-width: 1560px;
        }

        .gh .hero-title {
            font-size: 8.5rem;
        }
}

/* ── Tablet ───────────────────────────────────── */
@media (max-width: 1100px) {
    .gh .project-row {
        grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
        gap: 1.5rem 2.5rem;
    }

    .gh .project-text {
        grid-column: 2;
    }
}

/* ── Mobil ────────────────────────────────────── */
@media (max-width: 900px) {
    .gh {
        --nav-h: 80px;
        --head-h: calc(var(--nav-h) + 8px);
        --foot-h: 150px;
    }

        .gh .hero {
            min-height: 600px;
        }

        .gh .hero-shade {
            background: linear-gradient(180deg, rgba(6,16,34,.55) 0%, rgba(6,16,34,0) 22%, rgba(6,16,34,.15) 42%, rgba(6,16,34,.8) 100%);
        }

        .gh .hero-chrome {
            grid-template-columns: 1fr 1fr;
        }

        .gh .hero-lines span:nth-child(1), .gh .hero-lines span:nth-child(3) {
            display: none;
        }

        /* Başlık + açıklama + butonlar alttaki kartın hemen üstünde alt alta */
        .gh .hero-grid {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: var(--head-h) 1.25rem calc(var(--foot-h) + 1.5rem);
        }

        .gh .hero-title {
            padding: 0;
            max-width: 11ch;
            font-size: clamp(2.6rem, 11vw, 4.2rem);
        }

        .gh .hero-desc {
            padding: 0;
            margin-top: 1rem;
            max-width: 46ch;
        }

            .gh .hero-desc p {
                font-size: .9rem;
                -webkit-line-clamp: 3;
            }

        .gh .hero-actions {
            margin-top: .85rem;
        }

        .gh .hero-thumbs {
            display: none;
        }

        .gh .hero-card {
            grid-column: 1 / 3;
            grid-template-columns: 78px 1fr;
            column-gap: 1.1rem;
            padding: 1rem 1.25rem;
        }

        .gh .card-symbol img {
            max-height: 104px;
        }

        .gh .card-name {
            font-size: 2rem;
            margin-bottom: .45rem;
        }

        .gh .card-place {
            font-size: .9rem;
        }

        .gh .round-btn {
            width: 40px;
            height: 40px;
        }

        .gh .sec-head {
            grid-template-columns: 1fr;
            margin-bottom: 2.5rem;
        }

        .gh .projects, .gh .times {
            padding: 4.5rem 0 4rem;
        }

        .gh .project-row {
            grid-template-columns: 1fr;
            gap: 1.25rem;
            padding: 1.75rem 0 2rem;
        }

        .gh .project-text {
            grid-column: 1;
        }

        .gh .project-logo {
            max-width: 520px;
        }

        .gh .project-name {
            font-size: 1.9rem;
        }

        .gh .voices {
            padding: 4.5rem 0;
        }

        .gh .voices-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .gh .voices-controls {
            margin-top: 1.5rem;
        }

        .gh .gt-belt-outer {
            min-height: 300px;
            -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
        }

        .gh .gt-belt {
            gap: 1rem;
        }

        .gh .gt-card {
            flex-basis: 252px;
            width: 252px;
            min-height: 300px;
        }

        .gh .gt-ig-placeholder {
            height: 300px;
        }
}

@media (max-width: 480px) {
    .gh {
        --nav-h: 72px;
    }

        .gh .hero {
            min-height: 580px;
        }

        .gh .hero-btn {
            padding: .45rem .85rem .45rem 1rem;
            font-size: .82rem;
        }
}

@media (max-width: 420px) {
    .gh .hero-card {
        grid-template-columns: 1fr;
    }

        .gh .hero-card .card-symbol {
            display: none;
        }

    .gh .project-logo img {
        inset: 1.25rem;
        width: calc(100% - 2.5rem);
        height: calc(100% - 2.5rem);
    }

    .gh .gt-card {
        flex-basis: 230px;
        width: 230px;
        min-height: 280px;
    }

    .gh .gt-ig-placeholder {
        height: 280px;
    }
}

@media (max-width: 360px) {
    .gh {
        --nav-h: 68px;
    }

        .gh .hero-desc p {
            -webkit-line-clamp: 2;
        }

        .gh .gt-card {
            flex-basis: 210px;
            width: 210px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .gh .hero-slide, .gh .hero-image, .gh .card-body, .gh .card-symbol, .gh .thumb {
        transition: none !important;
    }

    .gh .hero-image {
        transform: none !important;
    }

    .js .gh .hero-title .w > span {
        transform: none !important;
        transition: none !important;
    }

    .gh .voice.is-active {
        animation: none;
    }

    .gh .gt-belt {
        animation-duration: 240s;
    }
}
