/* ============================================================
   İdeal Yapı - Bootstrap tabanlı tema
   Yazı tipleri: Space Grotesk (başlık) + Roboto (metin)
   Renk: koyu #1a1818, mavi vurgu, açık zemin
   ============================================================ */
:root {
    --iy-dark: #1a1818;
    --iy-body: #4a4a48;
    --iy-accent: #2b7fb8;     /* logo mavisi */
    --iy-accent-2: #6ec1e4;
    --iy-light: #f6f6f5;
    --iy-line: #e5e5e3;
}

* { box-sizing: border-box; }

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--iy-body);
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .iy-display {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    color: var(--iy-dark);
    font-weight: 600;
    line-height: 1.2;
}

a { color: var(--iy-dark); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--iy-accent); }

img { max-width: 100%; height: auto; }

.iy-main { padding-top: 96px; }   /* fixed header payı */

/* ---------- HEADER ---------- */
.iy-header {
    background: #fff;
    border-bottom: 1px solid var(--iy-line);
}
.iy-header .navbar { padding: 6px 0; }
.iy-header .navbar-brand { padding-top: 0; padding-bottom: 0; }
.iy-logo { height: 62px; width: auto; }
.iy-header .navbar-nav .nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--iy-dark);
    padding: 8px 15px;
    position: relative;
}
.iy-header .navbar-nav .nav-link:hover,
.iy-header .navbar-nav .nav-link.active { color: var(--iy-accent); }
.iy-header .navbar-nav .nav-link.active::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
    height: 2px; background: var(--iy-accent);
}
.iy-lang { display: flex; align-items: center; gap: 2px; margin-left: 14px; }
.iy-lang .nav-link { font-weight: 700; opacity: .7; padding: 8px 8px; }
.iy-lang .nav-link:hover,
.iy-lang .nav-link.active { opacity: 1; }
.iy-lang .nav-link.active::after { display: none; }
.iy-lang-sep { color: var(--iy-line); font-weight: 300; line-height: 1; user-select: none; }

/* ---------- GENEL BÖLÜM ---------- */
.iy-section { padding: 90px 0; }
.iy-section.bg-light-1 { background: var(--iy-light); }
.iy-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    color: var(--iy-accent);
    font-weight: 600;
    margin-bottom: 10px;
}
.iy-section-title {
    font-size: 30px;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 48px;
}
.iy-btn {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 14px 34px;
    border: 1px solid var(--iy-dark);
    color: var(--iy-dark);
    background: transparent;
    transition: all .25s ease;
}
.iy-btn:hover { background: var(--iy-dark); color: #fff; }
.iy-btn-accent { border-color: var(--iy-accent); color: #fff; background: var(--iy-accent); }
.iy-btn-accent:hover { background: var(--iy-dark); border-color: var(--iy-dark); color: #fff; }

/* ---------- HERO SLIDER ---------- */
.iy-hero-slider { background: var(--iy-dark); }
.iy-hero-slider .carousel,
.iy-hero-slider .carousel-inner,
.iy-hero-slider .carousel-item { height: 78vh; min-height: 460px; }

.iy-hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}
.iy-hero-slide:hover { color: #fff; }

/* Arka plan görseli — yavaş yakınlaşma (Ken Burns) */
.iy-hero-bg {
    position: absolute; inset: 0;
    background: var(--iy-light) center/cover no-repeat;
    transform: scale(1);
}
.carousel-item.active .iy-hero-bg { animation: iyHeroZoom 10s linear forwards; }
@keyframes iyHeroZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) {
    .carousel-item.active .iy-hero-bg { animation: none; }
}

.iy-hero-slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.30) 55%, rgba(0,0,0,.20) 100%);
}

.iy-hero-cap { position: relative; z-index: 2; display: block; }
.iy-hero-title,
.iy-hero-sub {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(0,0,0,.4);
    line-height: 1.15;
}
.iy-hero-title { font-size: 60px; font-weight: 700; }
.iy-hero-sub { font-size: 30px; font-weight: 400; letter-spacing: .06em; margin-top: 14px; }

