/* ========================================
   WORLD-CLASS PREMIUM UI ENHANCEMENTS
   Applied to all pages for art-gallery quality
   ======================================== */

/* === PREMIUM SMOOTH SCROLLING === */
html {
    scroll-behavior: smooth;
}

/* === ENHANCED CARD INTERACTIONS === */
.white-card-shadow,
[style*="background: white"][style*="box-shadow"] {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.white-card-shadow:hover,
[style*="background: white"][style*="box-shadow"]:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

/* === PREMIUM GRADIENT DEPTH === */
.bg-gradient-brand-red {
    position: relative;
    overflow: hidden;
}

.bg-gradient-brand-red::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.bg-gradient-brand-red:hover::before {
    opacity: 1;
}

/* === ENHANCED BUTTON STATES === */
a[style*="background: #e74c3c"],
a[style*="background:#e74c3c"],
.btn-primary,
button[style*="background"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a[style*="background: #e74c3c"]:hover,
a[style*="background:#e74c3c"]:hover {
    background: #c0392b !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4) !important;
}

a[style*="background: #e74c3c"]:active,
a[style*="background:#e74c3c"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3) !important;
}

/* === RIPPLE EFFECT ON BUTTONS === */
a[style*="background: #e74c3c"]::after,
a[style*="background:#e74c3c"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

a[style*="background: #e74c3c"]:active::after,
a[style*="background:#e74c3c"]:active::after {
    width: 300px;
    height: 300px;
}

/* === ENHANCED ICON CIRCLES === */
.feature-icon-circle,
[style*="border-radius: 50%"][style*="background"] {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon-circle:hover,
[style*="border-radius: 50%"][style*="background"]:hover {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4) !important;
}

/* === PREMIUM HEADING ANIMATIONS === */
h1,
h2,
h3 {
    position: relative;
    transition: color 0.3s ease;
}

.standards-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.standards-heading:hover::after {
    width: 120px;
}

/* === SOPHISTICATED LINK HOVER === */
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:not([style*="background"]):hover {
    transform: translateX(4px);
}

/* === ENHANCED BREADCRUMBS === */
.breadcrumbs a {
    position: relative;
    transition: all 0.3s ease;
}

.breadcrumbs a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.breadcrumbs a:hover::after {
    width: 100%;
}

/* === PREMIUM SHADOW HIERARCHY === */
[style*="box-shadow: 0 4px 20px"] {
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === SMOOTH PAGE TRANSITIONS === */
body {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === PREMIUM FORM CONTROLS === */
input[type="text"],
input[type="email"],
textarea,
select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15) !important;
}

/* === ENHANCED NAVIGATION === */
.bcs-main-link {
    position: relative;
}

.bcs-main-link::after {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bcs-main-link:hover::after {
    transform: scaleX(1.1);
}

/* === PREMIUM FOOTER SOCIAL ICONS === */
.ftco-footer-social a {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ftco-footer-social a:hover {
    transform: translateY(-6px) rotate(6deg);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

/* === SOPHISTICATED DROPDOWN === */
.dropdown-menu {
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === PREMIUM ACCORDION STYLING === */
.faq-accordion .card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-accordion .card:hover {
    transform: translateX(8px);
}

/* === ENHANCED IMAGE OVERLAYS === */
.blog-entry,
[class*="block-20"] {
    position: relative;
    overflow: hidden;
}

.blog-entry::before,
[class*="block-20"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.blog-entry:hover::before,
[class*="block-20"]:hover::before {
    opacity: 1;
}

/* === PREMIUM SCROLL INDICATORS === */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

/* === ENHANCED HERO SECTIONS === */
.hero-wrap-2 {
    position: relative;
}

.hero-wrap-2 .overlay {
    transition: background 0.4s ease;
}

.hero-wrap-2:hover .overlay {
    background: rgba(0, 0, 0, 0.35);
}

/* === PREMIUM TEXT SELECTION === */
::selection {
    background: #e74c3c;
    color: white;
    text-shadow: none;
}

::-moz-selection {
    background: #e74c3c;
    color: white;
    text-shadow: none;
}

/* === ENHANCED FOCUS STATES === */
*:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 4px;
    border-radius: 4px;
}

a:focus,
button:focus {
    outline-offset: 6px;
}

/* === PREMIUM LOADING STATES === */
.ftco-animate {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === SOPHISTICATED GRADIENT OVERLAYS === */
[style*="linear-gradient"] {
    background-size: 200% 200%;
    transition: background-position 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[style*="linear-gradient"]:hover {
    background-position: 100% 100%;
}

/* === PREMIUM CTA BUTTONS === */
.search-submit-btn,
.submit {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-submit-btn::before,
.submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-submit-btn:hover::before,
.submit:hover::before {
    left: 100%;
}

/* === ENHANCED MODAL/POPUP ANIMATIONS === */
.modal {
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* === PREMIUM RESPONSIVE ENHANCEMENTS === */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === GLASS MORPHISM EFFECTS (OPTIONAL ENHANCEMENT) === */
.search-bar-container {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* === PREMIUM PAGE FOOTER ENHANCEMENT === */
.footer {
    position: relative;
    transition: all 0.4s ease;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 50%, #e74c3c 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* === ENHANCED TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    letter-spacing: 0.01em;
}

/* === PREMIUM COUNTER ANIMATIONS === */
.counter-wrap {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.counter-wrap:hover {
    transform: scale(1.05);
}

.counter-wrap .number {
    transition: all 0.3s ease;
}

.counter-wrap:hover .number {
    color: #e74c3c !important;
    transform: scale(1.1);
}