/* Footer Styles */
footer {
    color: #fff;
    background-color: #1e2a38;
    position: relative;
    z-index: 10;
    margin-top: auto;
    width: 100%;
    display: block;
}

.footer-top {
    background-color: #1e2a38;
    padding: 30px 0 40px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: #fff;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 60px;
    height: auto;
    margin-right: 15px;
}

.footer-logo h3 {
    margin: 0;
    padding: 0;
    font-size: 1.8rem;
}

.footer-logo h3::after {
    display: none;
}

/* Footer Social Links */
.footer-section .social-links {
    display: flex;
    margin-top: 25px;
    gap: 15px;
}

.footer-section .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-section .social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Footer Restaurants */
.footer-restaurant {
    display: flex;
    margin-bottom: 25px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.footer-restaurant:hover {
    transform: translateY(-5px);
}

.footer-restaurant-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;
    font-size: 1.5rem;
}

.footer-restaurant-icon.balik-icon {
    background-color: var(--balik-primary);
}

.footer-restaurant-icon.pide-icon {
    background-color: var(--pide-primary);
}

.footer-restaurant-info {
    padding: 15px;
    flex: 1;
}

.footer-restaurant-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.footer-restaurant-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.footer-restaurant-info p i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Footer Links */
.footer-section.links ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.footer-section.links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-section.links ul li a i {
    margin-right: 8px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-section.links ul li a:hover {
    color: #ff6b6b;
}

.footer-section.links ul li a:hover i {
    transform: translateX(3px);
}

/* Balık ve Pide bağlantıları için özel renkler */
.footer-section.links ul li a[href*="balik"]:hover {
    color: var(--balik-primary);
}

.footer-section.links ul li a[href*="pide"]:hover {
    color: var(--pide-primary);
}

/* Newsletter Form */
.newsletter-form .form-group {
    position: relative;
    margin-top: 20px;
}

.newsletter-form input {
    width: 100%;
    padding: 15px;
    padding-right: 50px;
    border: none;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* QR Codes */
.qr-codes {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 15px;
}

.qr-code {
    text-align: center;
    background-color: #fff;
    padding: 10px;
    border-radius: var(--border-radius);
    width: 100px;
}

.qr-code img {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
}

.qr-code span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-color);
}

/* Footer Bottom */
.footer-bottom {
    background-color: #17212c;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

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

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* WhatsApp ve Telefon Butonları */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.whatsapp-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-button a:hover {
    transform: scale(1.1);
}

.phone-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.phone-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 0 20px 0 0;
    height: 60px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.phone-button i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    margin-right: 10px;
}

.phone-text {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.phone-button a:hover {
    transform: scale(1.05);
}

/* Animasyon */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.phone-button a {
    animation: pulse 1.5s infinite;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .footer-section {
        flex: 0 0 48%;
    }
}

@media screen and (max-width: 768px) {
    .footer-section {
        flex: 0 0 100%;
    }

    .footer-bottom .container {
        flex-direction: column;
    }

    .footer-bottom-links {
        margin-top: 10px;
    }

    .whatsapp-button {
        bottom: 10px;
        left: 10px;
    }

    .phone-button {
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-button a, .phone-button a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .phone-button a {
        padding: 0;
    }

    .phone-text {
        display: none;
    }

    .phone-button i {
        width: 50px;
        height: 50px;
        margin-right: 0;
    }
}