/* Footer Styles */
/* CSS Variables for Footer */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --light-blue: #eff6ff;
    --gradient-start: #1e40af;
    --gradient-end: #3b82f6;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #1e293b;
    --success: #10b981;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --primary-color: #60a5fa;
    --secondary-color: #3b82f6;
    --accent-color: #93c5fd;
    --light-blue: #1e293b;
    --gradient-start: #1e293b;
    --gradient-end: #334155;
    --white: #0f172a;
    --light-gray: #1e293b;
    --gray: #94a3b8;
    --dark-gray: #f1f5f9;
    --success: #34d399;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 40px 0 20px;
}

/* Footer Main Layout */
.footer-main {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    flex: 1;
}

/* Footer Appointment CTA Section - Repositioned */
.footer-appointment-cta {
    --background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.footer-appointment-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="12" cy="12" r="2"/><circle cx="48" cy="12" r="2"/><circle cx="12" cy="48" r="2"/><circle cx="48" cy="48" r="2"/><circle cx="30" cy="30" r="1"/></g></svg>');
    z-index: 0;
}

.appointment-content {
    position: relative;
    z-index: 1;
}

.appointment-content h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.appointment-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.appointment-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-direction: column;
}

.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-appointment:hover::before {
    left: 100%;
}

.btn-appointment.primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-appointment.primary:hover {
    background: #f8fafc;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-appointment.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-appointment.secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-appointment i {
    font-size: 1.2rem;
}

/* Footer Sections */
.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Messaging Apps Styling */
.messaging-apps {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.messaging-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.messaging-link.whatsapp {
    color: #25D366;
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}

.messaging-link.whatsapp:hover {
    background: #25D366;
    color: white;
    transform: scale(1.05);
}

.messaging-link.viber {
    color: #665CAC;
    border-color: #665CAC;
    background: rgba(102, 92, 172, 0.1);
}

.messaging-link.viber:hover {
    background: #665CAC;
    color: white;
    transform: scale(1.05);
}

.messaging-link i {
    font-size: 1.2rem;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray);
    color: var(--gray);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: #475569;
}

/* Footer Bottom Designer Credit */
/* .footer-bottom .designer-credit {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 2px;
    position: static;
    transform: none;
} */

.designer-link {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    display: block;
}

.designer-link:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.designer-link small {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 0.25rem;
    opacity: 0.8;
}

/* Designer Credit Widget - Floating */
.designer-credit-widget {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
}

.designer-badge {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.designer-badge .line1 {
    font-size: 11px;
    color: var(--gray);
    margin: 0;
    font-weight: 500;
    text-align: center;
}

.designer-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%) translateY(10px) scale(0.9);
}

.designer-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.designer-popup .phone {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.designer-popup .phone:hover {
    color: var(--primary-color);
}

.designer-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--white);
}

.designer-badge:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Floating Contact Icons */
.floating-contacts {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.floating-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.floating-icon:hover::before {
    transform: translateX(100%);
}

.floating-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.floating-icon i {
    font-size: 24px;
    color: white;
    z-index: 1;
}

/* WhatsApp */
.floating-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-icon.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* Viber */
.floating-icon.viber {
    background: linear-gradient(135deg, #665CAC, #7C4DFF);
}

.floating-icon.viber:hover {
    background: linear-gradient(135deg, #7C4DFF, #665CAC);
    box-shadow: 0 8px 30px rgba(102, 92, 172, 0.4);
}

/* Instagram */
.floating-icon.instagram {
    background: linear-gradient(135deg, #E4405F, #F56040, #FCAF45);
}

.floating-icon.instagram:hover {
    background: linear-gradient(135deg, #FCAF45, #F56040, #E4405F);
    box-shadow: 0 8px 30px rgba(228, 64, 95, 0.4);
}

/* Maps */
.floating-icon.maps {
    background: linear-gradient(135deg, #4285F4, #34A853);
}

.floating-icon.maps:hover {
    background: linear-gradient(135deg, #34A853, #4285F4);
    box-shadow: 0 8px 30px rgba(66, 133, 244, 0.4);
}

/* Phone */
.floating-icon.phone {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.floating-icon.phone:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.4);
}

/* Responsive design for footer appointment section */
@media (max-width: 1024px) {
    .footer-main {
        gap: 2rem;
    }
    
    .footer-appointment-cta {
        width: 300px;
        padding: 1.5rem;
    }
    
    .appointment-content h3 {
        font-size: 1.6rem;
    }
    
    .appointment-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-appointment-cta {
        width: 100%;
        max-width: none;
        padding: 2rem;
    }
    
    .appointment-content h3 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .appointment-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .appointment-buttons {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .btn-appointment {
        flex: 1;
        min-width: 140px;
        padding: 0.9rem 1.2rem;
    }
    
    .designer-credit {
        bottom: 15px;
    }
    
    .designer-badge {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .footer-appointment-cta {
        padding: 1.5rem;
    }
    
    .appointment-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .appointment-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .appointment-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-appointment {
        width: 100%;
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        gap: 0.5rem;
    }
    
    .btn-appointment i {
        font-size: 1rem;
    }
    
    /* Footer bottom mobile adjustments - Force visibility */
    /* .footer-bottom {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
        min-height: 150px !important;
        background: rgba(30, 58, 138, 0.1) !important;
        border: 2px solid var(--accent-color) !important;
        border-radius: 10px !important;
        margin: 2rem 0 !important;
        position: relative !important;
        z-index: 999 !important;
    }
    
    .footer-bottom p {
        font-size: 1rem !important;
        line-height: 1.8 !important;
        margin-bottom: 2rem !important;
        color: var(--white) !important;
        font-weight: bold !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
    } */
}

/* Responsive adjustments for floating icons */
@media (max-width: 768px) {
    .floating-contacts {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
    }
    
    .floating-icon i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .floating-contacts {
        right: 10px;
        bottom: 10px;
        gap: 10px;
    }
    
    .floating-icon {
        width: 45px;
        height: 45px;
    }
    
    .floating-icon i {
        font-size: 18px;
    }
}