.iy-hero-slider .carousel-control-prev,
.iy-hero-slider .carousel-control-next { width: 8%; opacity: .55; }
.iy-hero-slider .carousel-control-prev:hover,
.iy-hero-slider .carousel-control-next:hover { opacity: 1; }
.iy-hero-slider .carousel-indicators { margin-bottom: 28px; }
.iy-hero-slider .carousel-indicators [data-bs-target] {
    width: 10px; height: 10px; border-radius: 50%;
    border: 1px solid #fff; background: transparent; opacity: .7;
}
.iy-hero-slider .carousel-indicators .active { background: var(--iy-accent); border-color: var(--iy-accent); opacity: 1; }

/* ---------- KATEGORİ İKONLARI ---------- */
.iy-cats { background: var(--iy-light); }
.iy-cat {
    text-align: center;
    padding: 20px 8px;
    display: block;
    color: var(--iy-dark);
}
.iy-cat i, .iy-cat .iy-cat-ic {
    font-size: 44px;
    color: var(--iy-dark);
    margin-bottom: 16px;
    display: block;
    transition: color .3s ease, transform .3s ease;
}
.iy-cat .iy-cat-ic { min-height: 60px; display: flex; align-items: flex-end; justify-content: center; }
.iy-cat-ic .iy-ic-svg {
    height: 56px; width: auto; display: block; overflow: visible;
    color: inherit;
}
.iy-cat-ic .iy-ic-svg path,
.iy-cat-ic .iy-ic-svg rect,
.iy-cat-ic .iy-ic-svg line,
.iy-cat-ic .iy-ic-svg polyline,
.iy-cat-ic .iy-ic-svg polygon,
.iy-cat-ic .iy-ic-svg circle,
.iy-cat-ic .iy-ic-svg ellipse {
    stroke: currentColor;
    fill: none;
    stroke-width: 0.9;
    vector-effect: non-scaling-stroke;
}
/* İkon her zaman koyu (siyah) kalır; aktif/hover vurgusu yalnızca metinde */
.iy-cat .iy-cat-ic { color: var(--iy-dark) !important; }
.iy-cat:hover .iy-cat-ic { transform: translateY(-4px); }
.iy-cat:hover span:last-child { color: var(--iy-accent); }
.iy-cat.active-cat span:last-child { color: var(--iy-accent); border-bottom: 2px solid var(--iy-accent); padding-bottom: 2px; }
.iy-cat span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
}

