/* ==========================================================================
   Aygündüz Yapı - Kurumsal kimlik katmanı (2026-11)
   Renkler yeni logodan alınmıştır: orman yeşili #004526 + antrasit #363636.
   Altın vurgu (#C9A44C) slider afişlerindeki kurumsal kullanımla uyumludur.
   main.css'teki eski sarı/turuncu tonlar bu değişkenlere bağlandı.
   ========================================================================== */
:root {
    --ay-yesil: #004526;
    --ay-yesil-koyu: #00321b;
    --ay-yesil-gece: #0b1f16;
    --ay-yesil-acik: #5eb880;
    --ay-yesil-zemin: #eef5f0;
    --ay-vurgu: #004526;
    --ay-antrasit: #363636;
    --ay-metin: #2b2b2b;
    --ay-altin: #c9a44c;
    --ay-altin-koyu: #a8842f;
    --ay-radius: 10px;
}

html { scroll-behavior: smooth; }
body { color: var(--ay-metin); overflow-x: clip; }
::selection { background: var(--ay-yesil); color: #fff; }
a { color: var(--ay-yesil); }
a:hover { color: var(--ay-yesil-koyu); }
:focus-visible { outline: 3px solid var(--ay-altin); outline-offset: 2px; }

/* Erişilebilirlik yardımcıları */
.ay-atla { position: absolute; left: 12px; top: -60px; z-index: 100000; padding: 10px 16px; background: var(--ay-yesil); color: #fff; border-radius: 6px; transition: top .2s; }
.ay-atla:focus { top: 12px; color: #fff; }
.ay-gizli { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Header ---------- */
.page-header { box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.page-header__logo img { width: auto; height: 62px; max-width: 100%; }
.page-header.--two-line .page-header__top-line { background: var(--ay-yesil); }
.page-header.--two-line .page-header__contacts { background-color: var(--ay-yesil-koyu); }
.page-header.--two-line .page-header__contacts-list a,
.page-header.--two-line .page-header__contacts-list span { color: #fff; }
.page-header.--two-line .page-header__social .social__link { color: #fff; }
.page-header.--two-line .page-header__social .social__link:hover { background-color: var(--ay-altin); color: #fff; }
.page-header__mainmenu .uk-navbar-nav > li > a { color: var(--ay-antrasit); }
.page-header__mainmenu .uk-navbar-nav > li > a:hover,
.page-header__mainmenu .uk-navbar-nav > li.uk-active > a { color: var(--ay-yesil); }
.uk-navbar-dropdown-nav > li > a:hover { color: var(--ay-yesil); }
.contacts-block {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23004526' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E");
    background-size: 30px; background-position: left center; background-repeat: no-repeat;
    padding-left: 42px; white-space: nowrap;
}
.contacts-block::before { display: none !important; }
.page-header .contacts-block span { color: var(--ay-antrasit); }
.page-header .contacts-block strong { color: var(--ay-yesil); }
.page-header.--two-line .contacts-block,
.uk-offcanvas-bar .contacts-block {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c9a44c' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E");
}
.page-header.--two-line .contacts-block span,
.page-header.--two-line .contacts-block strong { color: #fff; }

/* ---------- Butonlar ---------- */
.uk-button-danger { background-color: var(--ay-yesil); color: #fff; border-radius: 6px; }
.uk-button-danger:hover, .uk-button-danger:focus { background-color: var(--ay-yesil-koyu); color: #fff; }
.uk-button .uk-icon { color: inherit; }
.uk-button-default:hover { color: #fff; }
.s-form .uk-button-default { border-radius: 6px; }

.ay-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: 8px; border: 2px solid transparent; font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.ay-btn:hover { text-decoration: none; transform: translateY(-1px); }
.ay-btn--altin { background: var(--ay-altin); color: #1b1b1b; }
.ay-btn--altin:hover, .ay-btn--altin:focus { background: #d8b766; color: #1b1b1b; }
.ay-btn--cizgi { border-color: rgba(255, 255, 255, .7); color: #fff; }
.ay-btn--cizgi:hover, .ay-btn--cizgi:focus { background: #fff; color: var(--ay-yesil); }

/* ---------- Hero ---------- */
.ay-hero .s-hero__inner { background: linear-gradient(135deg, var(--ay-yesil) 0%, var(--ay-yesil-koyu) 100%); align-items: stretch; }
.ay-hero .s-hero__desc { width: 44%; padding: 48px clamp(24px, 4.2vw, 80px); background: none; justify-content: center; }
.ay-hero .s-hero__slider { width: 56%; align-self: stretch; }
.ay-hero__ust { margin: 0 0 14px; color: var(--ay-altin); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ay-hero .s-hero__title { margin: 0 0 18px; color: #fff; font-size: clamp(28px, 2.9vw, 50px); font-weight: 700; line-height: 1.15; }
.ay-hero .s-hero__subtitle { margin-bottom: 28px; color: rgba(255, 255, 255, .9); font-size: clamp(16px, 1.15vw, 20px); line-height: 1.6; }
.ay-hero .s-hero__subtitle p { margin: 0; }
.ay-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ay-hero__guven { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .85); font-size: 15px; }
.ay-hero__guven li { position: relative; padding-left: 24px; }
.ay-hero__guven li::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--ay-altin) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231b1b1b' stroke-width='2' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center/12px no-repeat; }
/* Afişlerde logo/telefon/konum görselin içinde: tam görünsün, karartma olmasın */
.ay-hero .s-hero__slider .swiper::after { display: none; }
.ay-hero .s-hero__slider .swiper-slide { aspect-ratio: 4 / 3; background: var(--ay-yesil-koyu); }
.ay-hero .s-hero__slider .swiper-slide picture,
.ay-hero .s-hero__slider .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ay-hero .swiper-pagination { bottom: 12px !important; }
.ay-hero .swiper-pagination-bullet { width: 10px; height: 10px; background: #fff; opacity: .55; }
.ay-hero .swiper-pagination-bullet-active { background: var(--ay-altin) !important; opacity: 1; width: 26px; border-radius: 6px; }

/* ---------- Bölüm başlıkları ---------- */
.section-title span { color: var(--ay-yesil); font-weight: 600; }
.section-title span:before { width: 24px; height: 24px; background: url(../../upload/logo/favicon-32.png) center/contain no-repeat; }
.section-title h2.ay-h, .ay-h { margin: 0; padding-top: 6px; color: #1f1f1f; font-size: clamp(24px, 2.3vw, 36px); font-weight: 700; line-height: 1.25; }
.ay-h--acik, .s-video__desc .section-title h2 { color: #fff !important; }
.s-video__desc .section-title span { color: var(--ay-altin); }
.s-video__desc .section-title p { margin: 16px 0 0; color: rgba(255, 255, 255, .85); font-size: 16px; line-height: 1.65; }
.s-video__inner { background-color: var(--ay-yesil-gece); }
.s-video__desc { background-image: none; background-color: var(--ay-yesil-gece); }
.s-about { background-image: none; }
a.more .uk-icon, .solution-item a.more .uk-icon { color: var(--ay-altin); }
a.more:hover span { color: var(--ay-altin) !important; }
.ay-ozet { font-size: 18px; line-height: 1.7; }
.s-about .section-content p { line-height: 1.75; }
.ay-liste { margin: 18px 0 0; padding: 0; list-style: none; }
.ay-liste li { position: relative; margin-bottom: 8px; padding-left: 26px; }
.ay-liste li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--ay-altin); border-bottom: 2px solid var(--ay-altin); transform: rotate(-45deg); }
.ay-liste--acik li { color: rgba(255, 255, 255, .9); }

/* Hizmet ve galeri kartları */
.solution-item__box img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.js-solution-slider .slider-nav .swiper-button-prev,
.js-solution-slider .slider-nav .swiper-button-next { border-color: var(--ay-yesil); background: var(--ay-yesil); }
.ay-galeri .new-item__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 8px; }
.ay-galeri .new-item__box { display: block; overflow: hidden; border-radius: 8px; }
.ay-galeri .new-item__box img { transition: transform .4s; }
.ay-galeri .new-item__box:hover img { transform: scale(1.04); }

/* ---------- Hizmet bölgeleri / NAP ---------- */
.ay-bolgeler { background: var(--ay-yesil-zemin); }
.ay-ilceler { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.ay-ilceler li { padding: 7px 14px; border: 1px solid rgba(0, 69, 38, .2); border-radius: 999px; background: #fff; color: var(--ay-yesil); font-size: 15px; font-weight: 500; }
.ay-nap-kart { padding: 28px; border-radius: var(--ay-radius); background: #fff; box-shadow: 0 10px 30px rgba(0, 50, 27, .08); }
.ay-nap-kart h3 { margin: 0 0 12px; color: var(--ay-yesil); font-size: 24px; font-weight: 700; }
.ay-nap-kart address { font-style: normal; }
.ay-nap-kart address p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; }
.ay-nap-kart address .uk-icon { flex: none; color: var(--ay-yesil); }
.ay-harita { margin: 18px 0; overflow: hidden; border-radius: 8px; background: #e7ece9; }
.ay-harita iframe { display: block; width: 100%; height: 260px; border: 0; }
.ay-harita--genis { margin: 0; border-radius: 0; }
.ay-harita--genis iframe { height: 420px; }
address.contacts-list { font-style: normal; }
.ay-nap__saat { display: inline-flex; align-items: center; gap: 10px; color: inherit; }

/* ---------- SSS ---------- */
.ay-sss__liste { max-width: 900px; margin: 0 auto; }
.ay-sss__oge { margin-bottom: 12px; border: 1px solid #e3e8e5; border-radius: var(--ay-radius); background: #fff; }
.ay-sss__oge summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.ay-sss__oge summary::-webkit-details-marker { display: none; }
.ay-sss__oge summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ay-yesil-zemin); color: var(--ay-yesil); font-size: 22px; line-height: 30px; text-align: center; transition: transform .2s; }
.ay-sss__oge[open] summary::after { content: "–"; }
.ay-sss__oge summary h3 { margin: 0; color: #1f1f1f; font-size: 18px; font-weight: 600; line-height: 1.4; }
.ay-sss__oge p { margin: 0; padding: 0 22px 20px; color: #444; line-height: 1.7; }
.ay-sss__oge[open] { border-color: rgba(0, 69, 38, .35); }

/* ---------- Form ---------- */
.ay-kvkk { margin: 0 0 14px; color: #666; font-size: 13px; }
.s-form .uk-input:focus, .s-form .uk-textarea:focus,
.block-form .uk-input:focus, .block-form .uk-textarea:focus { border-color: var(--ay-yesil); }

/* ---------- İç sayfalar ---------- */
/* Temadan kalan iş makinesi görselleri yerine kurumsal uygulama fotoğrafı (inline stili ezer) */
.page-head__bg {
    background-image: url(../../upload/slider/sayfa-baslik-bg.jpg) !important;
    background-image: image-set(url(../../upload/slider/sayfa-baslik-bg.webp) type("image/webp"), url(../../upload/slider/sayfa-baslik-bg.jpg) type("image/jpeg")) !important;
    background-position: center 40% !important;
    box-shadow: inset 0 0 0 2000px rgba(0, 38, 21, .62);
}
.contact-page-sidebar { background-color: var(--ay-yesil-gece); }
.contact-page-sidebar img { width: 100%; max-width: 260px; height: auto; }
h1.page-head__title { margin: 0; padding: 0 16px; font-family: inherit; text-align: center; }
.page-head__breadcrumb { background-color: var(--ay-yesil); }
h2.equipment-detail__title { margin-top: 0; font-family: inherit; line-height: 1.25; }
.equipment-detail__desc blockquote { border-left-color: var(--ay-yesil); }
.tags-list li span { display: inline-block; padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.ay-hizmet-cta { margin-top: 36px; padding: 30px; border-radius: var(--ay-radius); background: linear-gradient(135deg, var(--ay-yesil), var(--ay-yesil-koyu)); color: #fff; }
.ay-hizmet-cta h2 { margin: 0 0 10px; color: #fff; font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; }
.ay-hizmet-cta p { margin: 0 0 20px; color: rgba(255, 255, 255, .88); }
.ay-404 { text-align: center; }
.ay-404 h1 { color: var(--ay-yesil); }
.ay-404 .ay-ilceler { justify-content: center; margin-bottom: 24px; }

/* ---------- Footer / mobil menü ---------- */
.page-footer, .uk-offcanvas-bar { background-color: var(--ay-yesil-gece); }
.page-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-logo img { width: auto; height: 64px; }
.uk-offcanvas-bar .logo img { width: 100%; max-width: 240px; height: auto; }
.ay-footer-baslik { margin: 0 0 40px; color: #fff; font-size: calc(18px + 4 * (100vw / 1920)); font-weight: 500; text-transform: uppercase; }
.ay-footer-baslik::after { display: block; width: 44px; height: 2px; margin-top: 10px; background-color: var(--ay-altin); content: ''; }
.page-footer__menu h4:after, .page-footer__news h4:after { background-color: var(--ay-altin); }
.page-footer a:hover, .page-footer__copy a:hover, .news-list-item__title:hover { color: var(--ay-yesil-acik) !important; }
.page-footer .social li a:hover, .social li a:hover { background-color: var(--ay-yesil-acik); }
.contacts-list li span.label, .news-list-item__date { color: var(--ay-yesil-acik); }
.page-footer .contacts-list li .ay-nap__saat { color: rgba(255, 255, 255, .7); }
.uk-offcanvas-bar .uk-offcanvas-close { color: var(--ay-altin); }
.uk-offcanvas-bar .uk-nav-default > li > a:hover, .uk-offcanvas-bar .uk-nav-sub a:hover { color: var(--ay-yesil-acik); }

/* ---------- Sabit iletişim düğmeleri ---------- */
.ay-cta-bar { position: fixed; right: 18px; bottom: 18px; z-index: 990; display: flex; flex-direction: column; gap: 10px; }
.ay-cta-bar__btn { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); text-decoration: none; transition: transform .2s; }
.ay-cta-bar__btn:hover { color: #fff; transform: scale(1.06); }
.ay-cta-bar__btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.ay-cta-bar__btn--tel { background: var(--ay-yesil); }
.ay-cta-bar__btn--wa { background: #1fa855; }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1199px) {
    .ay-hero .s-hero__desc { width: 48%; }
    .ay-hero .s-hero__slider { width: 52%; }
}
@media (max-width: 959px) {
    .ay-hero .s-hero__inner { flex-direction: column-reverse; }
    .ay-hero .s-hero__desc, .ay-hero .s-hero__slider { width: 100%; }
    .ay-hero .s-hero__desc { padding: 30px 20px 36px; }
    .page-header__logo img { height: 48px; }
    .ay-harita--genis iframe { height: 320px; }
}
@media (max-width: 639px) {
    .ay-hero__cta .ay-btn { flex: 1 1 100%; }
    .ay-hero__guven { font-size: 14px; }
    .page-header__logo img { height: 42px; }
    .ay-nap-kart { padding: 20px; }
    .ay-sss__oge summary { padding: 16px; }
    .ay-sss__oge summary h3 { font-size: 16px; }
    .ay-sss__oge p { padding: 0 16px 16px; }
    .ay-hizmet-cta { padding: 22px; }
    /* Mobilde alt sabit çubuk: iki geniş düğme */
    body { padding-bottom: 64px; }
    .ay-cta-bar { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; box-shadow: 0 -4px 16px rgba(0, 0, 0, .15); }
    .ay-cta-bar__btn { flex: 1; gap: 8px; width: auto; height: 60px; border-radius: 0; box-shadow: none; font-size: 16px; font-weight: 600; }
    .ay-cta-bar__btn:hover { transform: none; }
    .ay-cta-bar__btn span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
