/* =========================================
   FOOTER STYLES - GÜBRE SİTESİ YEŞİL TEMA
   ========================================= */

/* Footer - Unified Styles for All Pages */
.footer {
    background: #f8fafc;
    background-image: radial-gradient(circle at 10% 20%, rgba(220, 252, 231, 0.4) 0%, transparent 40%);
    color: #000000;
    padding: 40px 0 20px;
    padding-bottom: calc(25px + env(safe-area-inset-bottom));
    margin-top: 10px;
    border-top: 1px solid #7BC143;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.5px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #7BC143;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    color: #000000;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    background: #ffffff;
    border-color: #5a9c3e;
    box-shadow: 0 0 0 3px rgba(123, 193, 67, 0.2);
}

.newsletter-form input::placeholder {
    color: #000000;
}

.newsletter-form button {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #7BC143;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: #5a9c3e;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #000000;
    background: rgba(93, 0, 30, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 14px;
}

.social-links a:hover {
    background: var(--color-primary);
    color: var(--color-bg-light);
    transform: translateY(-3px);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    margin-left: -8px;
    border-radius: 4px;
}

.footer-column ul li a i {
    color: inherit;
    /* Ensure they take the green color of the parent link */
}

.footer-column ul li a::before {
    content: '';
    display: none;
}

.footer-column ul li a:hover {
    color: var(--color-bg-light);
    background: var(--color-primary);
    transform: translateX(5px);
}

.footer-column p {
    color: #000000;
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    padding-top: 10px;
    border-top: 1px solid rgba(93, 0, 30, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 13px;
    color: #000000;
}

.footer-bottom p span,
.footer-bottom p a {
    color: #000000 !important;
}



.footer-payment-img {
    max-height: 30px;
    /* Shrunken as requested */
    width: auto;
    object-fit: contain;
    opacity: 0.8;
}

.payment-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.payment-icons img {
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s;
    filter: none;
}

.payment-icons img:hover {
    opacity: 1;
}

/* =========================================
   NEW NEWSLETTER ROW STYLES
   ========================================= */
.footer-newsletter-row {
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(93, 0, 30, 0.1);
    text-align: center;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-content p {
    font-size: 14px;
    color: #000000;
    margin-bottom: 25px;
}

.newsletter-content .newsletter-form {
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
    display: flex;
}

.newsletter-content .newsletter-form input {
    border-radius: 0;
    /* Square edges as per typical elegant design */
    border-right: none;
}

.newsletter-content .newsletter-form button {
    width: auto;
    padding: 0 40px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--color-primary);
    /* As per screenshot Black button */
    color: #fff;
    border-radius: 0;
    font-size: 14px;
}

.newsletter-content .newsletter-form button:hover {
    background: var(--color-primary);
    transform: none;
}

.newsletter-content .social-links {
    justify-content: center;
    margin-top: 10px;
}

/* =========================================
   RESPONSIVE FOOTER
   ========================================= */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Blog Titles Truncation & Alignment Fix */
.footer-blog-list li a {
    display: flex !important;
    align-items: flex-start !important;
    text-decoration: none;
    line-height: 1.4 !important;
    padding-left: 0 !important;
    max-height: none !important;
    white-space: normal !important;
}

.footer-blog-list li a span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    font-size: 14px;
}

/* Adjust icon inside link */
.footer-blog-list li a i {
    float: none !important;
    margin-top: 4px !important;
    /* Optical alignment with first line */
    margin-right: 6px !important;
    /* Ensure spacing */
    flex-shrink: 0;
    color: inherit;
}

.footer-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-info-item,
.footer-phone-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #000000;
    text-decoration: none;
    line-height: 1.4;
}

.footer-phone-link {
    align-items: center;
}

.footer-info-item i,
.footer-phone-link i {
    margin-top: 4px;
    width: 20px;
    text-align: center;
    color: #000000;
    flex-shrink: 0;
}

.footer-phone-link i {
    margin-top: 0;
}

.footer-info-item span,
.footer-info-item a {
    font-size: 14px;
    color: #000000;
}