/* ---------- PROJE GRID ---------- */
.iy-proje-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 991px){ .iy-proje-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 575px){ .iy-proje-grid { grid-template-columns: 1fr;} }
/* Anasayfa öne çıkan projeler: geniş ekranda 4 sütun */
@media (min-width: 992px){ .iy-proje-grid.iy-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.iy-proje-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;   /* kapak görselleri 1920x1080 — kırpmadan göster */
    background: #d8d8d8;
    display: block;
}
.iy-proje-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.iy-proje-card:hover img { transform: scale(1.07); }
.iy-proje-ov {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,24,24,.78) 0%, rgba(26,24,24,0) 55%);
    opacity: 0; transition: opacity .3s ease;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 22px; color: #fff;
}
.iy-proje-card:hover .iy-proje-ov { opacity: 1; }
/* 4'lü grid daha kısa kartlar üretir; yazıyı buna göre küçült */
.iy-grid-4 .iy-proje-ov { padding: 16px; }
.iy-grid-4 .iy-proje-ov h3 { font-size: 16px; }
.iy-proje-ov h3 { color: #fff; font-size: 19px; margin: 0 0 4px; }
.iy-proje-ov small { color: var(--iy-accent-2); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.iy-proje-ov .iy-proje-year { color: rgba(255,255,255,.72); font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: .05em; }

/* ---------- İSTATİSTİK ---------- */
.iy-stats .iy-stat { border-top: 1px solid var(--iy-line); padding-top: 14px; }
.iy-stats .iy-stat .num { font-family:'Space Grotesk',sans-serif; font-size: 40px; font-weight: 700; color: var(--iy-dark); }
.iy-stats .iy-stat .lbl { font-size: 14px; color: var(--iy-body); }

/* ---------- VİZYON BANNER ---------- */
.iy-vision {
    position: relative;
    min-height: 60vh;
    display: flex; align-items: center;
    background: var(--iy-dark) center/cover no-repeat;
    color: #fff;
}
.iy-vision::after { content:""; position:absolute; inset:0; background: rgba(20,30,40,.45); }
.iy-vision .container { position: relative; z-index: 2; }
.iy-vision .iy-eyebrow { color: #fff; opacity: .85; }
.iy-vision h2 { color: #fff; font-size: 34px; max-width: 820px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- SAYFA BAŞLIĞI ---------- */
.iy-pagehead {
    background: var(--iy-light);
    padding: 60px 0 50px;
    text-align: center;
    border-bottom: 1px solid var(--iy-line);
}
.iy-pagehead h1 { font-size: 38px; text-transform: uppercase; letter-spacing: .1em; }
.iy-pagehead .crumb { font-size: 13px; letter-spacing: .08em; color: var(--iy-body); text-transform: uppercase; }

/* ---------- PROJE DETAY ---------- */
.iy-detay-info { list-style: none; padding: 0; margin: 0; }
.iy-detay-info li { border-bottom: 1px solid var(--iy-line); padding: 12px 0; display: flex; justify-content: space-between; }
.iy-detay-info li span:first-child { color: var(--iy-body); }
.iy-detay-info li span:last-child { color: var(--iy-dark); font-weight: 500; }
.iy-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; cursor: pointer; }

/* ---------- UZMAN GÖRÜŞÜ (BLOG) ---------- */
.iy-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 991px){ .iy-blog-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 575px){ .iy-blog-grid { grid-template-columns: 1fr;} }
.iy-blog-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--iy-line);
    overflow: hidden; height: 100%;
    transition: box-shadow .3s ease, transform .3s ease;
}
.iy-blog-card:hover { box-shadow: 0 18px 40px rgba(26,24,24,.12); transform: translateY(-4px); }
.iy-blog-img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #d8d8d8; }
.iy-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.iy-blog-card:hover .iy-blog-img img { transform: scale(1.06); }
.iy-blog-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.iy-blog-date {
    font-family: 'Space Grotesk', sans-serif; text-transform: uppercase;
    letter-spacing: .12em; font-size: 11px; color: var(--iy-accent); margin-bottom: 10px;
}
.iy-blog-body h3 { font-size: 19px; line-height: 1.35; margin: 0 0 10px; color: var(--iy-dark); }
.iy-blog-body p { font-size: 14px; color: var(--iy-body); margin: 0 0 16px; }
.iy-blog-more {
    margin-top: auto; font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--iy-dark);
}
.iy-blog-more i { transition: transform .25s ease; margin-left: 4px; }
.iy-blog-card:hover .iy-blog-more { color: var(--iy-accent); }
.iy-blog-card:hover .iy-blog-more i { transform: translateX(4px); }

/* Detay */
.iy-blog-detay-tarih {
    font-family: 'Space Grotesk', sans-serif; text-transform: uppercase;
    letter-spacing: .12em; font-size: 12px; color: var(--iy-accent); margin-top: 10px;
}
.iy-blog-detay-img { margin-bottom: 32px; }
.iy-blog-icerik { font-size: 16px; line-height: 1.85; color: var(--iy-body); }
.iy-blog-icerik h2, .iy-blog-icerik h3, .iy-blog-icerik h4 { margin: 32px 0 14px; }
.iy-blog-icerik p { margin: 0 0 18px; }
.iy-blog-icerik img { height: auto; margin: 18px 0; }
.iy-blog-yan h3 {
    font-size: 16px; text-transform: uppercase; letter-spacing: .1em;
    padding-bottom: 14px; border-bottom: 2px solid var(--iy-accent); margin-bottom: 22px;
}
.iy-blog-son { list-style: none; padding: 0; margin: 0; }
.iy-blog-son li { margin-bottom: 18px; }
.iy-blog-son a { display: flex; gap: 14px; align-items: center; }
.iy-blog-son-img { flex: 0 0 76px; width: 76px; height: 60px; overflow: hidden; background: #d8d8d8; }
.iy-blog-son-img img { width: 100%; height: 100%; object-fit: cover; }
.iy-blog-son-txt strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 500; color: var(--iy-dark); line-height: 1.3; }
.iy-blog-son-txt small { color: var(--iy-body); font-size: 12px; }
.iy-blog-son a:hover .iy-blog-son-txt strong { color: var(--iy-accent); }

