/**
 * @file footer.css
 * @description Modern footer styling with green theme, responsive design and smooth animations
 * @author Erdinç Taze
 * @copyright 
 */

/* ========== FOOTER RENK PALETİ ========== */
:root {
    --footer-primary-green: #28a745;
    --footer-primary-green-dark: #218838;
    --footer-primary-green-light: #34ce57;
    --footer-accent-green: #20c997;
    --footer-accent-green-dark: #1ba085;
    --footer-light-green: #d4edda;
    --footer-very-light-green: #f8fffe;
    --footer-success-green: #155724;
    --footer-gradient-green: linear-gradient(135deg, #28a745, #20c997);
    --footer-gradient-green-light: linear-gradient(135deg, #f8fffe, #e9f7ef);
    --footer-gradient-light: linear-gradient(135deg, #ffffff, #f8f9fa);
    --footer-text-light: #ffffff;
    --footer-text-dark: #2c3e50;
    --footer-text-muted: #6c757d;
    --footer-text-secondary: #495057;
    --footer-bg-light: #ffffff;
    --footer-bg-lighter: #f8f9fa;
    --footer-bg-section: #f1f8f4;
    --footer-border-light: rgba(40, 167, 69, 0.1);
    --footer-shadow-light: 0 -2px 20px rgba(0, 0, 0, 0.05);
    --footer-shadow-medium: 0 4px 25px rgba(0, 0, 0, 0.08);
}

/* ========== ANA FOOTER CONTAINER ========== */
.modern-footer {
    background: var(--footer-bg-light);
    color: var(--footer-text-dark);
    position: relative;
    overflow: hidden;
    z-index: 10;
    box-shadow: var(--footer-shadow-light);
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(40, 167, 69, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(32, 201, 151, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* ========== NEWSLETTER BÖLÜMÜ ========== */
.newsletter-section {
    background: var(--footer-gradient-green) !important;
    padding: 50px 0;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 3;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--footer-text-light);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.newsletter-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.newsletter-text h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--footer-text-light);
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.newsletter-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

.newsletter-form {
    position: relative;
    z-index: 3;
}

.newsletter-subscription .form-group {
    display: flex;
    position: relative;
    margin: 0;
}

.newsletter-form .newsletter-input {
    width: 100% !important;
    flex: 1;
    padding: 15px 20px !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 30px 0 0 30px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--footer-text-light);
    font-size: 14px !important;
    font-weight: 500;
    height: inherit;
    min-height: inherit;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    outline: none;
}

.newsletter-form .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-group input:focus {
    border: 2px solid #e5e7eb !important;
    box-shadow: none !important;
}

.newsletter-btn {
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--footer-primary-green);
    border: 2px solid transparent;
    border-radius: 0 30px 30px 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.newsletter-btn:hover {
    background: var(--footer-text-light);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.newsletter-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.newsletter-btn:hover i {
    transform: translateX(3px) rotate(10deg);
}

/* ========== ANA FOOTER İÇERİK ========== */
.footer-main {
    padding: 70px 0 50px;
    position: relative;
    z-index: 2;
    background: var(--footer-bg-lighter);
}

.footer-widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--footer-text-dark);
    margin-bottom: 30px;
    position: relative;
    letter-spacing: -0.3px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--footer-gradient-green);
    border-radius: 2px;
}

/* ========== ŞİRKET BİLGİLERİ ========== */
.company-info .footer-logo {
    margin-bottom: 25px;
}

.logo-img {
    max-width: 180px;
    height: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.logo-img:hover {
    transform: scale(1.02);
    filter: brightness(1.2);
}

.company-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--footer-text-secondary);
    margin-bottom: 35px;
    font-weight: 400;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: var(--footer-bg-light);
    border-radius: 16px;
    border: 1px solid var(--footer-border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-item:hover {
    background: var(--footer-bg-light);
    border-color: var(--footer-accent-green);
    transform: translateY(-2px);
    box-shadow: var(--footer-shadow-medium);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--footer-gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--footer-text-light);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    color: var(--footer-accent-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-text a,
.contact-text span {
    font-size: 15px;
    color: var(--footer-text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--footer-accent-green);
}

/* ========== MENÜ LİNKLERİ ========== */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu li a {
    display: block;
    padding: 16px;
    color: var(--footer-text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: var(--footer-bg-light);
    border: 1px solid transparent;
}

.footer-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--footer-gradient-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 2px 2px 0;
}

.footer-menu li a:hover {
    background: var(--footer-bg-light);
    color: var(--footer-text-dark);
    transform: translateX(5px);
    text-decoration: none;
    border-color: var(--footer-border-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.footer-menu li a:hover::before {
    transform: scaleY(1);
}

/* ========== SOSYAL MEDYA VE İSTATİSTİKLER ========== */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    transition: transform 0.3s ease;
    transform: scaleY(0);
}

.social-link:hover {
    transform: translateX(8px);
    text-decoration: none;
}

.social-link:hover::before {
    transform: scaleY(1);
}

.social-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Social Link Colors */
.social-link.facebook {
    color: #8bb6f7;
}
.social-link.facebook:hover {
    background: rgba(59, 89, 152, 0.1);
    color: #3b5998;
}
.social-link.facebook::before {
    background: #3b5998;
}

.social-link.twitter {
    color: #85c1f5;
}
.social-link.twitter:hover {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}
.social-link.twitter::before {
    background: #1da1f2;
}

.social-link.instagram {
    color: #f093fb;
}
.social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
}
.social-link.instagram::before {
    background: linear-gradient(45deg, #f093fb, #f5576c, #4ec5d4);
}

.social-link.youtube {
    color: #ff9a9e;
}
.social-link.youtube:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}
.social-link.youtube::before {
    background: #ff0000;
}

.social-link.linkedin {
    color: #74c0fc;
}
.social-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
}
.social-link.linkedin::before {
    background: #0077b5;
}

/* Footer Extras - Mobile Apps */
.footer-extras {
    margin-top: 25px;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--footer-text-dark);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Apps */
.mobile-apps {
    margin-bottom: 20px;
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-link {
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
}

.app-link:hover {
    transform: translateY(-2px) scale(1.02);
}

.app-badge {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    object-fit: contain;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.app-badge:hover {
    /* box-shadow removed for cleaner appearance */
}

/* ========== YASAL BÖLÜM ========== */
.footer-legal {
    background: var(--footer-bg-section);
    padding: 45px 0;
    border-top: 1px solid var(--footer-border-light);
    position: relative;
    z-index: 2;
}

.iskur-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.iskur-logo:hover {
    transform: scale(1.02);
}

.iskur-img {
    width: 50px;
    height: auto;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.iskur-logo:hover .iskur-img {
    filter: brightness(1.3);
    transform: scale(1.05);
}

.iskur-text {
    font-size: 12px;
    color: var(--footer-accent-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-text p {
    font-size: 13px;
    color: var(--footer-text-muted);
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid var(--footer-border-light);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--footer-accent-green);
    transform: scale(1.02);
}

.trust-badge i {
    font-size: 16px;
    color: var(--footer-accent-green);
}

.trust-badge span {
    font-size: 11px;
    color: var(--footer-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ========== FOOTER ALT ========== */
.footer-bottom {
    background: var(--footer-bg-light);
    padding: 30px 0;
    border-top: 1px solid var(--footer-border-light);
    position: relative;
    z-index: 2;
}

.copyright-text p {
    font-size: 15px;
    color: var(--footer-text-secondary);
    margin: 0;
    font-weight: 500;
}

.copyright-text strong {
    color: var(--footer-accent-green);
    font-weight: 700;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}

.footer-link {
    font-size: 14px;
    color: var(--footer-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--footer-accent-green);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--footer-text-dark);
    text-decoration: none;
}

.footer-link:hover::after {
    width: 100%;
}

/* ========== YUKARIYA ÇIK BUTONU ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--footer-gradient-green);
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.back-to-top-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--footer-text-light);
    transition: all 0.3s ease;
}

.back-to-top:hover .back-to-top-inner {
    transform: translateY(-2px);
}

.back-to-top-inner i {
    font-size: 20px;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.back-to-top:hover .back-to-top-inner i {
    transform: translateY(-2px);
}

.back-to-top-text {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* ========== RESPONSİVE TASARIM ========== */
@media (max-width: 1200px) {
    .app-links {
        flex-direction: row;
        gap: 10px;
    }
    
    .app-badge {
        max-width: 130px;
    }
}

@media (max-width: 992px) {
    .newsletter-section {
        padding: 30px 0;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .newsletter-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .newsletter-text h4 {
        font-size: 20px;
    }
    
    .newsletter-text p {
        font-size: 14px;
    }
    
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .footer-widget {
        margin-bottom: 35px;
    }
    
    .contact-info {
        gap: 15px;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 25px;
    }
    
    .social-link {
        flex: 1;
        min-width: calc(50% - 3px);
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .app-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .app-badge {
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 25px 0;
    }
    
    .newsletter-text h4 {
        font-size: 18px;
    }
    
    .newsletter-text p {
        font-size: 13px;
    }
    
    .newsletter-subscription .form-group {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-radius: 25px;
        margin-bottom: 10px;
        padding: 12px 18px;
    }
    
    .newsletter-btn {
        border-radius: 25px;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .widget-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .company-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .contact-info {
        gap: 12px;
    }
    
    .contact-item {
        padding: 10px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .contact-text a,
    .contact-text span {
        font-size: 13px;
    }
    
    .footer-menu li a {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .social-links {
        flex-direction: column;
        gap: 6px;
    }
    
    .social-link {
        min-width: auto;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .mobile-apps {
        margin-bottom: 15px;
    }
    
    .app-links {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }
    
    .app-badge {
        max-width: 110px;
    }
    
    .footer-legal {
        padding: 30px 0;
    }
    
    .legal-text p {
        font-size: 12px;
        text-align: center;
    }
    
    .trust-badges {
        flex-direction: row;
        justify-content: center;
        margin-top: 15px;
    }
    
    .trust-badge {
        padding: 6px 10px;
    }
    
    .trust-badge span {
        font-size: 10px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top-inner i {
        font-size: 18px;
    }
    
    .back-to-top-text {
        font-size: 8px;
    }
}

@media (max-width: 576px) {
    .newsletter-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .newsletter-text h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .newsletter-text p {
        font-size: 12px;
    }
    
    .newsletter-input {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .newsletter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .footer-main {
        padding: 40px 0 25px;
    }
    
    .widget-title {
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .widget-title i {
        font-size: 16px;
    }
    
    .company-description {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .footer-menu li a {
        padding: 8px 10px;
        font-size: 12px;
        gap: 10px;
    }
    
    .footer-menu li a i {
        font-size: 12px;
        width: 16px;
    }
    
    .social-link {
        padding: 6px 10px;
        font-size: 11px;
        gap: 8px;
    }
    
    .social-link i {
        font-size: 14px;
        width: 16px;
    }
    
    .footer-legal {
        padding: 25px 0;
    }
    
    .iskur-logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .legal-text p {
        font-size: 11px;
    }
    
    .footer-bottom {
        padding: 18px 0;
    }
    
    .copyright-text p {
        font-size: 12px;
        text-align: center;
    }
    
    .footer-bottom-links {
        gap: 12px;
        margin-top: 12px;
    }
    
    .footer-link {
        font-size: 11px;
    }
}

/* ========== ANİMASYONLAR ========== */
@keyframes footerFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes footerSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes footerPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes footerGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(40, 167, 69, 0.6);
    }
}

.footer-widget {
    animation: footerFadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.footer-widget:nth-child(1) { animation-delay: 0.1s; }
.footer-widget:nth-child(2) { animation-delay: 0.2s; }
.footer-widget:nth-child(3) { animation-delay: 0.3s; }
.footer-widget:nth-child(4) { animation-delay: 0.4s; }
.footer-widget:nth-child(5) { animation-delay: 0.5s; }

/* ========== ACCESSİBİLİTY ========== */
.footer-menu li a:focus,
.social-link:focus,
.newsletter-btn:focus,
.footer-link:focus,
.back-to-top:focus {
    outline: 2px solid var(--footer-accent-green);
    outline-offset: 2px;
}

/* ========== PRİNT STİLLERİ ========== */
@media print {
    .modern-footer {
        background: white !important;
        color: black !important;
    }
    
    .newsletter-section,
    .back-to-top {
        display: none !important;
    }
    
    .footer-main {
        padding: 20px 0 !important;
    }
    
    .footer-menu li a,
    .social-link {
        color: black !important;
    }
}

/* ========== NEWSLETTER VALİDASYON STİLLERİ ========== */

/* Newsletter Input Validation Styles */
.newsletter-input.valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.newsletter-input.invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.newsletter-input.input-error {
    animation: inputErrorShake 0.5s ease-in-out;
}

.validation-message {
    position: absolute;
    bottom: -25px;
    left: 0;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    max-width: 100%;
    z-index: 1000;
    animation: fadeInUp 0.3s ease-out;
}

.validation-error {
    background-color: #dc3545;
    color: white;
}

.validation-success {
    background-color: #28a745;
    color: white;
}

/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification.toast-success {
    border-left: 4px solid #28a745;
}

.toast-notification.toast-error {
    border-left: 4px solid #dc3545;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Confetti Styles */
.confetti-piece {
    position: fixed;
    width: 10px;
    height: 10px;
    animation: confettiFall 3s linear infinite;
    z-index: 10000;
}

/* Glow ve Animasyon Efektleri */
.glow-effect {
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.6) !important;
    transition: box-shadow 0.3s ease !important;
}

.pulse-animation {
    animation: footerPulse 1.5s ease-in-out infinite !important;
}

.click-glow {
    box-shadow: 0 0 30px rgba(40, 167, 69, 0.8) !important;
    transform: scale(1.02) !important;
}

.shake-animation {
    animation: shakeFooter 0.5s ease-in-out !important;
}

.touch-active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
}

/* ========== VALİDASYON ANİMASYONLARI ========== */

@keyframes inputErrorShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes confettiFall {
    0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ========== DARK MODE DESTEĞİ ========== */
@media (prefers-color-scheme: dark) {
    .modern-footer {
        background: var(--footer-bg-darker);
    }
    
    .newsletter-section {
        background: var(--footer-gradient-green);
    }
    
    .footer-legal,
    .footer-bottom {
        background: #0d1117;
    }
}

