/* Footer Component Styles */

footer .logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

footer .logo * {
    pointer-events: none;
}

footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 50px 0 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--secondary-color);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

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

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

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

/* Footer Contact Info with Gold Background */
.footer-column .contact-info {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    margin-bottom: 15px;
}

.footer-column .contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.footer-column .contact-info p:last-child {
    margin-bottom: 0;
}

.footer-column .contact-info i {
    margin-left: 12px;
    color: var(--primary-color);
    min-width: 20px;
    text-align: center;
    font-size: 16px;
    margin-top: 2px;
}

/* Keep existing contact-info styles for other sections */
.contact-info {
    margin-bottom: 15px;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 14px;
}

.contact-info i {
    margin-left: 10px;
    color: var(--secondary-color);
    min-width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icons a {
    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%;
    margin-left: 10px;
    font-size: 18px;
    transition: all 0.3s ease;
    min-width: 40px; /* Ensure consistent size */
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-company-info {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

.payment-methods {
    margin-top: 20px;
}

.payment-methods h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.payment-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: var(--secondary-color);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.payment-icons img {
    height: 35px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
    margin-left: 0;
    margin-bottom: 10px;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.payment-icons img:hover {
    filter: brightness(1);
    transform: scale(1.05);
}

.footer-bottom {
    background-color: var(--dark-color);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

/* Footer logo styles */
footer .logo {
    color: inherit;
    text-decoration: none;
}

footer .logo:hover,
footer .logo:focus,
footer .logo:active {
    text-decoration: none;
}

footer .logo * {
    pointer-events: none;
}

/* Footer responsive styles */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .social-icons {
        justify-content: center;
        margin-top: 15px;
    }
    
    .social-icons a {
        width: 36px; /* Reduced for better proportion */
        height: 36px; /* Reduced for better proportion */
        min-width: 36px; /* Ensure consistent size */
        font-size: 16px; /* Reduced font size */
        margin-left: 8px; /* Reduced margin */
    }

    .payment-icons {
        justify-content: center;
        gap: 8px; /* Reduced gap for better spacing */
        padding: 12px; /* Reduced padding */
    }
    
    .payment-icons img {
        height: 28px; /* Reduced for better proportion */
        max-width: 50px; /* Reduced max width */
    }

    .payment-method-item {
        text-align: center;
    }

    .payment-method-item img {
        height: 28px; /* Consistent with payment-icons img */
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(45deg, #128C7E, #25D366);
    color: #fff;
}

.floating-whatsapp:active {
    transform: scale(0.95);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: 'Tajawal', sans-serif;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

/* Responsive adjustments for floating button */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 52px; /* Reduced for better proportion */
        height: 52px; /* Reduced for better proportion */
        font-size: 23px; /* Reduced font size */
        animation: float 10s ease-in-out infinite; /* Much slower animation for tablets */
    }
    
    .whatsapp-tooltip {
        right: 62px; /* Adjusted for smaller button */
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .floating-whatsapp {
        bottom: 15px;
        right: 15px;
        width: 46px; /* Reduced for better proportion */
        height: 46px; /* Reduced for better proportion */
        font-size: 20px; /* Reduced font size */
        animation: float 15s ease-in-out infinite; /* Very slow animation for mobile phones */
    }
    
    .whatsapp-tooltip {
        right: 56px; /* Adjusted for smaller button */
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .whatsapp-tooltip::after {
        border-width: 4px;
    }
} 