/*
 * Custom overrides for ArchSan template assets.
 * Kept separate from style.css so the original template file stays untouched.
 *
 * Dynamic light/dark logo visibility:
 * The navbar renders both the light and dark logo variants (from "Görsel Ayarlar").
 * script.js toggles the ".nav-scroll" class on scroll; these rules swap which
 * logo image is visible instead of relying on a JS `src` swap (which used a
 * hardcoded static path and broke dynamically uploaded logos).
 */
.logo-wrapper .logo .logo-dark {
    display: none;
}

.nav-scroll .logo-wrapper .logo .logo-light {
    display: none;
}

.nav-scroll .logo-wrapper .logo .logo-dark {
    display: inline-block;
}

.footer-logo-img {
    max-width: 165px;
    height: auto;
}

/*
 * Footer bottom bar (3 sütun): dinamik copyright, yasal bağlantılar ve
 * Kodsis imzası. Renk vurgusu tema aksan tonuyla (altın/bronz) uyumlu.
 */
.footer .bottom .fs-7 {
    font-size: 0.82rem;
}

.kodsis-badge {
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.kodsis-badge:hover strong {
    color: #c5a880 !important;
}

.footer-legal-links a:hover {
    color: #c5a880 !important;
}

/*
 * Hizmet kartı ikonu: yüklenen simge kartın ArchSan ritmini bozmasın.
 */
.services .item .icon {
    width: 50px;
    height: 30px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

/*
 * Hizmet detay galerisi: farklı en-boy oranlı görseller Bootstrap flex
 * satırında yükseklik uyumsuzluğu bırakmasın; object-fit ile kırpılır.
 */
.about .gallery-item .gallery-img > img {
    width: 100%;
    object-fit: cover;
}

/*
 * Proje detay slider: dikey galeri görselleri sahneyi şişirip künye
 * (.project-bar, margin-top: -60px) ile arasında boşluk bırakmasın.
 * Yuvarlak Owl okları görselin üzerinde kalsın.
 */
.project-page .owl-carousel {
    position: relative;
}

.project-page .owl-carousel .owl-item img,
.project-page .owl-carousel .portfolio-item img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.project-page .owl-theme .owl-nav {
    display: block;
}

/*
 * Proje özellikleri / rozetler. Flaticon paketi şablonda yok;
 * sınıflar Themify font glyph'lerine bağlanır.
 */
.project-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.project-feature-card {
    background: #fff;
    border: 1px solid #eee8df;
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-feature-card:hover {
    border-color: #c5a880;
    box-shadow: 0 10px 25px rgba(197, 168, 128, 0.12);
    transform: translateY(-3px);
}

.project-feature-card i {
    font-size: 32px;
    color: #c5a880;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
    display: block;
    line-height: 1;
}

.project-feature-card:hover i {
    transform: scale(1.1);
}

.project-feature-card h6 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #272727;
    margin: 0;
    line-height: 1.4;
    text-transform: uppercase;
}

.project-feature-card [class^="flaticon-"]:before,
.project-feature-card [class*=" flaticon-"]:before {
    font-family: 'themify';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.flaticon-building:before { content: "\e69b"; } /* ti-home */
.flaticon-swimming-pool:before { content: "\e678"; } /* ti-shine */
.flaticon-living-room:before { content: "\e62e"; } /* ti-layout */
.flaticon-shield:before { content: "\e67b"; } /* ti-shield */
.flaticon-leaves:before { content: "\e665"; } /* ti-world */
.flaticon-lock:before { content: "\e62b"; } /* ti-lock */
.flaticon-diamond:before { content: "\e642"; } /* ti-crown */
.flaticon-handshake:before { content: "\e637"; } /* ti-hand-open */
.flaticon-customer-service:before { content: "\e69d"; } /* ti-headphone */

.project-checklist .check-icon {
    color: #c5a880;
    font-size: 1.1rem;
}

.gallery-cta-box {
    background: #faf8f5;
    border: 1px solid #eee8df;
    border-radius: 8px;
    width: 100%;
    padding: 24px;
    text-align: center;
}

.gallery-cta-box h5 {
    color: #272727;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.gallery-cta-box p {
    color: #777;
    font-size: 14px;
    margin-bottom: 16px;
}

.gallery-cta-btn {
    display: inline-block;
    border: 1px solid #c5a880;
    color: #272727;
    border-radius: 4px;
    padding: 8px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gallery-cta-btn i {
    color: #c5a880;
    margin-right: 8px;
}

.gallery-cta-btn:hover {
    background: #c5a880;
    color: #fff;
    border-color: #c5a880;
}

.gallery-cta-btn:hover i {
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

/*
 * Hero used to be #slider-area in the ArchSan template. The homepage spy
 * target is now #anasayfa; keep the same decorative clip overlay.
 */
#anasayfa {
    position: relative;
}

#anasayfa:after {
    background-color: #fff;
    content: '';
    position: absolute;
    height: 100%;
    left: 0;
    top: -1px;
    width: 100%;
    -webkit-clip-path: polygon(0% 75%, 0% 0%, 100% 0%, 100% 35%);
    clip-path: polygon(0% 75%, 0% 0%, 100% 0%, 100% 35%);
    z-index: -1;
}

#hakkimizda,
#hizmetler,
#projeler,
#iletisim {
    scroll-margin-top: 90px;
}
