/* Reset ve Base Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Footer */
.main-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="10" cy="60" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="90" cy="40" r="1" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

/* Footer Sections */
.footer-section {
    animation: fadeInUp 0.8s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #c40000, #ff4444);
    border-radius: 2px;
}

/* Company Info Section */
.company-info .company-logo {
    margin-bottom: 20px;
}

.company-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.company-logo img:hover {
    transform: scale(1.05);
}

.company-description h3 {
    font-size: 24px;
    color: #c40000;
    margin-bottom: 15px;
}

.company-description p {
    font-size: 16px;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 25px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    background: rgba(196, 0, 0, 0.1);
    transform: translateX(5px);
    border-color: rgba(196, 0, 0, 0.3);
}

.contact-item i {
    color: #c40000;
    font-size: 18px;
    min-width: 20px;
    margin-top: 2px;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 12px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #c40000;
}

address {
    font-style: normal;
    color: #ccc;
    line-height: 1.5;
}

/* Social Media */
.social-media {
    margin-top: 20px;
}

.social-media h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(196, 0, 0, 0.1);
    border: 2px solid rgba(196, 0, 0, 0.3);
    border-radius: 50%;
    color: #c40000;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #c40000, #ff4444);
    transition: left 0.3s ease;
    z-index: -1;
}

.social-link:hover::before {
    left: 0;
}

.social-link:hover {
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(196, 0, 0, 0.4);
}

/* Footer Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-links li a:hover {
    color: #fff;
    background: rgba(196, 0, 0, 0.1);
    transform: translateX(5px);
    border-left: 3px solid #c40000;
}

.footer-links li a i {
    color: #c40000;
    font-size: 14px;
    min-width: 16px;
}

/* Services List */
.services-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.services-list::-webkit-scrollbar {
    width: 4px;
}

.services-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.services-list::-webkit-scrollbar-thumb {
    background: #c40000;
    border-radius: 2px;
}

/* Newsletter Section */
.newsletter p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.input-group input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 14px;
    outline: none;
}

.input-group input::placeholder {
    color: #666;
}

.subscribe-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #c40000, #ff4444);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #ff4444, #c40000);
    transform: scale(1.05);
}

/* Quick Contact Buttons */
.quick-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.phone-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.email-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 13px;
    color: #ccc;
}

.badge i {
    color: #c40000;
    font-size: 16px;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright p {
    font-size: 14px;
    color: #ccc;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
}

.footer-bottom-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #c40000;
}

.separator {
    color: #666;
}

.developer-credit p {
    font-size: 12px;
    color: #999;
}

.developer-credit a {
    color: #c40000;
    text-decoration: none;
}

.developer-credit a:hover {
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c40000, #ff4444);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(196, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(196, 0, 0, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .company-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 30px;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .company-description h3 {
        font-size: 20px;
    }

    .contact-info {
        gap: 12px;
    }

    .contact-item {
        padding: 10px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .footer-content {
        padding: 30px 0 20px;
        gap: 25px;
    }

    .company-logo img {
        max-width: 150px;
    }

    .company-description p {
        font-size: 14px;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .social-links {
        gap: 8px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .quick-contact {
        gap: 8px;
    }

    .contact-btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    .input-group {
        flex-direction: column;
        border-radius: 8px;
    }

    .input-group input {
        border-radius: 8px 8px 0 0;
    }

    .subscribe-btn {
        border-radius: 0 0 8px 8px;
    }
}

/* Print Styles */
@media print {
    .main-footer {
        background: #fff !important;
        color: #000 !important;
    }

    .back-to-top,
    .social-links,
    .quick-contact,
    .newsletter-form {
        display: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .input-group input {
        background: rgba(255, 255, 255, 0.95);
        color: #333;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

