/* Logisko Footer Styles */
.logisko-footer {
    background: var(--logisko-blue);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Footer Top */
.footer-top {
    padding: 80px 0 60px;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

/* Footer Widget */
.footer-widget h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 25px 0;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--logisko-red);
}

/* Footer About */
.footer-about-logo {
    margin-bottom: 20px;
}

.footer-about-logo img {
    max-height: 50px;
}

.footer-about-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--logisko-red);
    transform: translateY(-3px);
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--logisko-red);
    padding-left: 5px;
}

.footer-menu a i {
    font-size: 10px;
    color: var(--logisko-red);
}

.footer-menu a svg {
    width: 10px;
    height: 10px;
    fill: var(--logisko-red);
    flex-shrink: 0;
}

/* Footer Contact */
.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon i {
    color: var(--logisko-red);
    font-size: 18px;
}

.footer-contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--logisko-red);
}

.footer-contact-content h4 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 5px 0;
    font-weight: 600;
}

.footer-contact-content p,
.footer-contact-content a {
    font-size: 14px;
    color: #fff;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-content a:hover {
    color: var(--logisko-red);
}

/* Newsletter */
.footer-newsletter-form {
    display: flex;
    margin-top: 20px;
}

.footer-newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px 0 0 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--logisko-red);
}

.footer-newsletter-btn {
    background: var(--logisko-red);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-newsletter-btn:hover {
    background: #c00f16;
}

/* Footer City Illustration - Animated */
.footer-city-illustration {
    position: relative;
    height: 120px;
    background: linear-gradient(to bottom, rgba(4, 34, 62, 1) 0%, rgba(2, 20, 40, 1) 100%);
    overflow: hidden;
    border-top: 3px solid rgba(223, 17, 25, 0.3);
}

/* City Scene Container */
.city-scene {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 5%;
}

/* Buildings */
.city-building {
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 4px 4px 0 0;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.building-1 {
    width: 70px;
    height: 80px;
}

.building-2 {
    width: 90px;
    height: 100px;
    background: linear-gradient(135deg, rgba(223, 17, 25, 0.6) 0%, rgba(180, 10, 20, 0.6) 100%);
}

.building-2::before {
    content: 'ESENYURT';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.building-3 {
    width: 80px;
    height: 75px;
}

.building-4 {
    width: 85px;
    height: 90px;
    background: rgba(100, 180, 220, 0.15);
}

.building-5 {
    width: 75px;
    height: 85px;
}

/* Building Windows */
.building-windows {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.window {
    background: rgba(255, 200, 100, 0.4);
    border-radius: 2px;
    animation: windowBlink 3s infinite;
}

.window:nth-child(2n) {
    animation-delay: 0.5s;
}

.window:nth-child(3n) {
    animation-delay: 1s;
}

@keyframes windowBlink {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

/* Trees */
.city-tree {
    position: relative;
    width: 50px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.tree-leaves {
    width: 45px;
    height: 45px;
    background: radial-gradient(circle, rgba(80, 160, 80, 0.9) 0%, rgba(60, 120, 60, 0.8) 100%);
    border-radius: 50%;
    position: relative;
    margin-bottom: -10px;
    z-index: 2;
}

.tree-trunk {
    width: 10px;
    height: 25px;
    background: linear-gradient(to bottom, rgba(100, 60, 40, 0.9) 0%, rgba(80, 50, 30, 0.9) 100%);
    border-radius: 2px;
}

/* Street Lamps */
.street-lamp {
    position: relative;
    width: 8px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lamp-post {
    width: 4px;
    height: 60px;
    background: rgba(100, 100, 100, 0.6);
    border-radius: 2px;
}

.lamp-light {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 220, 100, 0.8) 0%, rgba(255, 200, 80, 0.3) 70%, transparent 100%);
    border-radius: 50%;
    position: relative;
    top: -5px;
    animation: lampGlow 2s infinite;
}

@keyframes lampGlow {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Bench */
.city-bench {
    width: 40px;
    height: 25px;
    position: relative;
}

.bench-seat {
    width: 40px;
    height: 8px;
    background: rgba(139, 69, 19, 0.7);
    border-radius: 2px;
    position: absolute;
    bottom: 10px;
}

.bench-back {
    width: 40px;
    height: 12px;
    background: rgba(139, 69, 19, 0.7);
    border-radius: 2px 2px 0 0;
    position: absolute;
    bottom: 18px;
}

/* Bicycle */
.city-bicycle {
    width: 35px;
    height: 25px;
    position: relative;
}

.bicycle-wheel {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(100, 100, 100, 0.7);
    border-radius: 50%;
    position: absolute;
    bottom: 0;
}

.bicycle-wheel:first-child {
    left: 0;
}

.bicycle-wheel:last-child {
    right: 0;
}

/* Moving Truck Animation */
.moving-truck {
    position: absolute;
    bottom: 0;
    left: -200px;
    width: 180px;
    height: 90px;
    background-image: url('../images/truck-1-premium.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    animation: truckDrive 20s linear infinite;
    z-index: 10;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes truckDrive {
    0% {
        left: -200px;
    }

    100% {
        left: calc(100% + 200px);
    }
}

/* Hide CSS truck parts - using PNG instead */
.truck-body,
.truck-cabin,
.truck-window,
.truck-wheel,
.truck-headlight {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-city-illustration {
        height: 100px;
    }

    .city-building {
        transform: scale(0.8);
    }

    .moving-truck {
        transform: scale(0.7);
    }

    .city-tree {
        transform: scale(0.8);
    }
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright a {
    color: var(--logisko-red);
    text-decoration: none;
}

.footer-bottom-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-menu a:hover {
    color: var(--logisko-red);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 60px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom-menu {
        flex-direction: column;
        gap: 10px;
    }

    .city-buildings {
        padding: 0 20px;
    }

    .building {
        width: 50px;
    }
}