/*
Theme Name: AKD Bursa Profesyonel V6
Theme URI: https://www.akdbursasube.com/
Author: Alevi Kültür Dernekleri Bursa Şubesi
Description: AKD Bursa için profesyonel, eklenti dostu, üç menü konumlu, widget destekli ve mobil uyumlu WordPress teması.
Version: 11.0.0
Text Domain: akd-bursa
*/

:root{
--akd-burgundy:#741d2a;--akd-dark:#390812;--akd-gold:#b98b38;--akd-cream:#f7f2e9;
--akd-white:#fffdf9;--akd-text:#2d2828;--akd-muted:#756c68;--akd-border:#e7dccf;
--akd-shadow:0 15px 45px rgba(48,20,18,.10);--akd-radius:18px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--akd-cream);color:var(--akd-text);font-family:Inter,Arial,Helvetica,sans-serif;line-height:1.65}
img{max-width:100%;height:auto}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}.container{width:min(1180px,calc(100% - 36px));margin:auto}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.site-header{background:rgba(255,253,249,.98);border-bottom:1px solid var(--akd-border);position:relative;z-index:1000}
.header-inner{min-height:82px;display:flex;align-items:center;gap:22px}
.site-brand{display:flex;align-items:center;gap:12px;min-width:250px}.site-brand .custom-logo{max-height:62px;width:auto;max-width:190px;object-fit:contain}
.brand-mark{width:52px;height:52px;border:2px solid var(--akd-gold);border-radius:50%;display:grid;place-items:center;color:var(--akd-burgundy);font:700 18px Georgia,serif}
.brand-copy strong{display:block;color:#68605d;font-size:12px;letter-spacing:.6px;line-height:1.2}.brand-copy span{display:block;color:var(--akd-burgundy);font-size:17px;font-weight:800}
.header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.search-toggle{border:0;background:transparent;color:var(--akd-burgundy);width:40px;height:40px;border-radius:50%;cursor:pointer;font-size:20px}.search-toggle:hover{background:#f4eae2}
.topbar{background:var(--akd-dark);color:#fff;font-size:12px}.topbar-inner{min-height:36px;display:flex;justify-content:flex-end;align-items:center}.top-menu{display:flex;gap:18px;list-style:none;margin:0;padding:0}.top-menu a{color:rgba(255,255,255,.85)}.top-menu a:hover{color:#fff}
.primary-wrap{background:#fff;border-bottom:1px solid var(--akd-border);position:relative;z-index:900}.primary-inner{min-height:52px;display:flex;align-items:center}.main-nav{width:100%}.main-menu{display:flex;justify-content:center;align-items:center;gap:2px;list-style:none!important;margin:0!important;padding:0!important}.main-menu li{list-style:none!important;margin:0!important;padding:0!important;position:relative}.main-menu a{display:block;padding:12px 14px;border-radius:8px;font-size:14px;font-weight:700;white-space:nowrap}.main-menu a:hover,.main-menu .current-menu-item>a{color:var(--akd-burgundy);background:#f5ece5}.main-menu .sub-menu{display:none;position:absolute;left:0;top:100%;min-width:220px;background:#fff;border:1px solid var(--akd-border);box-shadow:var(--akd-shadow);border-radius:12px;padding:7px!important;list-style:none!important;margin:0!important}.main-menu li:hover>.sub-menu,.main-menu li:focus-within>.sub-menu{display:block}.main-menu .sub-menu a{padding:10px 12px}
.header-cta{background:var(--akd-burgundy)!important;color:#fff!important;padding:11px 17px!important;border-radius:10px!important;font-weight:800!important;box-shadow:0 7px 20px rgba(116,29,42,.18)}.header-cta:hover{background:var(--akd-dark)!important}
.menu-toggle{display:none;border:0;background:none;font-size:28px;color:var(--akd-burgundy);cursor:pointer;margin-left:auto}
.search-panel{display:none;position:absolute;right:18px;top:100%;width:min(420px,calc(100vw - 30px));padding:14px;background:#fff;border:1px solid var(--akd-border);box-shadow:var(--akd-shadow);border-radius:0 0 14px 14px;z-index:1100}.search-panel.is-open{display:block}.search-panel form{display:flex;gap:8px}.search-panel input{width:100%;border:1px solid var(--akd-border);border-radius:8px;padding:11px}.search-panel button{border:0;background:var(--akd-burgundy);color:#fff;border-radius:8px;padding:0 15px;cursor:pointer}
.hero{background:var(--akd-dark);color:#fff;position:relative;overflow:hidden}.hero-slide{display:none;min-height:560px;background-size:cover;background-position:center}.hero-slide.is-active{display:block;animation:akdFade .55s ease}.hero-inner{min-height:560px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center}.hero-copy{padding:50px 0}.eyebrow{color:#d8b76b;font-size:12px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase}.hero h1{font:700 clamp(50px,6vw,82px)/.98 Georgia,serif;margin:20px 0 26px;max-width:780px}.hero p{font-size:18px;color:rgba(255,255,255,.9);max-width:670px;margin:0 0 30px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:10px;font-weight:800;border:1px solid transparent}.btn-primary{background:#fff;color:var(--akd-burgundy)}.btn-outline{border-color:rgba(255,255,255,.75);color:#fff}
.hero-symbol{justify-self:end;width:min(400px,90%);aspect-ratio:1;position:relative;display:grid;place-items:center}.hero-symbol:before,.hero-symbol:after{content:"";position:absolute;border:1px solid rgba(214,180,100,.35);border-radius:50%}.hero-symbol:before{width:70%;height:70%}.hero-symbol:after{width:50%;height:50%}.hero-symbol span{font:100px Georgia,serif;color:rgba(255,255,255,.14)}
.slider-controls{position:absolute;z-index:4;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px}.slider-prev,.slider-next{width:38px;height:38px;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(0,0,0,.15);color:#fff;font-size:25px;cursor:pointer}.slider-dots{display:flex;gap:7px}.slider-dot{width:9px;height:9px;border:0;border-radius:50%;background:rgba(255,255,255,.4);padding:0;cursor:pointer}.slider-dot.is-active{background:#fff;transform:scale(1.25)}
.section{padding:76px 0}.section-white{background:var(--akd-white)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.section-kicker{font-size:12px;color:var(--akd-gold);font-weight:800;letter-spacing:1.7px;text-transform:uppercase}.section-title{font:700 38px/1.15 Georgia,serif;margin:5px 0 0}.section-link{color:var(--akd-burgundy);font-weight:800}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.quick-card{background:#fff;border:1px solid var(--akd-border);border-radius:var(--akd-radius);padding:30px 22px;text-align:center;box-shadow:0 7px 25px rgba(50,25,20,.04);transition:.25s}.quick-card:hover{transform:translateY(-5px);box-shadow:var(--akd-shadow)}.quick-icon{height:46px;color:var(--akd-burgundy);font-size:26px}.quick-card h3{font:700 22px Georgia,serif;margin:5px 0}.quick-card p{margin:0;color:var(--akd-muted);font-size:14px}
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.post-card{background:#fff;border:1px solid var(--akd-border);border-radius:var(--akd-radius);overflow:hidden;box-shadow:0 7px 25px rgba(50,25,20,.04)}.post-thumb{display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#4d0d19,#96503e);overflow:hidden}.post-thumb img{width:100%;height:100%;object-fit:cover;transition:.4s}.post-card:hover .post-thumb img{transform:scale(1.04)}.post-body{padding:21px}.meta{font-size:11px;color:var(--akd-gold);font-weight:800;letter-spacing:.8px;text-transform:uppercase}.post-body h3{font:700 22px/1.25 Georgia,serif;margin:8px 0}.post-body p{color:var(--akd-muted);font-size:14px;margin:0}.read-more{display:inline-block;margin-top:13px;color:var(--akd-burgundy);font-weight:800;font-size:14px}
.event-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.event-card{background:#fff;border:1px solid var(--akd-border);border-radius:var(--akd-radius);padding:24px;display:flex;gap:18px}.event-date{min-width:70px;text-align:center;border:1px solid #dfcdb7;border-radius:12px;overflow:hidden;height:max-content}.event-date .month{display:block;background:var(--akd-burgundy);color:#fff;font-size:10px;font-weight:800;padding:4px}.event-date .day{display:block;font:700 28px Georgia,serif;padding:6px;color:var(--akd-burgundy)}.event-card h3{font:700 21px Georgia,serif;margin:0 0 5px}.event-card p{margin:0;color:var(--akd-muted);font-size:14px}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.about-art{min-height:390px;border-radius:24px;background:linear-gradient(145deg,#3b0813,#7b2934);display:grid;place-items:center;position:relative;overflow:hidden}.about-art:before,.about-art:after{content:"";position:absolute;border:1px solid rgba(212,179,106,.3);border-radius:50%}.about-art:before{width:70%;height:70%}.about-art:after{width:52%;height:52%}.about-art span{font:90px Georgia,serif;color:rgba(255,255,255,.17)}.about-copy p{color:var(--akd-muted)}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.gallery-item{aspect-ratio:1.2;border-radius:14px;overflow:hidden;background:#641625}.gallery-item img{width:100%;height:100%;object-fit:cover}
.widget-section{padding:34px 0;background:#fff}.widget-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.widget-card{background:#fff;border:1px solid var(--akd-border);border-radius:16px;padding:22px}.widget-card h2,.widget-card h3{font-family:Georgia,serif;margin-top:0;color:var(--akd-burgundy)}
.page-header{background:#fff;border-bottom:1px solid var(--akd-border);padding:52px 0}.page-header h1{font:700 clamp(40px,5vw,56px)/1.1 Georgia,serif;margin:6px 0 0}.content-area{padding:55px 0;min-height:300px}.entry-content{background:#fff;border:1px solid var(--akd-border);border-radius:18px;padding:35px;max-width:900px}.entry-content h2,.entry-content h3{font-family:Georgia,serif;color:var(--akd-burgundy)}.pagination{margin-top:30px}.pagination a,.pagination span{display:inline-block;border:1px solid var(--akd-border);padding:7px 12px;border-radius:8px;margin-right:4px}
.site-footer{background:#29060e;color:#fff;padding:60px 0 22px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:38px}.footer-brand{font:700 27px Georgia,serif}.site-footer h3{font-size:18px}.site-footer p,.site-footer li{color:rgba(255,255,255,.68);font-size:14px}.site-footer ul{list-style:none;margin:0;padding:0}.site-footer li{margin:7px 0}.site-footer a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:38px;padding-top:18px;display:flex;justify-content:space-between;color:rgba(255,255,255,.5);font-size:12px}
.floating-tools{position:fixed;right:18px;bottom:22px;z-index:1200;display:flex;flex-direction:column;gap:8px}.float-tool{width:44px;height:44px;border:1px solid var(--akd-border);background:#fff;color:var(--akd-burgundy);border-radius:50%;display:grid;place-items:center;box-shadow:0 7px 24px rgba(30,10,10,.14);cursor:pointer;font-weight:800}.float-tool:hover{background:var(--akd-burgundy);color:#fff}.float-tool[hidden]{display:none}
@media(max-width:1050px){.main-menu a{padding:10px 8px;font-size:13px}.site-brand{min-width:220px}.header-cta{padding:10px 13px!important}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.container{width:min(100% - 28px,720px)}.topbar{display:none}.header-inner{min-height:76px}.site-brand .custom-logo{max-height:54px;max-width:150px}.brand-copy strong{font-size:10px}.brand-copy span{font-size:15px}.menu-toggle{display:block}.header-actions{margin-left:auto}.primary-wrap{display:block}.main-nav{display:none;padding:8px 0}.main-nav.is-open{display:block}.main-menu{display:block!important}.main-menu li{border-bottom:1px solid #f1e8df}.main-menu a{padding:13px 9px}.main-menu .sub-menu{position:static;box-shadow:none;border:0;padding-left:12px!important}.header-cta-wrap{display:none}.hero-inner{min-height:520px;grid-template-columns:1fr}.hero-symbol{display:none}.hero-slide{min-height:520px}.cards-3,.event-grid,.about-grid,.widget-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.floating-tools{right:10px;bottom:12px}}
@media(max-width:480px){.quick-grid{grid-template-columns:1fr}.hero h1{font-size:44px}.section{padding:55px 0}.section-title{font-size:32px}.gallery-grid{gap:8px}.footer-grid{grid-template-columns:1fr}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:8px}.floating-tools{right:8px}.float-tool{width:40px;height:40px}}
@keyframes akdFade{from{opacity:.2}to{opacity:1}}

/* Gallery category output */
.gallery-item{position:relative;display:block}
.gallery-item img{display:block}
.gallery-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#5b1020,#7c2332);color:#fff;text-align:center;padding:18px;gap:8px}
.gallery-placeholder span{font-family:Georgia,serif;font-size:42px;opacity:.8}
.gallery-placeholder small{font-size:13px;line-height:1.35}
.gallery-empty{grid-column:1/-1;min-height:180px;border:1px dashed #dccdbd;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:#6e625d;gap:8px}
.gallery-empty strong{color:#641625;font-size:18px}

/* V10 - Slider typography: smaller, cleaner and more balanced */
.hero-title-compact{
    font-size:clamp(42px,5vw,72px)!important;
    line-height:.98!important;
    letter-spacing:-.025em!important;
    max-width:760px;
    margin-bottom:24px!important;
}
.hero-text-compact{
    font-size:17px!important;
    line-height:1.65!important;
    max-width:650px!important;
}
.hero-kicker-compact{
    font-size:13px!important;
    letter-spacing:.16em!important;
}
@media(max-width:850px){
    .hero-title-compact{
        font-size:clamp(36px,9vw,54px)!important;
        max-width:92%!important;
    }
    .hero-text-compact{
        font-size:15px!important;
        max-width:90%!important;
    }
}

/* V11 - AKD Bursa logo is designed for a 150x150px source image.
   Keep the logo at 150px, center it vertically, and give the header enough
   height so the logo never overlaps the top bar or navigation. */
.site-header .header-inner{
    min-height:150px;
    height:150px;
    align-items:center;
}
.site-brand{
    min-height:150px;
    height:150px;
    display:flex;
    align-items:center;
    gap:18px;
}
.site-brand .custom-logo-link{
    width:150px;
    height:150px;
    min-width:150px;
    min-height:150px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:visible;
}
.site-brand .custom-logo{
    display:block!important;
    width:150px!important;
    height:150px!important;
    max-width:150px!important;
    max-height:150px!important;
    object-fit:contain;
}
.site-brand .brand-text{
    align-self:center;
}
.site-header .header-actions{
    align-self:center;
}

/* Keep the navigation clean and separate from the 150px logo header. */
.main-navigation{
    min-height:52px;
}
.main-navigation .nav-inner{
    min-height:52px;
}

/* Tablet / mobile: keep the requested 150x150 logo, but allow horizontal
   compression so the header remains usable. */
@media(max-width:850px){
    .site-header .header-inner{
        min-height:150px;
        height:150px;
    }
    .site-brand{
        min-height:150px;
        height:150px;
    }
    .site-brand .custom-logo-link{
        width:150px;
        height:150px;
        min-width:150px;
    }
    .site-brand .custom-logo{
        width:150px!important;
        height:150px!important;
    }
}
