/* ===== CUSTOM ICONS - NO EXTERNAL DEPENDENCIES ===== */

/* Base icon styles */
.icon-base {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: middle;
    flex-shrink: 0;
}

/* External link icon */
.icon-external {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    margin-right: 8px;
}

.visit-button:hover .icon-external {
    transform: translateX(2px) translateY(-2px);
}

/* Alternative text-based external link icon */
.icon-external-text {
    font-family: Arial, sans-serif;
    font-weight: bold;
    margin-right: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.icon-external-text::before {
    content: "↗";
    font-size: 14px;
}

.visit-button:hover .icon-external-text {
    transform: translateX(2px) translateY(-2px);
}

/* Social media icons */
.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

/* Contact icons */
.contact-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Form icons */
.form-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    margin-right: 8px;
}

/* Fallback for browsers that don't support SVG */
.no-svg .icon-external {
    display: none;
}

.no-svg .icon-external-text {
    display: inline-block;
}

/* Email icon SVG path */
.icon-email {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Phone icon SVG path */
.icon-phone {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Location icon SVG path */
.icon-location {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* LinkedIn icon SVG path */
.icon-linkedin {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Instagram icon SVG path */
.icon-instagram {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Facebook icon SVG path */
.icon-facebook {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Twitter icon SVG path */
.icon-twitter {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Paper plane icon for form submit */
.icon-paper-plane {
    width: 18px;
    height: 18px;
    fill: currentColor;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.submit-button:hover .icon-paper-plane {
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .icon-external {
        width: 14px;
        height: 14px;
        margin-right: 6px;
    }
    
    .contact-icon {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .icon-external,
    .social-icon,
    .contact-icon,
    .form-icon {
        filter: contrast(1.5);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .icon-external,
    .social-icon,
    .contact-icon,
    .form-icon,
    .icon-paper-plane {
        transition: none;
    }
    
    .visit-button:hover .icon-external,
    .social-link:hover .social-icon,
    .submit-button:hover .icon-paper-plane {
        transform: none;
    }
}