/*
 * Footer Component
 * Site footer and related elements
 */

/* =============================================================================
   Site Footer
   ============================================================================= */

/* Footer Styles */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section h4 {
    color: #3498db;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.75rem;
    text-align: left;
}

.contact-info p,
.working-hours p {
    margin-bottom: 0.75rem;
    color: #bdc3c7;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 0.75rem;
    color: #3498db;
    width: 1.2rem;
    height: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Location Icon */
.contact-info .icon-location::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Email Icon */
.contact-info .icon-email::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Phone Icon */
.contact-info .icon-phone::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.working-hours p {
    justify-content: space-between;
    padding: 0.25rem 0;
}

.contact-info a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #3498db;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom .site-info p {
    margin: 0;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Social Media Icons */
.social-media-icons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-media-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(52, 152, 219, 0.1);
    border: 2px solid #3498db;
    border-radius: 50%;
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-media-icons a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.social-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-info p,
    .working-hours p {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .working-hours p {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-media-icons {
        margin-top: 1rem;
        gap: 0.75rem;
    }
    
    .social-media-icons a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
    }
}

/* Ensure footer is always at bottom for short content */
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.site-content,
main {
    flex: 1;
}