/*
 * Contact Information Widget - Styles
 * Add this CSS to your theme or create a separate CSS file
 * 
 * File: /widgets/contact-information-widget.css
 */

/* Container */
.contact-info-wrapper {
    padding: 20px;
}

/* Heading */
.contact-info-wrapper .contact-heading {
    margin-bottom: 15px;
}

.contact-info-wrapper .contact-heading a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.contact-info-wrapper .contact-heading a:hover {
    opacity: 0.8;
}

/* Text Editor */
.contact-info-wrapper .contact-text-editor {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Icon List */
.contact-info-wrapper .contact-icon-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.contact-info-wrapper .contact-icon-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info-wrapper .contact-icon-list li:last-child {
    margin-bottom: 0;
}

.contact-info-wrapper .contact-icon-list a,
.contact-info-wrapper .contact-icon-list span {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.contact-info-wrapper .contact-icon-list a:hover {
    color: #2e5090;
}

.contact-info-wrapper .contact-icon-list i,
.contact-info-wrapper .contact-icon-list svg {
    margin-right: 10px;
    flex-shrink: 0;
}

.contact-info-wrapper .contact-icon-list .icon-list-text {
    flex: 1;
}

/* Icon List - Inline View */
.contact-info-wrapper .contact-icon-list.inline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info-wrapper .contact-icon-list.inline li {
    margin-bottom: 0;
}

/* Social Icons */
.contact-info-wrapper .social-icons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.contact-info-wrapper .social-icons-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #333;
    background-color: #f0f0f0;
}

/* Social Icons - Circle Shape */
.contact-info-wrapper .social-icons-list.shape-circle a {
    border-radius: 50%;
}

/* Social Icons - Square Shape */
.contact-info-wrapper .social-icons-list.shape-square a {
    border-radius: 4px;
}

/* ===================================
   HOVER ANIMATIONS
   =================================== */

/* None */
.contact-info-wrapper .social-icons-list.hover-none a:hover {
    /* No animation */
}

/* Grow */
.contact-info-wrapper .social-icons-list.hover-grow a:hover {
    transform: scale(1.15);
}

/* Shrink */
.contact-info-wrapper .social-icons-list.hover-shrink a:hover {
    transform: scale(0.9);
}

/* Pulse */
.contact-info-wrapper .social-icons-list.hover-pulse a:hover {
    animation: pulse 0.5s ease;
}

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

/* Bounce */
.contact-info-wrapper .social-icons-list.hover-bounce a:hover {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Rotate */
.contact-info-wrapper .social-icons-list.hover-rotate a:hover {
    transform: rotate(360deg);
}

/* Rotate Reverse */
.contact-info-wrapper .social-icons-list.hover-rotate-reverse a:hover {
    transform: rotate(-360deg);
}

/* Wobble */
.contact-info-wrapper .social-icons-list.hover-wobble a:hover {
    animation: wobble 0.8s ease;
}

@keyframes wobble {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-5px) rotate(-5deg); }
    30% { transform: translateX(4px) rotate(3deg); }
    45% { transform: translateX(-3px) rotate(-3deg); }
    60% { transform: translateX(2px) rotate(2deg); }
    75% { transform: translateX(-1px) rotate(-1deg); }
}

/* Skew */
.contact-info-wrapper .social-icons-list.hover-skew a:hover {
    transform: skew(-10deg);
}

/* Float */
.contact-info-wrapper .social-icons-list.hover-float a:hover {
    transform: translateY(-8px);
}

/* Sink */
.contact-info-wrapper .social-icons-list.hover-sink a:hover {
    transform: translateY(8px);
}

/* Bob */
.contact-info-wrapper .social-icons-list.hover-bob a:hover {
    animation: bob 0.6s ease infinite;
}

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

/* Hang */
.contact-info-wrapper .social-icons-list.hover-hang a:hover {
    animation: hang 0.6s ease infinite;
}

@keyframes hang {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Buzz */
.contact-info-wrapper .social-icons-list.hover-buzz a:hover {
    animation: buzz 0.15s linear infinite;
}

@keyframes buzz {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* Buzz Out */
.contact-info-wrapper .social-icons-list.hover-buzz-out a:hover {
    animation: buzz-out 0.6s ease;
}

@keyframes buzz-out {
    10% { transform: translateX(3px) rotate(2deg); }
    20% { transform: translateX(-3px) rotate(-2deg); }
    30% { transform: translateX(3px) rotate(2deg); }
    40% { transform: translateX(-3px) rotate(-2deg); }
    50% { transform: translateX(2px) rotate(1deg); }
    60% { transform: translateX(-2px) rotate(-1deg); }
    70% { transform: translateX(2px) rotate(1deg); }
    80% { transform: translateX(-2px) rotate(-1deg); }
    90% { transform: translateX(1px) rotate(0); }
    100% { transform: translateX(-1px) rotate(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-info-wrapper .contact-icon-list.inline {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-info-wrapper .social-icons-list {
        justify-content: center;
    }
}