/* Gavori Professional Footer Styles */

/* Hide default footer content */
.ast-footer-copyright p {
    display: none;
}

/* Main footer container */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Override any theme styles that might affect visibility */
.gavori-footer-content,
.gavori-footer-content * {
    color: #333333 !important;
}

/* Main footer background - lighter for better contrast */
.gavori-footer-content {
    background: #f8f9fa !important;
    border-radius: 10px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(38, 208, 206, 0.1) 0%, transparent 50%);
    z-index: 1;
}

/* Custom footer content */
.site-footer .ast-builder-grid-row-container-inner {
    position: relative;
    z-index: 2;
}

.gavori-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 30px;
    position: relative;
    z-index: 2;
}

/* Footer grid */
.gavori-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer sections */
.gavori-footer-section h3 {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50 !important;
    position: relative;
    padding-bottom: 10px;
}

.gavori-footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.gavori-footer-section p,
.gavori-footer-section li {
    color: #555555 !important;
    line-height: 1.6;
    margin-bottom: 10px;
}

.gavori-footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gavori-footer-section ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.gavori-footer-section ul li:last-child {
    border-bottom: none;
}

.gavori-footer-section ul li:hover {
    padding-left: 10px;
    color: #667eea;
}

.gavori-footer-section a {
    color: #3498db !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gavori-footer-section a:hover {
    color: #667eea;
}

/* Logo section */
.gavori-footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.gavori-footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
}

.gavori-footer-tagline {
    font-size: 1.1em;
    color: #666666 !important;
    margin-bottom: 20px;
    font-style: italic;
}

/* Social icons */
.gavori-social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.gavori-social-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gavori-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.gavori-social-icon:hover::before {
    left: 100%;
}

.gavori-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Contact info */
.gavori-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gavori-contact-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.gavori-contact-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 0.9em;
}

.gavori-contact-text {
    flex: 1;
}

/* Newsletter signup */
.gavori-newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.gavori-newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

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

.gavori-newsletter-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
}

.gavori-newsletter-button {
    padding: 12px 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.gavori-newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Bottom bar */
.gavori-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.gavori-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gavori-copyright {
    color: #666666 !important;
    font-size: 0.9em;
}

.gavori-footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.gavori-footer-links a {
    color: #3498db !important;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.gavori-footer-links a:hover {
    color: #667eea;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .gavori-footer-content {
        padding: 40px 15px 20px;
    }
    
    .gavori-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .gavori-footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .gavori-newsletter-form {
        flex-direction: column;
    }
    
    .gavori-footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .gavori-footer-links {
        justify-content: center;
    }
    
    .gavori-contact-item {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gavori-footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .gavori-social-icons {
        flex-wrap: wrap;
    }
}

/* Scroll to top button integration */
#ast-scroll-top {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

#ast-scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}