/* ═══════════ Yılmaz Akü — Özel Stiller ═══════════ */

/* Reset — .yaku-theme scope ile Elementor çakışması önlenir */
.yaku-theme { font-family: 'Inter', sans-serif; color: #1A1A2E; overflow-x: hidden; }
.yaku-theme *, .yaku-theme *::before, .yaku-theme *::after { box-sizing: border-box; }
.yaku-theme h1, .yaku-theme h2, .yaku-theme h3, .yaku-theme h4, .yaku-theme h5, .yaku-theme h6 { font-family: 'Montserrat', sans-serif; letter-spacing: -0.03em; }
.yaku-theme p, .yaku-theme li { line-height: 1.7; }
html { scroll-behavior: smooth; }

/* ─── Grain texture overlay ─── */
.grain::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* ─── Layered shadows ─── */
.shadow-brand {
    box-shadow:
        0 1px 2px rgba(220,38,38,0.06),
        0 4px 8px rgba(220,38,38,0.08),
        0 12px 24px rgba(220,38,38,0.06);
}
.shadow-elevated {
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 4px 12px rgba(0,0,0,0.06),
        0 16px 40px rgba(0,0,0,0.04);
}
.shadow-floating {
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 8px 20px rgba(0,0,0,0.08),
        0 24px 60px rgba(0,0,0,0.06);
}

/* ─── Animations ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
.animate-fade-up { animation: fadeUp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.animate-scale-in { animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* ─── Button spring ─── */
.btn-spring {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}
.btn-spring:hover { transform: translateY(-2px); }
.btn-spring:active { transform: translateY(1px); }

/* ─── Card hover ─── */
.card-hover {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 8px rgba(220,38,38,0.08),
        0 12px 32px rgba(220,38,38,0.1),
        0 24px 56px rgba(0,0,0,0.06);
}

/* ─── Sticky header ─── */
.header-sticky {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.header-top .nav-link { color: rgba(255,255,255,0.9); }
.header-top .nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.header-top .logo-dark { color: #fff; }
.header-top .logo-brand { color: #FCA5A5; }
.header-top .logo-sub { color: rgba(255,255,255,0.5); }
.header-top .dropdown-arrow { color: rgba(255,255,255,0.7); }

.header-scrolled {
    background-color: rgba(255,255,255,0.97) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    backdrop-filter: blur(12px);
}
.header-scrolled .nav-link { color: #1C1C42; }
.header-scrolled .nav-link:hover { color: #DC2626; background: #FEF2F2; }
.header-scrolled .logo-dark { color: #0D0D26; }
.header-scrolled .logo-brand { color: #DC2626; }
.header-scrolled .logo-sub { color: #767696; }
.header-scrolled .dropdown-arrow { color: #767696; }

/* Alt sayfalarda header baştan scrolled */
.header-inner .nav-link { color: #1C1C42; }
.header-inner .nav-link:hover { color: #DC2626; background: #FEF2F2; }
.header-inner .logo-dark { color: #0D0D26; }
.header-inner .logo-brand { color: #DC2626; }
.header-inner .logo-sub { color: #767696; }
.header-inner .dropdown-arrow { color: #767696; }

/* ─── Hero gradient ─── */
.hero-gradient {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(220,38,38,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(185,28,28,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(13,13,38,0.05) 0%, transparent 60%),
        linear-gradient(135deg, #0D0D26 0%, #1C1C42 40%, #252550 70%, #1A1A2E 100%);
}

/* ─── Hero slide text ─── */
.slide-text { position: absolute; top: 0; left: 0; right: 0; }
.slide-text.active { position: relative; }
.slide-text h1, .slide-text p {
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
.slide-text:not(.active) h1 { opacity: 0; transform: translateY(20px); }
.slide-text:not(.active) p { opacity: 0; transform: translateY(15px); }

.slide-dot.active {
    width: 2rem;
    background: #DC2626 !important;
    box-shadow: 0 0 10px rgba(220,38,38,0.4);
}

/* ─── Hero floating ─── */
@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-15px) translateX(5px); }
    75% { transform: translateY(10px) translateX(-5px); }
}
@keyframes floatCard1 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(4px); }
}
@keyframes floatCard2 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(8px) translateX(-6px); }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ─── Mobile menu ─── */
.mobile-menu {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.mobile-menu.hidden {
    transform: translateX(100%);
    opacity: 0;
}

/* ─── Focus visible ─── */
a:focus-visible, button:focus-visible {
    outline: 2px solid #DC2626;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ─── Accordion ─── */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.accordion-content.open {
    max-height: 500px;
}
.accordion-icon {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.accordion-icon.open {
    transform: rotate(180deg);
}

/* ─── Breadcrumb ─── */
.breadcrumb-hero {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(220,38,38,0.12) 0%, transparent 60%),
        linear-gradient(135deg, #0D0D26 0%, #1C1C42 50%, #252550 100%);
}

/* ─── Page hero section for inner pages ─── */
.page-hero {
    padding-top: 140px;
    padding-bottom: 60px;
}

/* ─── Product filter tabs ─── */
.filter-tab {
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.filter-tab.active {
    background-color: #DC2626;
    color: #fff;
}
.filter-tab:hover:not(.active) {
    background-color: #FEF2F2;
    color: #DC2626;
}

/* ─── Wizard steps ─── */
.wizard-step {
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.wizard-step.hidden {
    display: none;
}

/* ─── WordPress admin bar fix ─── */
.admin-bar .header-sticky {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .header-sticky {
        top: 46px;
    }
}
