/* ===================================
   Footer Styles — footer/footer.css
   =================================== */

:root {
    --ft-black: #111111;
    --ft-white: #ffffff;
    --ft-bg: #f0ede8;
    --ft-gold: #F0C571;
    --ft-gold-2: #E8B835;
    --ft-gold-dark: #D4A020;
    --ft-border: rgba(0, 0, 0, 0.1);
    --ft-text-muted: rgba(0, 0, 0, 0.45);
    --ft-text-secondary: rgba(0, 0, 0, 0.65);
}

/* -------- Ana footer -------- */
.footer {
    background-color: var(--ft-bg);
    padding: 0;
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--ft-black);
}

/* Sol kenar gold şerit — header accent-block ile aynı dil */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--ft-gold);
    z-index: 2;
}

/* Sağ kenar siyah şerit — header-right-bar ile aynı dil */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    background: var(--ft-black);
    z-index: 2;
}

/* -------- Üst gold banner şeridi -------- */
.footer-top-line {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            var(--ft-gold) 0%,
            var(--ft-gold-2) 50%,
            var(--ft-gold-dark) 100%);
    position: relative;
}

/* -------- İçerik alanı -------- */
.footer-inner {
    padding-left: 20px;
    padding-right: 20px;
}

/* -------- Üst grid -------- */
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--ft-border);
    position: relative;
}

.footer-top>* {
    padding: 48px 40px;
    border-right: 1px solid var(--ft-border);
}

.footer-top>*:last-child {
    border-right: none;
}

/* -------- Marka sütunu -------- */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* -------- Logo -------- */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 0.75;
}

.footer-logo-mark {
    width: 42px;
    height: 42px;
    background: var(--ft-black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo-mark svg {
    width: 20px;
    height: 20px;
    color: var(--ft-gold);
    stroke: var(--ft-gold);
    fill: none;
    stroke-width: 1.5;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-logo-name {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ft-black);
    line-height: 1;
}

.footer-logo-sub {
    font-size: 0.5rem;
    font-weight: 400;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--ft-text-muted);
    line-height: 1;
}

/* -------- Marka açıklaması -------- */
.footer-brand-desc {
    font-size: 0.82rem;
    color: var(--ft-text-secondary);
    line-height: 1.75;
    max-width: 280px;
    margin-bottom: 28px;
}

/* -------- İletişim linkleri -------- */
.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ft-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-item:hover {
    color: var(--ft-black);
}

.footer-contact-wa {
    color: #1a7a3f;
}

.footer-contact-wa:hover {
    color: #25D366;
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    background: var(--ft-black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    background: #222;
}

.footer-contact-wa .footer-contact-icon {
    background: #1a7a3f;
}

.footer-contact-wa:hover .footer-contact-icon {
    background: #25D366;
}

.footer-contact-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--ft-gold);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-contact-wa .footer-contact-icon svg {
    stroke: #ffffff;
    fill: none;
}

.footer-contact-wa .footer-contact-icon svg[fill="currentColor"] {
    fill: #ffffff;
    stroke: none;
}

/* -------- Sütun başlıkları -------- */
.footer-col-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--ft-black);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--ft-black);
}

.footer-col-title--spaced {
    margin-top: 32px;
}

.footer-col-title-line {
    display: block;
    width: 12px;
    height: 2px;
    background: var(--ft-gold-dark);
    flex-shrink: 0;
}

/* -------- Footer nav linkleri -------- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-links li {
    border-bottom: 1px solid var(--ft-border);
}

.footer-links li:last-child {
    border-bottom: none;
}

.footer-links li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ft-text-secondary);
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
    letter-spacing: 0.3px;
}

.footer-links li a::after {
    content: '→';
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.footer-links li a:hover {
    color: var(--ft-black);
    padding-left: 6px;
}

.footer-links li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* -------- Sosyal ikonlar -------- */
.footer-socials {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    background: var(--ft-black);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ft-gold);
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.footer-social-link:hover {
    background: var(--ft-gold);
    color: var(--ft-black);
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* -------- Alt bar -------- */
.footer-bottom {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--ft-text-muted);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    padding: 0 32px 0 0;
}

