:root{ --hero-overlay: rgba(8,12,20,.70); }

.nav-glass{
    position:absolute; top:.5rem; left:0; right:0;
    background:transparent; border-radius:.75rem; margin:0 .75rem; z-index:10;
}
.nav-glass .nav-link{ color:rgba(255,255,255,.9); }
.nav-glass .nav-link:hover{ color:#fff; }

.offcanvas-top{
    --bs-offcanvas-height: auto;
    height: auto;
    max-height: none;
}
.offcanvas{ overflow: visible; }
.offcanvas-body{ max-height: none; overflow: visible; }

.offcanvas-dark{
    background: rgba(24,28,35,.92);
    color:#fff;
    backdrop-filter: blur(10px) saturate(130%);
    border-bottom-left-radius: .75rem;
    border-bottom-right-radius: .75rem;
}
.offcanvas-dark .nav-link{ color:#fff; font-size:1.05rem; padding:.5rem 0; }
.offcanvas-dark .nav-link:hover{ color:#f5b041; }

.lang-switch .btn.active,
.dropdown-menu-dark .dropdown-item.active{
    background-color:#f5b041;
    border-color:#f5b041;
    color:#1a1f29;
}
.lang-switch .btn{
    font-weight:600;
}

.hero{ position:relative; min-height:92vh; padding:5.5rem 0 4rem; overflow:hidden; }
.hero::before{
    content:""; position:absolute; inset:0;
    background:url("/img/hero.jpeg") center/cover no-repeat fixed;
    filter: blur(3px); transform:scale(1.03); z-index:0;
}
.hero::after{
    content:""; position:absolute; inset:0;
    background:linear-gradient(var(--hero-overlay), var(--hero-overlay)); z-index:1;
}
.hero .container{ position:relative; z-index:2; }

.btn-cta{
    --start:#ff9300; --end:#ff5500;
    background-image:linear-gradient(135deg,var(--start),var(--end));
    color:#fff; border:0; border-radius:.5rem;
    box-shadow:0 .35rem .9rem rgba(0,0,0,.22);
    transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, filter .15s ease;
}
.btn-cta:hover{
    transform:translateY(-1px);
    box-shadow:0 .6rem 1.2rem rgba(0,0,0,.20);
}
.btn-cta:active{ transform:translateY(0); box-shadow:0 .3rem .8rem rgba(0,0,0,.18); }

@media (max-width: 575.98px){
    .hero{ padding-top: 4.5rem; }
    .hero h1{ font-size: 2.25rem; }
}

/* ---- ABOUT PAGE ---- */

.btn-accent {
    background-color: #f5a623;
    color: #fff;
    border: none;
    border-radius: 4px;
}
.btn-accent:hover,
.btn-accent:focus {
    background-color: #d98f1c;
    color: #fff;
}
.accent-line {
    width: 32px;
    height: 3px;
    background-color: #f5a623;
    border-radius: 2px;
}

.about-row {
    display: flex;           /* bootstrap row zaten flex ama garanti */
    flex-wrap: nowrap;       /* küçük ekranda bile alt alta düşmesin */
    align-items: center;
    row-gap: 3rem;           /* gy-5 eşleniği */
}

.about-col-img,
.about-col-text {
    flex: 1 1 50%;
    max-width: 50%;
}

.about-image-wrapper {
    width: 100%;
    max-width: 520px;
    min-height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-frame {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.about-main-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    flex: 1 1 auto;
}

/* --------------- BREAKPOINT TUNING --------------- */

@media (max-width: 991.98px) {
    .about-row {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-image-wrapper {
        max-width: 400px;
        min-height: 300px;
    }

    .about-col-text h2 {
        font-size: 1.9rem;      /* display-6 çok büyük kalıyordu tablette */
        line-height: 1.25;
    }

    .about-col-text p {
        font-size: 0.9rem;
        max-width: 480px;
    }
}

@media (max-width: 767.98px) {
    .about-row {
        column-gap: 1rem;       /* img-text arası nefes */
    }

    .about-col-img,
    .about-col-text {
        flex: 1 1 50%;
        max-width: 50%;
    }

    .about-image-wrapper {
        max-width: 260px;
        min-height: 200px;
    }

    .about-col-text h2 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .about-col-text p {
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .btn-accent {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    /* label kısmı çok yayılmasın */
    .accent-line {
        width: 28px;
        height: 3px;
    }
}

@media (max-width: 400px) {
    .about-row {
        flex-wrap: wrap; /* burada son çare olarak alt alta düşmesine izin veriyoruz */
        text-align: center;
    }

    .about-col-img,
    .about-col-text {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .about-col-text {
        margin-top: 1.5rem;
    }

    .about-image-wrapper {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* projects section */

/* accent rengi markayla aynı */
.text-accent {
    color: #f5a623;
}

.see-all-link {
    color: #f5a623;
    font-size: 0.95rem;
}
.see-all-link:hover {
    color: #d98f1c;
}

.project-card {
    position: relative;
    background-color: #eceff1;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* statik boy için min-height verebiliriz */
    min-height: 360px;
    border: 1px solid rgba(0,0,0,0.05);
}

.project-image-wrapper {
    flex: 1 1 auto;
    background-color: #dfe3e6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info-box {
    background-color: #fff;
    border-radius: 2px;
    padding: 1rem 1rem 1rem;
    margin: -2.5rem 1rem 1rem; /* görsel üstüne “floating card” efekti */
    position: relative;
    z-index: 2;
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 575.98px) {
    .project-card {
        min-height: 320px;
    }
    .project-info-box {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }
    .see-all-link {
        font-size: 0.9rem;
    }
}

.service-block-wrapper {
    background-color: transparent; /* sayfanın kendi bg'si */
    padding-left: 0;
    padding-right: 0;
}

.service-block-inner {
    background-color: #1f1f1f;
    border-radius: 0;
    width: 100%;
}

.service-icon .icon-accent {
    color: #f5a623;
    font-size: 2rem;
    line-height: 1;
    display: inline-block;
}

.text-white {
    color: #fff !important;
}
.text-muted {
    color: rgba(255,255,255,0.7) !important;
}

.service-link {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.service-link .arrow {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1;
    transition: transform 0.15s ease;
}
.service-link:hover .arrow {
    transform: translateX(3px);
}

.service-item p {
    max-width: 260px;
}

@media (max-width: 767.98px) {
    .service-block-inner {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .service-item p {
        max-width: 100%;
    }

    .service-link {
        font-size: 0.9rem;
    }
}

.service-icon-img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    display: block;
    /* ikonların altına default inline-gap gelmesin */
}

@media (max-width: 767.98px) {
    .service-icon-img {
        width: 2.2rem;
        height: 2.2rem;
    }
}

/* achievement section */
.accent {
    color: #f5a623;
}

/* sağ görsel konteyneri */
.experience-visual-wrapper-simple {
    max-width: 560px;        /* önce 520 idi, biraz büyüttük */
    width: 100%;
    min-height: 400px;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* görselin kendisi */
.exp-main-img-simple {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* tablet ve altı */
@media (max-width: 991.98px) {
    .experience-visual-wrapper-simple {
        max-width: 500px;
        min-height: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* küçük telefon */
@media (max-width: 575.98px) {
    h2.display-6 {
        font-size: 1.6rem;
        line-height: 1.25;
    }

    .experience-visual-wrapper-simple {
        max-width: 360px;
        min-height: 300px;
    }

    .exp-main-img-simple {
        width: 100%;
    }
}

/* contact form */
.contact-section-wrapper {
    background-color: #ffffff;
    color: #000;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* --- TOP DIVIDER LINE --- */
.contact-divider {
    width: 100%;
    height: 4px;
    background: linear-gradient(
            90deg,
            rgba(0,0,0,0) 0%,
            rgba(255,147,0,1) 20%,
            rgba(255,85,0,1) 80%,
            rgba(0,0,0,0) 100%
    );
    margin-bottom: 2rem;
}

/* --- HEADING --- */
.contact-heading {
    color: #0f0f0f;
    line-height: 1.2;
    font-weight: 700;
}
.contact-accent {
    background-image: linear-gradient(135deg, #ff9300, #ff5500);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}
.contact-subtitle {
    color: #4b5563; /* koyu gri metin */
}

/* --- CARD (BEYAZ FORM KUTUSU) --- */
.contact-card-light {
    background-color: #ffffff;
    border: 1px solid rgba(255,122,0,100);
    border-radius: .5rem;
    padding: 2rem 1rem 2rem;
    color: #000;
}

.contact-card-inner {
    max-width: 600px;
    width: 100%;
}

.contact-card-title {
    color: #ff7a00;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.contact-card-desc {
    color: #1f1f1f;
    font-size: .9rem;
    line-height: 1.4;
}

.contact-input-alt {
    background-color: #ffffff;
    border: 1px solid rgba(255,106,0,.8);
    color: #0f0f10;
    font-size: .9rem;
    border-radius: .5rem;
    padding: .75rem .9rem;
}

.contact-input-alt::placeholder {
    color: rgba(0,0,0,0.55); /* gri placeholder */
}

.contact-input-alt:focus {
    outline: none;
    border-color: #ff9300;
    box-shadow: 0 0 0 .2rem rgba(255,149,0,0.25);
    background-color: #ffffff;
    color: #0f0f10;
}

.contact-textarea-alt {
    resize: none;
    background-color: #ffffff;
    border: 1px solid rgba(255,106,0,.8);
    color: #0f0f10;
}
.contact-textarea-alt::placeholder {
    color: rgba(0,0,0,0.55);
}
.contact-textarea-alt:focus {
    outline: none;
    border-color: #ff9300;
    box-shadow: 0 0 0 .2rem rgba(255,149,0,0.25);
    background-color: #ffffff;
    color: #0f0f10;
}

.contact-textarea-alt {
    resize: none;
}

/* RESPONSIVE */
@media (max-width: 575.98px) {
    .contact-heading {
        font-size: 1.8rem;
    }
    .contact-card-light {
        padding: 1.5rem 1rem 1.5rem;
        border-radius: .5rem;
        box-shadow:
                0 20px 40px rgba(0,0,0,0.16),
                0 6px 18px rgba(0,0,0,0.12);
    }
    .contact-card-inner {
        max-width: 100%;
    }
}

/* footer */
.site-footer {
    background-color: #1f1f1f;
    color: #fff;
    border-radius: .4rem .4rem 0 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: 0;
    box-shadow:
            0 30px 60px rgba(0,0,0,0.6),
            0 4px 16px rgba(0,0,0,0.4);
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 3rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

/* INNER WIDTH CONTROL */
.footer-inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* COLORS */
.text-footer-muted {
    color: rgba(255,255,255,0.75);
}
.text-footer-dimmer {
    color: rgba(255,255,255,0.5);
}

/* HEADINGS / BRAND */
.footer-brand {
    font-size: 1.1rem;
    letter-spacing: 0;
    line-height: 1.4;
}
.footer-heading {
    font-size: .9rem;
    line-height: 1.4;
    color: #fff;
    letter-spacing: .02em;
}
.footer-text {
    line-height: 1.5;
}

/* LINKS */
.footer-links .footer-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    line-height: 1.4;
    display: inline-block;
    transition: color .15s ease;
}
.footer-links .footer-link:hover,
.footer-links .footer-link:focus {
    color: #fff;
}

/* SOCIAL */
.footer-social-link {
    color: rgba(255,255,255,0.75);
    transition: color .15s ease;
}
.footer-social-link:hover {
    color: #fff;
}
.footer-social-icon {
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* BOTTOM LINE */
.border-footer-line {
    border-color: rgba(255,255,255,0.12) !important;
}

/* RESPONSIVE */
@media (max-width: 575.98px) {
    .footer-brand {
        font-size: 1rem;
    }
    .footer-heading {
        font-size: .85rem;
    }
    .footer-links .footer-link {
        font-size: .8rem;
    }
    .footer-text,
    .text-footer-muted {
        font-size: .8rem;
    }
    .footer-bottom {
        font-size: .7rem;
    }
}