/*===========================================
	EA Visual Artists Custom Styles
===========================================*/

:root {
    --ea-primary: #e74c3c;
    --ea-secondary: #2c3e50;
    --ea-accent: #f39c12;
    --ea-light: #ecf0f1;
    --ea-dark: #2c3e50;
    --ea-white: #ffffff;
    --ea-black: #2c3e50;
    
    /* Override template theme colors */
    --theme-color: #202020;
    --theme-color2: #121212;
    --white-color: #FFFFFF;
    --black-color: #121212;
    --body-color: #666666;
    --smoke-color: #F5F5F5;
}

/* Primary button styling */
.th-btn {
    background-color: var(--ea-primary);
    border-color: var(--ea-primary);
    color: var(--ea-white);
    transition: all 0.3s ease;
}

.th-btn:hover {
    background-color: var(--ea-secondary);
    border-color: var(--ea-secondary);
    color: var(--ea-white);
    transform: translateY(-2px);
}

.th-btn.style2 {
    background-color: transparent;
    border: 2px solid var(--ea-white);
    color: var(--ea-white);
}

.th-btn.style2:hover {
    background-color: var(--ea-white);
    color: var(--ea-primary);
}

.th-btn.style3 {
    background-color: var(--ea-white);
    border-color: var(--ea-white);
    color: var(--ea-accent);
}

.th-btn.style3:hover {
    background-color: var(--ea-accent);
    border-color: var(--ea-accent);
    color: var(--ea-white);
}

/* Theme color applications */
.text-theme {
    color: var(--ea-primary) !important;
}

.bg-theme {
    background-color: var(--ea-primary) !important;
}

.border-theme {
    border-color: var(--ea-primary) !important;
}

/* Header styling */
.header-logo img {
    max-height: 50px;
}

.th-social a {
    color: var(--ea-accent);
    border-color: var(--ea-accent);
}

.th-social a:hover {
    background-color: var(--ea-accent);
    color: var(--ea-white);
}

/* Info cards in header */
.info-card .box-icon {
    color: var(--ea-accent);
}

.info-card .box-title a {
    color: var(--ea-black);
}

.info-card .box-title a:hover {
    color: var(--ea-accent);
}

/* Navigation */
.main-menu > ul > li > a:hover {
    color: var(--ea-accent);
}

.main-menu > ul > li.menu-item-has-children:hover > a {
    color: var(--ea-accent);
}

/* Preloader */
.preloader .loader {
    color: var(--ea-accent);
}

.preloader .loading-text {
    color: var(--ea-accent);
}

/* Section titles */
.sec-title {
    color: var(--ea-dark);
    font-weight: 700;
}

.sec-title.text-white {
    color: var(--ea-white) !important;
}

/* Feature cards */
.feature-card {
    border: 1px solid rgba(255, 107, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--ea-accent);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.15);
}

/* Form elements */
.form-control:focus {
    border-color: var(--ea-accent);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.25);
}

/* Newsletter form */
.newsletter-form .form-control {
    border-color: rgba(255, 107, 0, 0.3);
}

.newsletter-form .form-control:focus {
    border-color: var(--ea-accent);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.25);
}

/* Footer */
.footer-wrapper {
    background-color: var(--ea-dark);
    color: var(--ea-white);
}

.footer-widget .widget_title {
    color: var(--ea-white);
    border-bottom: 2px solid var(--ea-accent);
    padding-bottom: 10px;
}

.footer-widget .menu a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget .menu a:hover {
    color: var(--ea-accent);
}

/* Copyright area */
.copyright-wrap {
    background-color: rgba(18, 18, 18, 0.9);
    border-top: 1px solid rgba(255, 107, 0, 0.2);
}

.copyright-text a {
    color: var(--ea-orange);
}

.copyright-text a:hover {
    color: #e55a00;
}

/* Color scheme switcher */
.color-scheme-wrap .color-switch-btns button[data-color="#FF6B00"] {
    background-color: var(--ea-orange);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-logo img {
        max-height: 40px;
    }
    
    .info-card-wrap {
        display: none;
    }
}

/* Scroll to top button */
.scroll-top {
    background-color: var(--ea-orange);
    border-color: var(--ea-orange);
}

.scroll-top:hover {
    background-color: #e55a00;
    border-color: #e55a00;
}

/* Link styling */
a {
    color: var(--ea-orange);
}

a:hover {
    color: #e55a00;
}

/* Custom animations */
@keyframes ea-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.ea-pulse:hover {
    animation: ea-pulse 0.5s ease-in-out;
}

/* Background overlays */
.bg-overlay-theme::before {
    background-color: rgba(255, 107, 0, 0.8);
}

/* Custom EA Visual Artists specific classes */
.ea-highlight {
    color: var(--ea-orange);
    font-weight: 600;
}

.ea-card {
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    background-color: var(--ea-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ea-card:hover {
    border-color: var(--ea-orange);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.15);
    transform: translateY(-2px);
}

.ea-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--ea-orange) 50%, transparent 100%);
    margin: 2rem 0;
}

/* Typography enhancements */
.ea-title {
    color: var(--ea-orange);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.ea-subtitle {
    color: var(--ea-black);
    font-weight: 500;
}

.ea-text {
    color: #666;
    line-height: 1.6;
}

/* Brand colors for specific elements */
.header-notice {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--ea-black);
    border-left: 3px solid var(--ea-orange);
    padding: 8px 15px;
    border-radius: 4px;
}

/*===========================================
	EA Visual Artists Preloader Styles
===========================================*/

/* Main preloader container */
.ea-preloader-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: ea-fade-in 0.8s ease-out;
}