.footer-bottom-badge {
    display: flex;
    align-items: center;

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ft-black);
    padding: 0 42px;
    border-left: 1px solid var(--ft-border);
    border-right: 1px solid var(--ft-border);
}


@keyframes footer-dot-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 5px rgba(37, 211, 102, 0);
    }
}

/* -------- WhatsApp butonu — soldan sağa gold kayma -------- */
.footer-wa-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ft-white);
    text-decoration: none;
    background: var(--ft-black);
    overflow: hidden;
    padding: 18px 28px;
    transition: color 0.4s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-wa-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            var(--ft-gold) 0%,
            var(--ft-gold-2) 50%,
            var(--ft-gold-dark) 100%);
    transform: translateX(-100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.footer-wa-btn:hover::before {
    transform: translateX(0%);
}

.footer-wa-btn:hover {
    color: var(--ft-black);
}

.footer-wa-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.footer-wa-btn span {
    position: relative;
    z-index: 1;
}

.footer-wa-btn:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

/* ===================================
   Process Badge Widget
   =================================== */
.process-badge {
    position: fixed;
    bottom: 80px;
    right: 28px;
    z-index: 999;
}

.process-badge-icon {
    width: 56px;
    height: 56px;
    background: var(--ft-black);
    border: 2px solid var(--ft-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.process-badge-icon:hover,
.process-badge.active .process-badge-icon {
    background: var(--ft-gold);
    transform: scale(1.06);
}

.process-badge-icon svg {
    width: 18px;
    height: 18px;
    color: var(--ft-gold);
    stroke: var(--ft-gold);
    fill: none;
    stroke-width: 2;
    transition: color 0.25s ease, stroke 0.25s ease;
}

.process-badge-icon:hover svg,
.process-badge.active .process-badge-icon svg {
    color: var(--ft-black);
    stroke: var(--ft-black);
}

.process-badge-label {
    font-size: 0.52rem;
    font-weight: 800;
    color: var(--ft-gold);
    letter-spacing: 0.5px;
    line-height: 1;
    transition: color 0.25s ease;
}

.process-badge-icon:hover .process-badge-label,
.process-badge.active .process-badge-icon .process-badge-label {
    color: var(--ft-black);
}

.process-badge-panel {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    background: var(--ft-white);
    border: 2px solid var(--ft-black);
    padding: 20px 22px;
    min-width: 240px;
    box-shadow: 5px 5px 0 0 var(--ft-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.process-badge:hover .process-badge-panel,
.process-badge.active .process-badge-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.process-badge-title {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--ft-black);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ft-black);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.step-num {
    width: 22px;
    height: 22px;
    background: var(--ft-gold);
    color: var(--ft-black);
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.step-text {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ft-black);
    line-height: 1.4;
}

.step-text em {
    font-style: normal;
    color: var(--ft-text-muted);
    font-size: 0.75rem;
}

/* ===================================
   Lightbox Modal
   =================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--ft-black);
    border: 2px solid var(--ft-gold);
    color: var(--ft-gold);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: inherit;
}

.lightbox-close:hover {
    background: var(--ft-gold);
    color: var(--ft-black);
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 960px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
        border-right: none !important;
        border-bottom: 1px solid var(--ft-border);
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-top>* {
        padding: 32px 24px;
        border-right: none !important;
        border-bottom: 1px solid var(--ft-border);
    }

    .footer-top>*:last-child {
        border-bottom: none;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-copy {
        padding: 16px 24px;
        border-bottom: 1px solid var(--ft-border);
    }

    .footer-bottom-badge {
        padding: 16px 24px;
        border-left: none;
        border-right: none;
        border-top: none;
        border-bottom: 1px solid var(--ft-border);
    }

    .footer-wa-btn {
        justify-content: center;
        padding: 18px 24px;
    }

    .process-badge {
        bottom: 20px;
        right: 16px;
    }

    .process-badge-icon {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .footer-top>* {
        padding: 28px 20px;
    }

    .footer-brand-desc {
        max-width: 100%;
    }
}