/* ---------- SERTİFİKALAR ---------- */
.iy-sertifika-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 991px){ .iy-sertifika-grid { grid-template-columns: repeat(3,1fr);} }
@media (max-width: 767px){ .iy-sertifika-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 479px){ .iy-sertifika-grid { grid-template-columns: 1fr;} }
.iy-sertifika-card {
    margin: 0; background: #fff; border: 1px solid var(--iy-line);
    transition: box-shadow .3s ease, transform .3s ease;
}
.iy-sertifika-card:hover { box-shadow: 0 18px 40px rgba(26,24,24,.12); transform: translateY(-4px); }
.iy-sertifika-img {
    position: relative; display: block; padding: 18px;
    background: var(--iy-light); overflow: hidden; cursor: pointer;
}
.iy-sertifika-img img { width: 100%; height: 300px; object-fit: contain; transition: transform .5s ease; }
.iy-sertifika-card:hover .iy-sertifika-img img { transform: scale(1.04); }
.iy-sertifika-zoom {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(26,24,24,.35); color: #fff; font-size: 26px;
    opacity: 0; transition: opacity .3s ease;
}
.iy-sertifika-card:hover .iy-sertifika-zoom { opacity: 1; }
.iy-sertifika-card figcaption {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 14px 18px; border-top: 1px solid var(--iy-line);
}
.iy-sertifika-ad { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 500; color: var(--iy-dark); }
.iy-sertifika-pdf { font-size: 12px; color: var(--iy-accent); white-space: nowrap; }
.iy-sertifika-pdf:hover { text-decoration: underline; }

/* ---------- İLETİŞİM ---------- */
.iy-contact-info i { color: var(--iy-accent); width: 26px; }
.iy-map iframe { width: 100%; height: 380px; border: 0; }

/* ---------- FOOTER ---------- */
.iy-footer {
    background: #fff;
    border-top: 1px solid var(--iy-line);
    padding: 60px 0 24px;
    /* footer genelinde tek tip yazı karakteri */
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 2.15;
}
/* adres, telefon, menü ve alt linkler tek tip: aynı font, boyut, satır aralığı */
.iy-footer p, .iy-footer a, .iy-footer li, .iy-footer span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 2.15;
}
.iy-footer .iy-foot-brand img { height: 90px; }
.iy-foot-contact p { margin: 0; }
.iy-foot-contact a { color: var(--iy-dark); }
.iy-foot-contact a:hover { color: var(--iy-accent); }
.iy-social { margin-top: 12px; }
.iy-footer .iy-social a { font-size: 20px; line-height: 1; color: var(--iy-dark); margin-right: 14px; }
.iy-footer .iy-social a:last-child { margin-right: 0; }
.iy-footer .iy-social a:hover { color: var(--iy-accent); }
.iy-foot-menu ul, .iy-foot-links ul { list-style: none; padding: 0; margin: 0; }
.iy-foot-menu li, .iy-foot-links li { margin: 0; }
.iy-foot-menu a, .iy-foot-links a { color: var(--iy-dark); }
.iy-foot-menu a:hover, .iy-foot-links a:hover { color: var(--iy-accent); }
.iy-copyright {
    border-top: 1px solid var(--iy-line);
    margin-top: 40px; padding-top: 20px;
    text-align: center; font-size: 12px; color: #9a9a98;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
}
.iy-footer .iy-copyright span { font-family: 'Space Grotesk', sans-serif; font-size: 12px; }
.iy-copyright .iy-by a { color: #9a9a98; text-decoration: none; }
.iy-copyright .iy-by a:hover { color: var(--iy-accent); }

@media (max-width: 575px){
    .iy-copyright { justify-content: center; }
}

@media (max-width: 991px){
    .iy-main { padding-top: 80px; }
    .iy-header .navbar-nav .nav-link { padding: 8px 4px; }
    .iy-hero-slider .carousel,
    .iy-hero-slider .carousel-inner,
    .iy-hero-slider .carousel-item { height: 62vh; min-height: 380px; }
    .iy-hero-title { font-size: 40px; }
    .iy-hero-sub { font-size: 22px; margin-top: 10px; }
}
@media (max-width: 575px){
    .iy-hero-slider .carousel,
    .iy-hero-slider .carousel-inner,
    .iy-hero-slider .carousel-item { height: 56vh; min-height: 320px; }
    .iy-hero-title { font-size: 26px; }
    .iy-hero-sub { font-size: 17px; }
    .iy-hero-slider .carousel-control-prev,
    .iy-hero-slider .carousel-control-next { display: none; }
}
