/* Premium Luxury Cards Widget Styles */
.premium-luxury-cards-wrapper {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.premium-cards-container {
    display: grid;
    /* grid-template-columns is now controlled by the Elementor widget settings */
    gap: 20px;
    width: 100%;
    grid-auto-flow: row;
}

.premium-luxury-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.premium-luxury-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.premium-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 20px 20px 0 0;
}

.premium-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.premium-luxury-card:hover .premium-card-image img {
    transform: scale(1.05);
}

.premium-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-luxury-card:hover .premium-card-overlay {
    opacity: 1;
}

.premium-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: scale(0);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.premium-luxury-card:hover .premium-card-icon {
    transform: scale(1);
}

.premium-card-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

.premium-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 16px 0;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-card-description {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    flex-grow: 1;
    font-weight: 400;
}

.premium-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    align-self: flex-start;
    margin-top: 24px;
    border: none;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.premium-card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.premium-card-btn:hover::before {
    left: 100%;
}

.premium-card-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.premium-card-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.premium-card-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .premium-cards-container {
        /* This is now controlled by Elementor's responsive settings */
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .premium-cards-container {
        /* This is now controlled by Elementor's responsive settings */
        gap: 20px;
    }
    
    .premium-card-image {
        height: 200px;
    }
    
    .premium-card-content {
        padding: 24px 20px;
    }
    
    .premium-card-title {
        font-size: 20px;
        margin-bottom: 14px;
    }
    
    .premium-card-description {
        font-size: 14px;
    }
    
    .premium-card-btn {
        padding: 12px 24px;
        font-size: 14px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .premium-cards-container {
        gap: 16px;
    }
    
    .premium-card-image {
        height: 180px;
    }
    
    .premium-card-content {
        padding: 20px 18px;
    }
    
    .premium-card-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .premium-card-description {
        font-size: 13px;
    }
    
    .premium-card-btn {
        padding: 10px 20px;
        font-size: 13px;
        margin-top: 18px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-luxury-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Glassmorphism Effect */
.premium-luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-luxury-card:hover::before {
    opacity: 1;
}