/* Logo container with glow effect */
.ea-logo-container {
    position: relative;
    margin-bottom: 40px;
    animation: ea-logo-pulse 2s ease-in-out infinite;
}

.ea-preloader-logo {
    width: 120px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.3);
    animation: ea-logo-rotate 8s linear infinite;
    z-index: 2;
    position: relative;
}

.ea-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.4) 0%, rgba(243, 156, 18, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ea-glow-pulse 3s ease-in-out infinite alternate;
    z-index: 1;
}

/* Artistic elements container */
.ea-art-elements {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    pointer-events: none;
}

/* Paintbrush strokes */
.ea-brush-stroke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    animation: ea-brush-rotate 12s linear infinite;
}

.ea-stroke-1 {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: ea-stroke-draw 4s ease-in-out infinite;
}

.ea-stroke-2 {
    stroke-dasharray: 250;
    stroke-dashoffset: 250;
    animation: ea-stroke-draw 4s ease-in-out infinite 0.5s;
}

.ea-stroke-3 {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: ea-stroke-draw 4s ease-in-out infinite 1s;
}

/* Floating particles */
.ea-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ea-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0.8;
}

.ea-particle-1 {
    background: #e74c3c;
    top: 20%;
    left: 10%;
    animation: ea-particle-float 3s ease-in-out infinite;
}

.ea-particle-2 {
    background: #f39c12;
    top: 30%;
    right: 15%;
    animation: ea-particle-float 3s ease-in-out infinite 0.5s;
}

.ea-particle-3 {
    background: #2c3e50;
    bottom: 25%;
    left: 20%;
    animation: ea-particle-float 3s ease-in-out infinite 1s;
}

.ea-particle-4 {
    background: #e74c3c;
    bottom: 35%;
    right: 10%;
    animation: ea-particle-float 3s ease-in-out infinite 1.5s;
}

.ea-particle-5 {
    background: #f39c12;
    top: 50%;
    left: 5%;
    animation: ea-particle-float 3s ease-in-out infinite 2s;
}

.ea-particle-6 {
    background: #2c3e50;
    top: 60%;
    right: 5%;
    animation: ea-particle-float 3s ease-in-out infinite 2.5s;
}

/* Color palette circles */
.ea-color-palette {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    animation: ea-palette-bounce 2s ease-in-out infinite;
}

.ea-color-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: ea-color-pulse 2s ease-in-out infinite;
}

.ea-color-1 {
    background: #e74c3c;
    animation-delay: 0s;
}

.ea-color-2 {
    background: #f39c12;
    animation-delay: 0.2s;
}

.ea-color-3 {
    background: #2c3e50;
    animation-delay: 0.4s;
}

.ea-color-4 {
    background: #ecf0f1;
    animation-delay: 0.6s;
}

/* Loading text with typewriter effect */
.ea-loading-text {
    margin-top: 30px;
    text-align: center;
    font-family: var(--title-font);
    font-weight: 600;
    color: var(--ea-dark);
}

.ea-text-line {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    opacity: 0;
    animation: ea-typewriter 4s ease-in-out infinite;
}

.ea-text-line:nth-child(1) {
    animation-delay: 0s;
}

.ea-text-line:nth-child(2) {
    animation-delay: 2s;
}

/* Progress indicator */
.ea-progress-container {
    margin-top: 40px;
    text-align: center;
    width: 200px;
}

.ea-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(231, 76, 60, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.ea-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    border-radius: 2px;
    width: 0%;
    animation: ea-progress-fill 3s ease-in-out infinite;
}

.ea-progress-text {
    font-size: 14px;
    color: var(--ea-dark);
    opacity: 0.8;
    animation: ea-text-pulse 2s ease-in-out infinite;
}

/*===========================================
	EA Preloader Animations
===========================================*/

@keyframes ea-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ea-logo-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes ea-logo-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes ea-glow-pulse {
    0% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes ea-brush-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes ea-stroke-draw {
    0%, 100% {
        stroke-dashoffset: 300;
    }
    50% {
        stroke-dashoffset: 0;
    }
}

@keyframes ea-particle-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes ea-palette-bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes ea-color-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes ea-typewriter {
    0%, 30% {
        opacity: 0;
        transform: translateY(10px);
    }
    40%, 70% {
        opacity: 1;
        transform: translateY(0);
    }
    80%, 100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes ea-progress-fill {
    0% {
        width: 0%;
    }
    70% {
        width: 100%;
    }
    100% {
        width: 100%;
    }
}

@keyframes ea-text-pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive design for preloader */
@media (max-width: 768px) {
    .ea-preloader-logo {
        width: 80px;
    }
    
    .ea-logo-glow {
        width: 120px;
        height: 120px;
    }
    
    .ea-art-elements {
        width: 300px;
        height: 300px;
    }
    
    .ea-brush-stroke {
        width: 150px;
        height: 150px;
    }
    
    .ea-text-line {
        font-size: 16px;
    }
    
    .ea-progress-container {
        width: 150px;
    }
    
    .ea-color-palette {
        bottom: -40px;
    }
    
    .ea-color-circle {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 480px) {
    .ea-preloader-logo {
        width: 60px;
    }
    
    .ea-logo-glow {
        width: 100px;
        height: 100px;
    }
    
    .ea-art-elements {
        width: 250px;
        height: 250px;
    }
    
    .ea-brush-stroke {
        width: 120px;
        height: 120px;
    }
    
    .ea-text-line {
        font-size: 14px;
    }
    
    .ea-progress-container {
        width: 120px;
    }
} 