:root {
    --bg: #191b1b;
    --surface: #222422;
    --gold: #c6a46c;
    --gold-light: #ead6b6;
    --cream: #f6f1e8;
    --muted: #b7b4ac;
    --line: rgba(255,255,255,.15);
    --max: 1216px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(var(--max), calc(100% - 64px));
    margin-inline: auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(25,27,27,.94);
    border-bottom: 1px solid rgba(198,164,108,.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 93px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.brand-name {
    font: 600 29px/1 'Manrope', sans-serif;
    letter-spacing: .1em;
    color: #ead2a8;
}

.brand-sub {
    margin-top: 9px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .2em;
    color: #f2e7d7;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    font-size: 12px;
    font-weight: 700;
    transition: color .25s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}

.nav-cta {
    padding: 17px 24px;
    border: 1px solid var(--gold);
    color: var(--gold-light);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--gold);
    padding: 11px 14px;
    color: var(--gold-light);
    cursor: pointer;
}

/* HERO */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 112px 0 100px;
    background:
        radial-gradient(
            ellipse at 85% 25%,
            rgba(198,164,108,.10),
            transparent 45%
        ),
        #202220;
}

.page-hero::after {
    content: "";
    position: absolute;
    top: 42px;
    right: 5%;
    width: 155px;
    height: 155px;
    border-top: 1px solid rgba(198,164,108,.35);
    border-right: 1px solid rgba(198,164,108,.35);
    pointer-events: none;
}

.eyebrow {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .3em;
    font-size: 11px;
    font-weight: 700;
}

.page-hero h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: clamp(48px, 7vw, 94px);
    letter-spacing: -.065em;
    line-height: 1.08;
    margin: 25px 0;
}

.page-hero p {
    color: var(--muted);
    line-height: 1.9;
    max-width: 650px;
    font-size: 16px;
    margin: 0;
}

.breadcrumb {
    display: inline-block;
    margin-top: 35px;
    color: var(--gold-light);
    font-size: 12px;
}

.breadcrumb:hover {
    color: #fff;
}

/* PROJECTS */

.portfolio-section {
    padding: 90px 0 120px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 38px;
}

.section-heading h2 {
    font: 500 clamp(30px,4vw,47px)/1.2 'Manrope',sans-serif;
    letter-spacing: -.04em;
    margin: 12px 0 0;
}

.section-heading p {
    max-width: 350px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0;
}

/* CATEGORY FILTER */

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.filter-btn {
    cursor: pointer;
    padding: 14px 22px;
    border: 1px solid rgba(198,164,108,.35);
    background: transparent;
    color: var(--cream);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    transition: .25s;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-btn.active {
    background: var(--gold);
    color: #191b1b;
    border-color: var(--gold);
}

/* CATEGORY DISPLAY */

.category-panel {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 410px;
    border: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
}

.category-photo {
    background: #383a37;
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

.category-photo img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform .8s ease;
}

.category-panel:hover .category-photo img {
    transform: scale(1.04);
}

.category-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(0,0,0,.5)
    );
    pointer-events: none;
}

