/* =========================================================
   BYALL GROUP — MARKETS PAGE
========================================================= */


/* =========================================================
   SHARED PAGE ELEMENTS
========================================================= */

.markets-label {
    display: block;
    margin-bottom: 22px;

    color: var(--byall-blue);

    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.market-detail {
    padding: 100px 0;
    scroll-margin-top: 120px;
}

.market-detail-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    align-items: start;
    gap: 90px;
}

.market-heading h2,
.markets-capabilities h2,
.markets-cta h2 {
    margin: 0;

    font-size: clamp(38px, 3.8vw, 54px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.market-number {
    display: block;
    margin-bottom: 28px;

    color: #59676f;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.12em;
}

.market-heading > p {
    max-width: 440px;
    margin: 26px 0 0;

    color: #626b70;

    font-size: 16px;
    line-height: 1.8;
}

.market-content > p {
    margin: 0 0 22px;

    color: #626b70;

    font-size: 15px;
    line-height: 1.85;
}

.market-content .market-lead {
    color: #252d32;

    font-size: 20px;
    line-height: 1.65;
}

.market-content > h3 {
    margin: 30px 0 16px;

    color: #111111;

    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.markets-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-top: 30px;
    padding-bottom: 8px;

    border-bottom: 2px solid var(--byall-gold);
    color: #111111;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.markets-link > span {
    flex-shrink: 0;

    color: var(--byall-blue);

    font-size: 20px;
    line-height: 1;

    transition: transform 0.2s ease;
}

.markets-link:hover > span {
    transform: translateX(4px);
}

.market-scope {
    margin: 0;
    padding: 0;

    border-top: 1px solid #d3dbd7;
    list-style: none;
}

.market-scope li {
    position: relative;

    padding: 15px 0 15px 22px;

    border-bottom: 1px solid #d3dbd7;
    color: #424c52;

    font-size: 14px;
    line-height: 1.7;
}

.market-scope li::before {
    content: "";

    position: absolute;
    top: 24px;
    left: 0;

    width: 6px;
    height: 6px;

    background: var(--byall-blue);
}

.market-consideration {
    margin-top: 30px;
    padding: 24px 26px;

    border-left: 3px solid var(--byall-gold);
    background: #edf0ef;
}

.market-consideration h3 {
    margin: 0 0 10px;

    color: #111111;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.market-consideration p {
    margin: 0;

    color: #626b70;

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   01. HERO
========================================================= */

.markets-hero {
    position: relative;
    display: block;
    min-height: 560px;
    padding: 90px 0;
    overflow: hidden;

    color: #fff;
    text-align: left;

    background:
        linear-gradient(
            90deg,
            rgba(10, 18, 25, 0.80) 0%,
            rgba(10, 18, 25, 0.55) 50%,
            rgba(10, 18, 25, 0.20) 100%
        ),
        url("/assets/images/markets-hero.png")
        center / cover no-repeat;
}

.markets-hero::before,
.markets-hero::after {
    content: none;
}

.markets-hero > .container {
    position: relative;
    inset: auto;
    transform: none;
    display: block;

    width: min(1200px, calc(100% - 48px));
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;

    text-align: left;
}

.markets-hero .markets-label {
    display: block;
    margin-bottom: 24px;
    color: var(--byall-gold, #e5b51b);
}

.markets-hero h1 {
    position: static;
    transform: none;
    max-width: 900px;
    margin: 0;

    color: #fff;
    text-align: left;

    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.markets-hero > .container > p {
    position: static;
    transform: none;
    max-width: 590px;
    margin: 26px 0 0;

    color: rgba(255, 255, 255, 0.90);
    text-align: left;

    font-size: 18px;
    line-height: 1.75;
}

@media (max-width: 768px) {
    .markets-hero {
        min-height: 480px;
        padding: 64px 0;
    }

    .markets-hero > .container > p {
        font-size: 16px;
    }
}

/* =========================================================
   02. COMMERCIAL
========================================================= */

.market-commercial {
    background: #ffffff;
}


/* =========================================================
   03. INSTITUTIONAL — DARK SECTION
========================================================= */

.market-institutional {
    background: #151b20;
    color: #ffffff;
}

.market-institutional .markets-label {
    color: var(--byall-gold);
}

.market-institutional .market-number {
    color: #a8b5bd;
}

.market-institutional h2,
.market-institutional .market-content > h3,
.market-institutional .markets-link {
    color: #ffffff;
}

.market-institutional .market-heading > p,
.market-institutional .market-content > p {
    color: #b8c1c7;
}

.market-institutional .market-content .market-lead {
    color: #ffffff;
}

.market-institutional .market-scope,
.market-institutional .market-scope li {
    border-color: #354047;
}

.market-institutional .market-scope li {
    color: #c5ced4;
}

.market-institutional .market-consideration {
    background: #202a31;
}

.market-institutional .market-consideration h3 {
    color: #ffffff;
}

.market-institutional .market-consideration p {
    color: #b8c1c7;
}


/* =========================================================
   04. SELECT RESIDENTIAL
========================================================= */

.market-residential {
    background: #ffffff;
}


/* =========================================================
   05. CAPABILITIES
========================================================= */

.markets-capabilities {
    padding: 100px 0;
    background: #edf0ef;
}

.markets-capabilities-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(0, 0.8fr);

    align-items: end;
    gap: 70px;

    margin-bottom: 50px;
}

.markets-capabilities-heading > p {
    max-width: 420px;
    margin: 0;

    color: #626b70;

    font-size: 16px;
    line-height: 1.8;
}

.markets-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.market-service {
    display: flex;
    flex-direction: column;

    min-width: 0;
    padding: 35px;

    border: 1px solid #d5ded9;
    background: #ffffff;

    text-decoration: none;

    transition: border-color 0.2s ease;
}

.market-service h3 {
    margin: 0 0 16px;

    color: #111111;

    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.market-service p {
    max-width: 440px;
    margin: 0 0 28px;

    color: #626b70;

    font-size: 14px;
    line-height: 1.8;
}

.market-service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: auto;
    padding-top: 20px;

    border-top: 1px solid #e0e5e2;
    color: #111111;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.market-service-link > span {
    color: var(--byall-blue);

    font-size: 20px;
    line-height: 1;

    transition: transform 0.2s ease;
}

@media (hover: hover) {
    .market-service:hover {
        border-color: var(--byall-blue);
    }

    .market-service:hover .market-service-link > span {
        transform: translateX(4px);
    }
}


/* =========================================================
   06. CTA
========================================================= */

.markets-cta {
    padding: 80px 0;

    background: var(--byall-gold);
    color: #111111;
}

.markets-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 50px;
}

.markets-cta .markets-label {
    color: #433610;
}

.markets-cta h2 {
    color: #111111;
}

.markets-cta p {
    margin: 24px 0 0;

    color: #342b16;

    font-size: 15px;
    line-height: 1.8;
}

.markets-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    min-height: 54px;
    padding: 18px 26px;

    background: #151b20;
    color: #ffffff;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;

    transition: background-color 0.2s ease;
}

.markets-button span {
    color: var(--byall-gold);

    font-size: 20px;
    line-height: 1;
}

.markets-button:hover {
    background: #293740;
}


/* =========================================================
   KEYBOARD ACCESS
========================================================= */

.markets-navigation a:focus-visible,
.market-institutional .markets-link:focus-visible {
    outline: 2px solid var(--byall-gold);
    outline-offset: 5px;
}

.markets-link:focus-visible,
.market-service:focus-visible,
.markets-button:focus-visible {
    outline: 2px solid #0b709c;
    outline-offset: 5px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
    .markets-hero {
        padding-top: 90px;
    }

    .market-detail,
    .markets-capabilities {
        padding: 80px 0;
    }

    .market-detail-grid,
    .markets-capabilities-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .market-heading,
    .market-content {
        max-width: 700px;
    }

    .markets-capabilities-heading > p {
        max-width: 650px;
    }

    .markets-cta-inner {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
        gap: 35px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    .markets-hero {
        padding: 70px 0 30px;
    }

    .markets-hero h1 {
        font-size: clamp(34px, 8.5vw, 46px);
        line-height: 1.12;
        letter-spacing: -0.035em;
    }

    .markets-hero > .container > p {
        margin-top: 24px;
        font-size: 15px;
    }

    .markets-navigation {
        gap: 12px 20px;

        margin-top: 40px;
        padding-top: 22px;
    }

    .markets-navigation a {
        font-size: 10px;
    }

    .market-detail,
    .markets-capabilities {
        padding: 65px 0;
    }

    .markets-label {
        margin-bottom: 18px;
        font-size: 9px;
    }

    .market-number {
        margin-bottom: 20px;
    }

    .market-heading h2,
    .markets-capabilities h2,
    .markets-cta h2 {
        font-size: clamp(30px, 8vw, 38px);
    }

    .market-heading > p {
        font-size: 15px;
    }

    .market-content .market-lead {
        font-size: 18px;
    }

    .market-scope li {
        font-size: 13px;
    }

    .market-consideration {
        padding: 22px;
    }

    .markets-capabilities-heading {
        margin-bottom: 35px;
    }

    .markets-capabilities-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .market-service {
        padding: 28px;
    }

    .market-service h3 {
        font-size: 22px;
    }

    .markets-cta {
        padding: 65px 0;
    }

    .markets-button {
        width: 100%;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .markets-navigation a,
    .markets-link > span,
    .market-service,
    .market-service-link > span,
    .markets-button {
        transition: none;
    }
}
/* Menü ile sayfa içeriği arasında boşluk */
body > main {
    padding-top: 120px;
}

@media (max-width: 768px) {
    body > main {
        padding-top: 100px;
    }
}