/*
 * Aries Elementor Widgets - Main Styles
 * Version: 1.0.0
 */

/* ================================
   Particles Background Widget
   ================================ */

.aries-particles-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aries-particles-container canvas {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

.aries-particles-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 1200px;
    width: 100%;
}

.aries-particles-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.aries-particles-content p {
    font-size: 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .aries-particles-content h2 {
        font-size: 32px;
    }
    .aries-particles-content p {
        font-size: 16px;
    }
}

/* ================================
   Animated Card Widget
   ================================ */

.aries-animated-card {
    position: relative;
    padding: 40px 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.aries-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.aries-card-icon {
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.aries-card-icon img {
    object-fit: contain;
}

.aries-card-title {
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.aries-card-description {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.8;
}

.aries-card-button {
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Card Hover Effects */
.aries-animated-card.hover-effect-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.aries-animated-card.hover-effect-zoom {
    overflow: hidden;
}

.aries-animated-card.hover-effect-zoom:hover {
    transform: scale(1.05);
}

.aries-animated-card.hover-effect-zoom:hover .aries-card-icon {
    transform: scale(1.1);
}

.aries-animated-card.hover-effect-tilt {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.aries-animated-card.hover-effect-tilt:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

.aries-animated-card.hover-effect-glow:hover {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
}

.aries-animated-card.hover-effect-slide-up:hover .aries-card-icon {
    transform: translateY(-10px);
}

/* ================================
   Hover Image Widget
   ================================ */

.aries-hover-image-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.aries-hover-image {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

.aries-hover-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.aries-hover-image-content {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.aries-hover-image-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.aries-hover-image-content p {
    font-size: 16px;
    line-height: 1.6;
}

/* Hover Effects for Images */
.aries-hover-image-container.hover-effect-zoom:hover .aries-hover-image {
    transform: scale(1.1);
}

.aries-hover-image-container.hover-effect-zoom-out:hover .aries-hover-image {
    transform: scale(0.9);
}

.aries-hover-image-container.hover-effect-slide-left:hover .aries-hover-image {
    transform: translateX(-20px);
}

.aries-hover-image-container.hover-effect-slide-right:hover .aries-hover-image {
    transform: translateX(20px);
}

.aries-hover-image-container.hover-effect-blur:hover .aries-hover-image {
    filter: blur(3px);
}

.aries-hover-image-container.hover-effect-grayscale:hover .aries-hover-image {
    filter: grayscale(100%);
}

.aries-hover-image-container.hover-effect-rotate:hover .aries-hover-image {
    transform: rotate(5deg) scale(1.1);
}

/* Overlay Effects */
.aries-hover-image-container.overlay-fade:hover .aries-hover-image-overlay {
    opacity: 1;
}

.aries-hover-image-container.overlay-fade:hover .aries-hover-image-content {
    transform: translateY(0);
}

.aries-hover-image-container.overlay-slide-up .aries-hover-image-overlay {
    top: 100%;
}

.aries-hover-image-container.overlay-slide-up:hover .aries-hover-image-overlay {
    top: 0;
    opacity: 1;
}

.aries-hover-image-container.overlay-slide-down .aries-hover-image-overlay {
    top: -100%;
}

.aries-hover-image-container.overlay-slide-down:hover .aries-hover-image-overlay {
    top: 0;
    opacity: 1;
}

/* ================================
   Icon Box Animated Widget
   ================================ */

.aries-icon-box {
    text-align: center;
    padding: 30px 20px;
}

.aries-icon-box-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.aries-icon-box-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.aries-icon-box-description {
    line-height: 1.6;
    opacity: 0.8;
}

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

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

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

@keyframes swing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

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

.icon-animation-pulse .aries-icon-box-icon {
    animation: pulse 2s ease-in-out infinite;
}

.icon-animation-bounce .aries-icon-box-icon {
    animation: bounce 2s ease-in-out infinite;
}

.icon-animation-rotate .aries-icon-box-icon {
    animation: rotate 3s linear infinite;
}

.icon-animation-swing .aries-icon-box-icon {
    animation: swing 1.5s ease-in-out infinite;
}

.icon-animation-float .aries-icon-box-icon {
    animation: float 3s ease-in-out infinite;
}

/* ================================
   Button Effects Widget
   ================================ */

.aries-button-wrapper {
    display: inline-block;
}

.aries-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.aries-button span {
    position: relative;
    z-index: 2;
}

/* Button Sizes */
.aries-button.size-sm {
    padding: 10px 25px;
    font-size: 14px;
}

.aries-button.size-md {
    padding: 15px 35px;
    font-size: 16px;
}

.aries-button.size-lg {
    padding: 20px 45px;
    font-size: 18px;
}

/* Button Effects */
.aries-button::before,
.aries-button::after {
    content: '';
    position: absolute;
    transition: all 0.3s ease;
}

/* Fill Effect */
.aries-button.effect-fill::before {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 1;
}

.aries-button.effect-fill:hover::before {
    height: 100%;
}

/* Sweep Right Effect */
.aries-button.effect-sweep-right::before {
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: 1;
}

.aries-button.effect-sweep-right:hover::before {
    width: 100%;
}

/* Bounce Effect */
.aries-button.effect-bounce:hover {
    animation: bounce 0.5s ease;
}

/* Pulse Effect */
@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.aries-button.effect-pulse:hover {
    animation: buttonPulse 0.5s ease;
}

/* Glow Effect */
.aries-button.effect-glow:hover {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
}

/* Shadow Effect */
.aries-button.effect-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.aries-button.effect-shadow:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .aries-animated-card {
        padding: 30px 20px;
    }
    
    .aries-card-title {
        font-size: 20px;
    }
    
    .aries-icon-box-title {
        font-size: 18px;
    }
    
    .aries-button.size-lg {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* ================================
   Advanced Slider Widget
   ================================ */

.aries-advanced-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.aries-advanced-slider {
    width: 100%;
    height: 100%;
}

.aries-advanced-slider .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image/Video */
.aries-slider-bg-image,
.aries-slider-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.aries-slider-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

/* Ken Burns Effect */
.ken-burns-effect .swiper-slide-active .aries-slider-bg-image {
    animation: kenBurns 10s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* Overlay */
.aries-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Content */
.aries-slider-content {
    position: relative;
    z-index: 3;
    padding: 40px;
    text-align: center;
    width: 100%;
}

/* Content Positions */
.content-position-top-left {
    position: absolute;
    top: 80px;
    left: 80px;
    text-align: left;
}

.content-position-top-center {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.content-position-top-right {
    position: absolute;
    top: 80px;
    right: 80px;
    text-align: right;
}

.content-position-center-left {
    position: absolute;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
    text-align: left;
}

.content-position-center-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.content-position-center-right {
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    text-align: right;
}

.content-position-bottom-left {
    position: absolute;
    bottom: 80px;
    left: 80px;
    text-align: left;
}

.content-position-bottom-center {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.content-position-bottom-right {
    position: absolute;
    bottom: 80px;
    right: 80px;
    text-align: right;
}

.aries-slider-heading {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.aries-slider-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.aries-slider-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.aries-slider-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #ffffff;
}

/* Navigation Arrows */
.aries-advanced-slider .swiper-button-next,
.aries-advanced-slider .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.aries-advanced-slider .swiper-button-next::after,
.aries-advanced-slider .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.aries-advanced-slider .swiper-button-next:hover,
.aries-advanced-slider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Pagination */
.aries-advanced-slider .swiper-pagination {
    bottom: 30px;
}

.aries-advanced-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.aries-advanced-slider .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.3);
}

/* Animations */
.animate-element {
    opacity: 0;
}

.animate-element.animated {
    opacity: 1;
}

.animated.fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

.animated.fadeInUp {
    animation: fadeInUp 1s ease-out forwards;
}

.animated.fadeInDown {
    animation: fadeInDown 1s ease-out forwards;
}

.animated.fadeInLeft {
    animation: fadeInLeft 1s ease-out forwards;
}

.animated.fadeInRight {
    animation: fadeInRight 1s ease-out forwards;
}

.animated.zoomIn {
    animation: zoomIn 1s ease-out forwards;
}

.animated.slideInUp {
    animation: slideInUp 1s ease-out forwards;
}

.animated.slideInDown {
    animation: slideInDown 1s ease-out forwards;
}

.animated.slideInLeft {
    animation: slideInLeft 1s ease-out forwards;
}

.animated.slideInRight {
    animation: slideInRight 1s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Slider */
@media (max-width: 768px) {
    .aries-slider-heading {
        font-size: 32px;
    }
    
    .aries-slider-description {
        font-size: 16px;
    }
    
    .aries-slider-button {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .content-position-top-left,
    .content-position-top-center,
    .content-position-top-right {
        top: 40px;
        left: 20px;
        right: 20px;
        transform: none;
    }
    
    .content-position-center-left,
    .content-position-center-center,
    .content-position-center-right {
        top: 50%;
        left: 20px;
        right: 20px;
        transform: translateY(-50%);
    }
    
    .content-position-bottom-left,
    .content-position-bottom-center,
    .content-position-bottom-right {
        bottom: 40px;
        left: 20px;
        right: 20px;
        transform: none;
    }
    
    .aries-advanced-slider .swiper-button-next,
    .aries-advanced-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .aries-advanced-slider .swiper-button-next::after,
    .aries-advanced-slider .swiper-button-prev::after {
        font-size: 16px;
    }
}
