/* ===== FOOTER STYLES - ORIGINAL DARK THEME ===== */

:root {
    /* Original footer colors */
    --footer-bg: #0b0e12;
    --footer-fg: #e9e9ee;
    --footer-muted: #a6acb6;
    --footer-border: #1c2026;
    --footer-link-hover: #ffffff;
    --footer-icon-color: #9fb3cc;
}

/* ===== MAIN FOOTER ===== */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-fg);
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233, 233, 238, 0.1), transparent);
    opacity: 0.5;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== FOOTER GRID ===== */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr;
    gap: 3rem;
   
}

/* ===== FOOTER COLUMNS ===== */
.footer-col {
    animation: fadeInUp 0.6s ease-out;
}

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

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

/* ===== FOOTER TITLES ===== */
.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--footer-icon-color);
}

/* ===== ABOUT SECTION ===== */
.footer-about {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-brand-section {
    text-align: left;
}

.footer-logo {
    height: 80px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-brand-name {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.75rem;
    line-height: 1.5;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--footer-muted);
    max-width: 300px;
}

/* ===== SOCIAL LINKS ===== */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--footer-border);
    background: #0f1318;
    color: #c9ced7;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(159, 179, 204, 0.1);
    transition: left 0.3s ease;
    z-index: 0;
}

.social-link:hover::before {
    left: 0;
}

.social-link i {
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.social-link:hover {
    border-color: var(--footer-icon-color);
    background: #1c2430;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* ===== FOOTER LINKS ===== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--footer-fg);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    opacity: 0;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
    opacity: 1;
    padding-left: 0.5rem;
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(5px);
}

/* ===== CONTACT INFO ===== */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--footer-border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f1318;
    border: 1px solid var(--footer-border);
    color: var(--footer-icon-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: #1c2430;
    color: #ffffff;
    border-color: var(--footer-icon-color);
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 1rem;
}

.contact-text {
    color: var(--footer-muted);
    line-height: 1.6;
    font-size: 0.875rem;
}

.contact-text strong {
    color: var(--footer-fg);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-text a {
    color: var(--footer-fg);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}

/* ===== MAP ===== */
.footer-map {
    border: 1px solid var(--footer-border);
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.footer-map:hover {
    border-color: var(--footer-icon-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    display: block;
}

/* ===== NEWSLETTER SECTION ===== */
.footer-newsletter {
    background: #0f1318;
    border: 1px solid var(--footer-border);
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.newsletter-text h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.newsletter-text p {
    color: var(--footer-muted);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: var(--footer-bg);
    border: 1px solid var(--footer-border);
    color: var(--footer-fg);
    font-size: 0.875rem;
    outline: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--footer-icon-color);
    background: #0f1318;
}

.newsletter-form input::placeholder {
    color: var(--footer-muted);
}

.newsletter-form button {
    padding: 0.875rem 1.5rem;
    background: var(--footer-icon-color);
    color: #0b0e12;
    border: 1px solid var(--footer-icon-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding: 1.5rem 0;
    background: var(--footer-bg);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-copyright p {
    margin: 0;
    color: #b7bcc6;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    color: #b7bcc6;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-bottom-links .separator {
    color: var(--footer-border);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand-section {
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }

    .newsletter-form button {
        white-space: nowrap;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding-top: 2rem;
    }

    .footer-brand-name {
        font-size: 1.25rem;
    }

    .footer-tagline {
        font-size: 0.65rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        justify-content: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.footer-links li {
    animation: slideInRight 0.5s ease-out;
    animation-fill-mode: both;
}

.footer-links li:nth-child(1) { animation-delay: 0.1s; }
.footer-links li:nth-child(2) { animation-delay: 0.15s; }
.footer-links li:nth-child(3) { animation-delay: 0.2s; }
.footer-links li:nth-child(4) { animation-delay: 0.25s; }
.footer-links li:nth-child(5) { animation-delay: 0.3s; }
.footer-links li:nth-child(6) { animation-delay: 0.35s; }
.footer-links li:nth-child(7) { animation-delay: 0.4s; }

/* ===== SCROLL TO TOP INTEGRATION ===== */
.footer-scroll-top {
    position: absolute;
    top: -25px;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--footer-icon-color);
    color: var(--footer-bg);
    border: 1px solid var(--footer-icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.footer-scroll-top:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