.photo-label {
    position: absolute;
    bottom: 22px;
    left: 25px;
    z-index: 2;
    font-size: 11px;
    color: #fff;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.category-info {
    padding: clamp(28px,5vw,64px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.category-number {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
}

.category-info h3 {
    font: 500 clamp(29px,3.3vw,45px)/1.2 'Manrope',sans-serif;
    letter-spacing: -.035em;
    margin: 20px 0;
}

.gold-line {
    width: 75px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 24px;
}

.category-info p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
}

.archive-note {
    margin-top: 26px;
    border-left: 2px solid var(--gold);
    padding: 13px 0 13px 18px;
    color: var(--gold-light);
    font-size: 13px;
    line-height: 1.7;
}

/* CONTACT */

.contact-band {
    background: var(--cream);
    color: var(--bg);
    padding: 76px 0;
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.contact-band h2 {
    font: 500 clamp(30px,4vw,48px)/1.2 'Manrope',sans-serif;
    letter-spacing: -.045em;
    margin: 12px 0;
}

.contact-band p {
    color: #65615b;
    margin: 0;
    line-height: 1.7;
}

.contact-btn {
    display: inline-flex;
    padding: 17px 28px;
    border: 1px solid #191b1b;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: .25s;
}

.contact-btn:hover {
    background: #191b1b;
    color: #fff;
}

.footer {
    padding: 32px 0;
    color: var(--muted);
    font-size: 12px;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer a:hover {
    color: var(--gold);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .main-nav { gap: 15px; }
    .main-nav a { font-size: 11px; }
}

@media (max-width: 700px) {
    .container {
        width: calc(100% - 40px);
    }

    .header-inner {
        min-height: 78px;
    }

    .brand-name { font-size: 23px; }
    .brand-sub { font-size: 7px; }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        padding: 20px;
        background: #191b1b;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-bottom: 1px solid var(--gold);
        max-height: calc(100dvh - 78px);
        overflow-y: auto;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 15px 0;
        border-bottom: 1px solid var(--line);
        font-size: 13px;
    }

    .nav-cta {
        text-align: center;
        margin-top: 14px;
    }

    .page-hero {
        padding: 75px 0 70px;
    }

    .portfolio-section {
        padding: 65px 0 80px;
    }

    .section-heading,
    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-panel {
        grid-template-columns: 1fr;
    }

    .category-photo {
        min-height: 280px;
    }

    .category-info {
        padding: 35px 25px 42px;
    }

    .filter-btn {
        flex: 1 1 auto;
        padding: 13px 15px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}


/* Ortak PHP header - ic sayfa gorunumu */

.site-header.inner-header {
    background: rgba(25, 27, 27, 0.96);
    border-bottom: 1px solid rgba(198, 164, 108, 0.28);
}

.main-nav a[aria-current="page"] {
    color: var(--gold);
}


/* FSI INSAAT - ORTAK FOOTER */

.site-footer {
    background: #151717;
    padding: 45px 0;
    border-top: 1px solid var(--line);
}

.site-footer .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer .footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    color: #aaa9a2;
    font-size: 12px;
    line-height: 1.8;
    text-align: right;
}

.site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.site-footer .footer-links a {
    color: #d9c6aa;
    font-size: 12px;
    transition: color 0.25s ease;
}

.site-footer .footer-links a:hover {
    color: #fff;
}

@media (max-width: 700px) {
    .site-footer .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer .footer-meta {
        align-items: flex-start;
        text-align: left;
    }

    .site-footer .footer-links {
        justify-content: flex-start;
        gap: 12px 18px;
    }
}

/* ======================================
   FSI INSAAT - FOOTER DUZELTMESI
   ====================================== */

.site-footer {
    background: #151717;
    padding: 55px 0;
    min-height: 170px;
}

/* Logo ve bilgilerin yerlesimi */
.site-footer .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 70px;
}

/* Logonun boyutu */
.site-footer .brand {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

/* Sag taraftaki bilgiler */
.site-footer .footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
    text-align: right;
    line-height: 1.7;
}

/* Footer menusu */
.site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 22px;
}

/* Linklerin gorunumu */
.site-footer .footer-links a {
    display: inline-block;
    color: #d9c6aa;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer .footer-links a:hover {
    color: #fff;
}

/* Mobil duzen */
@media (max-width: 700px) {

    .site-footer {
        padding: 45px 0;
    }

    .site-footer .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .site-footer .footer-meta {
        align-items: flex-start;
        text-align: left;
    }

    .site-footer .footer-links {
        justify-content: flex-start;
        gap: 14px 20px;
    }
}

/* FSI - FOOTER SON DUZENLEME */

footer.site-footer {
    display: block;
    width: 100%;
    height: auto;
    min-height: 190px;
    padding: 55px 0;
    box-sizing: border-box;
}

footer.site-footer > .footer-inner {
    min-height: 80px;
}

footer.site-footer .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

footer.site-footer .footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    line-height: 1.8;
}

footer.site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
}

@media (max-width: 700px) {
    footer.site-footer {
        padding: 45px 0;
    }

    footer.site-footer .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    footer.site-footer .footer-meta {
        align-items: flex-start;
    }

    footer.site-footer .footer-links {
        justify-content: flex-start;
    }
}
