/* ERIO Footer Styles - custom-footer.css */
/* Green Color Scheme */

.erio-footer {
    width: 100%;
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    color: white;
    padding: 50px 0 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    border-top: 4px solid #388e3c;
}

.footer-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Main Footer Content */
.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 280px;
}

/* Publisher Info */
.publisher-info h3 {
    font-weight: 600;
    color: #e8f5e9;
    margin-bottom: 25px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    padding-bottom: 10px;
}

.publisher-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #81c784;
    border-radius: 2px;
}

.erio-logo-container {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    animation: subtlePulse 4s ease-in-out infinite;
}

.erio-logo {
    width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.erio-logo:hover {
    transform: scale(1.05);
}

.org-name {
    font-weight: 500;
    color: #c8e6c9;
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.6;
    padding-left: 5px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item .icon {
    width: 18px;
    height: 18px;
    color: #a5d6a7;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item span {
    font-size: 14px;
    line-height: 1.6;
    color: #e8f5e9;
}

.contact-item a {
    font-size: 14px;
    color: #a5d6a7;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.contact-item a:hover {
    color: #e8f5e9;
    text-decoration: underline;
    padding-left: 5px;
}

/* Middle Logos Row */
.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
}

.logo-item {
    display: inline-block;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.logo-link {
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo,
.issn-badge,
.isbn-badge,
.google-scholar-logo,
.crossref-logo,
.doi-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    /*border-radius: 12px;*/
    background: transparent; /* remove box background */
    padding: 0;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);*/
    /*border: 1px solid rgba(255, 255, 255, 0.1);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-link:hover .partner-logo,
.logo-link:hover .issn-badge,
.logo-link:hover .isbn-badge,
.logo-link:hover .google-scholar-logo,
.logo-link:hover .crossref-logo,
.logo-link:hover .doi-logo {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Connect Section */
.connect-info {
    text-align: right;
}

.connect-info h3 {
    font-weight: 600;
    color: #e8f5e9;
    margin-bottom: 25px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    padding-bottom: 10px;
}

.connect-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: #81c784;
    border-radius: 2px;
}

.social-icons {
    display: flex;
    gap: 18px;
    justify-content: flex-end;
    margin-bottom: 35px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shine 3s infinite linear;
    opacity: 0;
    transition: opacity 0.3s;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
    position: relative;
    z-index: 1;
}

.social-icon.facebook { background: linear-gradient(135deg, #3b5998 0%, #4c6cb4 100%); }
.social-icon.messenger { background: linear-gradient(135deg, #0084ff 0%, #00c6ff 100%); }
.social-icon.linkedin { background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%); }

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* Quick Links */
.quick-links {
    margin-top: 20px;
}

.quick-links h4 {
    font-weight: 500;
    color: #c8e6c9;
    margin-bottom: 18px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-list a {
    color: #e8f5e9;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid transparent;
}

.links-list a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #81c784;
    padding-left: 20px;
    transform: translateX(-5px);
}

/* Footer Divider */
.footer-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 40px 0 30px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: #a5d6a7;
    font-size: 13px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #a5d6a7;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #81c784;
    transition: width 0.3s;
}

.footer-links a:hover { color: #ffffff; }
.footer-links a:hover::after { width: 100%; }

/* Animations */
@keyframes subtlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-container { padding: 0 30px; }
    .logos-grid { gap: 25px; padding: 25px 0; }
    .partner-logo,
    .issn-badge,
    .isbn-badge,
    .google-scholar-logo,
    .crossref-logo,
    .doi-logo { width: 60px; height: 60px; }
}

@media (max-width: 768px) {
    .footer-main { flex-direction: column; gap: 40px; text-align: center; }
    .publisher-info h3::after,
    .connect-info h3::after { left: 50%; transform: translateX(-50%); right: auto; }
    .erio-logo { width: 160px; }
    .contact-item { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: 8px; }
    .logos-grid { gap: 20px; padding: 20px 0; }
    .partner-logo,
    .issn-badge,
    .isbn-badge,
    .google-scholar-logo,
    .crossref-logo,
    .doi-logo { width: 55px; height: 55px; }
    .connect-info { text-align: center; }
    .social-icons { justify-content: center; }
    .links-list a { text-align: center; border-left: none; border-bottom: 2px solid transparent; }
    .links-list a:hover { border-left: none; border-bottom: 2px solid #81c784; padding-left: 15px; transform: translateY(-3px); }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
    .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
    .footer-container { padding: 0 15px; }
    .erio-footer { padding: 30px 0 20px; }
    .logos-grid { gap: 15px; padding: 15px 0; }
    .partner-logo,
    .issn-badge,
    .isbn-badge,
    .google-scholar-logo,
    .crossref-logo,
    .doi-logo { width: 50px; height: 50px; }
    .footer-links { gap: 15px; flex-direction: column; align-items: center; }
    .links-list a { padding: 6px 10px; }
}
