/* ===================================
   US Teknik - Footer Styles
   =================================== */

.footer-section {
    background: linear-gradient(135deg, #212121 0%, #1a1a1a 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 0;
}

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

.footer-logo .logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-logo .logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    color: white;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #4CAF50;
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: #4CAF50;
    margin-right: 1rem;
    margin-top: 0.2rem;
    font-size: 1.1rem;
    width: 20px;
}

.contact-item strong {
    color: white;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #4CAF50;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 0 20px;
        margin-top: 0;
    }
    
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    /* İletişim bilgilerini mobilde yan yana yapma */
    .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        text-align: left;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1rem;
    }
    
    .contact-item i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}

/* ===================================
   Footer Dropdown Menu
   =================================== */

.footer-dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-dropdown-item {
    position: relative;
    margin-bottom: 0.8rem;
}

.footer-dropdown-toggle {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    background: transparent;
}

.footer-dropdown-toggle:hover {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    padding-left: 1.2rem;
}

.footer-dropdown-toggle i.fa-chevron-right {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.footer-dropdown-item:hover .footer-dropdown-toggle i.fa-chevron-right {
    transform: translateX(5px);
}

/* Submenu */
.footer-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: linear-gradient(135deg, #2c2c2c 0%, #1f1f1f 100%);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 220px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    list-style: none;
    margin: 0;
}

.footer-dropdown-item:hover .footer-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(10px);
}

.footer-submenu li {
    margin-bottom: 0;
}

.footer-submenu li a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
}

.footer-submenu li a:hover {
    color: #ffffff;
    background: rgba(76, 175, 80, 0.2);
    border-left-color: #4CAF50;
    padding-left: 1.3rem;
}

/* Arrow indicator for submenu */
.footer-submenu::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 15px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #2c2c2c;
}

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

.footer-dropdown-item:hover .footer-submenu {
    animation: slideInRight 0.3s ease;
}
