/* Explain: Styles for various UI components and animations. - */
@keyframes kenburns {
    0% { transform: scale(1.0) translate(0, 0); }
    100% { transform: scale(1.1) translate(-1%, -1%); }
}
.animate-kenburns {
    animation: kenburns 25s ease-in-out infinite alternate;
    transform-origin: center center;
    will-change: transform; /* يمنع التعليق ويسرع الحركة */
}

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

/* تأثير الكروت الفاخرة المحسن والخفيف */
.luxury-card {
    background: var(--surface-color);
    border: 1px solid transparent;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    z-index: 1;
    will-change: transform, box-shadow;
}
.luxury-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-color);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}
.luxury-card:hover {
    box-shadow: 0 30px 60px -15px rgba(92, 110, 87, 0.12);
    transform: translateY(-8px);
}
.luxury-card:hover::before {
    inset: -6px;
    border-color: rgba(92, 110, 87, 0.25);
    background: var(--background-color);
}

/* تأثير الزجاج فائق النقاء والخفة */
.glass-panel {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
}

/* تدرج لوني أنيق للنصوص */
.text-gradient {
    background: linear-gradient(135deg, var(--text-color) 20%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* زر بمظهر ملكي وحركة سلسة */
.btn-luxury {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
}
.btn-luxury::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--primary-hover);
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    will-change: height;
}
.btn-luxury:hover::after {
    height: 100%;
}
.btn-luxury:hover {
    color: var(--background-color) !important;
    border-color: var(--primary-hover) !important;
    box-shadow: 0 10px 25px -5px rgba(92, 110, 87, 0.3);
}

/* حقول إدخال راقية */
.luxury-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}
.luxury-input:focus {
    border-bottom-color: var(--primary-color);
    box-shadow: 0 1px 0 0 var(--primary-color);
    outline: none;
}