/**
 * ================================================
 * FOOTER COMPONENT
 * ================================================
 * Site footer - Her sayfada kullanılır
 * Premium Newsletter, Social Links, Footer Links
 */

/* ===== FOOTER BASE ===== */
.footer {
    padding: 4rem 0 2rem;
    background-color: #2B542C;
    margin-top: 0 !important;
    color: rgba(255, 255, 255, 0.82);
    box-shadow: none;
    border: none !important;
}

html.dark .footer {
    background-color: #000000;
}

/* ===== FOOTER GRID LAYOUT ===== */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1.5fr 1fr 1fr;
    }
}

/* ===== FOOTER LOGO & BRAND ===== */
.footer-brand,
.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.brand-motto-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 10px;
}

.footer-logo img {
    height: 38px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Footer Logo Theme Switching */
.footer .footer-logo-light {
    display: none !important;
}

.footer .footer-logo-dark {
    display: block !important;
}

html.dark .footer .footer-logo-dark {
    display: block !important;
}

html.dark .footer .footer-logo-light {
    display: none !important;
}

.footer-logo .fad {
    font-size: 1.25rem;
}

/* ===== FOOTER MOTTO BOX ===== */
.footer-motto-box {
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 5px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

/* ===== SOCIAL LINKS ===== */
.footer-social-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
}

.footer-social-link {
    color: #fff !important;
    font-size: 1.5rem;
    opacity: 0.9;
    transition: 0.2s;
}

.footer-social-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* ===== FOOTER ABOUT ===== */
.footer-col-about {
    /* Grid item */
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== FOOTER TITLES ===== */
.footer-title {
    font-size: 1.1rem !important;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 15px;
}

.footer-col-newsletter .footer-title {
    margin-bottom: 10px;
}

/* ===== FOOTER LINKS ===== */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    font-size: 0.9rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.05rem;
    font-weight: 700;
    transition: none !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--color-primary-light);
}

/* Footer Link Icons (Light Mode - Green Background) */
.footer-link .fad,
.newsletter-form .btn i,
.newsletter-form .btn .fad {
    font-size: 1.15rem;
    color: #ffffff !important;
    --fa-primary-color: #ffffff !important;
    --fa-secondary-color: rgba(255, 255, 255, 0.4) !important;
}

html.dark .footer-link .fad,
html.dark .newsletter-form .btn i,
html.dark .newsletter-form .btn .fad {
    --fa-secondary-color: #666666 !important;
}

/* ===== NEWSLETTER FORM (PREMIUM DESIGN) ===== */
.footer-col-newsletter {
    /* Grid item */
}

.newsletter-form-premium {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.newsletter-form-premium .input-group {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-form-premium .input-group:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.newsletter-form-premium input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    padding: 10px 15px;
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none !important;
    box-shadow: none !important;
}

.newsletter-form-premium input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.newsletter-form-premium .submit-btn {
    background: #ffffff !important;
    color: #2B542C !important;
    border: none !important;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.newsletter-form-premium .submit-btn:hover {
    transform: scale(1.05);
    background: #f8f8f8 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.newsletter-form-premium .submit-btn i {
    font-size: 1.1rem;
    color: #2B542C !important;
}

/* Dark mode newsletter */
html.dark .newsletter-form-premium .submit-btn {
    background: var(--color-primary) !important;
    color: #ffffff !important;
}

html.dark .newsletter-form-premium .submit-btn i {
    color: #ffffff !important;
}

html.dark .newsletter-form-premium .input-group {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER BOTTOM BAR ===== */
.footer-bottom,
.footer-bottom-bar {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-bottom-right {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.footer-bottom-right a {
    color: inherit;
    opacity: 0.8;
}

.footer-bottom-right a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-right {
        justify-content: center;
    }
}

.newsletter-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.rss-icon {
    color: orange !important;
}

.honeypot-field {
    display: none !important;
}

/* END OF FOOTER COMPONENT */