/* Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

/* Company Info Column */
.footer-column:first-child {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.social-link.facebook:hover {
    background: #3b5998;
    border-color: #3b5998;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e6683c;
}

.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-link.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

/* Footer Columns */
.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #e74c3c;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 15px;
}

.footer-links a:hover::before {
    width: 10px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    color: #e74c3c;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-item div {
    flex: 1;
}

.contact-item p {
    color: #bdc3c7;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-item p:first-child {
    color: white;
    font-weight: 500;
}

/* Footer Contact Info Override - Header CSS çakışmasını önler */
.footer .contact-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    height: auto !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

.footer .contact-item {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    align-items: flex-start !important;
    color: #bdc3c7 !important;
    text-decoration: none !important;
    margin-bottom: 0 !important;
    white-space: normal !important;
    min-width: auto !important;
    width: 100% !important;
}

.footer .contact-item:hover {
    color: white !important;
    transform: none !important;
}

.footer .contact-item i {
    color: #e74c3c !important;
    font-size: 1.1rem !important;
    margin-top: 0.2rem !important;
    min-width: 20px !important;
    opacity: 1 !important;
}

.footer .contact-item div {
    flex: 1 !important;
}

.footer .contact-item p {
    color: #bdc3c7 !important;
    margin: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
}

.footer .contact-item p:first-child {
    color: white !important;
    font-weight: 500 !important;
}

/* Footer Bottom */
.footer-bottom {
    background: #34495e;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 2.5rem;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-column:first-child {
        max-width: none;
    }

    .footer-main {
        padding: 3rem 0 2rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    /* Company info takes full width */
    .footer-column:first-child {
        grid-column: 1 / -1;
        text-align: center;
        max-width: none;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0.5rem;
    }

    /* Contact info takes full width with special grid */
    .footer-column:last-child {
        grid-column: 1 / -1;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0.5rem;
    }

    .footer-column:last-child .footer-title {
        text-align: center;
        margin-bottom: 1.25rem;
    }

    .footer-column:last-child .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Contact info - Simple vertical list for mobile */
    .footer .contact-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .footer .contact-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 10px !important;
        padding: 0.875rem 1rem !important;
        gap: 0.875rem !important;
    }

    .footer .contact-item i {
        font-size: 1rem !important;
        margin-top: 0 !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        background: rgba(231, 76, 60, 0.2) !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .footer .contact-item div {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .footer .contact-item p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .footer .contact-item p:first-child {
        white-space: normal !important;
    }

    .footer-main {
        padding: 2rem 0 1.5rem;
    }

    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-bottom-links {
        gap: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 2rem 0 1.5rem;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .footer-logo span {
        font-size: 1.2rem;
    }

    .footer-description {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-title {
        text-align: left;
        font-size: 1rem;
    }

    .footer-title::after {
        left: 0;
        transform: none;
    }

    .footer-links {
        text-align: left;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-links a::before {
        display: none;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-bottom {
        padding: 1rem 0;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-bottom-links a {
        font-size: 0.85rem;
    }

    .copyright {
        font-size: 0.85rem;
    }
}

/* Footer Animation */
@keyframes slideInFromBottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.footer-animate {
    animation: slideInFromBottom 0.8s ease-out;
}

/* Hover Effects */
.footer-column {
    transition: transform 0.3s ease;
}

.footer-column:hover {
    transform: translateY(-2px);
}

/* Custom Scrollbar for Footer (if needed) */
.footer::-webkit-scrollbar {
    width: 8px;
}

.footer::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.footer::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.footer::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Newsletter Subscription (if needed in future) */
.newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.newsletter-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: #e74c3c;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: #c0392b;
}

/* Accessibility */
.footer a:focus,
.footer button:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .footer {
        background: white !important;
        color: black !important;
    }

    .footer-logo img {
        filter: none !important;
    }

    .social-links,
    .footer-bottom {
        display: none;
    }
}